kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
74 lines (73 loc) • 2 kB
TypeScript
import { Serializable } from '../../../internal/interfaces/serializable';
export declare class DeleteSubAccountApiReq implements Serializable {
/**
* API-Key
*/
apiKey?: string;
/**
* Sub-account name.
*/
subName?: string;
/**
* Password (password of the API key)
*/
passphrase?: 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: {
/**
* API-Key
*/
apiKey?: string;
/**
* Sub-account name.
*/
subName?: string;
/**
* Password (password of the API key)
*/
passphrase?: 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);
/**
* API-Key
*/
setApiKey(value: string): DeleteSubAccountApiReqBuilder;
/**
* Sub-account name.
*/
setSubName(value: string): DeleteSubAccountApiReqBuilder;
/**
* Password (password of the API key)
*/
setPassphrase(value: string): DeleteSubAccountApiReqBuilder;
/**
* Get the final object.
*/
build(): DeleteSubAccountApiReq;
}