"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.12.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.instanceOfPatchedUserDeleteStageRequest = instanceOfPatchedUserDeleteStageRequest;
exports.PatchedUserDeleteStageRequestFromJSON = PatchedUserDeleteStageRequestFromJSON;
exports.PatchedUserDeleteStageRequestFromJSONTyped = PatchedUserDeleteStageRequestFromJSONTyped;
exports.PatchedUserDeleteStageRequestToJSON = PatchedUserDeleteStageRequestToJSON;
exports.PatchedUserDeleteStageRequestToJSONTyped = PatchedUserDeleteStageRequestToJSONTyped;
const FlowSetRequest_1 = require("./FlowSetRequest");
/**
 * Check if a given object implements the PatchedUserDeleteStageRequest interface.
 */
function instanceOfPatchedUserDeleteStageRequest(value) {
    return true;
}
function PatchedUserDeleteStageRequestFromJSON(json) {
    return PatchedUserDeleteStageRequestFromJSONTyped(json, false);
}
function PatchedUserDeleteStageRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'flowSet': json['flow_set'] == null ? undefined : (json['flow_set'].map(FlowSetRequest_1.FlowSetRequestFromJSON)),
    };
}
function PatchedUserDeleteStageRequestToJSON(json) {
    return PatchedUserDeleteStageRequestToJSONTyped(json, false);
}
function PatchedUserDeleteStageRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'flow_set': value['flowSet'] == null ? undefined : (value['flowSet'].map(FlowSetRequest_1.FlowSetRequestToJSON)),
    };
}
//# sourceMappingURL=PatchedUserDeleteStageRequest.js.map