Name | Type | Description | Notes |
---|---|---|---|
Id | string | The UUID of the quote. | |
Market | Market | ||
Side | OrderSide | ||
Price | string | The guaranteed price, held until expires_at. | |
BaseAsset | Asset | ||
QuoteAsset | Asset | ||
CreatedAt | time.Time | The time at which the quote was first offered. | |
ExpiresAt | time.Time | The time at which the quote expires. |
func NewQuote(id string, market Market, side OrderSide, price string, baseAsset Asset, quoteAsset Asset, createdAt time.Time, expiresAt time.Time, ) *Quote
NewQuote instantiates a new Quote 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 NewQuoteWithDefaults() *Quote
NewQuoteWithDefaults instantiates a new Quote 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 *Quote) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Quote) 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 *Quote) SetId(v string)
SetId sets Id field to given value.
func (o *Quote) GetMarket() Market
GetMarket returns the Market field if non-nil, zero value otherwise.
func (o *Quote) 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 *Quote) SetMarket(v Market)
SetMarket sets Market field to given value.
func (o *Quote) GetSide() OrderSide
GetSide returns the Side field if non-nil, zero value otherwise.
func (o *Quote) 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 *Quote) SetSide(v OrderSide)
SetSide sets Side field to given value.
func (o *Quote) GetPrice() string
GetPrice returns the Price field if non-nil, zero value otherwise.
func (o *Quote) 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 *Quote) SetPrice(v string)
SetPrice sets Price field to given value.
func (o *Quote) GetBaseAsset() Asset
GetBaseAsset returns the BaseAsset field if non-nil, zero value otherwise.
func (o *Quote) GetBaseAssetOk() (*Asset, bool)
GetBaseAssetOk returns a tuple with the BaseAsset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Quote) SetBaseAsset(v Asset)
SetBaseAsset sets BaseAsset field to given value.
func (o *Quote) GetQuoteAsset() Asset
GetQuoteAsset returns the QuoteAsset field if non-nil, zero value otherwise.
func (o *Quote) GetQuoteAssetOk() (*Asset, bool)
GetQuoteAssetOk returns a tuple with the QuoteAsset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Quote) SetQuoteAsset(v Asset)
SetQuoteAsset sets QuoteAsset field to given value.
func (o *Quote) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Quote) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Quote) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Quote) GetExpiresAt() time.Time
GetExpiresAt returns the ExpiresAt field if non-nil, zero value otherwise.
func (o *Quote) GetExpiresAtOk() (*time.Time, bool)
GetExpiresAtOk returns a tuple with the ExpiresAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Quote) SetExpiresAt(v time.Time)
SetExpiresAt sets ExpiresAt field to given value.