"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.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.instanceOfPatchedExtraUserObjectPermissionRequest = instanceOfPatchedExtraUserObjectPermissionRequest;
exports.PatchedExtraUserObjectPermissionRequestFromJSON = PatchedExtraUserObjectPermissionRequestFromJSON;
exports.PatchedExtraUserObjectPermissionRequestFromJSONTyped = PatchedExtraUserObjectPermissionRequestFromJSONTyped;
exports.PatchedExtraUserObjectPermissionRequestToJSON = PatchedExtraUserObjectPermissionRequestToJSON;
exports.PatchedExtraUserObjectPermissionRequestToJSONTyped = PatchedExtraUserObjectPermissionRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedExtraUserObjectPermissionRequest interface.
 */
function instanceOfPatchedExtraUserObjectPermissionRequest(value) {
    return true;
}
function PatchedExtraUserObjectPermissionRequestFromJSON(json) {
    return PatchedExtraUserObjectPermissionRequestFromJSONTyped(json, false);
}
function PatchedExtraUserObjectPermissionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'objectPk': json['object_pk'] == null ? undefined : json['object_pk'],
    };
}
function PatchedExtraUserObjectPermissionRequestToJSON(json) {
    return PatchedExtraUserObjectPermissionRequestToJSONTyped(json, false);
}
function PatchedExtraUserObjectPermissionRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'object_pk': value['objectPk'],
    };
}
//# sourceMappingURL=PatchedExtraUserObjectPermissionRequest.js.map