Files
sdk/docs/MarketRoster.md

2.7 KiB

MarketRoster

Properties

Name Type Description Notes
Chains Pointer to []MarketMarket Chains is `[]` where the registry answered and named none, and `null` where it did not answer — never absent, because a missing key and an empty list read alike and only one of them means "there are none". Each row carries its OWN reach for its figures, so a chain whose indexer is down is one row saying so. [optional]
Reach Pointer to MarketReach Reach is how far the read of the REGISTRY got. It governs the list: a registry that did not answer yields no rows, and the reason it did not is here rather than in an empty array a caller would read as "no chains exist". [optional]

Methods

NewMarketRoster

func NewMarketRoster() *MarketRoster

NewMarketRoster instantiates a new MarketRoster 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

NewMarketRosterWithDefaults

func NewMarketRosterWithDefaults() *MarketRoster

NewMarketRosterWithDefaults instantiates a new MarketRoster 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

GetChains

func (o *MarketRoster) GetChains() []MarketMarket

GetChains returns the Chains field if non-nil, zero value otherwise.

GetChainsOk

func (o *MarketRoster) GetChainsOk() (*[]MarketMarket, bool)

GetChainsOk returns a tuple with the Chains field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetChains

func (o *MarketRoster) SetChains(v []MarketMarket)

SetChains sets Chains field to given value.

HasChains

func (o *MarketRoster) HasChains() bool

HasChains returns a boolean if a field has been set.

GetReach

func (o *MarketRoster) GetReach() MarketReach

GetReach returns the Reach field if non-nil, zero value otherwise.

GetReachOk

func (o *MarketRoster) 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 *MarketRoster) SetReach(v MarketReach)

SetReach sets Reach field to given value.

HasReach

func (o *MarketRoster) HasReach() bool

HasReach returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]