"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.instanceOfPatchedPasswordExpiryPolicyRequest = instanceOfPatchedPasswordExpiryPolicyRequest;
exports.PatchedPasswordExpiryPolicyRequestFromJSON = PatchedPasswordExpiryPolicyRequestFromJSON;
exports.PatchedPasswordExpiryPolicyRequestFromJSONTyped = PatchedPasswordExpiryPolicyRequestFromJSONTyped;
exports.PatchedPasswordExpiryPolicyRequestToJSON = PatchedPasswordExpiryPolicyRequestToJSON;
exports.PatchedPasswordExpiryPolicyRequestToJSONTyped = PatchedPasswordExpiryPolicyRequestToJSONTyped;
/**
 * Check if a given object implements the PatchedPasswordExpiryPolicyRequest interface.
 */
function instanceOfPatchedPasswordExpiryPolicyRequest(value) {
    return true;
}
function PatchedPasswordExpiryPolicyRequestFromJSON(json) {
    return PatchedPasswordExpiryPolicyRequestFromJSONTyped(json, false);
}
function PatchedPasswordExpiryPolicyRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'name': json['name'] == null ? undefined : json['name'],
        'executionLogging': json['execution_logging'] == null ? undefined : json['execution_logging'],
        'days': json['days'] == null ? undefined : json['days'],
        'denyOnly': json['deny_only'] == null ? undefined : json['deny_only'],
    };
}
function PatchedPasswordExpiryPolicyRequestToJSON(json) {
    return PatchedPasswordExpiryPolicyRequestToJSONTyped(json, false);
}
function PatchedPasswordExpiryPolicyRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'name': value['name'],
        'execution_logging': value['executionLogging'],
        'days': value['days'],
        'deny_only': value['denyOnly'],
    };
}
//# sourceMappingURL=PatchedPasswordExpiryPolicyRequest.js.map