Documentation
¶
Index ¶
- type Facet
- type FacetValue
- type FacetValueInt
- type FacetValueString
- type InFacet
- type InFacetTerm
- type InFilter
- type InFilterBoolTerm
- type KeyValue
- type Media
- type MediaList
- type MediathekBaseEntry
- type MediathekFullEntry
- type MultiLangString
- type Note
- type PageInfo
- type Person
- type Query
- type Reference
- type SearchResult
- type SortField
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Facet ¶
type Facet struct { Name string `json:"name"` Values []FacetValue `json:"values,omitempty"` }
type FacetValue ¶
type FacetValue interface {
IsFacetValue()
}
type FacetValueInt ¶
func (FacetValueInt) IsFacetValue ¶
func (FacetValueInt) IsFacetValue()
type FacetValueString ¶
func (FacetValueString) IsFacetValue ¶
func (FacetValueString) IsFacetValue()
type InFacet ¶
type InFacet struct { Term *InFacetTerm `json:"term,omitempty"` Query *InFilter `json:"query"` }
type InFacetTerm ¶
type InFilter ¶
type InFilter struct {
BoolTerm *InFilterBoolTerm `json:"boolTerm,omitempty"`
}
type InFilterBoolTerm ¶
type Media ¶
type Media struct { Name string `json:"name"` Mimetype string `json:"mimetype"` Pronom *string `json:"pronom,omitempty"` Type string `json:"type"` URI string `json:"uri"` Orientation int `json:"orientation"` Fulltext *string `json:"fulltext,omitempty"` Width int `json:"width"` Height int `json:"height"` Length int `json:"length"` }
type MediathekBaseEntry ¶
type MediathekBaseEntry struct { ID string `json:"id"` Signature string `json:"signature"` SignatureOriginal string `json:"signatureOriginal"` Source string `json:"source"` Title []*MultiLangString `json:"title"` Series *string `json:"series,omitempty"` Place *string `json:"place,omitempty"` Date *string `json:"date,omitempty"` CollectionTitle *string `json:"collectionTitle,omitempty"` Person []*Person `json:"person,omitempty"` Catalog []string `json:"catalog,omitempty"` Category []string `json:"category,omitempty"` Tags []string `json:"tags,omitempty"` URL *string `json:"url,omitempty"` Publisher *string `json:"publisher,omitempty"` Rights *string `json:"rights,omitempty"` License *string `json:"license,omitempty"` References []*Reference `json:"references,omitempty"` Type *string `json:"type,omitempty"` Poster *Media `json:"poster,omitempty"` }
type MediathekFullEntry ¶
type MediathekFullEntry struct { ID string `json:"id"` Base *MediathekBaseEntry `json:"base"` Notes []*Note `json:"notes,omitempty"` Abstract []*MultiLangString `json:"abstract,omitempty"` ReferencesFull []*MediathekBaseEntry `json:"referencesFull,omitempty"` Extra []*KeyValue `json:"extra,omitempty"` Media []*MediaList `json:"media,omitempty"` }
type MultiLangString ¶
type SearchResult ¶
type SearchResult struct { TotalCount int `json:"totalCount"` PageInfo *PageInfo `json:"pageInfo"` Edges []*MediathekFullEntry `json:"edges"` Facets []*Facet `json:"facets"` }
Click to show internal directories.
Click to hide internal directories.