"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.instanceOfDummyPolicyRequest = instanceOfDummyPolicyRequest;
exports.DummyPolicyRequestFromJSON = DummyPolicyRequestFromJSON;
exports.DummyPolicyRequestFromJSONTyped = DummyPolicyRequestFromJSONTyped;
exports.DummyPolicyRequestToJSON = DummyPolicyRequestToJSON;
exports.DummyPolicyRequestToJSONTyped = DummyPolicyRequestToJSONTyped;
/**
 * Check if a given object implements the DummyPolicyRequest interface.
 */
function instanceOfDummyPolicyRequest(value) {
    if (!('name' in value) || value['name'] === undefined)
        return false;
    return true;
}
function DummyPolicyRequestFromJSON(json) {
    return DummyPolicyRequestFromJSONTyped(json, false);
}
function DummyPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': 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 DummyPolicyRequestToJSON(json) {
    return DummyPolicyRequestToJSONTyped(json, false);
}
function DummyPolicyRequestToJSONTyped(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=DummyPolicyRequest.js.map