Name | Type | Description | Notes |
---|---|---|---|
FarmId | string | ||
VaultId | string | ||
Liquidity | string | ||
LiquidityRaw | int32 | ||
LiquidityUsd | float32 | ||
AptDecimals | int32 | ||
Apr1d | float32 | ||
RewardsPerSec | float32 | ||
Reward | GetReward | ||
Rewarder | Pointer to GetRewarder | [optional] |
func NewGetFarm(farmId string, vaultId string, liquidity string, liquidityRaw int32, liquidityUsd float32, aptDecimals int32, apr1d float32, rewardsPerSec float32, reward GetReward, ) *GetFarm
NewGetFarm instantiates a new GetFarm 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 NewGetFarmWithDefaults() *GetFarm
NewGetFarmWithDefaults instantiates a new GetFarm 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 *GetFarm) GetFarmId() string
GetFarmId returns the FarmId field if non-nil, zero value otherwise.
func (o *GetFarm) GetFarmIdOk() (*string, bool)
GetFarmIdOk returns a tuple with the FarmId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetFarm) SetFarmId(v string)
SetFarmId sets FarmId field to given value.
func (o *GetFarm) GetVaultId() string
GetVaultId returns the VaultId field if non-nil, zero value otherwise.
func (o *GetFarm) GetVaultIdOk() (*string, bool)
GetVaultIdOk returns a tuple with the VaultId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetFarm) SetVaultId(v string)
SetVaultId sets VaultId field to given value.
func (o *GetFarm) GetLiquidity() string
GetLiquidity returns the Liquidity field if non-nil, zero value otherwise.
func (o *GetFarm) GetLiquidityOk() (*string, bool)
GetLiquidityOk returns a tuple with the Liquidity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetFarm) SetLiquidity(v string)
SetLiquidity sets Liquidity field to given value.
func (o *GetFarm) GetLiquidityRaw() int32
GetLiquidityRaw returns the LiquidityRaw field if non-nil, zero value otherwise.
func (o *GetFarm) GetLiquidityRawOk() (*int32, bool)
GetLiquidityRawOk returns a tuple with the LiquidityRaw field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetFarm) SetLiquidityRaw(v int32)
SetLiquidityRaw sets LiquidityRaw field to given value.
func (o *GetFarm) GetLiquidityUsd() float32
GetLiquidityUsd returns the LiquidityUsd field if non-nil, zero value otherwise.
func (o *GetFarm) GetLiquidityUsdOk() (*float32, bool)
GetLiquidityUsdOk returns a tuple with the LiquidityUsd field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetFarm) SetLiquidityUsd(v float32)
SetLiquidityUsd sets LiquidityUsd field to given value.
func (o *GetFarm) GetAptDecimals() int32
GetAptDecimals returns the AptDecimals field if non-nil, zero value otherwise.
func (o *GetFarm) GetAptDecimalsOk() (*int32, bool)
GetAptDecimalsOk returns a tuple with the AptDecimals field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetFarm) SetAptDecimals(v int32)
SetAptDecimals sets AptDecimals field to given value.
func (o *GetFarm) GetApr1d() float32
GetApr1d returns the Apr1d field if non-nil, zero value otherwise.
func (o *GetFarm) GetApr1dOk() (*float32, bool)
GetApr1dOk returns a tuple with the Apr1d field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetFarm) SetApr1d(v float32)
SetApr1d sets Apr1d field to given value.
func (o *GetFarm) GetRewardsPerSec() float32
GetRewardsPerSec returns the RewardsPerSec field if non-nil, zero value otherwise.
func (o *GetFarm) GetRewardsPerSecOk() (*float32, bool)
GetRewardsPerSecOk returns a tuple with the RewardsPerSec field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetFarm) SetRewardsPerSec(v float32)
SetRewardsPerSec sets RewardsPerSec field to given value.
func (o *GetFarm) GetReward() GetReward
GetReward returns the Reward field if non-nil, zero value otherwise.
func (o *GetFarm) GetRewardOk() (*GetReward, bool)
GetRewardOk returns a tuple with the Reward field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetFarm) SetReward(v GetReward)
SetReward sets Reward field to given value.
func (o *GetFarm) GetRewarder() GetRewarder
GetRewarder returns the Rewarder field if non-nil, zero value otherwise.
func (o *GetFarm) GetRewarderOk() (*GetRewarder, bool)
GetRewarderOk returns a tuple with the Rewarder field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetFarm) SetRewarder(v GetRewarder)
SetRewarder sets Rewarder field to given value.
func (o *GetFarm) HasRewarder() bool
HasRewarder returns a boolean if a field has been set.