Name | Type | Description | Notes |
---|---|---|---|
BlockIndex | uint32 | ||
GasBurned | string | The burned gas (uint64 as string) | |
GasFeeCharged | string | The charged gas fee (uint64 as string) | |
NumOffLedgerRequests | uint32 | ||
NumSuccessfulRequests | uint32 | ||
PreviousAliasOutput | string | ||
Timestamp | time.Time | ||
TotalRequests | uint32 |
func NewBlockInfoResponse(blockIndex uint32, gasBurned string, gasFeeCharged string, numOffLedgerRequests uint32, numSuccessfulRequests uint32, previousAliasOutput string, timestamp time.Time, totalRequests uint32, ) *BlockInfoResponse
NewBlockInfoResponse instantiates a new BlockInfoResponse 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
func NewBlockInfoResponseWithDefaults() *BlockInfoResponse
NewBlockInfoResponseWithDefaults instantiates a new BlockInfoResponse 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
func (o *BlockInfoResponse) GetBlockIndex() uint32
GetBlockIndex returns the BlockIndex field if non-nil, zero value otherwise.
func (o *BlockInfoResponse) GetBlockIndexOk() (*uint32, bool)
GetBlockIndexOk returns a tuple with the BlockIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BlockInfoResponse) SetBlockIndex(v uint32)
SetBlockIndex sets BlockIndex field to given value.
func (o *BlockInfoResponse) GetGasBurned() string
GetGasBurned returns the GasBurned field if non-nil, zero value otherwise.
func (o *BlockInfoResponse) GetGasBurnedOk() (*string, bool)
GetGasBurnedOk returns a tuple with the GasBurned field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BlockInfoResponse) SetGasBurned(v string)
SetGasBurned sets GasBurned field to given value.
func (o *BlockInfoResponse) GetGasFeeCharged() string
GetGasFeeCharged returns the GasFeeCharged field if non-nil, zero value otherwise.
func (o *BlockInfoResponse) GetGasFeeChargedOk() (*string, bool)
GetGasFeeChargedOk returns a tuple with the GasFeeCharged field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BlockInfoResponse) SetGasFeeCharged(v string)
SetGasFeeCharged sets GasFeeCharged field to given value.
func (o *BlockInfoResponse) GetNumOffLedgerRequests() uint32
GetNumOffLedgerRequests returns the NumOffLedgerRequests field if non-nil, zero value otherwise.
func (o *BlockInfoResponse) GetNumOffLedgerRequestsOk() (*uint32, bool)
GetNumOffLedgerRequestsOk returns a tuple with the NumOffLedgerRequests field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BlockInfoResponse) SetNumOffLedgerRequests(v uint32)
SetNumOffLedgerRequests sets NumOffLedgerRequests field to given value.
func (o *BlockInfoResponse) GetNumSuccessfulRequests() uint32
GetNumSuccessfulRequests returns the NumSuccessfulRequests field if non-nil, zero value otherwise.
func (o *BlockInfoResponse) GetNumSuccessfulRequestsOk() (*uint32, bool)
GetNumSuccessfulRequestsOk returns a tuple with the NumSuccessfulRequests field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BlockInfoResponse) SetNumSuccessfulRequests(v uint32)
SetNumSuccessfulRequests sets NumSuccessfulRequests field to given value.
func (o *BlockInfoResponse) GetPreviousAliasOutput() string
GetPreviousAliasOutput returns the PreviousAliasOutput field if non-nil, zero value otherwise.
func (o *BlockInfoResponse) GetPreviousAliasOutputOk() (*string, bool)
GetPreviousAliasOutputOk returns a tuple with the PreviousAliasOutput field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BlockInfoResponse) SetPreviousAliasOutput(v string)
SetPreviousAliasOutput sets PreviousAliasOutput field to given value.
func (o *BlockInfoResponse) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
func (o *BlockInfoResponse) GetTimestampOk() (*time.Time, bool)
GetTimestampOk returns a tuple with the Timestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BlockInfoResponse) SetTimestamp(v time.Time)
SetTimestamp sets Timestamp field to given value.
func (o *BlockInfoResponse) GetTotalRequests() uint32
GetTotalRequests returns the TotalRequests field if non-nil, zero value otherwise.
func (o *BlockInfoResponse) GetTotalRequestsOk() (*uint32, bool)
GetTotalRequestsOk returns a tuple with the TotalRequests field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BlockInfoResponse) SetTotalRequests(v uint32)
SetTotalRequests sets TotalRequests field to given value.