kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
50 lines (49 loc) • 1.79 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetCrossMarginSymbolsReq implements Serializable {
/**
* If not provided, all cross margin symbol will be queried. If provided, only the specified symbol will be queried.
*/
symbol?: string;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `GetCrossMarginSymbolsReq` class.
* The builder pattern allows step-by-step construction of a `GetCrossMarginSymbolsReq` object.
*/
static builder(): GetCrossMarginSymbolsReqBuilder;
/**
* Creates a new instance of the `GetCrossMarginSymbolsReq` class with the given data.
*/
static create(data: {
/**
* If not provided, all cross margin symbol will be queried. If provided, only the specified symbol will be queried.
*/
symbol?: string;
}): GetCrossMarginSymbolsReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetCrossMarginSymbolsReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetCrossMarginSymbolsReq;
}
export declare class GetCrossMarginSymbolsReqBuilder {
readonly obj: GetCrossMarginSymbolsReq;
constructor(obj: GetCrossMarginSymbolsReq);
/**
* If not provided, all cross margin symbol will be queried. If provided, only the specified symbol will be queried.
*/
setSymbol(value: string): GetCrossMarginSymbolsReqBuilder;
/**
* Get the final object.
*/
build(): GetCrossMarginSymbolsReq;
}