forked from lthn/blockchain
This pull request introduces a comprehensive new API interface for the blockchain, leveraging OpenAPI v3 to facilitate direct consumption of chain data by GUI and web applications. This change significantly refines the project's build infrastructure, incorporating Conan for dependency management and CMake for configuration, alongside the integration of an OpenAPI Generator to produce SDKs for multiple languages. ### Highlights * **New API Interface**: Introduced a new API interface using OpenAPI v3 to enable GUI/WEB development to consume chain data without needing custom server applications. * **Build System Enhancements**: Significant updates to the build system, including Makefile, CMake, and Conan configurations, to streamline the build process and support new functionalities. * **Multi-language SDK Generation**: Integrated OpenAPI Generator to automatically create SDKs for various programming languages, including Go, Angular, and PHP, simplifying client-side integration.
493 lines
11 KiB
PHP
Generated
493 lines
11 KiB
PHP
Generated
<?php
|
|
/**
|
|
* InfoModelTest
|
|
*
|
|
* PHP version 8.1
|
|
*
|
|
* @package OpenAPI\Client
|
|
* @author OpenAPI Generator team
|
|
* @link https://openapi-generator.tech
|
|
*/
|
|
|
|
/**
|
|
* Lethean Blockchain API
|
|
*
|
|
* OpenAPI for Lethean Blockchain
|
|
*
|
|
* The version of the OpenAPI document: 6.0.1
|
|
* @generated Generated by: https://openapi-generator.tech
|
|
* Generator version: 7.16.0
|
|
*/
|
|
|
|
/**
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Please update the test case below to test the model.
|
|
*/
|
|
|
|
namespace OpenAPI\Client\Test\Model;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
/**
|
|
* InfoModelTest Class Doc Comment
|
|
*
|
|
* @description InfoModel
|
|
* @package OpenAPI\Client
|
|
* @author OpenAPI Generator team
|
|
* @link https://openapi-generator.tech
|
|
*/
|
|
class InfoModelTest extends TestCase
|
|
{
|
|
|
|
/**
|
|
* Setup before running any test case
|
|
*/
|
|
public static function setUpBeforeClass(): void
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Setup before running each test case
|
|
*/
|
|
public function setUp(): void
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Clean up after running each test case
|
|
*/
|
|
public function tearDown(): void
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Clean up after running all test cases
|
|
*/
|
|
public static function tearDownAfterClass(): void
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test "InfoModel"
|
|
*/
|
|
public function testInfoModel()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "height"
|
|
*/
|
|
public function testPropertyHeight()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "tx_count"
|
|
*/
|
|
public function testPropertyTxCount()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "tx_pool_size"
|
|
*/
|
|
public function testPropertyTxPoolSize()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "alt_blocks_count"
|
|
*/
|
|
public function testPropertyAltBlocksCount()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "outgoing_connections_count"
|
|
*/
|
|
public function testPropertyOutgoingConnectionsCount()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "incoming_connections_count"
|
|
*/
|
|
public function testPropertyIncomingConnectionsCount()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "synchronized_connections_count"
|
|
*/
|
|
public function testPropertySynchronizedConnectionsCount()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "white_peerlist_size"
|
|
*/
|
|
public function testPropertyWhitePeerlistSize()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "grey_peerlist_size"
|
|
*/
|
|
public function testPropertyGreyPeerlistSize()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "current_blocks_median"
|
|
*/
|
|
public function testPropertyCurrentBlocksMedian()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "alias_count"
|
|
*/
|
|
public function testPropertyAliasCount()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "current_max_allowed_block_size"
|
|
*/
|
|
public function testPropertyCurrentMaxAllowedBlockSize()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "daemon_network_state"
|
|
*/
|
|
public function testPropertyDaemonNetworkState()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "synchronization_start_height"
|
|
*/
|
|
public function testPropertySynchronizationStartHeight()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "max_net_seen_height"
|
|
*/
|
|
public function testPropertyMaxNetSeenHeight()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "mi"
|
|
*/
|
|
public function testPropertyMi()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "pos_allowed"
|
|
*/
|
|
public function testPropertyPosAllowed()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "pos_difficulty"
|
|
*/
|
|
public function testPropertyPosDifficulty()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "pow_difficulty"
|
|
*/
|
|
public function testPropertyPowDifficulty()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "default_fee"
|
|
*/
|
|
public function testPropertyDefaultFee()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "minimum_fee"
|
|
*/
|
|
public function testPropertyMinimumFee()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "is_hardfork_active"
|
|
*/
|
|
public function testPropertyIsHardforkActive()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "net_time_delta_median"
|
|
*/
|
|
public function testPropertyNetTimeDeltaMedian()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "current_network_hashrate_50"
|
|
*/
|
|
public function testPropertyCurrentNetworkHashrate50()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "current_network_hashrate_350"
|
|
*/
|
|
public function testPropertyCurrentNetworkHashrate350()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "seconds_for_10_blocks"
|
|
*/
|
|
public function testPropertySecondsFor10Blocks()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "seconds_for_30_blocks"
|
|
*/
|
|
public function testPropertySecondsFor30Blocks()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "transactions_cnt_per_day"
|
|
*/
|
|
public function testPropertyTransactionsCntPerDay()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "transactions_volume_per_day"
|
|
*/
|
|
public function testPropertyTransactionsVolumePerDay()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "last_pos_timestamp"
|
|
*/
|
|
public function testPropertyLastPosTimestamp()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "last_pow_timestamp"
|
|
*/
|
|
public function testPropertyLastPowTimestamp()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "total_coins"
|
|
*/
|
|
public function testPropertyTotalCoins()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "last_block_size"
|
|
*/
|
|
public function testPropertyLastBlockSize()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "tx_count_in_last_block"
|
|
*/
|
|
public function testPropertyTxCountInLastBlock()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "pos_sequence_factor"
|
|
*/
|
|
public function testPropertyPosSequenceFactor()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "pow_sequence_factor"
|
|
*/
|
|
public function testPropertyPowSequenceFactor()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "block_reward"
|
|
*/
|
|
public function testPropertyBlockReward()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "last_block_total_reward"
|
|
*/
|
|
public function testPropertyLastBlockTotalReward()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "pos_diff_total_coins_rate"
|
|
*/
|
|
public function testPropertyPosDiffTotalCoinsRate()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "last_block_timestamp"
|
|
*/
|
|
public function testPropertyLastBlockTimestamp()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "last_block_hash"
|
|
*/
|
|
public function testPropertyLastBlockHash()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "pos_block_ts_shift_vs_actual"
|
|
*/
|
|
public function testPropertyPosBlockTsShiftVsActual()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "outs_stat"
|
|
*/
|
|
public function testPropertyOutsStat()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "performance_data"
|
|
*/
|
|
public function testPropertyPerformanceData()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "offers_count"
|
|
*/
|
|
public function testPropertyOffersCount()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "expiration_median_timestamp"
|
|
*/
|
|
public function testPropertyExpirationMedianTimestamp()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
}
|