UNPKG

kucoin-universal-sdk

Version:
42 lines (41 loc) 1.06 kB
import { RestResponse } from '../../../model/common'; import { Response } from '../../../internal/interfaces/serializable'; export declare class AddSubAccountResp implements Response<RestResponse> { /** * Sub-account name */ accountName: string; /** * Sub-account UID */ uid: string; /** * Creation time, Unix timestamp (milliseconds) */ createdAt: number; /** * Sub-account VIP level */ level: 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): AddSubAccountResp; /** * Create an object from Js Object. */ static fromObject(jsonObject: Object): AddSubAccountResp; }