kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
42 lines (41 loc) • 1.08 kB
TypeScript
import { RestResponse } from '../../../model/common';
import { Response } from '../../../internal/interfaces/serializable';
export declare class ModifySubAccountApiResp implements Response<RestResponse> {
/**
* Sub-account name
*/
subName: string;
/**
* API Key
*/
apiKey: string;
/**
* [Permissions](https://www.kucoin.com/docs-new/doc-338144)
*/
permission: string;
/**
* IP whitelist
*/
ipWhitelist?: string;
/**
* 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): ModifySubAccountApiResp;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): ModifySubAccountApiResp;
}