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.
304 lines
6.3 KiB
PHP
Generated
304 lines
6.3 KiB
PHP
Generated
<?php
|
|
/**
|
|
* BlockDetailsModelTest
|
|
*
|
|
* 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;
|
|
|
|
/**
|
|
* BlockDetailsModelTest Class Doc Comment
|
|
*
|
|
* @description BlockDetailsModel
|
|
* @package OpenAPI\Client
|
|
* @author OpenAPI Generator team
|
|
* @link https://openapi-generator.tech
|
|
*/
|
|
class BlockDetailsModelTest 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 "BlockDetailsModel"
|
|
*/
|
|
public function testBlockDetailsModel()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "actual_timestamp"
|
|
*/
|
|
public function testPropertyActualTimestamp()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "already_generated_coins"
|
|
*/
|
|
public function testPropertyAlreadyGeneratedCoins()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "base_reward"
|
|
*/
|
|
public function testPropertyBaseReward()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "blob"
|
|
*/
|
|
public function testPropertyBlob()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "block_cumulative_size"
|
|
*/
|
|
public function testPropertyBlockCumulativeSize()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "block_tself_size"
|
|
*/
|
|
public function testPropertyBlockTselfSize()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "cumulative_diff_adjusted"
|
|
*/
|
|
public function testPropertyCumulativeDiffAdjusted()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "cumulative_diff_precise"
|
|
*/
|
|
public function testPropertyCumulativeDiffPrecise()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "difficulty"
|
|
*/
|
|
public function testPropertyDifficulty()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "effective_fee_median"
|
|
*/
|
|
public function testPropertyEffectiveFeeMedian()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "height"
|
|
*/
|
|
public function testPropertyHeight()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "id"
|
|
*/
|
|
public function testPropertyId()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "is_orphan"
|
|
*/
|
|
public function testPropertyIsOrphan()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "miner_text_info"
|
|
*/
|
|
public function testPropertyMinerTextInfo()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "object_in_json"
|
|
*/
|
|
public function testPropertyObjectInJson()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "penalty"
|
|
*/
|
|
public function testPropertyPenalty()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "pow_seed"
|
|
*/
|
|
public function testPropertyPowSeed()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "prev_id"
|
|
*/
|
|
public function testPropertyPrevId()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "summary_reward"
|
|
*/
|
|
public function testPropertySummaryReward()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "this_block_fee_median"
|
|
*/
|
|
public function testPropertyThisBlockFeeMedian()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "timestamp"
|
|
*/
|
|
public function testPropertyTimestamp()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "total_fee"
|
|
*/
|
|
public function testPropertyTotalFee()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "total_txs_size"
|
|
*/
|
|
public function testPropertyTotalTxsSize()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "transactions_details"
|
|
*/
|
|
public function testPropertyTransactionsDetails()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
|
|
/**
|
|
* Test attribute "type"
|
|
*/
|
|
public function testPropertyType()
|
|
{
|
|
// TODO: implement
|
|
self::markTestIncomplete('Not implemented');
|
|
}
|
|
}
|