kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
74 lines (73 loc) • 2.34 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetPublicFundingHistoryReq implements Serializable {
/**
* Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
symbol?: string;
/**
* Begin time (milliseconds)
*/
from?: number;
/**
* End time (milliseconds)
*/
to?: number;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `GetPublicFundingHistoryReq` class.
* The builder pattern allows step-by-step construction of a `GetPublicFundingHistoryReq` object.
*/
static builder(): GetPublicFundingHistoryReqBuilder;
/**
* Creates a new instance of the `GetPublicFundingHistoryReq` 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;
/**
* Begin time (milliseconds)
*/
from?: number;
/**
* End time (milliseconds)
*/
to?: number;
}): GetPublicFundingHistoryReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetPublicFundingHistoryReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetPublicFundingHistoryReq;
}
export declare class GetPublicFundingHistoryReqBuilder {
readonly obj: GetPublicFundingHistoryReq;
constructor(obj: GetPublicFundingHistoryReq);
/**
* Symbol of the contract. Please refer to [Get Symbol endpoint: symbol](https://www.kucoin.com/docs-new/api-3470220)
*/
setSymbol(value: string): GetPublicFundingHistoryReqBuilder;
/**
* Begin time (milliseconds)
*/
setFrom(value: number): GetPublicFundingHistoryReqBuilder;
/**
* End time (milliseconds)
*/
setTo(value: number): GetPublicFundingHistoryReqBuilder;
/**
* Get the final object.
*/
build(): GetPublicFundingHistoryReq;
}