UNPKG

kucoin-universal-sdk

Version:
44 lines 1.39 kB
"use strict"; // Code generated by Kucoin Universal SDK Generator; DO NOT EDIT. Object.defineProperty(exports, "__esModule", { value: true }); exports.GetSpotSubAccountsSummaryV1Data = void 0; const class_transformer_1 = require("class-transformer"); class GetSpotSubAccountsSummaryV1Data { /** * Private constructor, please use the corresponding static methods to construct the object. */ constructor() { // @ts-ignore this.userId = null; // @ts-ignore this.uid = null; // @ts-ignore this.subName = null; // @ts-ignore this.type = null; // @ts-ignore this.remarks = null; // @ts-ignore this.access = null; } /** * Convert the object to a JSON string. */ toJson() { return JSON.stringify((0, class_transformer_1.instanceToPlain)(this)); } /** * Create an object from a JSON string. */ static fromJson(input) { return this.fromObject(JSON.parse(input)); } /** * Create an object from Js Object. */ static fromObject(jsonObject) { return (0, class_transformer_1.plainToClassFromExist)(new GetSpotSubAccountsSummaryV1Data(), jsonObject); } } exports.GetSpotSubAccountsSummaryV1Data = GetSpotSubAccountsSummaryV1Data; //# sourceMappingURL=model_get_spot_sub_accounts_summary_v1_data.js.map