/* 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.
 */
import { TwoFactorAuthResetTokenFromJSON, TwoFactorAuthResetTokenToJSON, } from './TwoFactorAuthResetToken';
/**
 * Check if a given object implements the TwoFactorAuthDisableRequest interface.
 */
export function instanceOfTwoFactorAuthDisableRequest(value) {
    return true;
}
export function TwoFactorAuthDisableRequestFromJSON(json) {
    return TwoFactorAuthDisableRequestFromJSONTyped(json, false);
}
export function TwoFactorAuthDisableRequestFromJSONTyped(json, ignoreDiscriminator) {
    if (json == null) {
        return json;
    }
    return {
        'twoFaToken': json['twoFaToken'] == null ? undefined : json['twoFaToken'],
        'password': json['password'] == null ? undefined : json['password'],
        'twoFaResetToken': json['twoFaResetToken'] == null ? undefined : TwoFactorAuthResetTokenFromJSON(json['twoFaResetToken']),
    };
}
export function TwoFactorAuthDisableRequestToJSON(json) {
    return TwoFactorAuthDisableRequestToJSONTyped(json, false);
}
export function TwoFactorAuthDisableRequestToJSONTyped(value, ignoreDiscriminator = false) {
    if (value == null) {
        return value;
    }
    return {
        'twoFaToken': value['twoFaToken'],
        'password': value['password'],
        'twoFaResetToken': TwoFactorAuthResetTokenToJSON(value['twoFaResetToken']),
    };
}
//# sourceMappingURL=TwoFactorAuthDisableRequest.js.map