kucoin-universal-sdk
Version:
Official KuCoin Universal SDK.
60 lines • 1.9 kB
JavaScript
"use strict";
// Code generated by Kucoin Universal SDK Generator; DO NOT EDIT.
Object.defineProperty(exports, "__esModule", { value: true });
exports.GetIsolatedMarginSymbolsData = void 0;
const class_transformer_1 = require("class-transformer");
class GetIsolatedMarginSymbolsData {
/**
* Private constructor, please use the corresponding static methods to construct the object.
*/
constructor() {
// @ts-ignore
this.symbol = null;
// @ts-ignore
this.symbolName = null;
// @ts-ignore
this.baseCurrency = null;
// @ts-ignore
this.quoteCurrency = null;
// @ts-ignore
this.maxLeverage = null;
// @ts-ignore
this.flDebtRatio = null;
// @ts-ignore
this.tradeEnable = null;
// @ts-ignore
this.autoRenewMaxDebtRatio = null;
// @ts-ignore
this.baseBorrowEnable = null;
// @ts-ignore
this.quoteBorrowEnable = null;
// @ts-ignore
this.baseTransferInEnable = null;
// @ts-ignore
this.quoteTransferInEnable = null;
// @ts-ignore
this.baseBorrowCoefficient = null;
// @ts-ignore
this.quoteBorrowCoefficient = 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 GetIsolatedMarginSymbolsData(), jsonObject);
}
}
exports.GetIsolatedMarginSymbolsData = GetIsolatedMarginSymbolsData;
//# sourceMappingURL=model_get_isolated_margin_symbols_data.js.map