"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-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.instanceOfPatchedGroupOAuthSourceConnectionRequest = instanceOfPatchedGroupOAuthSourceConnectionRequest;
exports.PatchedGroupOAuthSourceConnectionRequestFromJSON = PatchedGroupOAuthSourceConnectionRequestFromJSON;
exports.PatchedGroupOAuthSourceConnectionRequestFromJSONTyped = PatchedGroupOAuthSourceConnectionRequestFromJSONTyped;
exports.PatchedGroupOAuthSourceConnectionRequestToJSON = PatchedGroupOAuthSourceConnectionRequestToJSON;
exports.PatchedGroupOAuthSourceConnectionRequestToJSONTyped = PatchedGroupOAuthSourceConnectionRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedGroupOAuthSourceConnectionRequest interface.
 */
function instanceOfPatchedGroupOAuthSourceConnectionRequest(value) {
    return true;
}
function PatchedGroupOAuthSourceConnectionRequestFromJSON(json) {
    return PatchedGroupOAuthSourceConnectionRequestFromJSONTyped(json, false);
}
function PatchedGroupOAuthSourceConnectionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'group': json['group'] == null ? undefined : json['group'],
        'source': json['source'] == null ? undefined : json['source'],
        'identifier': json['identifier'] == null ? undefined : json['identifier'],
    };
}
function PatchedGroupOAuthSourceConnectionRequestToJSON(json) {
    return PatchedGroupOAuthSourceConnectionRequestToJSONTyped(json, false);
}
function PatchedGroupOAuthSourceConnectionRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'group': value['group'],
        'source': value['source'],
        'identifier': value['identifier'],
    };
}
//# sourceMappingURL=PatchedGroupOAuthSourceConnectionRequest.js.map