UNPKG

kucoin-universal-sdk

Version:
48 lines 1.7 kB
"use strict"; // Code generated by Kucoin Universal SDK Generator; DO NOT EDIT. Object.defineProperty(exports, "__esModule", { value: true }); exports.GetWithdrawalHistoryOldItems = void 0; const class_transformer_1 = require("class-transformer"); class GetWithdrawalHistoryOldItems { /** * Private constructor, please use the corresponding static methods to construct the object. */ constructor() { } /** * 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 GetWithdrawalHistoryOldItems(), jsonObject); } } exports.GetWithdrawalHistoryOldItems = GetWithdrawalHistoryOldItems; (function (GetWithdrawalHistoryOldItems) { let StatusEnum; (function (StatusEnum) { /** * */ StatusEnum[StatusEnum["PROCESSING"] = 'PROCESSING'] = "PROCESSING"; /** * */ StatusEnum[StatusEnum["SUCCESS"] = 'SUCCESS'] = "SUCCESS"; /** * */ StatusEnum[StatusEnum["FAILURE"] = 'FAILURE'] = "FAILURE"; })(StatusEnum = GetWithdrawalHistoryOldItems.StatusEnum || (GetWithdrawalHistoryOldItems.StatusEnum = {})); })(GetWithdrawalHistoryOldItems || (exports.GetWithdrawalHistoryOldItems = GetWithdrawalHistoryOldItems = {})); //# sourceMappingURL=model_get_withdrawal_history_old_items.js.map