"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.8.6
 * 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'],
        'parent': json['parent'] == null ? undefined : json['parent'],
        'users': json['users'] == null ? undefined : json['users'],
        'attributes': json['attributes'] == null ? undefined : json['attributes'],
        'roles': json['roles'] == null ? undefined : json['roles'],
        'children': json['children'] == null ? undefined : json['children'],
    };
}
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'],
        'parent': value['parent'],
        'users': value['users'],
        'attributes': value['attributes'],
        'roles': value['roles'],
        'children': value['children'],
    };
}
//# sourceMappingURL=PatchedGroupRequest.js.map