Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Album ¶ added in v0.5.0
type Album []struct { Id int `json:"id"` Monitored bool `json:"monitored"` Genres []string `json:"genres"` Duration int `json:"duration"` }
Album - Stores struct of JSON response
type Artist ¶ added in v0.5.0
type Artist []struct { Id int `json:"id"` Status string `json:"status"` Ended bool `json:"ended"` Monitored bool `json:"monitored"` Statistics struct { AlbumCount int `json:"albumCount"` TrackFileCount int `json:"trackFileCount"` TrackCount int `json:"trackCount"` TotalTrackCount int `json:"totalTrackCount"` SizeOnDisk int64 `json:"sizeOnDisk"` } `json:"statistics"` Genres []string `json:"genres"` QualityProfileID int `json:"qualityProfileId"` }
Artist - Stores struct of JSON response
type EpisodeFile ¶
type EpisodeFile []struct { Size int64 `json:"size"` Quality struct { Quality struct { ID int `json:"id"` Name string `json:"name"` Source string `json:"source"` Resolution int `json:"resolution"` } `json:"quality"` } `json:"quality"` }
EpisodeFile - Stores struct of JSON response
type History ¶
type History struct {
TotalRecords int `json:"totalRecords"`
}
History - Stores struct of JSON response
type Missing ¶
type Missing struct {
TotalRecords int `json:"totalRecords"`
}
Missing - Stores struct of JSON response
type Movie ¶
type Movie []struct { Status string `json:"status"` HasFile bool `json:"hasFile"` Monitored bool `json:"monitored"` MovieFile struct { Size int64 `json:"size"` Quality struct { Quality struct { Name string `json:"name"` } `json:"quality"` } `json:"quality"` } `json:"movieFile"` QualityProfileID int `json:"qualityProfileId"` }
Movie - Stores struct of JSON response
type Queue ¶
type Queue struct { Page int `json:"page"` PageSize int `json:"pageSize"` SortKey string `json:"sortKey"` SortDirection string `json:"sortDirection"` TotalRecords int `json:"totalRecords"` Records []QueueRecords `json:"records"` }
Queue - Stores struct of JSON response
type QueueRecords ¶
type QueueRecords struct { Size float64 `json:"size"` Title string `json:"title"` Status string `json:"status"` TrackedDownloadStatus string `json:"trackedDownloadStatus"` TrackedDownloadState string `json:"trackedDownloadState"` StatusMessages []struct { Title string `json:"title"` Messages []string `json:"messages"` } `json:"statusMessages"` ErrorMessage string `json:"errorMessage"` }
QueueRecords - Stores struct of JSON response
type RootFolder ¶
RootFolder - Stores struct of JSON response
type Seasons ¶
type Seasons struct {
Monitored bool `json:"monitored"`
}
Seasons - Stores struct of JSON response
type Series ¶
type Series []struct { Id int `json:"id"` Monitored bool `json:"monitored"` Seasons []Seasons `json:"seasons"` Statistics struct { SeasonCount int `json:"seasonCount"` EpisodeFileCount int `json:"episodeFileCount"` EpisodeCount int `json:"episodeCount"` TotalEpisodeCount int `json:"totalEpisodeCount"` SizeOnDisk int64 `json:"sizeOnDisk"` } `json:"statistics"` }
Series - Stores struct of JSON response
type SongFile ¶ added in v0.5.0
type SongFile []struct { Size int64 `json:"size"` Quality struct { Quality struct { ID int `json:"id"` Name string `json:"name"` } `json:"quality"` } `json:"quality"` }
SongFile - Stores struct of JSON response
type SystemHealth ¶
type SystemHealth []struct { Source string `json:"source"` Type string `json:"type"` Message string `json:"message"` WikiURL string `json:"wikiUrl"` }
SystemHealth - Stores struct of JSON response
type SystemStatus ¶
type SystemStatus struct { Version string `json:"version"` AppData string `json:"appData"` Branch string `json:"branch"` }
SystemStatus - Stores struct of JSON response
Click to show internal directories.
Click to hide internal directories.