UNPKG

kucoin-universal-sdk

Version:
54 lines (53 loc) 1.31 kB
import { RestResponse } from '../../../model/common'; import { Response } from '../../../internal/interfaces/serializable'; export declare class ModifySubAccountApiResp implements Response<RestResponse> { /** * Sub-account UID */ uid: string; /** * apikey remarks */ label: string; /** * apiKey */ apiKey: string; /** * apiVersion */ apiVersion: number; /** * [Permissions](https://www.kucoin.com/docs-new/doc-338144) group list */ permissions: Array<string>; /** * IP whitelist list */ ipWhitelist: Array<string>; /** * Creation time, Unix timestamp (milliseconds) */ 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): ModifySubAccountApiResp; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): ModifySubAccountApiResp; }