@goplus/sdk-node
Version:
GoPlus API SDK for Node.js
66 lines (61 loc) • 2.92 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ResponseWrapperSolanaTokenSecurityMetadataMutable = void 0;
var _ApiClient = require("../ApiClient");
var _ResponseWrapperSolanaTokenSecurityClosableAuthority = require("./ResponseWrapperSolanaTokenSecurityClosableAuthority");
/*
* 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 ResponseWrapperSolanaTokenSecurityMetadataMutable model module.
* @module model/ResponseWrapperSolanaTokenSecurityMetadataMutable
* @version 1.0
*/
class ResponseWrapperSolanaTokenSecurityMetadataMutable {
/**
* Constructs a new <code>ResponseWrapperSolanaTokenSecurityMetadataMutable</code>.
* Whether the metadata is mutable.
* @alias module:model/ResponseWrapperSolanaTokenSecurityMetadataMutable
* @class
*/
constructor() {}
/**
* Constructs a <code>ResponseWrapperSolanaTokenSecurityMetadataMutable</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/ResponseWrapperSolanaTokenSecurityMetadataMutable} obj Optional instance to populate.
* @return {module:model/ResponseWrapperSolanaTokenSecurityMetadataMutable} The populated <code>ResponseWrapperSolanaTokenSecurityMetadataMutable</code> instance.
*/
static constructFromObject(data, obj) {
if (data) {
obj = obj || new ResponseWrapperSolanaTokenSecurityMetadataMutable();
if (data.hasOwnProperty('metadata_upgrade_authority')) obj.metadata_upgrade_authority = _ApiClient.ApiClient.convertToType(data['metadata_upgrade_authority'], [_ResponseWrapperSolanaTokenSecurityClosableAuthority.ResponseWrapperSolanaTokenSecurityClosableAuthority]);
if (data.hasOwnProperty('status')) obj.status = _ApiClient.ApiClient.convertToType(data['status'], 'String');
}
return obj;
}
}
/**
* Information on metadata upgrade authority.
* @member {Array.<module:model/ResponseWrapperSolanaTokenSecurityClosableAuthority>} metadata_upgrade_authority
*/
exports.ResponseWrapperSolanaTokenSecurityMetadataMutable = ResponseWrapperSolanaTokenSecurityMetadataMutable;
ResponseWrapperSolanaTokenSecurityMetadataMutable.prototype.metadata_upgrade_authority = undefined;
/**
* Status indicator, where \"1\" means the funtcion is available.
* @member {String} status
*/
ResponseWrapperSolanaTokenSecurityMetadataMutable.prototype.status = undefined;
;