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