TraktHistoryItem

@Serializable
data class TraktHistoryItem(val id: String? = null, val watchedAt: Instant? = null, val action: String? = null, val type: TraktMediaType, val movie: TraktMovie? = null, val show: TraktShow? = null, val episode: TraktEpisode? = null)

Constructors

Link copied to clipboard
constructor(id: String? = null, watchedAt: Instant? = null, action: String? = null, type: TraktMediaType, movie: TraktMovie? = null, show: TraktShow? = null, episode: TraktEpisode? = null)

Properties

Link copied to clipboard
@SerialName(value = "action")
val action: String? = null
Link copied to clipboard
@SerialName(value = "episode")
val episode: TraktEpisode? = null
Link copied to clipboard
@SerialName(value = "id")
val id: String? = null
Link copied to clipboard
@SerialName(value = "movie")
val movie: TraktMovie? = null
Link copied to clipboard
@SerialName(value = "show")
val show: TraktShow? = null
Link copied to clipboard
@SerialName(value = "type")
val type: TraktMediaType
Link copied to clipboard
@SerialName(value = "watched_at")
val watchedAt: Instant? = null