TraktFavoriteItem

@Serializable
data class TraktFavoriteItem(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) : TraktMediaItem

Response item from users/favorites 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)

Properties

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 = "show")
open override val show: TraktShow?
Link copied to clipboard
@SerialName(value = "type")
val type: TraktMediaType?