Name | Type | Description | Notes |
---|---|---|---|
Difficulty | string | Represents a mathematical value of how hard it is to find a valid hash for this block. | |
DsBlock | int32 | Numeric representation of the ds block | |
DsDifficulty | string | Numeric representation of the ds difficulty | |
DsLeader | string | String representation of the ds leader | |
GasLimit | int32 | Numeric representation of the block gas_limit | |
GasUsed | int32 | Numeric representation of the block gas_limit | |
MicroBlocks | []string |
func NewGetBlockDetailsByBlockHeightRIBSZ2(difficulty string, dsBlock int32, dsDifficulty string, dsLeader string, gasLimit int32, gasUsed int32, microBlocks []string, ) *GetBlockDetailsByBlockHeightRIBSZ2
NewGetBlockDetailsByBlockHeightRIBSZ2 instantiates a new GetBlockDetailsByBlockHeightRIBSZ2 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 NewGetBlockDetailsByBlockHeightRIBSZ2WithDefaults() *GetBlockDetailsByBlockHeightRIBSZ2
NewGetBlockDetailsByBlockHeightRIBSZ2WithDefaults instantiates a new GetBlockDetailsByBlockHeightRIBSZ2 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 *GetBlockDetailsByBlockHeightRIBSZ2) GetDifficulty() string
GetDifficulty returns the Difficulty field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetDifficultyOk() (*string, bool)
GetDifficultyOk returns a tuple with the Difficulty field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetDifficulty(v string)
SetDifficulty sets Difficulty field to given value.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetDsBlock() int32
GetDsBlock returns the DsBlock field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetDsBlockOk() (*int32, bool)
GetDsBlockOk returns a tuple with the DsBlock field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetDsBlock(v int32)
SetDsBlock sets DsBlock field to given value.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetDsDifficulty() string
GetDsDifficulty returns the DsDifficulty field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetDsDifficultyOk() (*string, bool)
GetDsDifficultyOk returns a tuple with the DsDifficulty field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetDsDifficulty(v string)
SetDsDifficulty sets DsDifficulty field to given value.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetDsLeader() string
GetDsLeader returns the DsLeader field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetDsLeaderOk() (*string, bool)
GetDsLeaderOk returns a tuple with the DsLeader field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetDsLeader(v string)
SetDsLeader sets DsLeader field to given value.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetGasLimit() int32
GetGasLimit returns the GasLimit field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetGasLimitOk() (*int32, bool)
GetGasLimitOk returns a tuple with the GasLimit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetGasLimit(v int32)
SetGasLimit sets GasLimit field to given value.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetGasUsed() int32
GetGasUsed returns the GasUsed field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetGasUsedOk() (*int32, bool)
GetGasUsedOk returns a tuple with the GasUsed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetGasUsed(v int32)
SetGasUsed sets GasUsed field to given value.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetMicroBlocks() []string
GetMicroBlocks returns the MicroBlocks field if non-nil, zero value otherwise.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetMicroBlocksOk() (*[]string, bool)
GetMicroBlocksOk returns a tuple with the MicroBlocks field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetMicroBlocks(v []string)
SetMicroBlocks sets MicroBlocks field to given value.