@goplus/sdk-node
Version:
GoPlus API SDK for Node.js
85 lines (77 loc) • 3.34 kB
JavaScript
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ResponseWrapperGetNftInfoResultSameNfts = void 0;
var _ApiClient = require("../ApiClient");
/*
* 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 ResponseWrapperGetNftInfoResultSameNfts model module.
* @module model/ResponseWrapperGetNftInfoResultSameNfts
* @version 1.0
*/
class ResponseWrapperGetNftInfoResultSameNfts {
/**
* Constructs a new <code>ResponseWrapperGetNftInfoResultSameNfts</code>.
* @alias module:model/ResponseWrapperGetNftInfoResultSameNfts
* @class
*/
constructor() {}
/**
* Constructs a <code>ResponseWrapperGetNftInfoResultSameNfts</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/ResponseWrapperGetNftInfoResultSameNfts} obj Optional instance to populate.
* @return {module:model/ResponseWrapperGetNftInfoResultSameNfts} The populated <code>ResponseWrapperGetNftInfoResultSameNfts</code> instance.
*/
static constructFromObject(data, obj) {
if (data) {
obj = obj || new ResponseWrapperGetNftInfoResultSameNfts();
if (data.hasOwnProperty('nft_address')) obj.nft_address = _ApiClient.ApiClient.convertToType(data['nft_address'], 'String');
if (data.hasOwnProperty('nft_name')) obj.nft_name = _ApiClient.ApiClient.convertToType(data['nft_name'], 'String');
if (data.hasOwnProperty('nft_owner_number')) obj.nft_owner_number = _ApiClient.ApiClient.convertToType(data['nft_owner_number'], 'Number');
if (data.hasOwnProperty('create_block_number')) obj.create_block_number = _ApiClient.ApiClient.convertToType(data['create_block_number'], 'Number');
if (data.hasOwnProperty('nft_symbol')) obj.nft_symbol = _ApiClient.ApiClient.convertToType(data['nft_symbol'], 'String');
}
return obj;
}
}
/**
* It describes the address of the NFTs;
* @member {String} nft_address
*/
exports.ResponseWrapperGetNftInfoResultSameNfts = ResponseWrapperGetNftInfoResultSameNfts;
ResponseWrapperGetNftInfoResultSameNfts.prototype.nft_address = undefined;
/**
* It describes the name of the NFT;
* @member {String} nft_name
*/
ResponseWrapperGetNftInfoResultSameNfts.prototype.nft_name = undefined;
/**
* It describes the holders of the NFT;
* @member {Number} nft_owner_number
*/
ResponseWrapperGetNftInfoResultSameNfts.prototype.nft_owner_number = undefined;
/**
* describes the number of blocks created for the NFT. Return \"null\" means no NFTs with duplicate name and symbol.
* @member {Number} create_block_number
*/
ResponseWrapperGetNftInfoResultSameNfts.prototype.create_block_number = undefined;
/**
* It describes the symbol of the NFT;
* @member {String} nft_symbol
*/
ResponseWrapperGetNftInfoResultSameNfts.prototype.nft_symbol = undefined;
;