UNPKG

kucoin-universal-sdk

Version:
44 lines 1.31 kB
"use strict"; // Code generated by Kucoin Universal SDK Generator; DO NOT EDIT. Object.defineProperty(exports, "__esModule", { value: true }); exports.GetETFInfoData = void 0; const class_transformer_1 = require("class-transformer"); class GetETFInfoData { /** * Private constructor, please use the corresponding static methods to construct the object. */ constructor() { // @ts-ignore this.currency = null; // @ts-ignore this.netAsset = null; // @ts-ignore this.targetLeverage = null; // @ts-ignore this.actualLeverage = null; // @ts-ignore this.issuedSize = null; // @ts-ignore this.basket = 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 GetETFInfoData(), jsonObject); } } exports.GetETFInfoData = GetETFInfoData; //# sourceMappingURL=model_get_etf_info_data.js.map