"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc1
 * Contact: hello@goauthentik.io
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.instanceOfPatchedTenantRequest = instanceOfPatchedTenantRequest;
exports.PatchedTenantRequestFromJSON = PatchedTenantRequestFromJSON;
exports.PatchedTenantRequestFromJSONTyped = PatchedTenantRequestFromJSONTyped;
exports.PatchedTenantRequestToJSON = PatchedTenantRequestToJSON;
exports.PatchedTenantRequestToJSONTyped = PatchedTenantRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedTenantRequest interface.
 */
function instanceOfPatchedTenantRequest(value) {
    return true;
}
function PatchedTenantRequestFromJSON(json) {
    return PatchedTenantRequestFromJSONTyped(json, false);
}
function PatchedTenantRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'schemaName': json['schema_name'] == null ? undefined : json['schema_name'],
        'name': json['name'] == null ? undefined : json['name'],
        'ready': json['ready'] == null ? undefined : json['ready'],
    };
}
function PatchedTenantRequestToJSON(json) {
    return PatchedTenantRequestToJSONTyped(json, false);
}
function PatchedTenantRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'schema_name': value['schemaName'],
        'name': value['name'],
        'ready': value['ready'],
    };
}
//# sourceMappingURL=PatchedTenantRequest.js.map