"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.instanceOfSCIMProviderGroup = instanceOfSCIMProviderGroup;
exports.SCIMProviderGroupFromJSON = SCIMProviderGroupFromJSON;
exports.SCIMProviderGroupFromJSONTyped = SCIMProviderGroupFromJSONTyped;
exports.SCIMProviderGroupToJSON = SCIMProviderGroupToJSON;
exports.SCIMProviderGroupToJSONTyped = SCIMProviderGroupToJSONTyped;
const PartialGroup_1 = require("./PartialGroup");
/**
 * Check if a given object implements the SCIMProviderGroup interface.
 */
function instanceOfSCIMProviderGroup(value) {
    if (!('id' in value) || value['id'] === undefined)
        return false;
    if (!('scimId' in value) || value['scimId'] === undefined)
        return false;
    if (!('group' in value) || value['group'] === undefined)
        return false;
    if (!('groupObj' in value) || value['groupObj'] === undefined)
        return false;
    if (!('provider' in value) || value['provider'] === undefined)
        return false;
    if (!('attributes' in value) || value['attributes'] === undefined)
        return false;
    return true;
}
function SCIMProviderGroupFromJSON(json) {
    return SCIMProviderGroupFromJSONTyped(json, false);
}
function SCIMProviderGroupFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'id': json['id'],
        'scimId': json['scim_id'],
        'group': json['group'],
        'groupObj': (0, PartialGroup_1.PartialGroupFromJSON)(json['group_obj']),
        'provider': json['provider'],
        'attributes': json['attributes'],
    };
}
function SCIMProviderGroupToJSON(json) {
    return SCIMProviderGroupToJSONTyped(json, false);
}
function SCIMProviderGroupToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'scim_id': value['scimId'],
        'group': value['group'],
        'provider': value['provider'],
    };
}
//# sourceMappingURL=SCIMProviderGroup.js.map