UNPKG

@goplus/sdk-node

Version:
72 lines (66 loc) 2.64 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ResponseWrapperSolanaTokenSecurityMonth = 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 ResponseWrapperSolanaTokenSecurityMonth model module. * @module model/ResponseWrapperSolanaTokenSecurityMonth * @version 1.0 */ class ResponseWrapperSolanaTokenSecurityMonth { /** * Constructs a new <code>ResponseWrapperSolanaTokenSecurityMonth</code>. * Trading data for last month. * @alias module:model/ResponseWrapperSolanaTokenSecurityMonth * @class */ constructor() {} /** * Constructs a <code>ResponseWrapperSolanaTokenSecurityMonth</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/ResponseWrapperSolanaTokenSecurityMonth} obj Optional instance to populate. * @return {module:model/ResponseWrapperSolanaTokenSecurityMonth} The populated <code>ResponseWrapperSolanaTokenSecurityMonth</code> instance. */ static constructFromObject(data, obj) { if (data) { obj = obj || new ResponseWrapperSolanaTokenSecurityMonth(); if (data.hasOwnProperty('volume')) obj.volume = _ApiClient.ApiClient.convertToType(data['volume'], 'String'); if (data.hasOwnProperty('price_min')) obj.price_min = _ApiClient.ApiClient.convertToType(data['price_min'], 'String'); if (data.hasOwnProperty('price_max')) obj.price_max = _ApiClient.ApiClient.convertToType(data['price_max'], 'String'); } return obj; } } /** * The volume of transactions during this period. * @member {String} volume */ exports.ResponseWrapperSolanaTokenSecurityMonth = ResponseWrapperSolanaTokenSecurityMonth; ResponseWrapperSolanaTokenSecurityMonth.prototype.volume = undefined; /** * Minimum price during this period. * @member {String} price_min */ ResponseWrapperSolanaTokenSecurityMonth.prototype.price_min = undefined; /** * Maximum price during this period. * @member {String} price_max */ ResponseWrapperSolanaTokenSecurityMonth.prototype.price_max = undefined;