CoreNodePoxResponse
July 14, 2024 ยท View on GitHub
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| ContractId | string | ||
| FirstBurnchainBlockHeight | int32 | ||
| MinAmountUstx | int32 | ||
| RegistrationWindowLength | int32 | ||
| RejectionFraction | int32 | ||
| RewardCycleId | int32 | ||
| RewardCycleLength | int32 | ||
| RejectionVotesLeftRequired | int32 | ||
| TotalLiquidSupplyUstx | int32 |
Methods
NewCoreNodePoxResponse
func NewCoreNodePoxResponse(contractId string, firstBurnchainBlockHeight int32, minAmountUstx int32, registrationWindowLength int32, rejectionFraction int32, rewardCycleId int32, rewardCycleLength int32, rejectionVotesLeftRequired int32, totalLiquidSupplyUstx int32, ) *CoreNodePoxResponse
NewCoreNodePoxResponse instantiates a new CoreNodePoxResponse 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
NewCoreNodePoxResponseWithDefaults
func NewCoreNodePoxResponseWithDefaults() *CoreNodePoxResponse
NewCoreNodePoxResponseWithDefaults instantiates a new CoreNodePoxResponse 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
GetContractId
func (o *CoreNodePoxResponse) GetContractId() string
GetContractId returns the ContractId field if non-nil, zero value otherwise.
GetContractIdOk
func (o *CoreNodePoxResponse) GetContractIdOk() (*string, bool)
GetContractIdOk returns a tuple with the ContractId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetContractId
func (o *CoreNodePoxResponse) SetContractId(v string)
SetContractId sets ContractId field to given value.
GetFirstBurnchainBlockHeight
func (o *CoreNodePoxResponse) GetFirstBurnchainBlockHeight() int32
GetFirstBurnchainBlockHeight returns the FirstBurnchainBlockHeight field if non-nil, zero value otherwise.
GetFirstBurnchainBlockHeightOk
func (o *CoreNodePoxResponse) GetFirstBurnchainBlockHeightOk() (*int32, bool)
GetFirstBurnchainBlockHeightOk returns a tuple with the FirstBurnchainBlockHeight field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFirstBurnchainBlockHeight
func (o *CoreNodePoxResponse) SetFirstBurnchainBlockHeight(v int32)
SetFirstBurnchainBlockHeight sets FirstBurnchainBlockHeight field to given value.
GetMinAmountUstx
func (o *CoreNodePoxResponse) GetMinAmountUstx() int32
GetMinAmountUstx returns the MinAmountUstx field if non-nil, zero value otherwise.
GetMinAmountUstxOk
func (o *CoreNodePoxResponse) GetMinAmountUstxOk() (*int32, bool)
GetMinAmountUstxOk returns a tuple with the MinAmountUstx field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMinAmountUstx
func (o *CoreNodePoxResponse) SetMinAmountUstx(v int32)
SetMinAmountUstx sets MinAmountUstx field to given value.
GetRegistrationWindowLength
func (o *CoreNodePoxResponse) GetRegistrationWindowLength() int32
GetRegistrationWindowLength returns the RegistrationWindowLength field if non-nil, zero value otherwise.
GetRegistrationWindowLengthOk
func (o *CoreNodePoxResponse) GetRegistrationWindowLengthOk() (*int32, bool)
GetRegistrationWindowLengthOk returns a tuple with the RegistrationWindowLength field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRegistrationWindowLength
func (o *CoreNodePoxResponse) SetRegistrationWindowLength(v int32)
SetRegistrationWindowLength sets RegistrationWindowLength field to given value.
GetRejectionFraction
func (o *CoreNodePoxResponse) GetRejectionFraction() int32
GetRejectionFraction returns the RejectionFraction field if non-nil, zero value otherwise.
GetRejectionFractionOk
func (o *CoreNodePoxResponse) GetRejectionFractionOk() (*int32, bool)
GetRejectionFractionOk returns a tuple with the RejectionFraction field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRejectionFraction
func (o *CoreNodePoxResponse) SetRejectionFraction(v int32)
SetRejectionFraction sets RejectionFraction field to given value.
GetRewardCycleId
func (o *CoreNodePoxResponse) GetRewardCycleId() int32
GetRewardCycleId returns the RewardCycleId field if non-nil, zero value otherwise.
GetRewardCycleIdOk
func (o *CoreNodePoxResponse) GetRewardCycleIdOk() (*int32, bool)
GetRewardCycleIdOk returns a tuple with the RewardCycleId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRewardCycleId
func (o *CoreNodePoxResponse) SetRewardCycleId(v int32)
SetRewardCycleId sets RewardCycleId field to given value.
GetRewardCycleLength
func (o *CoreNodePoxResponse) GetRewardCycleLength() int32
GetRewardCycleLength returns the RewardCycleLength field if non-nil, zero value otherwise.
GetRewardCycleLengthOk
func (o *CoreNodePoxResponse) GetRewardCycleLengthOk() (*int32, bool)
GetRewardCycleLengthOk returns a tuple with the RewardCycleLength field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRewardCycleLength
func (o *CoreNodePoxResponse) SetRewardCycleLength(v int32)
SetRewardCycleLength sets RewardCycleLength field to given value.
GetRejectionVotesLeftRequired
func (o *CoreNodePoxResponse) GetRejectionVotesLeftRequired() int32
GetRejectionVotesLeftRequired returns the RejectionVotesLeftRequired field if non-nil, zero value otherwise.
GetRejectionVotesLeftRequiredOk
func (o *CoreNodePoxResponse) GetRejectionVotesLeftRequiredOk() (*int32, bool)
GetRejectionVotesLeftRequiredOk returns a tuple with the RejectionVotesLeftRequired field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRejectionVotesLeftRequired
func (o *CoreNodePoxResponse) SetRejectionVotesLeftRequired(v int32)
SetRejectionVotesLeftRequired sets RejectionVotesLeftRequired field to given value.
GetTotalLiquidSupplyUstx
func (o *CoreNodePoxResponse) GetTotalLiquidSupplyUstx() int32
GetTotalLiquidSupplyUstx returns the TotalLiquidSupplyUstx field if non-nil, zero value otherwise.
GetTotalLiquidSupplyUstxOk
func (o *CoreNodePoxResponse) GetTotalLiquidSupplyUstxOk() (*int32, bool)
GetTotalLiquidSupplyUstxOk returns a tuple with the TotalLiquidSupplyUstx field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTotalLiquidSupplyUstx
func (o *CoreNodePoxResponse) SetTotalLiquidSupplyUstx(v int32)
SetTotalLiquidSupplyUstx sets TotalLiquidSupplyUstx field to given value.