1
0
Fork 0
forked from lthn/blockchain
blockchain/utils/sdk/client/go/docs/DbStatInfoModel.md
Snider 88d4357628
New API Interface (#27)
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.
2025-10-19 19:12:37 +01:00

2.9 KiB
Generated

DbStatInfoModel

Properties

Name Type Description Notes
TxCount Pointer to int32 [optional]
WriteTxCount Pointer to int32 [optional]
MapSize Pointer to int32 [optional]

Methods

NewDbStatInfoModel

func NewDbStatInfoModel() *DbStatInfoModel

NewDbStatInfoModel instantiates a new DbStatInfoModel object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewDbStatInfoModelWithDefaults

func NewDbStatInfoModelWithDefaults() *DbStatInfoModel

NewDbStatInfoModelWithDefaults instantiates a new DbStatInfoModel object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetTxCount

func (o *DbStatInfoModel) GetTxCount() int32

GetTxCount returns the TxCount field if non-nil, zero value otherwise.

GetTxCountOk

func (o *DbStatInfoModel) GetTxCountOk() (*int32, bool)

GetTxCountOk returns a tuple with the TxCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTxCount

func (o *DbStatInfoModel) SetTxCount(v int32)

SetTxCount sets TxCount field to given value.

HasTxCount

func (o *DbStatInfoModel) HasTxCount() bool

HasTxCount returns a boolean if a field has been set.

GetWriteTxCount

func (o *DbStatInfoModel) GetWriteTxCount() int32

GetWriteTxCount returns the WriteTxCount field if non-nil, zero value otherwise.

GetWriteTxCountOk

func (o *DbStatInfoModel) GetWriteTxCountOk() (*int32, bool)

GetWriteTxCountOk returns a tuple with the WriteTxCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetWriteTxCount

func (o *DbStatInfoModel) SetWriteTxCount(v int32)

SetWriteTxCount sets WriteTxCount field to given value.

HasWriteTxCount

func (o *DbStatInfoModel) HasWriteTxCount() bool

HasWriteTxCount returns a boolean if a field has been set.

GetMapSize

func (o *DbStatInfoModel) GetMapSize() int32

GetMapSize returns the MapSize field if non-nil, zero value otherwise.

GetMapSizeOk

func (o *DbStatInfoModel) GetMapSizeOk() (*int32, bool)

GetMapSizeOk returns a tuple with the MapSize field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMapSize

func (o *DbStatInfoModel) SetMapSize(v int32)

SetMapSize sets MapSize field to given value.

HasMapSize

func (o *DbStatInfoModel) HasMapSize() bool

HasMapSize returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]