TraktCommentItem

@Serializable
data class TraktCommentItem(val type: TraktMediaType? = null, val movie: TraktMovie? = null, val show: TraktShow? = null, val season: TraktSeason? = null, val episode: TraktEpisode? = null, val list: TraktList? = null) : TraktMediaItem

Response item from comments/:id/item endpoint. Returns the media item a comment is attached to.

Constructors

Link copied to clipboard
constructor(type: TraktMediaType? = null, movie: TraktMovie? = null, show: TraktShow? = null, season: TraktSeason? = null, episode: TraktEpisode? = null, list: TraktList? = null)

Properties

Link copied to clipboard
@SerialName(value = "episode")
val episode: TraktEpisode?
Link copied to clipboard
@SerialName(value = "list")
val list: TraktList?
Link copied to clipboard
@SerialName(value = "movie")
open override val movie: TraktMovie?
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?