UNPKG

kucoin-universal-sdk

Version:
63 lines (62 loc) 1.76 kB
import { BatchAddOrdersOldOrderList } from './model_batch_add_orders_old_order_list'; import { Serializable } from '../../../internal/interfaces/serializable'; export declare class BatchAddOrdersOldReq implements Serializable { /** * */ orderList?: Array<BatchAddOrdersOldOrderList>; /** * */ symbol: string; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * Creates a new instance of the `BatchAddOrdersOldReq` class. * The builder pattern allows step-by-step construction of a `BatchAddOrdersOldReq` object. */ static builder(): BatchAddOrdersOldReqBuilder; /** * Creates a new instance of the `BatchAddOrdersOldReq` class with the given data. */ static create(data: { /** * */ orderList?: Array<BatchAddOrdersOldOrderList>; /** * */ symbol: string; }): BatchAddOrdersOldReq; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): BatchAddOrdersOldReq; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): BatchAddOrdersOldReq; } export declare class BatchAddOrdersOldReqBuilder { readonly obj: BatchAddOrdersOldReq; constructor(obj: BatchAddOrdersOldReq); /** * */ setOrderList(value: Array<BatchAddOrdersOldOrderList>): BatchAddOrdersOldReqBuilder; /** * */ setSymbol(value: string): BatchAddOrdersOldReqBuilder; /** * Get the final object. */ build(): BatchAddOrdersOldReq; }