Name | Type | Description | Notes |
---|---|---|---|
Blockchain | string | Represents the specific blockchain protocol name, e.g. Ethereum, Bitcoin, etc. | |
Network | string | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "ropsten", "rinkeby" are test networks. | |
Height | int32 | Defines the number of blocks in the blockchain preceding this specific block. | |
Hash | string | Represents the hash of the block's header, i.e. an output that has a fixed length. | |
Timestamp | int32 | Defines the exact date/time when this block was mined in seconds since Unix Epoch time. |
func NewBlockMinedDataItem(blockchain string, network string, height int32, hash string, timestamp int32, ) *BlockMinedDataItem
NewBlockMinedDataItem instantiates a new BlockMinedDataItem 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 NewBlockMinedDataItemWithDefaults() *BlockMinedDataItem
NewBlockMinedDataItemWithDefaults instantiates a new BlockMinedDataItem 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 *BlockMinedDataItem) GetBlockchain() string
GetBlockchain returns the Blockchain field if non-nil, zero value otherwise.
func (o *BlockMinedDataItem) GetBlockchainOk() (*string, bool)
GetBlockchainOk returns a tuple with the Blockchain field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BlockMinedDataItem) SetBlockchain(v string)
SetBlockchain sets Blockchain field to given value.
func (o *BlockMinedDataItem) GetNetwork() string
GetNetwork returns the Network field if non-nil, zero value otherwise.
func (o *BlockMinedDataItem) GetNetworkOk() (*string, bool)
GetNetworkOk returns a tuple with the Network field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *BlockMinedDataItem) SetNetwork(v string)
SetNetwork sets Network field to given value.
func (o *BlockMinedDataItem) GetHeight() int32
GetHeight returns the Height field if non-nil, zero value otherwise.
func (o *BlockMinedDataItem) 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 *BlockMinedDataItem) SetHeight(v int32)
SetHeight sets Height field to given value.
func (o *BlockMinedDataItem) GetHash() string
GetHash returns the Hash field if non-nil, zero value otherwise.
func (o *BlockMinedDataItem) 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 *BlockMinedDataItem) SetHash(v string)
SetHash sets Hash field to given value.
func (o *BlockMinedDataItem) GetTimestamp() int32
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
func (o *BlockMinedDataItem) 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 *BlockMinedDataItem) SetTimestamp(v int32)
SetTimestamp sets Timestamp field to given value.