@goplus/sdk-node
Version:
GoPlus API SDK for Node.js
72 lines (66 loc) • 2.43 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ResponseWrapperListJSONObject = void 0;
var _ApiClient = require("../ApiClient");
var _JSONObject = require("./JSONObject");
/*
* 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 ResponseWrapperListJSONObject model module.
* @module model/ResponseWrapperListJSONObject
* @version 1.0
*/
class ResponseWrapperListJSONObject {
/**
* Constructs a new <code>ResponseWrapperListJSONObject</code>.
* @alias module:model/ResponseWrapperListJSONObject
* @class
*/
constructor() {}
/**
* Constructs a <code>ResponseWrapperListJSONObject</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/ResponseWrapperListJSONObject} obj Optional instance to populate.
* @return {module:model/ResponseWrapperListJSONObject} The populated <code>ResponseWrapperListJSONObject</code> instance.
*/
static constructFromObject(data, obj) {
if (data) {
obj = obj || new ResponseWrapperListJSONObject();
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 = _ApiClient.ApiClient.convertToType(data['result'], [_JSONObject.JSONObject]);
}
return obj;
}
}
/**
* Code 1: Success
* @member {Number} code
*/
exports.ResponseWrapperListJSONObject = ResponseWrapperListJSONObject;
ResponseWrapperListJSONObject.prototype.code = undefined;
/**
* Response message
* @member {String} message
*/
ResponseWrapperListJSONObject.prototype.message = undefined;
/**
* Response result
* @member {Array.<module:model/JSONObject>} result
*/
ResponseWrapperListJSONObject.prototype.result = undefined;
;