TraktWatchlistItem

@Serializable
data class TraktWatchlistItem(val rank: Int = 0, val id: Long = 0, val listedAt: Instant? = null, val notes: String? = null, val type: TraktMediaType? = null, val movie: TraktMovie? = null, val show: TraktShow? = null, val season: TraktSeason? = null, val episode: TraktEpisode? = null) : TraktMediaItem

Response item from sync/watchlist endpoints.

Constructors

Link copied to clipboard
constructor(rank: Int = 0, id: Long = 0, listedAt: Instant? = null, notes: String? = null, type: TraktMediaType? = null, movie: TraktMovie? = null, show: TraktShow? = null, season: TraktSeason? = null, episode: TraktEpisode? = null)

Properties

Link copied to clipboard
@SerialName(value = "episode")
val episode: TraktEpisode?
Link copied to clipboard
@SerialName(value = "id")
val id: Long
Link copied to clipboard
@SerialName(value = "listed_at")
val listedAt: Instant?
Link copied to clipboard
@SerialName(value = "movie")
open override val movie: TraktMovie?
Link copied to clipboard
@SerialName(value = "notes")
val notes: String?
Link copied to clipboard
@SerialName(value = "rank")
val rank: Int
Link copied to clipboard
@SerialName(value = "season")
val season: TraktSeason?
Link copied to clipboard
@SerialName(value = "show")
open override val show: TraktShow?
Link copied to clipboard
@SerialName(value = "type")
val type: TraktMediaType?