UNPKG

kucoin-universal-sdk

Version:
74 lines (73 loc) 2.05 kB
import { Serializable } from '../../../internal/interfaces/serializable'; export declare class GetSubAccountReq implements Serializable { /** * Sub-account UID */ uid?: string; /** * Current page, default is 1 */ currentPage?: number; /** * The number returned per page, the default is 20, the maximum is 100 */ pageSize?: number; /** * Private constructor, please use the corresponding static methods to construct the object. */ private constructor(); /** * Creates a new instance of the `GetSubAccountReq` class. * The builder pattern allows step-by-step construction of a `GetSubAccountReq` object. */ static builder(): GetSubAccountReqBuilder; /** * Creates a new instance of the `GetSubAccountReq` class with the given data. */ static create(data: { /** * Sub-account UID */ uid?: string; /** * Current page, default is 1 */ currentPage?: number; /** * The number returned per page, the default is 20, the maximum is 100 */ pageSize?: number; }): GetSubAccountReq; /** * Convert the object to a JSON string. */ toJson(): string; /** * Create an object from a JSON string. */ static fromJson(input: string): GetSubAccountReq; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): GetSubAccountReq; } export declare class GetSubAccountReqBuilder { readonly obj: GetSubAccountReq; constructor(obj: GetSubAccountReq); /** * Sub-account UID */ setUid(value: string): GetSubAccountReqBuilder; /** * Current page, default is 1 */ setCurrentPage(value: number): GetSubAccountReqBuilder; /** * The number returned per page, the default is 20, the maximum is 100 */ setPageSize(value: number): GetSubAccountReqBuilder; /** * Get the final object. */ build(): GetSubAccountReq; }