/* tslint:disable */ /* eslint-disable */ /** * * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * * @export * @interface ReqGetFastWithdrawInfo */ export interface ReqGetFastWithdrawInfo { /** * made optional to support header auth clients * @type {string} * @memberof ReqGetFastWithdrawInfo */ auth?: string; /** * * @type {number} * @memberof ReqGetFastWithdrawInfo */ account_index: number; } /** * Check if a given object implements the ReqGetFastWithdrawInfo interface. */ export function instanceOfReqGetFastWithdrawInfo(value: object): value is ReqGetFastWithdrawInfo { if (!('account_index' in value) || value['account_index'] === undefined) return false; return true; } export function ReqGetFastWithdrawInfoFromJSON(json: any): ReqGetFastWithdrawInfo { return ReqGetFastWithdrawInfoFromJSONTyped(json, false); } export function ReqGetFastWithdrawInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGetFastWithdrawInfo { if (json == null) { return json; } return { 'auth': json['auth'] == null ? undefined : json['auth'], 'account_index': json['account_index'], }; } export function ReqGetFastWithdrawInfoToJSON(value?: ReqGetFastWithdrawInfo | null): any { if (value == null) { return value; } return { 'auth': value['auth'], 'account_index': value['account_index'], }; }