Skip to content

Latest commit

 

History

History
177 lines (94 loc) · 5.55 KB

GetBlockDetailsByBlockHeightRIBSZ2.md

File metadata and controls

177 lines (94 loc) · 5.55 KB

GetBlockDetailsByBlockHeightRIBSZ2

Properties

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

Methods

NewGetBlockDetailsByBlockHeightRIBSZ2

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

NewGetBlockDetailsByBlockHeightRIBSZ2WithDefaults

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

GetDifficulty

func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetDifficulty() string

GetDifficulty returns the Difficulty field if non-nil, zero value otherwise.

GetDifficultyOk

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.

SetDifficulty

func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetDifficulty(v string)

SetDifficulty sets Difficulty field to given value.

GetDsBlock

func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetDsBlock() int32

GetDsBlock returns the DsBlock field if non-nil, zero value otherwise.

GetDsBlockOk

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.

SetDsBlock

func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetDsBlock(v int32)

SetDsBlock sets DsBlock field to given value.

GetDsDifficulty

func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetDsDifficulty() string

GetDsDifficulty returns the DsDifficulty field if non-nil, zero value otherwise.

GetDsDifficultyOk

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.

SetDsDifficulty

func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetDsDifficulty(v string)

SetDsDifficulty sets DsDifficulty field to given value.

GetDsLeader

func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetDsLeader() string

GetDsLeader returns the DsLeader field if non-nil, zero value otherwise.

GetDsLeaderOk

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.

SetDsLeader

func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetDsLeader(v string)

SetDsLeader sets DsLeader field to given value.

GetGasLimit

func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetGasLimit() int32

GetGasLimit returns the GasLimit field if non-nil, zero value otherwise.

GetGasLimitOk

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.

SetGasLimit

func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetGasLimit(v int32)

SetGasLimit sets GasLimit field to given value.

GetGasUsed

func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetGasUsed() int32

GetGasUsed returns the GasUsed field if non-nil, zero value otherwise.

GetGasUsedOk

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.

SetGasUsed

func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetGasUsed(v int32)

SetGasUsed sets GasUsed field to given value.

GetMicroBlocks

func (o *GetBlockDetailsByBlockHeightRIBSZ2) GetMicroBlocks() []string

GetMicroBlocks returns the MicroBlocks field if non-nil, zero value otherwise.

GetMicroBlocksOk

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.

SetMicroBlocks

func (o *GetBlockDetailsByBlockHeightRIBSZ2) SetMicroBlocks(v []string)

SetMicroBlocks sets MicroBlocks field to given value.

[Back to Model list] [Back to API list] [Back to README]