"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc5
 * 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.instanceOfPatchedUserSAMLSourceConnectionRequest = instanceOfPatchedUserSAMLSourceConnectionRequest;
exports.PatchedUserSAMLSourceConnectionRequestFromJSON = PatchedUserSAMLSourceConnectionRequestFromJSON;
exports.PatchedUserSAMLSourceConnectionRequestFromJSONTyped = PatchedUserSAMLSourceConnectionRequestFromJSONTyped;
exports.PatchedUserSAMLSourceConnectionRequestToJSON = PatchedUserSAMLSourceConnectionRequestToJSON;
exports.PatchedUserSAMLSourceConnectionRequestToJSONTyped = PatchedUserSAMLSourceConnectionRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedUserSAMLSourceConnectionRequest interface.
 */
function instanceOfPatchedUserSAMLSourceConnectionRequest(value) {
    return true;
}
function PatchedUserSAMLSourceConnectionRequestFromJSON(json) {
    return PatchedUserSAMLSourceConnectionRequestFromJSONTyped(json, false);
}
function PatchedUserSAMLSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'user': json['user'] == null ? undefined : json['user'],
        'source': json['source'] == null ? undefined : json['source'],
        'identifier': json['identifier'] == null ? undefined : json['identifier'],
    };
}
function PatchedUserSAMLSourceConnectionRequestToJSON(json) {
    return PatchedUserSAMLSourceConnectionRequestToJSONTyped(json, false);
}
function PatchedUserSAMLSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'user': value['user'],
        'source': value['source'],
        'identifier': value['identifier'],
    };
}
//# sourceMappingURL=PatchedUserSAMLSourceConnectionRequest.js.map