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] |
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
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
func (o *PoolDetailsAllOfValidatorsInfo) GetPoolType() StakingPoolType
GetPoolType returns the PoolType field if non-nil, zero value otherwise.
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.
func (o *PoolDetailsAllOfValidatorsInfo) SetPoolType(v StakingPoolType)
SetPoolType sets PoolType field to given value.
func (o *PoolDetailsAllOfValidatorsInfo) GetIconUrl() string
GetIconUrl returns the IconUrl field if non-nil, zero value otherwise.
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.
func (o *PoolDetailsAllOfValidatorsInfo) SetIconUrl(v string)
SetIconUrl sets IconUrl field to given value.
func (o *PoolDetailsAllOfValidatorsInfo) HasIconUrl() bool
HasIconUrl returns a boolean if a field has been set.
func (o *PoolDetailsAllOfValidatorsInfo) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *PoolDetailsAllOfValidatorsInfo) SetName(v string)
SetName sets Name field to given value.
func (o *PoolDetailsAllOfValidatorsInfo) GetPriority() int32
GetPriority returns the Priority field if non-nil, zero value otherwise.
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.
func (o *PoolDetailsAllOfValidatorsInfo) SetPriority(v int32)
SetPriority sets Priority field to given value.
func (o *PoolDetailsAllOfValidatorsInfo) HasPriority() bool
HasPriority returns a boolean if a field has been set.
func (o *PoolDetailsAllOfValidatorsInfo) GetPublicKey() string
GetPublicKey returns the PublicKey field if non-nil, zero value otherwise.
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.
func (o *PoolDetailsAllOfValidatorsInfo) SetPublicKey(v string)
SetPublicKey sets PublicKey field to given value.
func (o *PoolDetailsAllOfValidatorsInfo) HasPublicKey() bool
HasPublicKey returns a boolean if a field has been set.
func (o *PoolDetailsAllOfValidatorsInfo) GetCommissionRate() float32
GetCommissionRate returns the CommissionRate field if non-nil, zero value otherwise.
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.
func (o *PoolDetailsAllOfValidatorsInfo) SetCommissionRate(v float32)
SetCommissionRate sets CommissionRate field to given value.
func (o *PoolDetailsAllOfValidatorsInfo) HasCommissionRate() bool
HasCommissionRate returns a boolean if a field has been set.
func (o *PoolDetailsAllOfValidatorsInfo) GetSupportedPosChains() []string
GetSupportedPosChains returns the SupportedPosChains field if non-nil, zero value otherwise.
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.
func (o *PoolDetailsAllOfValidatorsInfo) SetSupportedPosChains(v []string)
SetSupportedPosChains sets SupportedPosChains field to given value.
func (o *PoolDetailsAllOfValidatorsInfo) HasSupportedPosChains() bool
HasSupportedPosChains returns a boolean if a field has been set.