Name | Type | Description | Notes |
---|---|---|---|
ActivityId | Pointer to string | The unique identifier of the swap activity. | [optional] |
Status | Pointer to string | The status of the swap activity. | [optional] |
WalletId | Pointer to string | The unique identifier of the wallet. | [optional] |
PayTokenId | Pointer to string | The token symbol to swap from. | [optional] |
ReceiveTokenId | Pointer to string | The token symbol to swap to. | [optional] |
PayAmount | Pointer to string | The amount of tokens to bridge. | [optional] |
ReceiveAmount | Pointer to string | The amount of tokens to receive. | [optional] |
FeeAmount | Pointer to string | The amount of fee. | [optional] |
Initiator | Pointer to NullableString | The initiator of the swap activity. | [optional] |
InitiatorType | Pointer to TransactionInitiatorType | [optional] | |
CreatedTimestamp | Pointer to int32 | The time when the swap activity was created, in Unix timestamp format, measured in milliseconds. | [optional] |
UpdatedTimestamp | Pointer to int32 | The time when the swap activity was last updated, in Unix timestamp format, measured in milliseconds. | [optional] |
func NewSwapActivity() *SwapActivity
NewSwapActivity instantiates a new SwapActivity 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 NewSwapActivityWithDefaults() *SwapActivity
NewSwapActivityWithDefaults instantiates a new SwapActivity 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 *SwapActivity) GetActivityId() string
GetActivityId returns the ActivityId field if non-nil, zero value otherwise.
func (o *SwapActivity) GetActivityIdOk() (*string, bool)
GetActivityIdOk returns a tuple with the ActivityId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SwapActivity) SetActivityId(v string)
SetActivityId sets ActivityId field to given value.
func (o *SwapActivity) HasActivityId() bool
HasActivityId returns a boolean if a field has been set.
func (o *SwapActivity) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *SwapActivity) GetStatusOk() (*string, 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 *SwapActivity) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *SwapActivity) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *SwapActivity) GetWalletId() string
GetWalletId returns the WalletId field if non-nil, zero value otherwise.
func (o *SwapActivity) 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 *SwapActivity) SetWalletId(v string)
SetWalletId sets WalletId field to given value.
func (o *SwapActivity) HasWalletId() bool
HasWalletId returns a boolean if a field has been set.
func (o *SwapActivity) GetPayTokenId() string
GetPayTokenId returns the PayTokenId field if non-nil, zero value otherwise.
func (o *SwapActivity) GetPayTokenIdOk() (*string, bool)
GetPayTokenIdOk returns a tuple with the PayTokenId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SwapActivity) SetPayTokenId(v string)
SetPayTokenId sets PayTokenId field to given value.
func (o *SwapActivity) HasPayTokenId() bool
HasPayTokenId returns a boolean if a field has been set.
func (o *SwapActivity) GetReceiveTokenId() string
GetReceiveTokenId returns the ReceiveTokenId field if non-nil, zero value otherwise.
func (o *SwapActivity) GetReceiveTokenIdOk() (*string, bool)
GetReceiveTokenIdOk returns a tuple with the ReceiveTokenId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SwapActivity) SetReceiveTokenId(v string)
SetReceiveTokenId sets ReceiveTokenId field to given value.
func (o *SwapActivity) HasReceiveTokenId() bool
HasReceiveTokenId returns a boolean if a field has been set.
func (o *SwapActivity) GetPayAmount() string
GetPayAmount returns the PayAmount field if non-nil, zero value otherwise.
func (o *SwapActivity) GetPayAmountOk() (*string, bool)
GetPayAmountOk returns a tuple with the PayAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SwapActivity) SetPayAmount(v string)
SetPayAmount sets PayAmount field to given value.
func (o *SwapActivity) HasPayAmount() bool
HasPayAmount returns a boolean if a field has been set.
func (o *SwapActivity) GetReceiveAmount() string
GetReceiveAmount returns the ReceiveAmount field if non-nil, zero value otherwise.
func (o *SwapActivity) GetReceiveAmountOk() (*string, bool)
GetReceiveAmountOk returns a tuple with the ReceiveAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SwapActivity) SetReceiveAmount(v string)
SetReceiveAmount sets ReceiveAmount field to given value.
func (o *SwapActivity) HasReceiveAmount() bool
HasReceiveAmount returns a boolean if a field has been set.
func (o *SwapActivity) GetFeeAmount() string
GetFeeAmount returns the FeeAmount field if non-nil, zero value otherwise.
func (o *SwapActivity) GetFeeAmountOk() (*string, bool)
GetFeeAmountOk returns a tuple with the FeeAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *SwapActivity) SetFeeAmount(v string)
SetFeeAmount sets FeeAmount field to given value.
func (o *SwapActivity) HasFeeAmount() bool
HasFeeAmount returns a boolean if a field has been set.
func (o *SwapActivity) GetInitiator() string
GetInitiator returns the Initiator field if non-nil, zero value otherwise.
func (o *SwapActivity) 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 *SwapActivity) SetInitiator(v string)
SetInitiator sets Initiator field to given value.
func (o *SwapActivity) HasInitiator() bool
HasInitiator returns a boolean if a field has been set.
func (o *SwapActivity) SetInitiatorNil(b bool)
SetInitiatorNil sets the value for Initiator to be an explicit nil
func (o *SwapActivity) UnsetInitiator()
UnsetInitiator ensures that no value is present for Initiator, not even an explicit nil
func (o *SwapActivity) GetInitiatorType() TransactionInitiatorType
GetInitiatorType returns the InitiatorType field if non-nil, zero value otherwise.
func (o *SwapActivity) 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 *SwapActivity) SetInitiatorType(v TransactionInitiatorType)
SetInitiatorType sets InitiatorType field to given value.
func (o *SwapActivity) HasInitiatorType() bool
HasInitiatorType returns a boolean if a field has been set.
func (o *SwapActivity) GetCreatedTimestamp() int32
GetCreatedTimestamp returns the CreatedTimestamp field if non-nil, zero value otherwise.
func (o *SwapActivity) GetCreatedTimestampOk() (*int32, 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 *SwapActivity) SetCreatedTimestamp(v int32)
SetCreatedTimestamp sets CreatedTimestamp field to given value.
func (o *SwapActivity) HasCreatedTimestamp() bool
HasCreatedTimestamp returns a boolean if a field has been set.
func (o *SwapActivity) GetUpdatedTimestamp() int32
GetUpdatedTimestamp returns the UpdatedTimestamp field if non-nil, zero value otherwise.
func (o *SwapActivity) GetUpdatedTimestampOk() (*int32, 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 *SwapActivity) SetUpdatedTimestamp(v int32)
SetUpdatedTimestamp sets UpdatedTimestamp field to given value.
func (o *SwapActivity) HasUpdatedTimestamp() bool
HasUpdatedTimestamp returns a boolean if a field has been set.