3.5 KiB
MarketHistory
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| At | Pointer to string | At is the token this is the history of, lowercased. | [optional] |
| Chain | Pointer to string | [optional] | |
| Days | Pointer to []MarketDay | Days is oldest first, which is the order a chart draws. `[]` for a token the indexer holds no day for, `null` where the read failed. | [optional] |
| Reach | Pointer to MarketReach | [optional] |
Methods
NewMarketHistory
func NewMarketHistory() *MarketHistory
NewMarketHistory instantiates a new MarketHistory 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
NewMarketHistoryWithDefaults
func NewMarketHistoryWithDefaults() *MarketHistory
NewMarketHistoryWithDefaults instantiates a new MarketHistory 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
GetAt
func (o *MarketHistory) GetAt() string
GetAt returns the At field if non-nil, zero value otherwise.
GetAtOk
func (o *MarketHistory) GetAtOk() (*string, bool)
GetAtOk returns a tuple with the At field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAt
func (o *MarketHistory) SetAt(v string)
SetAt sets At field to given value.
HasAt
func (o *MarketHistory) HasAt() bool
HasAt returns a boolean if a field has been set.
GetChain
func (o *MarketHistory) GetChain() string
GetChain returns the Chain field if non-nil, zero value otherwise.
GetChainOk
func (o *MarketHistory) GetChainOk() (*string, bool)
GetChainOk returns a tuple with the Chain field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetChain
func (o *MarketHistory) SetChain(v string)
SetChain sets Chain field to given value.
HasChain
func (o *MarketHistory) HasChain() bool
HasChain returns a boolean if a field has been set.
GetDays
func (o *MarketHistory) GetDays() []MarketDay
GetDays returns the Days field if non-nil, zero value otherwise.
GetDaysOk
func (o *MarketHistory) GetDaysOk() (*[]MarketDay, bool)
GetDaysOk returns a tuple with the Days field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDays
func (o *MarketHistory) SetDays(v []MarketDay)
SetDays sets Days field to given value.
HasDays
func (o *MarketHistory) HasDays() bool
HasDays returns a boolean if a field has been set.
GetReach
func (o *MarketHistory) GetReach() MarketReach
GetReach returns the Reach field if non-nil, zero value otherwise.
GetReachOk
func (o *MarketHistory) GetReachOk() (*MarketReach, bool)
GetReachOk returns a tuple with the Reach field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetReach
func (o *MarketHistory) SetReach(v MarketReach)
SetReach sets Reach field to given value.
HasReach
func (o *MarketHistory) HasReach() bool
HasReach returns a boolean if a field has been set.