"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2025.10.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.instanceOfPatchedDummyPolicyRequest = instanceOfPatchedDummyPolicyRequest;
exports.PatchedDummyPolicyRequestFromJSON = PatchedDummyPolicyRequestFromJSON;
exports.PatchedDummyPolicyRequestFromJSONTyped = PatchedDummyPolicyRequestFromJSONTyped;
exports.PatchedDummyPolicyRequestToJSON = PatchedDummyPolicyRequestToJSON;
exports.PatchedDummyPolicyRequestToJSONTyped = PatchedDummyPolicyRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedDummyPolicyRequest interface.
 */
function instanceOfPatchedDummyPolicyRequest(value) {
    return true;
}
function PatchedDummyPolicyRequestFromJSON(json) {
    return PatchedDummyPolicyRequestFromJSONTyped(json, false);
}
function PatchedDummyPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
        'result': json['result'] == null ? undefined : json['result'],
        'waitMin': json['wait_min'] == null ? undefined : json['wait_min'],
        'waitMax': json['wait_max'] == null ? undefined : json['wait_max'],
    };
}
function PatchedDummyPolicyRequestToJSON(json) {
    return PatchedDummyPolicyRequestToJSONTyped(json, false);
}
function PatchedDummyPolicyRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'execution_logging': value['executionLogging'],
        'result': value['result'],
        'wait_min': value['waitMin'],
        'wait_max': value['waitMax'],
    };
}
//# sourceMappingURL=PatchedDummyPolicyRequest.js.map