kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
51 lines (50 loc) • 1.48 kB
TypeScript
import { BatchAddOrdersItem } from './model_batch_add_orders_item';
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class BatchAddOrdersReq implements Serializable {
/**
*
*/
items?: Array<BatchAddOrdersItem>;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `BatchAddOrdersReq` class.
* The builder pattern allows step-by-step construction of a `BatchAddOrdersReq` object.
*/
static builder(): BatchAddOrdersReqBuilder;
/**
* Creates a new instance of the `BatchAddOrdersReq` class with the given data.
*/
static create(data: {
/**
*
*/
items?: Array<BatchAddOrdersItem>;
}): BatchAddOrdersReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): BatchAddOrdersReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): BatchAddOrdersReq;
}
export declare class BatchAddOrdersReqBuilder {
readonly obj: BatchAddOrdersReq;
constructor(obj: BatchAddOrdersReq);
/**
*
*/
setItems(value: Array<BatchAddOrdersItem>): BatchAddOrdersReqBuilder;
/**
* Get the final object.
*/
build(): BatchAddOrdersReq;
}