Name | Type | Description | Notes |
---|---|---|---|
Id | Pointer to string | The activity ID. | [optional] |
Initiator | Pointer to string | The initiator of the activity. | [optional] |
InitiatorType | Pointer to TransactionInitiatorType | [optional] | |
Type | Pointer to ActivityType | [optional] | |
WalletId | Pointer to string | The staker's wallet ID. | [optional] |
Address | Pointer to string | The staker's wallet address. | [optional] |
PoolId | StakingPoolId | ||
TokenId | string | The token ID. | |
StakingId | Pointer to string | The ID of the corresponding staking position. | [optional] |
RequestIds | Pointer to []string | The request IDs of the corresponding transactions of the activity. | [optional] |
Amount | string | The staking amount. | |
TransactionIds | Pointer to []string | The IDs of the corresponding transactions of the activity. | [optional] |
Timeline | Pointer to []ActivityTimeline | The timeline of the activity. | [optional] |
Fee | Pointer to TransactionRequestFee | [optional] | |
Status | ActivityStatus | ||
Extra | Pointer to ActivityExtra | [optional] | |
CreatedTimestamp | Pointer to int64 | The time when the activity was created. | [optional] |
UpdatedTimestamp | Pointer to int64 | The time when the activity was last updated. | [optional] |
func NewActivity(poolId StakingPoolId, tokenId string, amount string, status ActivityStatus, ) *Activity
NewActivity instantiates a new Activity 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 NewActivityWithDefaults() *Activity
NewActivityWithDefaults instantiates a new Activity 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 *Activity) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Activity) 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 *Activity) SetId(v string)
SetId sets Id field to given value.
func (o *Activity) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Activity) GetInitiator() string
GetInitiator returns the Initiator field if non-nil, zero value otherwise.
func (o *Activity) GetInitiatorOk() (*string, bool)
GetInitiatorOk returns a tuple with the Initiator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetInitiator(v string)
SetInitiator sets Initiator field to given value.
func (o *Activity) HasInitiator() bool
HasInitiator returns a boolean if a field has been set.
func (o *Activity) GetInitiatorType() TransactionInitiatorType
GetInitiatorType returns the InitiatorType field if non-nil, zero value otherwise.
func (o *Activity) GetInitiatorTypeOk() (*TransactionInitiatorType, bool)
GetInitiatorTypeOk returns a tuple with the InitiatorType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetInitiatorType(v TransactionInitiatorType)
SetInitiatorType sets InitiatorType field to given value.
func (o *Activity) HasInitiatorType() bool
HasInitiatorType returns a boolean if a field has been set.
func (o *Activity) GetType() ActivityType
GetType returns the Type field if non-nil, zero value otherwise.
func (o *Activity) GetTypeOk() (*ActivityType, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetType(v ActivityType)
SetType sets Type field to given value.
func (o *Activity) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Activity) GetWalletId() string
GetWalletId returns the WalletId field if non-nil, zero value otherwise.
func (o *Activity) GetWalletIdOk() (*string, bool)
GetWalletIdOk returns a tuple with the WalletId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetWalletId(v string)
SetWalletId sets WalletId field to given value.
func (o *Activity) HasWalletId() bool
HasWalletId returns a boolean if a field has been set.
func (o *Activity) GetAddress() string
GetAddress returns the Address field if non-nil, zero value otherwise.
func (o *Activity) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetAddress(v string)
SetAddress sets Address field to given value.
func (o *Activity) HasAddress() bool
HasAddress returns a boolean if a field has been set.
func (o *Activity) GetPoolId() StakingPoolId
GetPoolId returns the PoolId field if non-nil, zero value otherwise.
func (o *Activity) GetPoolIdOk() (*StakingPoolId, bool)
GetPoolIdOk returns a tuple with the PoolId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetPoolId(v StakingPoolId)
SetPoolId sets PoolId field to given value.
func (o *Activity) GetTokenId() string
GetTokenId returns the TokenId field if non-nil, zero value otherwise.
func (o *Activity) 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 *Activity) SetTokenId(v string)
SetTokenId sets TokenId field to given value.
func (o *Activity) GetStakingId() string
GetStakingId returns the StakingId field if non-nil, zero value otherwise.
func (o *Activity) GetStakingIdOk() (*string, bool)
GetStakingIdOk returns a tuple with the StakingId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetStakingId(v string)
SetStakingId sets StakingId field to given value.
func (o *Activity) HasStakingId() bool
HasStakingId returns a boolean if a field has been set.
func (o *Activity) GetRequestIds() []string
GetRequestIds returns the RequestIds field if non-nil, zero value otherwise.
func (o *Activity) GetRequestIdsOk() (*[]string, bool)
GetRequestIdsOk returns a tuple with the RequestIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetRequestIds(v []string)
SetRequestIds sets RequestIds field to given value.
func (o *Activity) HasRequestIds() bool
HasRequestIds returns a boolean if a field has been set.
func (o *Activity) GetAmount() string
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *Activity) GetAmountOk() (*string, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetAmount(v string)
SetAmount sets Amount field to given value.
func (o *Activity) GetTransactionIds() []string
GetTransactionIds returns the TransactionIds field if non-nil, zero value otherwise.
func (o *Activity) GetTransactionIdsOk() (*[]string, bool)
GetTransactionIdsOk returns a tuple with the TransactionIds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetTransactionIds(v []string)
SetTransactionIds sets TransactionIds field to given value.
func (o *Activity) HasTransactionIds() bool
HasTransactionIds returns a boolean if a field has been set.
func (o *Activity) GetTimeline() []ActivityTimeline
GetTimeline returns the Timeline field if non-nil, zero value otherwise.
func (o *Activity) GetTimelineOk() (*[]ActivityTimeline, bool)
GetTimelineOk returns a tuple with the Timeline field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetTimeline(v []ActivityTimeline)
SetTimeline sets Timeline field to given value.
func (o *Activity) HasTimeline() bool
HasTimeline returns a boolean if a field has been set.
func (o *Activity) GetFee() TransactionRequestFee
GetFee returns the Fee field if non-nil, zero value otherwise.
func (o *Activity) GetFeeOk() (*TransactionRequestFee, bool)
GetFeeOk returns a tuple with the Fee field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetFee(v TransactionRequestFee)
SetFee sets Fee field to given value.
func (o *Activity) HasFee() bool
HasFee returns a boolean if a field has been set.
func (o *Activity) GetStatus() ActivityStatus
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Activity) GetStatusOk() (*ActivityStatus, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetStatus(v ActivityStatus)
SetStatus sets Status field to given value.
func (o *Activity) GetExtra() ActivityExtra
GetExtra returns the Extra field if non-nil, zero value otherwise.
func (o *Activity) GetExtraOk() (*ActivityExtra, bool)
GetExtraOk returns a tuple with the Extra field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetExtra(v ActivityExtra)
SetExtra sets Extra field to given value.
func (o *Activity) HasExtra() bool
HasExtra returns a boolean if a field has been set.
func (o *Activity) GetCreatedTimestamp() int64
GetCreatedTimestamp returns the CreatedTimestamp field if non-nil, zero value otherwise.
func (o *Activity) GetCreatedTimestampOk() (*int64, bool)
GetCreatedTimestampOk returns a tuple with the CreatedTimestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetCreatedTimestamp(v int64)
SetCreatedTimestamp sets CreatedTimestamp field to given value.
func (o *Activity) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (o *Activity) GetUpdatedTimestamp() int64
GetUpdatedTimestamp returns the UpdatedTimestamp field if non-nil, zero value otherwise.
func (o *Activity) GetUpdatedTimestampOk() (*int64, bool)
GetUpdatedTimestampOk returns a tuple with the UpdatedTimestamp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Activity) SetUpdatedTimestamp(v int64)
SetUpdatedTimestamp sets UpdatedTimestamp field to given value.
func (o *Activity) HasUpdatedTimestamp() bool
HasUpdatedTimestamp returns a boolean if a field has been set.