3.2 KiB
CatalogCatalogPage
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Data | Pointer to []CatalogEntry | Data is the page of matching entries, most recently updated first. | [optional] |
| Facets | Pointer to map[string]map[string]int64 | Facets counts the whole matching set along every browse axis, so a rail a client renders is a rail that has results behind it. Keyed axis → value → count. | [optional] |
| Total | Pointer to int64 | Total is how many entries matched BEFORE paging — what a pager sizes itself on. | [optional] |
Methods
NewCatalogCatalogPage
func NewCatalogCatalogPage() *CatalogCatalogPage
NewCatalogCatalogPage instantiates a new CatalogCatalogPage 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
NewCatalogCatalogPageWithDefaults
func NewCatalogCatalogPageWithDefaults() *CatalogCatalogPage
NewCatalogCatalogPageWithDefaults instantiates a new CatalogCatalogPage 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
GetData
func (o *CatalogCatalogPage) GetData() []CatalogEntry
GetData returns the Data field if non-nil, zero value otherwise.
GetDataOk
func (o *CatalogCatalogPage) GetDataOk() (*[]CatalogEntry, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetData
func (o *CatalogCatalogPage) SetData(v []CatalogEntry)
SetData sets Data field to given value.
HasData
func (o *CatalogCatalogPage) HasData() bool
HasData returns a boolean if a field has been set.
GetFacets
func (o *CatalogCatalogPage) GetFacets() map[string]map[string]int64
GetFacets returns the Facets field if non-nil, zero value otherwise.
GetFacetsOk
func (o *CatalogCatalogPage) GetFacetsOk() (*map[string]map[string]int64, bool)
GetFacetsOk returns a tuple with the Facets field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFacets
func (o *CatalogCatalogPage) SetFacets(v map[string]map[string]int64)
SetFacets sets Facets field to given value.
HasFacets
func (o *CatalogCatalogPage) HasFacets() bool
HasFacets returns a boolean if a field has been set.
GetTotal
func (o *CatalogCatalogPage) GetTotal() int64
GetTotal returns the Total field if non-nil, zero value otherwise.
GetTotalOk
func (o *CatalogCatalogPage) GetTotalOk() (*int64, bool)
GetTotalOk returns a tuple with the Total field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTotal
func (o *CatalogCatalogPage) SetTotal(v int64)
SetTotal sets Total field to given value.
HasTotal
func (o *CatalogCatalogPage) HasTotal() bool
HasTotal returns a boolean if a field has been set.