TraktWatchedEpisode

@Serializable
data class TraktWatchedEpisode(val number: Int, val plays: Int = 0, val lastWatchedAt: Instant? = null)

Episode data from sync/watched/shows endpoint. Contains the episode number, play count, and last watched timestamp.

Constructors

Link copied to clipboard
constructor(number: Int, plays: Int = 0, lastWatchedAt: Instant? = null)

Properties

Link copied to clipboard
@SerialName(value = "last_watched_at")
val lastWatchedAt: Instant?
Link copied to clipboard
@SerialName(value = "number")
val number: Int
Link copied to clipboard
@SerialName(value = "plays")
val plays: Int