RosettaGenesisBlockIdentifier
July 14, 2024 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Index | int32 | This is also known as the block height. | |
| Hash | string | Block hash |
Methods
NewRosettaGenesisBlockIdentifier
func NewRosettaGenesisBlockIdentifier(index int32, hash string, ) *RosettaGenesisBlockIdentifier
NewRosettaGenesisBlockIdentifier instantiates a new RosettaGenesisBlockIdentifier 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
NewRosettaGenesisBlockIdentifierWithDefaults
func NewRosettaGenesisBlockIdentifierWithDefaults() *RosettaGenesisBlockIdentifier
NewRosettaGenesisBlockIdentifierWithDefaults instantiates a new RosettaGenesisBlockIdentifier 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
GetIndex
func (o *RosettaGenesisBlockIdentifier) GetIndex() int32
GetIndex returns the Index field if non-nil, zero value otherwise.
GetIndexOk
func (o *RosettaGenesisBlockIdentifier) GetIndexOk() (*int32, bool)
GetIndexOk returns a tuple with the Index field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetIndex
func (o *RosettaGenesisBlockIdentifier) SetIndex(v int32)
SetIndex sets Index field to given value.
GetHash
func (o *RosettaGenesisBlockIdentifier) GetHash() string
GetHash returns the Hash field if non-nil, zero value otherwise.
GetHashOk
func (o *RosettaGenesisBlockIdentifier) 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.
SetHash
func (o *RosettaGenesisBlockIdentifier) SetHash(v string)
SetHash sets Hash field to given value.