kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
93 lines • 2.84 kB
JavaScript
"use strict";
// Code generated by Kucoin Universal SDK Generator; DO NOT EDIT.
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetAllSymbolsData = void 0;
const class_transformer_1 = require("class-transformer");
class GetAllSymbolsData {
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
constructor() {
// @ts-ignore
this.symbol = null;
// @ts-ignore
this.name = null;
// @ts-ignore
this.baseCurrency = null;
// @ts-ignore
this.quoteCurrency = null;
// @ts-ignore
this.feeCurrency = null;
// @ts-ignore
this.market = null;
// @ts-ignore
this.baseMinSize = null;
// @ts-ignore
this.quoteMinSize = null;
// @ts-ignore
this.baseMaxSize = null;
// @ts-ignore
this.quoteMaxSize = null;
// @ts-ignore
this.baseIncrement = null;
// @ts-ignore
this.quoteIncrement = null;
// @ts-ignore
this.priceIncrement = null;
// @ts-ignore
this.priceLimitRate = null;
// @ts-ignore
this.minFunds = null;
// @ts-ignore
this.isMarginEnabled = null;
// @ts-ignore
this.enableTrading = null;
// @ts-ignore
this.feeCategory = null;
// @ts-ignore
this.makerFeeCoefficient = null;
// @ts-ignore
this.takerFeeCoefficient = null;
// @ts-ignore
this.st = null;
// @ts-ignore
this.callauctionIsEnabled = 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 GetAllSymbolsData(), jsonObject);
}
}
exports.GetAllSymbolsData = GetAllSymbolsData;
(function (GetAllSymbolsData) {
let FeeCategoryEnum;
(function (FeeCategoryEnum) {
/**
* classA
*/
FeeCategoryEnum[FeeCategoryEnum["CLASSA"] = 1] = "CLASSA";
/**
* classB
*/
FeeCategoryEnum[FeeCategoryEnum["CLASSB"] = 2] = "CLASSB";
/**
* classC
*/
FeeCategoryEnum[FeeCategoryEnum["CLASSC"] = 3] = "CLASSC";
})(FeeCategoryEnum = GetAllSymbolsData.FeeCategoryEnum || (GetAllSymbolsData.FeeCategoryEnum = {}));
})(GetAllSymbolsData || (exports.GetAllSymbolsData = GetAllSymbolsData = {}));
//# sourceMappingURL=model_get_all_symbols_data.js.map