Name | Type | Description | Notes |
---|---|---|---|
Hash | string | Represents the hash of the block, which is its unique identifier. It represents a cryptographic digital fingerprint made by hashing the block header twice through the SHA256 algorithm. | |
Height | int32 | Represents the number of blocks in the blockchain preceding this specific block. Block numbers have no gaps. A blockchain usually starts with block 0 called the "Genesis block". | |
NextBlockHash | string | Represents the hash of the next block. When this is the last block of the blockchain this value will be an empty string. | |
PreviousBlockHash | string | Represents the hash of the previous block, also known as the parent block. | |
Timestamp | int32 | Defines the exact date/time when this block was mined in Unix Timestamp. | |
TransactionsCount | int32 | Represents the total number of all transactions as part of this block. | |
BlockchainSpecific | GetBlockDetailsByBlockHashRIBS |
func NewGetBlockDetailsByBlockHashRI(hash string, height int32, nextBlockHash string, previousBlockHash string, timestamp int32, transactionsCount int32, blockchainSpecific GetBlockDetailsByBlockHashRIBS, ) *GetBlockDetailsByBlockHashRI
NewGetBlockDetailsByBlockHashRI instantiates a new GetBlockDetailsByBlockHashRI 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 NewGetBlockDetailsByBlockHashRIWithDefaults() *GetBlockDetailsByBlockHashRI
NewGetBlockDetailsByBlockHashRIWithDefaults instantiates a new GetBlockDetailsByBlockHashRI 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 *GetBlockDetailsByBlockHashRI) GetHash() string
GetHash returns the Hash field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRI) GetHashOk() (*string, bool)
GetHashOk returns a tuple with the Hash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRI) SetHash(v string)
SetHash sets Hash field to given value.
func (o *GetBlockDetailsByBlockHashRI) GetHeight() int32
GetHeight returns the Height field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRI) GetHeightOk() (*int32, bool)
GetHeightOk returns a tuple with the Height field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRI) SetHeight(v int32)
SetHeight sets Height field to given value.
func (o *GetBlockDetailsByBlockHashRI) GetNextBlockHash() string
GetNextBlockHash returns the NextBlockHash field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRI) GetNextBlockHashOk() (*string, bool)
GetNextBlockHashOk returns a tuple with the NextBlockHash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRI) SetNextBlockHash(v string)
SetNextBlockHash sets NextBlockHash field to given value.
func (o *GetBlockDetailsByBlockHashRI) GetPreviousBlockHash() string
GetPreviousBlockHash returns the PreviousBlockHash field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRI) GetPreviousBlockHashOk() (*string, bool)
GetPreviousBlockHashOk returns a tuple with the PreviousBlockHash field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRI) SetPreviousBlockHash(v string)
SetPreviousBlockHash sets PreviousBlockHash field to given value.
func (o *GetBlockDetailsByBlockHashRI) GetTimestamp() int32
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRI) GetTimestampOk() (*int32, 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 *GetBlockDetailsByBlockHashRI) SetTimestamp(v int32)
SetTimestamp sets Timestamp field to given value.
func (o *GetBlockDetailsByBlockHashRI) GetTransactionsCount() int32
GetTransactionsCount returns the TransactionsCount field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRI) GetTransactionsCountOk() (*int32, bool)
GetTransactionsCountOk returns a tuple with the TransactionsCount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRI) SetTransactionsCount(v int32)
SetTransactionsCount sets TransactionsCount field to given value.
func (o *GetBlockDetailsByBlockHashRI) GetBlockchainSpecific() GetBlockDetailsByBlockHashRIBS
GetBlockchainSpecific returns the BlockchainSpecific field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHashRI) GetBlockchainSpecificOk() (*GetBlockDetailsByBlockHashRIBS, bool)
GetBlockchainSpecificOk returns a tuple with the BlockchainSpecific field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHashRI) SetBlockchainSpecific(v GetBlockDetailsByBlockHashRIBS)
SetBlockchainSpecific sets BlockchainSpecific field to given value.