TraktShowProgress

@Serializable
data class TraktShowProgress(val aired: Int = 0, val completed: Int = 0, val lastWatchedAt: Instant? = null, val resetAt: Instant? = null, val seasons: List<TraktSeasonProgress> = emptyList(), val hiddenSeasons: List<TraktSeason> = emptyList(), val nextEpisode: TraktEpisode? = null, val lastEpisode: TraktEpisode? = null)

Constructors

Link copied to clipboard
constructor(aired: Int = 0, completed: Int = 0, lastWatchedAt: Instant? = null, resetAt: Instant? = null, seasons: List<TraktSeasonProgress> = emptyList(), hiddenSeasons: List<TraktSeason> = emptyList(), nextEpisode: TraktEpisode? = null, lastEpisode: TraktEpisode? = null)

Properties

Link copied to clipboard
@SerialName(value = "aired")
val aired: Int
Link copied to clipboard
@SerialName(value = "completed")
val completed: Int
Link copied to clipboard
@SerialName(value = "hidden_seasons")
val hiddenSeasons: List<TraktSeason>
Link copied to clipboard
@SerialName(value = "last_episode")
val lastEpisode: TraktEpisode?
Link copied to clipboard
@SerialName(value = "last_watched_at")
val lastWatchedAt: Instant?
Link copied to clipboard
@SerialName(value = "next_episode")
val nextEpisode: TraktEpisode?
Link copied to clipboard
@SerialName(value = "reset_at")
val resetAt: Instant?
Link copied to clipboard
@SerialName(value = "seasons")
val seasons: List<TraktSeasonProgress>