/* 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 ReqGetTransferFeeInfo */ export interface ReqGetTransferFeeInfo { /** * made optional to support header auth clients * @type {string} * @memberof ReqGetTransferFeeInfo */ auth?: string; /** * * @type {number} * @memberof ReqGetTransferFeeInfo */ account_index: number; /** * * @type {number} * @memberof ReqGetTransferFeeInfo */ to_account_index?: number; } /** * Check if a given object implements the ReqGetTransferFeeInfo interface. */ export function instanceOfReqGetTransferFeeInfo(value: object): value is ReqGetTransferFeeInfo { if (!('account_index' in value) || value['account_index'] === undefined) return false; return true; } export function ReqGetTransferFeeInfoFromJSON(json: any): ReqGetTransferFeeInfo { return ReqGetTransferFeeInfoFromJSONTyped(json, false); } export function ReqGetTransferFeeInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReqGetTransferFeeInfo { if (json == null) { return json; } return { 'auth': json['auth'] == null ? undefined : json['auth'], 'account_index': json['account_index'], 'to_account_index': json['to_account_index'] == null ? undefined : json['to_account_index'], }; } export function ReqGetTransferFeeInfoToJSON(value?: ReqGetTransferFeeInfo | null): any { if (value == null) { return value; } return { 'auth': value['auth'], 'account_index': value['account_index'], 'to_account_index': value['to_account_index'], }; }