UpdateUserItemDataDto

@Serializable
data class UpdateUserItemDataDto(val rating: Double? = null, val playedPercentage: Double? = null, val unplayedItemCount: Int? = null, val playbackPositionTicks: Long? = null, val playCount: Int? = null, val isFavorite: Boolean? = null, val likes: Boolean? = null, val lastPlayedDate: DateTime? = null, val played: Boolean? = null, val key: String? = null, val itemId: String? = null)

This is used by the api to get information about a item user data.

Constructors

Link copied to clipboard
constructor(rating: Double? = null, playedPercentage: Double? = null, unplayedItemCount: Int? = null, playbackPositionTicks: Long? = null, playCount: Int? = null, isFavorite: Boolean? = null, likes: Boolean? = null, lastPlayedDate: DateTime? = null, played: Boolean? = null, key: String? = null, itemId: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "IsFavorite")
val isFavorite: Boolean?

A value indicating whether this instance is favorite.

Link copied to clipboard
@SerialName(value = "ItemId")
val itemId: String?

The item identifier.

Link copied to clipboard
@SerialName(value = "Key")
val key: String?

The key.

Link copied to clipboard
@SerialName(value = "LastPlayedDate")
val lastPlayedDate: DateTime?

The last played date.

Link copied to clipboard
@SerialName(value = "Likes")
val likes: Boolean?

A value indicating whether this MediaBrowser.Model.Dto.UpdateUserItemDataDto is likes.

Link copied to clipboard
@SerialName(value = "PlaybackPositionTicks")
val playbackPositionTicks: Long?

The playback position ticks.

Link copied to clipboard
@SerialName(value = "PlayCount")
val playCount: Int?

The play count.

Link copied to clipboard
@SerialName(value = "Played")
val played: Boolean?

A value indicating whether this MediaBrowser.Model.Dto.UserItemDataDto is played.

Link copied to clipboard
@SerialName(value = "PlayedPercentage")
val playedPercentage: Double?

The played percentage.

Link copied to clipboard
@SerialName(value = "Rating")
val rating: Double?

The rating.

Link copied to clipboard
@SerialName(value = "UnplayedItemCount")
val unplayedItemCount: Int?

The unplayed item count.