TraktWatchedSeason

@Serializable
data class TraktWatchedSeason(val number: Int, val episodes: List<TraktWatchedEpisode> = emptyList())

Season data from sync/watched/shows endpoint. Contains only the season number and list of watched episodes.

Constructors

Link copied to clipboard
constructor(number: Int, episodes: List<TraktWatchedEpisode> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "episodes")
val episodes: List<TraktWatchedEpisode>
Link copied to clipboard
@SerialName(value = "number")
val number: Int