Documentation
¶
Index ¶
- type Art
- type ArtSource
- type Content
- type ContentActions
- type EntityMetadata
- type Filter
- type GetPlayableContent
- type GetPlayableContentResponse
- type Header
- type Location
- type MediaMetadata
- type MetadataNameProperty
- type Request
- type RequestContext
- type ResolvedSelectionCriteria
- type ResolvedSelectionCriteriaAttribute
- type Response
- type SpeechInfo
- type StaticImagesBackground
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Content ¶
type Content struct {
Id string `json:"id"`
Actions ContentActions `json:"actions"`
Metadata MediaMetadata `json:"metadata"`
}
type ContentActions ¶
type EntityMetadata ¶
type EntityMetadata struct {
Name MetadataNameProperty `json:"name"`
}
type GetPlayableContent ¶
type GetPlayableContent struct {
RequestContext RequestContext `json:"requestContext"`
Filters Filter `json:"filters"`
SelectionCriteria ResolvedSelectionCriteria `json:"selectionCriteria"`
}
type GetPlayableContentResponse ¶
type GetPlayableContentResponse struct {
Content Content `json:"content"`
}
type MediaMetadata ¶
type MediaMetadata struct {
Type string `json:"type"`
Name MetadataNameProperty `json:"name"`
Authors []EntityMetadata `json:"authors"`
Album EntityMetadata `json:"album"`
Art Art `json:"art,omitempty"`
Background *StaticImagesBackground `json:"background,omitempty"`
}
type MetadataNameProperty ¶
type MetadataNameProperty struct {
Speech SpeechInfo `json:"speech"`
Display string `json:"display"`
}
type Request ¶
type Request struct {
Header Header `json:"header"`
Payload interface{} `json:"payload"`
}
func (*Request) BindPayload ¶
func (*Request) LogPayload ¶
func (m *Request) LogPayload()
type RequestContext ¶
type ResolvedSelectionCriteria ¶
type ResolvedSelectionCriteria struct {
RawSelectionCriteriaId string `json:"rawSelectionCriteriaId"`
Attributes []ResolvedSelectionCriteriaAttribute `json:"attributes"`
}
type Response ¶
type Response struct {
Header Header `json:"header"`
Payload interface{} `json:"payload"`
}
func (*Response) LogPayload ¶
func (m *Response) LogPayload()
type SpeechInfo ¶
type StaticImagesBackground ¶
type StaticImagesBackground struct {
// A string describing the type of background image.
// Currently, the only possible value is "STATIC_IMAGES"
Type string `json:"type"`
}
Click to show internal directories.
Click to hide internal directories.