/* tslint:disable */
/* eslint-disable */
/**
 * Synapse REST API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
/**
 * Check if a given object implements the TwoFactorAuthResetRequest interface.
 */
export function instanceOfTwoFactorAuthResetRequest(value) {
    return true;
}
export function TwoFactorAuthResetRequestFromJSON(json) {
    return TwoFactorAuthResetRequestFromJSONTyped(json, false);
}
export function TwoFactorAuthResetRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'userId': json['userId'] == null ? undefined : json['userId'],
        'twoFaResetEndpoint': json['twoFaResetEndpoint'] == null ? undefined : json['twoFaResetEndpoint'],
        'twoFaToken': json['twoFaToken'] == null ? undefined : json['twoFaToken'],
        'password': json['password'] == null ? undefined : json['password'],
    };
}
export function TwoFactorAuthResetRequestToJSON(json) {
    return TwoFactorAuthResetRequestToJSONTyped(json, false);
}
export function TwoFactorAuthResetRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'userId': value['userId'],
        'twoFaResetEndpoint': value['twoFaResetEndpoint'],
        'twoFaToken': value['twoFaToken'],
        'password': value['password'],
    };
}
//# sourceMappingURL=TwoFactorAuthResetRequest.js.map