kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
51 lines (50 loc) • 1.7 kB
TypeScript
import 'reflect-metadata';
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetMarkPriceReq 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 `GetMarkPriceReq` class.
* The builder pattern allows step-by-step construction of a `GetMarkPriceReq` object.
*/
static builder(): GetMarkPriceReqBuilder;
/**
* Creates a new instance of the `GetMarkPriceReq` 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;
}): GetMarkPriceReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetMarkPriceReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetMarkPriceReq;
}
export declare class GetMarkPriceReqBuilder {
readonly obj: GetMarkPriceReq;
constructor(obj: GetMarkPriceReq);
/**
* Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
setSymbol(value: string): GetMarkPriceReqBuilder;
/**
* Get the final object.
*/
build(): GetMarkPriceReq;
}