"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.instanceOfAuthenticatorEndpointGDTCStageRequest = instanceOfAuthenticatorEndpointGDTCStageRequest;
exports.AuthenticatorEndpointGDTCStageRequestFromJSON = AuthenticatorEndpointGDTCStageRequestFromJSON;
exports.AuthenticatorEndpointGDTCStageRequestFromJSONTyped = AuthenticatorEndpointGDTCStageRequestFromJSONTyped;
exports.AuthenticatorEndpointGDTCStageRequestToJSON = AuthenticatorEndpointGDTCStageRequestToJSON;
exports.AuthenticatorEndpointGDTCStageRequestToJSONTyped = AuthenticatorEndpointGDTCStageRequestToJSONTyped;
/**
 * Check if a given object implements the AuthenticatorEndpointGDTCStageRequest interface.
 */
function instanceOfAuthenticatorEndpointGDTCStageRequest(value) {
    if (!('name' in value) || value['name'] === undefined)
        return false;
    if (!('credentials' in value) || value['credentials'] === undefined)
        return false;
    return true;
}
function AuthenticatorEndpointGDTCStageRequestFromJSON(json) {
    return AuthenticatorEndpointGDTCStageRequestFromJSONTyped(json, false);
}
function AuthenticatorEndpointGDTCStageRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'],
        'configureFlow': json['configure_flow'] == null ? undefined : json['configure_flow'],
        'friendlyName': json['friendly_name'] == null ? undefined : json['friendly_name'],
        'credentials': json['credentials'],
    };
}
function AuthenticatorEndpointGDTCStageRequestToJSON(json) {
    return AuthenticatorEndpointGDTCStageRequestToJSONTyped(json, false);
}
function AuthenticatorEndpointGDTCStageRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'configure_flow': value['configureFlow'],
        'friendly_name': value['friendlyName'],
        'credentials': value['credentials'],
    };
}
//# sourceMappingURL=AuthenticatorEndpointGDTCStageRequest.js.map