Introduces a generated Go SDK client for the Lethean Blockchain API, including OpenAPI spec, models, API interfaces, documentation, and tests. This enables Go applications to interact with Lethean blockchain endpoints for block, info, and transaction operations.
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.