"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-rc5
 * 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.instanceOfPromptChoice = instanceOfPromptChoice;
exports.PromptChoiceFromJSON = PromptChoiceFromJSON;
exports.PromptChoiceFromJSONTyped = PromptChoiceFromJSONTyped;
exports.PromptChoiceToJSON = PromptChoiceToJSON;
exports.PromptChoiceToJSONTyped = PromptChoiceToJSONTyped;
/**
 * Check if a given object implements the PromptChoice interface.
 */
function instanceOfPromptChoice(value) {
    if (!('value' in value) || value['value'] === undefined)
        return false;
    if (!('label' in value) || value['label'] === undefined)
        return false;
    return true;
}
function PromptChoiceFromJSON(json) {
    return PromptChoiceFromJSONTyped(json, false);
}
function PromptChoiceFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'value': json['value'],
        'label': json['label'],
    };
}
function PromptChoiceToJSON(json) {
    return PromptChoiceToJSONTyped(json, false);
}
function PromptChoiceToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'value': value['value'],
        'label': value['label'],
    };
}
//# sourceMappingURL=PromptChoice.js.map