UNPKG

@goplus/sdk-node

Version:
71 lines (65 loc) 2.47 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ResponseWrapperNftLockerResponse = void 0; var _ApiClient = require("../ApiClient"); var _NftLockerResponse = require("./NftLockerResponse"); /* * GoPlus Security API Document * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 1.0 * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * * Swagger Codegen version: 3.0.45 * * Do not edit the class manually. * */ /** * The ResponseWrapperNftLockerResponse model module. * @module model/ResponseWrapperNftLockerResponse * @version 1.0 */ class ResponseWrapperNftLockerResponse { /** * Constructs a new <code>ResponseWrapperNftLockerResponse</code>. * @alias module:model/ResponseWrapperNftLockerResponse * @class */ constructor() {} /** * Constructs a <code>ResponseWrapperNftLockerResponse</code> from a plain JavaScript object, optionally creating a new instance. * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not. * @param {Object} data The plain JavaScript object bearing properties of interest. * @param {module:model/ResponseWrapperNftLockerResponse} obj Optional instance to populate. * @return {module:model/ResponseWrapperNftLockerResponse} The populated <code>ResponseWrapperNftLockerResponse</code> instance. */ static constructFromObject(data, obj) { if (data) { obj = obj || new ResponseWrapperNftLockerResponse(); if (data.hasOwnProperty('code')) obj.code = _ApiClient.ApiClient.convertToType(data['code'], 'Number'); if (data.hasOwnProperty('message')) obj.message = _ApiClient.ApiClient.convertToType(data['message'], 'String'); if (data.hasOwnProperty('result')) obj.result = _NftLockerResponse.NftLockerResponse.constructFromObject(data['result']); } return obj; } } /** * Code 1:Success * @member {Number} code */ exports.ResponseWrapperNftLockerResponse = ResponseWrapperNftLockerResponse; ResponseWrapperNftLockerResponse.prototype.code = undefined; /** * Response message * @member {String} message */ ResponseWrapperNftLockerResponse.prototype.message = undefined; /** * @member {module:model/NftLockerResponse} result */ ResponseWrapperNftLockerResponse.prototype.result = undefined;