kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
62 lines (61 loc) • 1.36 kB
TypeScript
import { RestResponse } from '../../../model/common';
import { Response } from '../../../internal/interfaces/serializable';
export declare class AddSubAccountApiResp implements Response<RestResponse> {
/**
* Sub-account name
*/
subName: string;
/**
* Remarks
*/
remark: string;
/**
* API Key
*/
apiKey: string;
/**
* API Secret Key
*/
apiSecret: string;
/**
* API Version
*/
apiVersion: number;
/**
* Password
*/
passphrase: string;
/**
* [Permissions](https://www.kucoin.com/docs-new/doc-338144)
*/
permission: string;
/**
* IP whitelist
*/
ipWhitelist?: string;
/**
* Time of event
*/
createdAt: number;
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
private constructor();
/**
* common response
*/
commonResponse?: RestResponse;
setCommonResponse(response: RestResponse): void;
/**
* Convert the object to a JSON string.
*/
toJson(): string;
/**
* Create an object from a JSON string.
*/
static fromJson(input: string): AddSubAccountApiResp;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): AddSubAccountApiResp;
}