UNPKG

@goplus/sdk-node

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