UNPKG

@goplus/sdk-node

Version:
65 lines (60 loc) 2.71 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate = 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 ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate model module. * @module model/ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate * @version 1.0 */ class ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate { /** * Constructs a new <code>ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate</code>. * Currently effective transfer fee rate. * @alias module:model/ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate * @class */ constructor() {} /** * Constructs a <code>ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate</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/ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate} obj Optional instance to populate. * @return {module:model/ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate} The populated <code>ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate</code> instance. */ static constructFromObject(data, obj) { if (data) { obj = obj || new ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate(); if (data.hasOwnProperty('maximum_fee')) obj.maximum_fee = _ApiClient.ApiClient.convertToType(data['maximum_fee'], 'String'); if (data.hasOwnProperty('fee_rate')) obj.fee_rate = _ApiClient.ApiClient.convertToType(data['fee_rate'], 'String'); } return obj; } } /** * Maximum fee amount for a single transaction. * @member {String} maximum_fee */ exports.ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate = ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate; ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate.prototype.maximum_fee = undefined; /** * Fee rate (expressed as a ratio, e.g., 0.02 means 2%) * @member {String} fee_rate */ ResponseWrapperSolanaTokenSecurityTransferFeeCurrentFeeRate.prototype.fee_rate = undefined;