"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.instanceOfPatchedExtraRoleObjectPermissionRequest = instanceOfPatchedExtraRoleObjectPermissionRequest;
exports.PatchedExtraRoleObjectPermissionRequestFromJSON = PatchedExtraRoleObjectPermissionRequestFromJSON;
exports.PatchedExtraRoleObjectPermissionRequestFromJSONTyped = PatchedExtraRoleObjectPermissionRequestFromJSONTyped;
exports.PatchedExtraRoleObjectPermissionRequestToJSON = PatchedExtraRoleObjectPermissionRequestToJSON;
exports.PatchedExtraRoleObjectPermissionRequestToJSONTyped = PatchedExtraRoleObjectPermissionRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedExtraRoleObjectPermissionRequest interface.
 */
function instanceOfPatchedExtraRoleObjectPermissionRequest(value) {
    return true;
}
function PatchedExtraRoleObjectPermissionRequestFromJSON(json) {
    return PatchedExtraRoleObjectPermissionRequestFromJSONTyped(json, false);
}
function PatchedExtraRoleObjectPermissionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'objectPk': json['object_pk'] == null ? undefined : json['object_pk'],
    };
}
function PatchedExtraRoleObjectPermissionRequestToJSON(json) {
    return PatchedExtraRoleObjectPermissionRequestToJSONTyped(json, false);
}
function PatchedExtraRoleObjectPermissionRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'object_pk': value['objectPk'],
    };
}
//# sourceMappingURL=PatchedExtraRoleObjectPermissionRequest.js.map