UNPKG

kucoin-universal-sdk

Version:
37 lines 1.25 kB
"use strict"; // Code generated by Kucoin Universal SDK Generator; DO NOT EDIT. Object.defineProperty(exports, "__esModule", { value: true }); exports.IsolatedMarginPositionChangeAssetsValue = void 0; const class_transformer_1 = require("class-transformer"); class IsolatedMarginPositionChangeAssetsValue { constructor() { // @ts-ignore this.total = null; // @ts-ignore this.hold = null; // @ts-ignore this.liabilityPrincipal = null; // @ts-ignore this.liabilityInterest = 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 IsolatedMarginPositionChangeAssetsValue(), jsonObject); } } exports.IsolatedMarginPositionChangeAssetsValue = IsolatedMarginPositionChangeAssetsValue; //# sourceMappingURL=model_isolated_margin_position_change_assets_value.js.map