"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.instanceOfPatchedAuthenticatorStaticStageRequest = instanceOfPatchedAuthenticatorStaticStageRequest;
exports.PatchedAuthenticatorStaticStageRequestFromJSON = PatchedAuthenticatorStaticStageRequestFromJSON;
exports.PatchedAuthenticatorStaticStageRequestFromJSONTyped = PatchedAuthenticatorStaticStageRequestFromJSONTyped;
exports.PatchedAuthenticatorStaticStageRequestToJSON = PatchedAuthenticatorStaticStageRequestToJSON;
exports.PatchedAuthenticatorStaticStageRequestToJSONTyped = PatchedAuthenticatorStaticStageRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedAuthenticatorStaticStageRequest interface.
 */
function instanceOfPatchedAuthenticatorStaticStageRequest(value) {
    return true;
}
function PatchedAuthenticatorStaticStageRequestFromJSON(json) {
    return PatchedAuthenticatorStaticStageRequestFromJSONTyped(json, false);
}
function PatchedAuthenticatorStaticStageRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'configureFlow': json['configure_flow'] == null ? undefined : json['configure_flow'],
        'friendlyName': json['friendly_name'] == null ? undefined : json['friendly_name'],
        'tokenCount': json['token_count'] == null ? undefined : json['token_count'],
        'tokenLength': json['token_length'] == null ? undefined : json['token_length'],
    };
}
function PatchedAuthenticatorStaticStageRequestToJSON(json) {
    return PatchedAuthenticatorStaticStageRequestToJSONTyped(json, false);
}
function PatchedAuthenticatorStaticStageRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'configure_flow': value['configureFlow'],
        'friendly_name': value['friendlyName'],
        'token_count': value['tokenCount'],
        'token_length': value['tokenLength'],
    };
}
//# sourceMappingURL=PatchedAuthenticatorStaticStageRequest.js.map