UNPKG

kucoin-universal-sdk

Version:
37 lines (36 loc) 1.16 kB
import { BatchSwitchMarginModeErrors } from './model_batch_switch_margin_mode_errors'; import { RestResponse } from '../../../model/common'; import { Response } from '../../../internal/interfaces/serializable'; export declare class BatchSwitchMarginModeResp implements Response<RestResponse> { /** * Target Margin Model, Symbols that failed to be modified will also be included */ marginMode: { [key: string]: string; }; /** * Symbol which modification failed */ errors: Array<BatchSwitchMarginModeErrors>; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * common response */ commonResponse?: RestResponse; setCommonResponse(response: RestResponse): void; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): BatchSwitchMarginModeResp; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): BatchSwitchMarginModeResp; }