"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.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.instanceOfExtraUserObjectPermissionRequest = instanceOfExtraUserObjectPermissionRequest;
exports.ExtraUserObjectPermissionRequestFromJSON = ExtraUserObjectPermissionRequestFromJSON;
exports.ExtraUserObjectPermissionRequestFromJSONTyped = ExtraUserObjectPermissionRequestFromJSONTyped;
exports.ExtraUserObjectPermissionRequestToJSON = ExtraUserObjectPermissionRequestToJSON;
exports.ExtraUserObjectPermissionRequestToJSONTyped = ExtraUserObjectPermissionRequestToJSONTyped;
/**
 * Check if a given object implements the ExtraUserObjectPermissionRequest interface.
 */
function instanceOfExtraUserObjectPermissionRequest(value) {
    if (!('objectPk' in value) || value['objectPk'] === undefined)
        return false;
    return true;
}
function ExtraUserObjectPermissionRequestFromJSON(json) {
    return ExtraUserObjectPermissionRequestFromJSONTyped(json, false);
}
function ExtraUserObjectPermissionRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'objectPk': json['object_pk'],
    };
}
function ExtraUserObjectPermissionRequestToJSON(json) {
    return ExtraUserObjectPermissionRequestToJSONTyped(json, false);
}
function ExtraUserObjectPermissionRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'object_pk': value['objectPk'],
    };
}
//# sourceMappingURL=ExtraUserObjectPermissionRequest.js.map