"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.instanceOfReviewerUser = instanceOfReviewerUser;
exports.ReviewerUserFromJSON = ReviewerUserFromJSON;
exports.ReviewerUserFromJSONTyped = ReviewerUserFromJSONTyped;
exports.ReviewerUserToJSON = ReviewerUserToJSON;
exports.ReviewerUserToJSONTyped = ReviewerUserToJSONTyped;
/**
 * Check if a given object implements the ReviewerUser interface.
 */
function instanceOfReviewerUser(value) {
    if (!('pk' in value) || value['pk'] === undefined)
        return false;
    if (!('uuid' in value) || value['uuid'] === undefined)
        return false;
    if (!('username' in value) || value['username'] === undefined)
        return false;
    if (!('name' in value) || value['name'] === undefined)
        return false;
    return true;
}
function ReviewerUserFromJSON(json) {
    return ReviewerUserFromJSONTyped(json, false);
}
function ReviewerUserFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'pk': json['pk'],
        'uuid': json['uuid'],
        'username': json['username'],
        'name': json['name'],
    };
}
function ReviewerUserToJSON(json) {
    return ReviewerUserToJSONTyped(json, false);
}
function ReviewerUserToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'username': value['username'],
        'name': value['name'],
    };
}
//# sourceMappingURL=ReviewerUser.js.map