UNPKG

@goplus/sdk-node

Version:
56 lines (52 loc) 1.82 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SolanaPrerunTxRequest = 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 SolanaPrerunTxRequest model module. * @module model/SolanaPrerunTxRequest * @version 1.0 */ class SolanaPrerunTxRequest { /** * Constructs a new <code>SolanaPrerunTxRequest</code>. * @alias module:model/SolanaPrerunTxRequest * @class */ constructor() {} /** * Constructs a <code>SolanaPrerunTxRequest</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/SolanaPrerunTxRequest} obj Optional instance to populate. * @return {module:model/SolanaPrerunTxRequest} The populated <code>SolanaPrerunTxRequest</code> instance. */ static constructFromObject(data, obj) { if (data) { obj = obj || new SolanaPrerunTxRequest(); if (data.hasOwnProperty('encoded_transaction')) obj.encoded_transaction = _ApiClient.ApiClient.convertToType(data['encoded_transaction'], 'String'); } return obj; } } /** * @member {String} encoded_transaction */ exports.SolanaPrerunTxRequest = SolanaPrerunTxRequest; SolanaPrerunTxRequest.prototype.encoded_transaction = undefined;