TraktNote

@Serializable
data class TraktNote(val id: Long = 0, val notes: String = "", val spoiler: Boolean = false, val privacy: String = "private", val createdAt: Instant? = null, val updatedAt: Instant? = null, val movie: TraktMovie? = null, val show: TraktShow? = null, val season: TraktSeason? = null, val episode: TraktEpisode? = null, val person: TraktPerson? = null, val type: String? = null, val attachedTo: String? = null)

Constructors

Link copied to clipboard
constructor(id: Long = 0, notes: String = "", spoiler: Boolean = false, privacy: String = "private", createdAt: Instant? = null, updatedAt: Instant? = null, movie: TraktMovie? = null, show: TraktShow? = null, season: TraktSeason? = null, episode: TraktEpisode? = null, person: TraktPerson? = null, type: String? = null, attachedTo: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "attached_to")
val attachedTo: String?
Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: Instant?
Link copied to clipboard
@SerialName(value = "episode")
val episode: TraktEpisode?
Link copied to clipboard
@SerialName(value = "id")
val id: Long
Link copied to clipboard
@SerialName(value = "movie")
val movie: TraktMovie?
Link copied to clipboard
@SerialName(value = "notes")
val notes: String
Link copied to clipboard
@SerialName(value = "person")
val person: TraktPerson?
Link copied to clipboard
@SerialName(value = "privacy")
val privacy: String
Link copied to clipboard
@SerialName(value = "season")
val season: TraktSeason?
Link copied to clipboard
@SerialName(value = "show")
val show: TraktShow?
Link copied to clipboard
@SerialName(value = "spoiler")
val spoiler: Boolean
Link copied to clipboard
@SerialName(value = "type")
val type: String?
Link copied to clipboard
@SerialName(value = "updated_at")
val updatedAt: Instant?