generated by Claude-3.7-Sonnet
This commit is contained in:
40
model/apple_podcast.go
Normal file
40
model/apple_podcast.go
Normal file
@@ -0,0 +1,40 @@
|
||||
// Package model 提供播客和剧集的数据模型
|
||||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
// Podcast 表示从Apple Podcasts API获取的播客信息
|
||||
type ApplePodcast struct {
|
||||
WrapperType string `json:"wrapperType,omitempty"`
|
||||
Kind string `json:"kind,omitempty"`
|
||||
CollectionID int `json:"collectionId,omitempty"`
|
||||
TrackID int `json:"trackId,omitempty"`
|
||||
ArtistName string `json:"artistName,omitempty"`
|
||||
CollectionName string `json:"collectionName,omitempty"`
|
||||
TrackName string `json:"trackName,omitempty"`
|
||||
CollectionCensoredName string `json:"collectionCensoredName,omitempty"`
|
||||
TrackCensoredName string `json:"trackCensoredName,omitempty"`
|
||||
CollectionViewURL string `json:"collectionViewUrl,omitempty"`
|
||||
FeedURL string `json:"feedUrl,omitempty"`
|
||||
TrackViewURL string `json:"trackViewUrl,omitempty"`
|
||||
ArtworkURL30 string `json:"artworkUrl30,omitempty"`
|
||||
ArtworkURL60 string `json:"artworkUrl60,omitempty"`
|
||||
ArtworkURL100 string `json:"artworkUrl100,omitempty"`
|
||||
CollectionPrice float64 `json:"collectionPrice,omitempty"`
|
||||
TrackPrice float64 `json:"trackPrice,omitempty"`
|
||||
CollectionHDPrice float64 `json:"collectionHdPrice,omitempty"`
|
||||
ReleaseDate time.Time `json:"releaseDate,omitempty"`
|
||||
CollectionExplicitness string `json:"collectionExplicitness,omitempty"`
|
||||
TrackExplicitness string `json:"trackExplicitness,omitempty"`
|
||||
TrackCount int `json:"trackCount,omitempty"`
|
||||
TrackTimeMillis int `json:"trackTimeMillis,omitempty"`
|
||||
Country string `json:"country,omitempty"`
|
||||
Currency string `json:"currency,omitempty"`
|
||||
PrimaryGenreName string `json:"primaryGenreName,omitempty"`
|
||||
ContentAdvisoryRating string `json:"contentAdvisoryRating,omitempty"`
|
||||
ArtworkURL600 string `json:"artworkUrl600,omitempty"`
|
||||
GenreIDs []string `json:"genreIds,omitempty"`
|
||||
Genres []string `json:"genres,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user