"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.0-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.instanceOfPatchedAuthenticatorDuoStageRequest = instanceOfPatchedAuthenticatorDuoStageRequest;
exports.PatchedAuthenticatorDuoStageRequestFromJSON = PatchedAuthenticatorDuoStageRequestFromJSON;
exports.PatchedAuthenticatorDuoStageRequestFromJSONTyped = PatchedAuthenticatorDuoStageRequestFromJSONTyped;
exports.PatchedAuthenticatorDuoStageRequestToJSON = PatchedAuthenticatorDuoStageRequestToJSON;
exports.PatchedAuthenticatorDuoStageRequestToJSONTyped = PatchedAuthenticatorDuoStageRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedAuthenticatorDuoStageRequest interface.
 */
function instanceOfPatchedAuthenticatorDuoStageRequest(value) {
    return true;
}
function PatchedAuthenticatorDuoStageRequestFromJSON(json) {
    return PatchedAuthenticatorDuoStageRequestFromJSONTyped(json, false);
}
function PatchedAuthenticatorDuoStageRequestFromJSONTyped(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'],
        'clientId': json['client_id'] == null ? undefined : json['client_id'],
        'clientSecret': json['client_secret'] == null ? undefined : json['client_secret'],
        'apiHostname': json['api_hostname'] == null ? undefined : json['api_hostname'],
        'adminIntegrationKey': json['admin_integration_key'] == null ? undefined : json['admin_integration_key'],
        'adminSecretKey': json['admin_secret_key'] == null ? undefined : json['admin_secret_key'],
    };
}
function PatchedAuthenticatorDuoStageRequestToJSON(json) {
    return PatchedAuthenticatorDuoStageRequestToJSONTyped(json, false);
}
function PatchedAuthenticatorDuoStageRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'configure_flow': value['configureFlow'],
        'friendly_name': value['friendlyName'],
        'client_id': value['clientId'],
        'client_secret': value['clientSecret'],
        'api_hostname': value['apiHostname'],
        'admin_integration_key': value['adminIntegrationKey'],
        'admin_secret_key': value['adminSecretKey'],
    };
}
//# sourceMappingURL=PatchedAuthenticatorDuoStageRequest.js.map