"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.instanceOfExtraRoleObjectPermissionRequest = instanceOfExtraRoleObjectPermissionRequest;
exports.ExtraRoleObjectPermissionRequestFromJSON = ExtraRoleObjectPermissionRequestFromJSON;
exports.ExtraRoleObjectPermissionRequestFromJSONTyped = ExtraRoleObjectPermissionRequestFromJSONTyped;
exports.ExtraRoleObjectPermissionRequestToJSON = ExtraRoleObjectPermissionRequestToJSON;
exports.ExtraRoleObjectPermissionRequestToJSONTyped = ExtraRoleObjectPermissionRequestToJSONTyped;
/**
 * Check if a given object implements the ExtraRoleObjectPermissionRequest interface.
 */
function instanceOfExtraRoleObjectPermissionRequest(value) {
    if (!('objectPk' in value) || value['objectPk'] === undefined)
        return false;
    return true;
}
function ExtraRoleObjectPermissionRequestFromJSON(json) {
    return ExtraRoleObjectPermissionRequestFromJSONTyped(json, false);
}
function ExtraRoleObjectPermissionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'objectPk': json['object_pk'],
    };
}
function ExtraRoleObjectPermissionRequestToJSON(json) {
    return ExtraRoleObjectPermissionRequestToJSONTyped(json, false);
}
function ExtraRoleObjectPermissionRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'object_pk': value['objectPk'],
    };
}
//# sourceMappingURL=ExtraRoleObjectPermissionRequest.js.map