Skip to content

Latest commit

 

History

History
181 lines (98 loc) · 6.71 KB

BabylonStakingActivityDetailExtra.md

File metadata and controls

181 lines (98 loc) · 6.71 KB

BabylonStakingActivityDetailExtra

Properties

Name Type Description Notes
PoolType StakingPoolType
FinalityProviderPublicKey Pointer to string The public key of the finality provider. [optional]
StakeBlockTime Pointer to int64 The number of blocks that need to be processed before the locked tokens are unlocked and become accessible. [optional]
AutoBroadcast Pointer to bool Whether to automatically broadcast the transaction. - `true`: Automatically broadcast the transaction. - `false`: The transaction will not be submitted to the blockchain automatically. You can call Broadcast signed transactions to broadcast the transaction to the blockchain, or retrieve the signed raw transaction data `raw_tx` by calling Get transaction information and broadcast it yourself. [optional]
ParamVersion Pointer to int64 The version of babylon global parameters. [optional]
WithdrawFromType Pointer to ActivityType [optional]

Methods

NewBabylonStakingActivityDetailExtra

func NewBabylonStakingActivityDetailExtra(poolType StakingPoolType, ) *BabylonStakingActivityDetailExtra

NewBabylonStakingActivityDetailExtra instantiates a new BabylonStakingActivityDetailExtra 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

NewBabylonStakingActivityDetailExtraWithDefaults

func NewBabylonStakingActivityDetailExtraWithDefaults() *BabylonStakingActivityDetailExtra

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

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

GetPoolTypeOk

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

SetPoolType sets PoolType field to given value.

GetFinalityProviderPublicKey

func (o *BabylonStakingActivityDetailExtra) GetFinalityProviderPublicKey() string

GetFinalityProviderPublicKey returns the FinalityProviderPublicKey field if non-nil, zero value otherwise.

GetFinalityProviderPublicKeyOk

func (o *BabylonStakingActivityDetailExtra) GetFinalityProviderPublicKeyOk() (*string, bool)

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

SetFinalityProviderPublicKey

func (o *BabylonStakingActivityDetailExtra) SetFinalityProviderPublicKey(v string)

SetFinalityProviderPublicKey sets FinalityProviderPublicKey field to given value.

HasFinalityProviderPublicKey

func (o *BabylonStakingActivityDetailExtra) HasFinalityProviderPublicKey() bool

HasFinalityProviderPublicKey returns a boolean if a field has been set.

GetStakeBlockTime

func (o *BabylonStakingActivityDetailExtra) GetStakeBlockTime() int64

GetStakeBlockTime returns the StakeBlockTime field if non-nil, zero value otherwise.

GetStakeBlockTimeOk

func (o *BabylonStakingActivityDetailExtra) GetStakeBlockTimeOk() (*int64, bool)

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

SetStakeBlockTime

func (o *BabylonStakingActivityDetailExtra) SetStakeBlockTime(v int64)

SetStakeBlockTime sets StakeBlockTime field to given value.

HasStakeBlockTime

func (o *BabylonStakingActivityDetailExtra) HasStakeBlockTime() bool

HasStakeBlockTime returns a boolean if a field has been set.

GetAutoBroadcast

func (o *BabylonStakingActivityDetailExtra) GetAutoBroadcast() bool

GetAutoBroadcast returns the AutoBroadcast field if non-nil, zero value otherwise.

GetAutoBroadcastOk

func (o *BabylonStakingActivityDetailExtra) GetAutoBroadcastOk() (*bool, bool)

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

SetAutoBroadcast

func (o *BabylonStakingActivityDetailExtra) SetAutoBroadcast(v bool)

SetAutoBroadcast sets AutoBroadcast field to given value.

HasAutoBroadcast

func (o *BabylonStakingActivityDetailExtra) HasAutoBroadcast() bool

HasAutoBroadcast returns a boolean if a field has been set.

GetParamVersion

func (o *BabylonStakingActivityDetailExtra) GetParamVersion() int64

GetParamVersion returns the ParamVersion field if non-nil, zero value otherwise.

GetParamVersionOk

func (o *BabylonStakingActivityDetailExtra) GetParamVersionOk() (*int64, bool)

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

SetParamVersion

func (o *BabylonStakingActivityDetailExtra) SetParamVersion(v int64)

SetParamVersion sets ParamVersion field to given value.

HasParamVersion

func (o *BabylonStakingActivityDetailExtra) HasParamVersion() bool

HasParamVersion returns a boolean if a field has been set.

GetWithdrawFromType

func (o *BabylonStakingActivityDetailExtra) GetWithdrawFromType() ActivityType

GetWithdrawFromType returns the WithdrawFromType field if non-nil, zero value otherwise.

GetWithdrawFromTypeOk

func (o *BabylonStakingActivityDetailExtra) GetWithdrawFromTypeOk() (*ActivityType, bool)

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

SetWithdrawFromType

func (o *BabylonStakingActivityDetailExtra) SetWithdrawFromType(v ActivityType)

SetWithdrawFromType sets WithdrawFromType field to given value.

HasWithdrawFromType

func (o *BabylonStakingActivityDetailExtra) HasWithdrawFromType() bool

HasWithdrawFromType returns a boolean if a field has been set.

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