TraktMediaItem

@Serializable
data class TraktMediaItem(val ids: TraktIds? = null, val rating: Int? = null, val type: TraktMediaType? = null, val seasons: List<TraktSeason> = emptyList(), val movie: TraktMovie? = null, val show: TraktShow? = null, val episode: TraktEpisode? = null, val season: TraktSeason? = null, val plays: Int = 0, val collectedAt: Instant? = null, val lastCollectedAt: Instant? = null, val lastWatchedAt: Instant? = null, val lastUpdatedAt: Instant? = null, val ratedAt: Instant? = null, val listedAt: Instant? = null, val hiddenAt: Instant? = null)

Constructors

Link copied to clipboard
constructor(ids: TraktIds? = null, rating: Int? = null, type: TraktMediaType? = null, seasons: List<TraktSeason> = emptyList(), movie: TraktMovie? = null, show: TraktShow? = null, episode: TraktEpisode? = null, season: TraktSeason? = null, plays: Int = 0, collectedAt: Instant? = null, lastCollectedAt: Instant? = null, lastWatchedAt: Instant? = null, lastUpdatedAt: Instant? = null, ratedAt: Instant? = null, listedAt: Instant? = null, hiddenAt: Instant? = null)

Properties

Link copied to clipboard
@SerialName(value = "collected_at")
val collectedAt: Instant? = null
Link copied to clipboard
@SerialName(value = "episode")
val episode: TraktEpisode? = null
Link copied to clipboard
@SerialName(value = "hidden_at")
val hiddenAt: Instant? = null
Link copied to clipboard
@SerialName(value = "ids")
val ids: TraktIds? = null
Link copied to clipboard
@SerialName(value = "last_collected_at")
val lastCollectedAt: Instant? = null
Link copied to clipboard
@SerialName(value = "last_updated_at")
val lastUpdatedAt: Instant? = null
Link copied to clipboard
@SerialName(value = "last_watched_at")
val lastWatchedAt: Instant? = null
Link copied to clipboard
@SerialName(value = "listed_at")
val listedAt: Instant? = null
Link copied to clipboard
@SerialName(value = "movie")
val movie: TraktMovie? = null
Link copied to clipboard
@SerialName(value = "plays")
val plays: Int = 0
Link copied to clipboard
@SerialName(value = "rated_at")
val ratedAt: Instant? = null
Link copied to clipboard
@SerialName(value = "rating")
val rating: Int? = null
Link copied to clipboard
@SerialName(value = "season")
val season: TraktSeason? = null
Link copied to clipboard
@SerialName(value = "seasons")
val seasons: List<TraktSeason>
Link copied to clipboard
@SerialName(value = "show")
val show: TraktShow? = null
Link copied to clipboard
@SerialName(value = "type")
val type: TraktMediaType? = null