Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 3.05 KB

EthStakingExtra.md

File metadata and controls

98 lines (53 loc) · 3.05 KB

EthStakingExtra

Properties

Name Type Description Notes
PoolType StakingPoolType
PosChain string The Proof-of-Stake (PoS) chain.
BeaconValidators Pointer to []EthStakingExtraAllOfBeaconValidators The list of validator information. [optional]

Methods

NewEthStakingExtra

func NewEthStakingExtra(poolType StakingPoolType, posChain string, ) *EthStakingExtra

NewEthStakingExtra instantiates a new EthStakingExtra 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

NewEthStakingExtraWithDefaults

func NewEthStakingExtraWithDefaults() *EthStakingExtra

NewEthStakingExtraWithDefaults instantiates a new EthStakingExtra 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

GetPoolType

func (o *EthStakingExtra) GetPoolType() StakingPoolType

GetPoolType returns the PoolType field if non-nil, zero value otherwise.

GetPoolTypeOk

func (o *EthStakingExtra) GetPoolTypeOk() (*StakingPoolType, bool)

GetPoolTypeOk returns a tuple with the PoolType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPoolType

func (o *EthStakingExtra) SetPoolType(v StakingPoolType)

SetPoolType sets PoolType field to given value.

GetPosChain

func (o *EthStakingExtra) GetPosChain() string

GetPosChain returns the PosChain field if non-nil, zero value otherwise.

GetPosChainOk

func (o *EthStakingExtra) GetPosChainOk() (*string, bool)

GetPosChainOk returns a tuple with the PosChain field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPosChain

func (o *EthStakingExtra) SetPosChain(v string)

SetPosChain sets PosChain field to given value.

GetBeaconValidators

func (o *EthStakingExtra) GetBeaconValidators() []EthStakingExtraAllOfBeaconValidators

GetBeaconValidators returns the BeaconValidators field if non-nil, zero value otherwise.

GetBeaconValidatorsOk

func (o *EthStakingExtra) GetBeaconValidatorsOk() (*[]EthStakingExtraAllOfBeaconValidators, bool)

GetBeaconValidatorsOk returns a tuple with the BeaconValidators field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBeaconValidators

func (o *EthStakingExtra) SetBeaconValidators(v []EthStakingExtraAllOfBeaconValidators)

SetBeaconValidators sets BeaconValidators field to given value.

HasBeaconValidators

func (o *EthStakingExtra) HasBeaconValidators() bool

HasBeaconValidators returns a boolean if a field has been set.

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