kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
50 lines (49 loc) • 1.72 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetTradeHistoryReq implements Serializable {
/**
* Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
symbol?: string;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `GetTradeHistoryReq` class.
* The builder pattern allows step-by-step construction of a `GetTradeHistoryReq` object.
*/
static builder(): GetTradeHistoryReqBuilder;
/**
* Creates a new instance of the `GetTradeHistoryReq` class with the given data.
*/
static create(data: {
/**
* Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
symbol?: string;
}): GetTradeHistoryReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetTradeHistoryReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetTradeHistoryReq;
}
export declare class GetTradeHistoryReqBuilder {
readonly obj: GetTradeHistoryReq;
constructor(obj: GetTradeHistoryReq);
/**
* Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
setSymbol(value: string): GetTradeHistoryReqBuilder;
/**
* Get the final object.
*/
build(): GetTradeHistoryReq;
}