kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
62 lines (61 loc) • 2.08 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetSpotSubAccountsSummaryV2Req implements Serializable {
/**
* Current request page. Default is 1
*/
currentPage?: number;
/**
* Number of results per request. Minimum is 1, maximum is 100, default is 10.
*/
pageSize?: number;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `GetSpotSubAccountsSummaryV2Req` class.
* The builder pattern allows step-by-step construction of a `GetSpotSubAccountsSummaryV2Req` object.
*/
static builder(): GetSpotSubAccountsSummaryV2ReqBuilder;
/**
* Creates a new instance of the `GetSpotSubAccountsSummaryV2Req` class with the given data.
*/
static create(data: {
/**
* Current request page. Default is 1
*/
currentPage?: number;
/**
* Number of results per request. Minimum is 1, maximum is 100, default is 10.
*/
pageSize?: number;
}): GetSpotSubAccountsSummaryV2Req;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetSpotSubAccountsSummaryV2Req;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetSpotSubAccountsSummaryV2Req;
}
export declare class GetSpotSubAccountsSummaryV2ReqBuilder {
readonly obj: GetSpotSubAccountsSummaryV2Req;
constructor(obj: GetSpotSubAccountsSummaryV2Req);
/**
* Current request page. Default is 1
*/
setCurrentPage(value: number): GetSpotSubAccountsSummaryV2ReqBuilder;
/**
* Number of results per request. Minimum is 1, maximum is 100, default is 10.
*/
setPageSize(value: number): GetSpotSubAccountsSummaryV2ReqBuilder;
/**
* Get the final object.
*/
build(): GetSpotSubAccountsSummaryV2Req;
}