"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.2-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.instanceOfUserAccountSerializerForRoleRequest = instanceOfUserAccountSerializerForRoleRequest;
exports.UserAccountSerializerForRoleRequestFromJSON = UserAccountSerializerForRoleRequestFromJSON;
exports.UserAccountSerializerForRoleRequestFromJSONTyped = UserAccountSerializerForRoleRequestFromJSONTyped;
exports.UserAccountSerializerForRoleRequestToJSON = UserAccountSerializerForRoleRequestToJSON;
exports.UserAccountSerializerForRoleRequestToJSONTyped = UserAccountSerializerForRoleRequestToJSONTyped;
/**
 * Check if a given object implements the UserAccountSerializerForRoleRequest interface.
 */
function instanceOfUserAccountSerializerForRoleRequest(value) {
    if (!('pk' in value) || value['pk'] === undefined)
        return false;
    return true;
}
function UserAccountSerializerForRoleRequestFromJSON(json) {
    return UserAccountSerializerForRoleRequestFromJSONTyped(json, false);
}
function UserAccountSerializerForRoleRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'pk': json['pk'],
    };
}
function UserAccountSerializerForRoleRequestToJSON(json) {
    return UserAccountSerializerForRoleRequestToJSONTyped(json, false);
}
function UserAccountSerializerForRoleRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'pk': value['pk'],
    };
}
//# sourceMappingURL=UserAccountSerializerForRoleRequest.js.map