kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
53 lines (52 loc) • 1.7 kB
TypeScript
import { GetSpotSubAccountDetailMarginAccounts } from './model_get_spot_sub_account_detail_margin_accounts';
import { GetSpotSubAccountDetailMainAccounts } from './model_get_spot_sub_account_detail_main_accounts';
import { GetSpotSubAccountDetailTradeAccounts } from './model_get_spot_sub_account_detail_trade_accounts';
import { RestResponse } from '../../../model/common';
import { Response } from '../../../internal/interfaces/serializable';
export declare class GetSpotSubAccountDetailResp implements Response<RestResponse> {
/**
* The user ID of a sub-user.
*/
subUserId: string;
/**
* The username of a sub-user.
*/
subName: string;
/**
* Funding Account
*/
mainAccounts: Array<GetSpotSubAccountDetailMainAccounts>;
/**
* Spot Account
*/
tradeAccounts: Array<GetSpotSubAccountDetailTradeAccounts>;
/**
* Margin Account
*/
marginAccounts: Array<GetSpotSubAccountDetailMarginAccounts>;
/**
* This param is deprecated and only valid for some old users
*/
tradeHFAccounts: Array<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): GetSpotSubAccountDetailResp;
/**
* Create an object from Js Object.
*/
static fromObject(jsonObject: Object): GetSpotSubAccountDetailResp;
}