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