forked from lthn/blockchain
Introduces a new Python client SDK for the lthn API, generated via OpenAPI Generator. Includes source code, models, API classes, documentation, tests, CI/CD workflows for GitHub and GitLab, and project configuration files.
1.2 KiB
Generated
1.2 KiB
Generated
PerformanceModel
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| block_processing | BlockProcessingPerformanceModel | [optional] | |
| tx_processing | TxProcessingPerformanceModel | [optional] | |
| tx_pool | TxPoolPerformanceModel | [optional] | |
| db_stat_info | DbStatInfoModel | [optional] |
Example
from lthn.models.performance_model import PerformanceModel
# TODO update the JSON string below
json = "{}"
# create an instance of PerformanceModel from a JSON string
performance_model_instance = PerformanceModel.from_json(json)
# print the JSON string representation of the object
print(PerformanceModel.to_json())
# convert the object into a dict
performance_model_dict = performance_model_instance.to_dict()
# create an instance of PerformanceModel from a dict
performance_model_from_dict = PerformanceModel.from_dict(performance_model_dict)