TraktCollectionItem

@Serializable
data class TraktCollectionItem(val collectedAt: Instant? = null, val lastCollectedAt: Instant? = null, val lastUpdatedAt: Instant? = null, val movie: TraktMovie? = null, val show: TraktShow? = null, val seasons: List<TraktSeason> = emptyList()) : TraktMediaItem

Response item from sync/collection/movies and sync/collection/shows endpoints.

Constructors

Link copied to clipboard
constructor(collectedAt: Instant? = null, lastCollectedAt: Instant? = null, lastUpdatedAt: Instant? = null, movie: TraktMovie? = null, show: TraktShow? = null, seasons: List<TraktSeason> = emptyList())

Properties

Link copied to clipboard
@SerialName(value = "collected_at")
val collectedAt: Instant?
Link copied to clipboard
@SerialName(value = "last_collected_at")
val lastCollectedAt: Instant?
Link copied to clipboard
@SerialName(value = "last_updated_at")
val lastUpdatedAt: Instant?
Link copied to clipboard
@SerialName(value = "movie")
open override val movie: TraktMovie?
Link copied to clipboard
@SerialName(value = "seasons")
val seasons: List<TraktSeason>
Link copied to clipboard
@SerialName(value = "show")
open override val show: TraktShow?