UNPKG

kucoin-universal-sdk

Version:
43 lines 1.34 kB
"use strict"; // Code generated by Kucoin Universal SDK Generator; DO NOT EDIT. Object.defineProperty(exports, "__esModule", { value: true }); exports.SymbolSnapshotDataMarketChange4h = void 0; const class_transformer_1 = require("class-transformer"); class SymbolSnapshotDataMarketChange4h { constructor() { // @ts-ignore this.changePrice = null; // @ts-ignore this.changeRate = null; // @ts-ignore this.high = null; // @ts-ignore this.low = null; // @ts-ignore this.open = null; // @ts-ignore this.vol = null; // @ts-ignore this.volValue = 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 SymbolSnapshotDataMarketChange4h(), jsonObject); } } exports.SymbolSnapshotDataMarketChange4h = SymbolSnapshotDataMarketChange4h; //# sourceMappingURL=model_symbol_snapshot_data_market_change4h.js.map