kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
62 lines (61 loc) • 1.67 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class GetSubAccountAPIReq implements Serializable {
/**
* Sub-account UID
*/
uid?: string;
/**
* Sub-account apiKey
*/
apiKey?: string;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* Creates a new instance of the `GetSubAccountAPIReq` class.
* The builder pattern allows step-by-step construction of a `GetSubAccountAPIReq` object.
*/
static builder(): GetSubAccountAPIReqBuilder;
/**
* Creates a new instance of the `GetSubAccountAPIReq` class with the given data.
*/
static create(data: {
/**
* Sub-account UID
*/
uid?: string;
/**
* Sub-account apiKey
*/
apiKey?: string;
}): GetSubAccountAPIReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): GetSubAccountAPIReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetSubAccountAPIReq;
}
export declare class GetSubAccountAPIReqBuilder {
readonly obj: GetSubAccountAPIReq;
constructor(obj: GetSubAccountAPIReq);
/**
* Sub-account UID
*/
setUid(value: string): GetSubAccountAPIReqBuilder;
/**
* Sub-account apiKey
*/
setApiKey(value: string): GetSubAccountAPIReqBuilder;
/**
* Get the final object.
*/
build(): GetSubAccountAPIReq;
}