"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.instanceOfPatchedGroupRequest = instanceOfPatchedGroupRequest;
exports.PatchedGroupRequestFromJSON = PatchedGroupRequestFromJSON;
exports.PatchedGroupRequestFromJSONTyped = PatchedGroupRequestFromJSONTyped;
exports.PatchedGroupRequestToJSON = PatchedGroupRequestToJSON;
exports.PatchedGroupRequestToJSONTyped = PatchedGroupRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedGroupRequest interface.
 */
function instanceOfPatchedGroupRequest(value) {
    return true;
}
function PatchedGroupRequestFromJSON(json) {
    return PatchedGroupRequestFromJSONTyped(json, false);
}
function PatchedGroupRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'isSuperuser': json['is_superuser'] == null ? undefined : json['is_superuser'],
        'parents': json['parents'] == null ? undefined : json['parents'],
        'users': json['users'] == null ? undefined : json['users'],
        'attributes': json['attributes'] == null ? undefined : json['attributes'],
        'roles': json['roles'] == null ? undefined : json['roles'],
    };
}
function PatchedGroupRequestToJSON(json) {
    return PatchedGroupRequestToJSONTyped(json, false);
}
function PatchedGroupRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'is_superuser': value['isSuperuser'],
        'parents': value['parents'],
        'users': value['users'],
        'attributes': value['attributes'],
        'roles': value['roles'],
    };
}
//# sourceMappingURL=PatchedGroupRequest.js.map