Skip to content

Latest commit

 

History

History
202 lines (109 loc) · 6.2 KB

PoolDetailsAllOfValidatorsInfo.md

File metadata and controls

202 lines (109 loc) · 6.2 KB

PoolDetailsAllOfValidatorsInfo

Properties

Name Type Description Notes
PoolType StakingPoolType
IconUrl Pointer to string The URL of the validator's icon. [optional]
Name string The validator's name.
Priority Pointer to int32 This property can be ignored. [optional]
PublicKey Pointer to string The public key of the validator. [optional]
CommissionRate Pointer to float32 The commission rate of the validator. [optional]
SupportedPosChains Pointer to []string A list of supported Proof-of-Stake (PoS) chains. [optional]

Methods

NewPoolDetailsAllOfValidatorsInfo

func NewPoolDetailsAllOfValidatorsInfo(poolType StakingPoolType, name string, ) *PoolDetailsAllOfValidatorsInfo

NewPoolDetailsAllOfValidatorsInfo instantiates a new PoolDetailsAllOfValidatorsInfo 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

NewPoolDetailsAllOfValidatorsInfoWithDefaults

func NewPoolDetailsAllOfValidatorsInfoWithDefaults() *PoolDetailsAllOfValidatorsInfo

NewPoolDetailsAllOfValidatorsInfoWithDefaults instantiates a new PoolDetailsAllOfValidatorsInfo 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 *PoolDetailsAllOfValidatorsInfo) GetPoolType() StakingPoolType

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

GetPoolTypeOk

func (o *PoolDetailsAllOfValidatorsInfo) 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 *PoolDetailsAllOfValidatorsInfo) SetPoolType(v StakingPoolType)

SetPoolType sets PoolType field to given value.

GetIconUrl

func (o *PoolDetailsAllOfValidatorsInfo) GetIconUrl() string

GetIconUrl returns the IconUrl field if non-nil, zero value otherwise.

GetIconUrlOk

func (o *PoolDetailsAllOfValidatorsInfo) GetIconUrlOk() (*string, bool)

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

SetIconUrl

func (o *PoolDetailsAllOfValidatorsInfo) SetIconUrl(v string)

SetIconUrl sets IconUrl field to given value.

HasIconUrl

func (o *PoolDetailsAllOfValidatorsInfo) HasIconUrl() bool

HasIconUrl returns a boolean if a field has been set.

GetName

func (o *PoolDetailsAllOfValidatorsInfo) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *PoolDetailsAllOfValidatorsInfo) GetNameOk() (*string, bool)

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

SetName

func (o *PoolDetailsAllOfValidatorsInfo) SetName(v string)

SetName sets Name field to given value.

GetPriority

func (o *PoolDetailsAllOfValidatorsInfo) GetPriority() int32

GetPriority returns the Priority field if non-nil, zero value otherwise.

GetPriorityOk

func (o *PoolDetailsAllOfValidatorsInfo) GetPriorityOk() (*int32, bool)

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

SetPriority

func (o *PoolDetailsAllOfValidatorsInfo) SetPriority(v int32)

SetPriority sets Priority field to given value.

HasPriority

func (o *PoolDetailsAllOfValidatorsInfo) HasPriority() bool

HasPriority returns a boolean if a field has been set.

GetPublicKey

func (o *PoolDetailsAllOfValidatorsInfo) GetPublicKey() string

GetPublicKey returns the PublicKey field if non-nil, zero value otherwise.

GetPublicKeyOk

func (o *PoolDetailsAllOfValidatorsInfo) GetPublicKeyOk() (*string, bool)

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

SetPublicKey

func (o *PoolDetailsAllOfValidatorsInfo) SetPublicKey(v string)

SetPublicKey sets PublicKey field to given value.

HasPublicKey

func (o *PoolDetailsAllOfValidatorsInfo) HasPublicKey() bool

HasPublicKey returns a boolean if a field has been set.

GetCommissionRate

func (o *PoolDetailsAllOfValidatorsInfo) GetCommissionRate() float32

GetCommissionRate returns the CommissionRate field if non-nil, zero value otherwise.

GetCommissionRateOk

func (o *PoolDetailsAllOfValidatorsInfo) GetCommissionRateOk() (*float32, bool)

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

SetCommissionRate

func (o *PoolDetailsAllOfValidatorsInfo) SetCommissionRate(v float32)

SetCommissionRate sets CommissionRate field to given value.

HasCommissionRate

func (o *PoolDetailsAllOfValidatorsInfo) HasCommissionRate() bool

HasCommissionRate returns a boolean if a field has been set.

GetSupportedPosChains

func (o *PoolDetailsAllOfValidatorsInfo) GetSupportedPosChains() []string

GetSupportedPosChains returns the SupportedPosChains field if non-nil, zero value otherwise.

GetSupportedPosChainsOk

func (o *PoolDetailsAllOfValidatorsInfo) GetSupportedPosChainsOk() (*[]string, bool)

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

SetSupportedPosChains

func (o *PoolDetailsAllOfValidatorsInfo) SetSupportedPosChains(v []string)

SetSupportedPosChains sets SupportedPosChains field to given value.

HasSupportedPosChains

func (o *PoolDetailsAllOfValidatorsInfo) HasSupportedPosChains() bool

HasSupportedPosChains returns a boolean if a field has been set.

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