"use strict";
/* tslint:disable */
/* eslint-disable */
/**
 * authentik
 * Making authentication simple.
 *
 * The version of the OpenAPI document: 2026.2.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.instanceOfUserRecoveryLinkRequest = instanceOfUserRecoveryLinkRequest;
exports.UserRecoveryLinkRequestFromJSON = UserRecoveryLinkRequestFromJSON;
exports.UserRecoveryLinkRequestFromJSONTyped = UserRecoveryLinkRequestFromJSONTyped;
exports.UserRecoveryLinkRequestToJSON = UserRecoveryLinkRequestToJSON;
exports.UserRecoveryLinkRequestToJSONTyped = UserRecoveryLinkRequestToJSONTyped;
/**
 * Check if a given object implements the UserRecoveryLinkRequest interface.
 */
function instanceOfUserRecoveryLinkRequest(value) {
    return true;
}
function UserRecoveryLinkRequestFromJSON(json) {
    return UserRecoveryLinkRequestFromJSONTyped(json, false);
}
function UserRecoveryLinkRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'tokenDuration': json['token_duration'] == null ? undefined : json['token_duration'],
    };
}
function UserRecoveryLinkRequestToJSON(json) {
    return UserRecoveryLinkRequestToJSONTyped(json, false);
}
function UserRecoveryLinkRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'token_duration': value['tokenDuration'],
    };
}
//# sourceMappingURL=UserRecoveryLinkRequest.js.map