UNPKG

kucoin-universal-sdk

Version:
50 lines 1.53 kB
"use strict"; // Code generated by Kucoin Universal SDK Generator; DO NOT EDIT. Object.defineProperty(exports, "__esModule", { value: true }); exports.GetCrossMarginRiskLimitData = void 0; const class_transformer_1 = require("class-transformer"); class GetCrossMarginRiskLimitData { /** * Private constructor, please use the corresponding static methods to construct the object. */ constructor() { // @ts-ignore this.symbol = null; // @ts-ignore this.maxOpenSize = null; // @ts-ignore this.maxOpenValue = null; // @ts-ignore this.totalMargin = null; // @ts-ignore this.price = null; // @ts-ignore this.leverage = null; // @ts-ignore this.mmr = null; // @ts-ignore this.imr = null; // @ts-ignore this.currency = 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 GetCrossMarginRiskLimitData(), jsonObject); } } exports.GetCrossMarginRiskLimitData = GetCrossMarginRiskLimitData; //# sourceMappingURL=model_get_cross_margin_risk_limit_data.js.map