kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
62 lines (61 loc) • 1.71 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class DeleteSubAccountAPIReq 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 `DeleteSubAccountAPIReq` class.
* The builder pattern allows step-by-step construction of a `DeleteSubAccountAPIReq` object.
*/
static builder(): DeleteSubAccountAPIReqBuilder;
/**
* Creates a new instance of the `DeleteSubAccountAPIReq` class with the given data.
*/
static create(data: {
/**
* Sub-account UID
*/
uid?: string;
/**
* Sub-account apiKey
*/
apiKey?: string;
}): DeleteSubAccountAPIReq;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): DeleteSubAccountAPIReq;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): DeleteSubAccountAPIReq;
}
export declare class DeleteSubAccountAPIReqBuilder {
readonly obj: DeleteSubAccountAPIReq;
constructor(obj: DeleteSubAccountAPIReq);
/**
* Sub-account UID
*/
setUid(value: string): DeleteSubAccountAPIReqBuilder;
/**
* Sub-account apiKey
*/
setApiKey(value: string): DeleteSubAccountAPIReqBuilder;
/**
* Get the final object.
*/
build(): DeleteSubAccountAPIReq;
}