Name | Type | Description | Notes |
---|---|---|---|
ExecutionId | Pointer to string | [optional] | |
OrderId | Pointer to string | The UUID of the order associated with the execution. | [optional] |
ExecutedAt | Pointer to time.Time | Timestamp of the execution. | [optional] |
Market | Pointer to Market | [optional] | |
Side | Pointer to OrderSide | [optional] | |
Amount | Pointer to string | Execution amount. | [optional] |
Price | Pointer to string | Execution price. | [optional] |
Commission | Pointer to string | Amount of commission paid. | [optional] |
CommissionAsset | Pointer to Asset | [optional] | |
Rebate | Pointer to string | Amount of rebate applied. | [optional] |
RebateAsset | Pointer to Asset | [optional] | |
AccountId | Pointer to string | Account ID associated with the execution. | [optional] |
GrossTradeAmount | Pointer to string | The total asset traded (asset amount multiplied by price paid). | [optional] |
func NewExecution() *Execution
NewExecution instantiates a new Execution 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 NewExecutionWithDefaults() *Execution
NewExecutionWithDefaults instantiates a new Execution 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 *Execution) GetExecutionId() string
GetExecutionId returns the ExecutionId field if non-nil, zero value otherwise.
func (o *Execution) GetExecutionIdOk() (*string, bool)
GetExecutionIdOk returns a tuple with the ExecutionId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Execution) SetExecutionId(v string)
SetExecutionId sets ExecutionId field to given value.
func (o *Execution) HasExecutionId() bool
HasExecutionId returns a boolean if a field has been set.
func (o *Execution) GetOrderId() string
GetOrderId returns the OrderId field if non-nil, zero value otherwise.
func (o *Execution) GetOrderIdOk() (*string, bool)
GetOrderIdOk returns a tuple with the OrderId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Execution) SetOrderId(v string)
SetOrderId sets OrderId field to given value.
func (o *Execution) HasOrderId() bool
HasOrderId returns a boolean if a field has been set.
func (o *Execution) GetExecutedAt() time.Time
GetExecutedAt returns the ExecutedAt field if non-nil, zero value otherwise.
func (o *Execution) GetExecutedAtOk() (*time.Time, bool)
GetExecutedAtOk returns a tuple with the ExecutedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Execution) SetExecutedAt(v time.Time)
SetExecutedAt sets ExecutedAt field to given value.
func (o *Execution) HasExecutedAt() bool
HasExecutedAt returns a boolean if a field has been set.
func (o *Execution) GetMarket() Market
GetMarket returns the Market field if non-nil, zero value otherwise.
func (o *Execution) GetMarketOk() (*Market, bool)
GetMarketOk returns a tuple with the Market field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Execution) SetMarket(v Market)
SetMarket sets Market field to given value.
func (o *Execution) HasMarket() bool
HasMarket returns a boolean if a field has been set.
func (o *Execution) GetSide() OrderSide
GetSide returns the Side field if non-nil, zero value otherwise.
func (o *Execution) GetSideOk() (*OrderSide, bool)
GetSideOk returns a tuple with the Side field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Execution) SetSide(v OrderSide)
SetSide sets Side field to given value.
func (o *Execution) HasSide() bool
HasSide returns a boolean if a field has been set.
func (o *Execution) GetAmount() string
GetAmount returns the Amount field if non-nil, zero value otherwise.
func (o *Execution) 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 *Execution) SetAmount(v string)
SetAmount sets Amount field to given value.
func (o *Execution) HasAmount() bool
HasAmount returns a boolean if a field has been set.
func (o *Execution) GetPrice() string
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *Execution) GetPriceOk() (*string, bool)
GetPriceOk returns a tuple with the Price field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Execution) SetPrice(v string)
SetPrice sets Price field to given value.
func (o *Execution) HasPrice() bool
HasPrice returns a boolean if a field has been set.
func (o *Execution) GetCommission() string
GetCommission returns the Commission field if non-nil, zero value otherwise.
func (o *Execution) GetCommissionOk() (*string, bool)
GetCommissionOk returns a tuple with the Commission field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Execution) SetCommission(v string)
SetCommission sets Commission field to given value.
func (o *Execution) HasCommission() bool
HasCommission returns a boolean if a field has been set.
func (o *Execution) GetCommissionAsset() Asset
GetCommissionAsset returns the CommissionAsset field if non-nil, zero value otherwise.
func (o *Execution) GetCommissionAssetOk() (*Asset, bool)
GetCommissionAssetOk returns a tuple with the CommissionAsset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Execution) SetCommissionAsset(v Asset)
SetCommissionAsset sets CommissionAsset field to given value.
func (o *Execution) HasCommissionAsset() bool
HasCommissionAsset returns a boolean if a field has been set.
func (o *Execution) GetRebate() string
GetRebate returns the Rebate field if non-nil, zero value otherwise.
func (o *Execution) GetRebateOk() (*string, bool)
GetRebateOk returns a tuple with the Rebate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Execution) SetRebate(v string)
SetRebate sets Rebate field to given value.
func (o *Execution) HasRebate() bool
HasRebate returns a boolean if a field has been set.
func (o *Execution) GetRebateAsset() Asset
GetRebateAsset returns the RebateAsset field if non-nil, zero value otherwise.
func (o *Execution) GetRebateAssetOk() (*Asset, bool)
GetRebateAssetOk returns a tuple with the RebateAsset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Execution) SetRebateAsset(v Asset)
SetRebateAsset sets RebateAsset field to given value.
func (o *Execution) HasRebateAsset() bool
HasRebateAsset returns a boolean if a field has been set.
func (o *Execution) GetAccountId() string
GetAccountId returns the AccountId field if non-nil, zero value otherwise.
func (o *Execution) GetAccountIdOk() (*string, bool)
GetAccountIdOk returns a tuple with the AccountId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Execution) SetAccountId(v string)
SetAccountId sets AccountId field to given value.
func (o *Execution) HasAccountId() bool
HasAccountId returns a boolean if a field has been set.
func (o *Execution) GetGrossTradeAmount() string
GetGrossTradeAmount returns the GrossTradeAmount field if non-nil, zero value otherwise.
func (o *Execution) GetGrossTradeAmountOk() (*string, bool)
GetGrossTradeAmountOk returns a tuple with the GrossTradeAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Execution) SetGrossTradeAmount(v string)
SetGrossTradeAmount sets GrossTradeAmount field to given value.
func (o *Execution) HasGrossTradeAmount() bool
HasGrossTradeAmount returns a boolean if a field has been set.