"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.instanceOfPatchedDenyStageRequest = instanceOfPatchedDenyStageRequest;
exports.PatchedDenyStageRequestFromJSON = PatchedDenyStageRequestFromJSON;
exports.PatchedDenyStageRequestFromJSONTyped = PatchedDenyStageRequestFromJSONTyped;
exports.PatchedDenyStageRequestToJSON = PatchedDenyStageRequestToJSON;
exports.PatchedDenyStageRequestToJSONTyped = PatchedDenyStageRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedDenyStageRequest interface.
 */
function instanceOfPatchedDenyStageRequest(value) {
    return true;
}
function PatchedDenyStageRequestFromJSON(json) {
    return PatchedDenyStageRequestFromJSONTyped(json, false);
}
function PatchedDenyStageRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'denyMessage': json['deny_message'] == null ? undefined : json['deny_message'],
    };
}
function PatchedDenyStageRequestToJSON(json) {
    return PatchedDenyStageRequestToJSONTyped(json, false);
}
function PatchedDenyStageRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'deny_message': value['denyMessage'],
    };
}
//# sourceMappingURL=PatchedDenyStageRequest.js.map