kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
74 lines • 2.1 kB
JavaScript
"use strict";
// Code generated by Kucoin Universal SDK Generator; DO NOT EDIT.
Object.defineProperty(exports, "__esModule", { value: true });
exports.BatchAddOrdersOldData = void 0;
const class_transformer_1 = require("class-transformer");
class BatchAddOrdersOldData {
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
constructor() {
// @ts-ignore
this.symbol = null;
// @ts-ignore
this.type = null;
// @ts-ignore
this.side = null;
// @ts-ignore
this.price = null;
// @ts-ignore
this.size = null;
// @ts-ignore
this.funds = null;
// @ts-ignore
this.stp = null;
// @ts-ignore
this.stop = null;
// @ts-ignore
this.stopPrice = null;
// @ts-ignore
this.timeInForce = null;
// @ts-ignore
this.cancelAfter = null;
// @ts-ignore
this.postOnly = null;
// @ts-ignore
this.hidden = null;
// @ts-ignore
this.iceberge = null;
// @ts-ignore
this.iceberg = null;
// @ts-ignore
this.visibleSize = null;
// @ts-ignore
this.channel = null;
// @ts-ignore
this.id = null;
// @ts-ignore
this.status = null;
// @ts-ignore
this.failMsg = null;
// @ts-ignore
this.clientOid = 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 BatchAddOrdersOldData(), jsonObject);
}
}
exports.BatchAddOrdersOldData = BatchAddOrdersOldData;
//# sourceMappingURL=model_batch_add_orders_old_data.js.map