Name | Type | Description | Notes |
---|---|---|---|
Id | string | The ID of the staking pool. A staking pool is a pairing of a staking protocol and a specific type of token. | |
ChainId | string | The chain ID. | |
Protocol | string | The name of the protocol. | |
ProtocolIconUrl | string | The URL of the protocol's icon. | |
SupportedWalletTypes | []WalletType | The wallet type. Possible values include: - `Custodial`: Custodial Wallets - `MPC`: MPC Wallets - `SmartContract`: Smart Contract Wallets - `Exchange`: Exchange Wallets | |
SupportedWalletSubtypes | []WalletSubtype | The wallet subtype. Possible values include: - `Asset`: Custodial Wallets (Asset Wallets). - `Web3`: Custodial Wallets (Web3 Wallets). - `Org-Controlled`: MPC Wallets (Organization-Controlled Wallets). - `User-Controlled`: MPC Wallets (User-Controlled Wallets). - `Safe{Wallet}`: Smart Contract Wallets (Safe{Wallet}). - `Main`: Exchange Wallets (Main Account). - `Sub`: Exchange Wallets (Sub Account). | |
TokenId | string | The token ID. | |
EstApr | float32 | The estimated annual percentage rate (APR). |
func NewPoolSummary(id string, chainId string, protocol string, protocolIconUrl string, supportedWalletTypes []WalletType, supportedWalletSubtypes []WalletSubtype, tokenId string, estApr float32, ) *PoolSummary
NewPoolSummary instantiates a new PoolSummary 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 NewPoolSummaryWithDefaults() *PoolSummary
NewPoolSummaryWithDefaults instantiates a new PoolSummary 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 *PoolSummary) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PoolSummary) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PoolSummary) SetId(v string)
SetId sets Id field to given value.
func (o *PoolSummary) GetChainId() string
GetChainId returns the ChainId field if non-nil, zero value otherwise.
func (o *PoolSummary) GetChainIdOk() (*string, bool)
GetChainIdOk returns a tuple with the ChainId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PoolSummary) SetChainId(v string)
SetChainId sets ChainId field to given value.
func (o *PoolSummary) GetProtocol() string
GetProtocol returns the Protocol field if non-nil, zero value otherwise.
func (o *PoolSummary) GetProtocolOk() (*string, bool)
GetProtocolOk returns a tuple with the Protocol field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PoolSummary) SetProtocol(v string)
SetProtocol sets Protocol field to given value.
func (o *PoolSummary) GetProtocolIconUrl() string
GetProtocolIconUrl returns the ProtocolIconUrl field if non-nil, zero value otherwise.
func (o *PoolSummary) GetProtocolIconUrlOk() (*string, bool)
GetProtocolIconUrlOk returns a tuple with the ProtocolIconUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PoolSummary) SetProtocolIconUrl(v string)
SetProtocolIconUrl sets ProtocolIconUrl field to given value.
func (o *PoolSummary) GetSupportedWalletTypes() []WalletType
GetSupportedWalletTypes returns the SupportedWalletTypes field if non-nil, zero value otherwise.
func (o *PoolSummary) GetSupportedWalletTypesOk() (*[]WalletType, bool)
GetSupportedWalletTypesOk returns a tuple with the SupportedWalletTypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PoolSummary) SetSupportedWalletTypes(v []WalletType)
SetSupportedWalletTypes sets SupportedWalletTypes field to given value.
func (o *PoolSummary) GetSupportedWalletSubtypes() []WalletSubtype
GetSupportedWalletSubtypes returns the SupportedWalletSubtypes field if non-nil, zero value otherwise.
func (o *PoolSummary) GetSupportedWalletSubtypesOk() (*[]WalletSubtype, bool)
GetSupportedWalletSubtypesOk returns a tuple with the SupportedWalletSubtypes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PoolSummary) SetSupportedWalletSubtypes(v []WalletSubtype)
SetSupportedWalletSubtypes sets SupportedWalletSubtypes field to given value.
func (o *PoolSummary) GetTokenId() string
GetTokenId returns the TokenId field if non-nil, zero value otherwise.
func (o *PoolSummary) GetTokenIdOk() (*string, bool)
GetTokenIdOk returns a tuple with the TokenId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PoolSummary) SetTokenId(v string)
SetTokenId sets TokenId field to given value.
func (o *PoolSummary) GetEstApr() float32
GetEstApr returns the EstApr field if non-nil, zero value otherwise.
func (o *PoolSummary) GetEstAprOk() (*float32, bool)
GetEstAprOk returns a tuple with the EstApr field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PoolSummary) SetEstApr(v float32)
SetEstApr sets EstApr field to given value.