"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.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.instanceOfPatchedSCIMSourceGroupRequest = instanceOfPatchedSCIMSourceGroupRequest;
exports.PatchedSCIMSourceGroupRequestFromJSON = PatchedSCIMSourceGroupRequestFromJSON;
exports.PatchedSCIMSourceGroupRequestFromJSONTyped = PatchedSCIMSourceGroupRequestFromJSONTyped;
exports.PatchedSCIMSourceGroupRequestToJSON = PatchedSCIMSourceGroupRequestToJSON;
exports.PatchedSCIMSourceGroupRequestToJSONTyped = PatchedSCIMSourceGroupRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedSCIMSourceGroupRequest interface.
 */
function instanceOfPatchedSCIMSourceGroupRequest(value) {
    return true;
}
function PatchedSCIMSourceGroupRequestFromJSON(json) {
    return PatchedSCIMSourceGroupRequestFromJSONTyped(json, false);
}
function PatchedSCIMSourceGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'] == null ? undefined : json['id'],
        'externalId': json['external_id'] == null ? undefined : json['external_id'],
        'group': json['group'] == null ? undefined : json['group'],
        'source': json['source'] == null ? undefined : json['source'],
        'attributes': json['attributes'] == null ? undefined : json['attributes'],
    };
}
function PatchedSCIMSourceGroupRequestToJSON(json) {
    return PatchedSCIMSourceGroupRequestToJSONTyped(json, false);
}
function PatchedSCIMSourceGroupRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'id': value['id'],
        'external_id': value['externalId'],
        'group': value['group'],
        'source': value['source'],
        'attributes': value['attributes'],
    };
}
//# sourceMappingURL=PatchedSCIMSourceGroupRequest.js.map