UNPKG

kucoin-universal-sdk

Version:
63 lines (62 loc) 1.98 kB
import { BatchCancelOrdersClientOidsList } from './model_batch_cancel_orders_client_oids_list'; import { Serializable } from '../../../internal/interfaces/serializable'; export declare class BatchCancelOrdersReq implements Serializable { /** * the list of orderId */ orderIdsList: Array<string>; /** * the list of client orderId */ clientOidsList: Array<BatchCancelOrdersClientOidsList>; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * Creates a new instance of the `BatchCancelOrdersReq` class. * The builder pattern allows step-by-step construction of a `BatchCancelOrdersReq` object. */ static builder(): BatchCancelOrdersReqBuilder; /** * Creates a new instance of the `BatchCancelOrdersReq` class with the given data. */ static create(data: { /** * the list of orderId */ orderIdsList: Array<string>; /** * the list of client orderId */ clientOidsList: Array<BatchCancelOrdersClientOidsList>; }): BatchCancelOrdersReq; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): BatchCancelOrdersReq; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): BatchCancelOrdersReq; } export declare class BatchCancelOrdersReqBuilder { readonly obj: BatchCancelOrdersReq; constructor(obj: BatchCancelOrdersReq); /** * the list of orderId */ setOrderIdsList(value: Array<string>): BatchCancelOrdersReqBuilder; /** * the list of client orderId */ setClientOidsList(value: Array<BatchCancelOrdersClientOidsList>): BatchCancelOrdersReqBuilder; /** * Get the final object. */ build(): BatchCancelOrdersReq; }