1// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT.
2
3package teal
4
5// schema: fm.teal.alpha.feed.play
6
7import (
8 "github.com/bluesky-social/indigo/lex/util"
9)
10
11func init() {
12 util.RegisterType("fm.teal.alpha.feed.play", &AlphaFeedPlay{})
13} //
14// RECORDTYPE: AlphaFeedPlay
15type AlphaFeedPlay struct {
16 LexiconTypeID string `json:"$type,const=fm.teal.alpha.feed.play" cborgen:"$type,const=fm.teal.alpha.feed.play"`
17 // artistMbIds: Array of Musicbrainz artist IDs. Prefer using 'artists'.
18 ArtistMbIds []string `json:"artistMbIds,omitempty" cborgen:"artistMbIds,omitempty"`
19 // artistNames: Array of artist names in order of original appearance. Prefer using 'artists'.
20 ArtistNames []string `json:"artistNames,omitempty" cborgen:"artistNames,omitempty"`
21 // artists: Array of artists in order of original appearance.
22 Artists []*AlphaFeedDefs_Artist `json:"artists,omitempty" cborgen:"artists,omitempty"`
23 // duration: The length of the track in seconds
24 Duration *int64 `json:"duration,omitempty" cborgen:"duration,omitempty"`
25 // isrc: The ISRC code associated with the recording
26 Isrc *string `json:"isrc,omitempty" cborgen:"isrc,omitempty"`
27 // musicServiceBaseDomain: The base domain of the music service. e.g. music.apple.com, tidal.com, spotify.com. Defaults to 'local' if unavailable or not provided.
28 MusicServiceBaseDomain *string `json:"musicServiceBaseDomain,omitempty" cborgen:"musicServiceBaseDomain,omitempty"`
29 // originUrl: The URL associated with this track
30 OriginUrl *string `json:"originUrl,omitempty" cborgen:"originUrl,omitempty"`
31 // playedTime: The unix timestamp of when the track was played
32 PlayedTime *string `json:"playedTime,omitempty" cborgen:"playedTime,omitempty"`
33 // recordingMbId: The Musicbrainz recording ID of the track
34 RecordingMbId *string `json:"recordingMbId,omitempty" cborgen:"recordingMbId,omitempty"`
35 // releaseMbId: The Musicbrainz release ID
36 ReleaseMbId *string `json:"releaseMbId,omitempty" cborgen:"releaseMbId,omitempty"`
37 // releaseName: The name of the release/album
38 ReleaseName *string `json:"releaseName,omitempty" cborgen:"releaseName,omitempty"`
39 // submissionClientAgent: A metadata string specifying the user agent where the format is `<app-identifier>/<version> (<kernel/OS-base>; <platform/OS-version>; <device-model>)`. If string is provided, only `app-identifier` and `version` are required. `app-identifier` is recommended to be in reverse dns format. Defaults to 'manual/unknown' if unavailable or not provided.
40 SubmissionClientAgent *string `json:"submissionClientAgent,omitempty" cborgen:"submissionClientAgent,omitempty"`
41 // trackMbId: The Musicbrainz ID of the track
42 TrackMbId *string `json:"trackMbId,omitempty" cborgen:"trackMbId,omitempty"`
43 // trackName: The name of the track
44 TrackName string `json:"trackName" cborgen:"trackName"`
45}