"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.instanceOfSelectableStage = instanceOfSelectableStage;
exports.SelectableStageFromJSON = SelectableStageFromJSON;
exports.SelectableStageFromJSONTyped = SelectableStageFromJSONTyped;
exports.SelectableStageToJSON = SelectableStageToJSON;
exports.SelectableStageToJSONTyped = SelectableStageToJSONTyped;
/**
 * Check if a given object implements the SelectableStage interface.
 */
function instanceOfSelectableStage(value) {
    if (!('pk' in value) || value['pk'] === undefined)
        return false;
    if (!('name' in value) || value['name'] === undefined)
        return false;
    if (!('verboseName' in value) || value['verboseName'] === undefined)
        return false;
    if (!('metaModelName' in value) || value['metaModelName'] === undefined)
        return false;
    return true;
}
function SelectableStageFromJSON(json) {
    return SelectableStageFromJSONTyped(json, false);
}
function SelectableStageFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'pk': json['pk'],
        'name': json['name'],
        'verboseName': json['verbose_name'],
        'metaModelName': json['meta_model_name'],
    };
}
function SelectableStageToJSON(json) {
    return SelectableStageToJSONTyped(json, false);
}
function SelectableStageToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'pk': value['pk'],
        'name': value['name'],
        'verbose_name': value['verboseName'],
        'meta_model_name': value['metaModelName'],
    };
}
//# sourceMappingURL=SelectableStage.js.map