UNPKG

@goplus/sdk-node

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