commonMain.org.jellyfin.sdk.model.api.UserItemDataDto.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jellyfin-model-jvm Show documentation
Show all versions of jellyfin-model-jvm Show documentation
Official Kotlin/Java SDK for Jellyfin. org.jellyfin.sdk:jellyfin-model-jvm
// !! WARNING
// !! DO NOT EDIT THIS FILE
//
// This file is generated by the openapi-generator module and is not meant for manual changes.
// Please read the README.md file in the openapi-generator module for additional information.
@file:UseSerializers(DateTimeSerializer::class)
package org.jellyfin.sdk.model.api
import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.Long
import kotlin.String
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.UseSerializers
import org.jellyfin.sdk.model.DateTime
import org.jellyfin.sdk.model.serializer.DateTimeSerializer
/**
* Class UserItemDataDto.
*/
@Serializable
public data class UserItemDataDto(
/**
* The rating.
*/
@SerialName("Rating")
public val rating: Double? = null,
/**
* The played percentage.
*/
@SerialName("PlayedPercentage")
public val playedPercentage: Double? = null,
/**
* The unplayed item count.
*/
@SerialName("UnplayedItemCount")
public val unplayedItemCount: Int? = null,
/**
* The playback position ticks.
*/
@SerialName("PlaybackPositionTicks")
public val playbackPositionTicks: Long,
/**
* The play count.
*/
@SerialName("PlayCount")
public val playCount: Int,
/**
* A value indicating whether this instance is favorite.
*/
@SerialName("IsFavorite")
public val isFavorite: Boolean,
/**
* A value indicating whether this MediaBrowser.Model.Dto.UserItemDataDto is likes.
*/
@SerialName("Likes")
public val likes: Boolean? = null,
/**
* The last played date.
*/
@SerialName("LastPlayedDate")
public val lastPlayedDate: DateTime? = null,
/**
* A value indicating whether this MediaBrowser.Model.Dto.UserItemDataDto is played.
*/
@SerialName("Played")
public val played: Boolean,
/**
* The key.
*/
@SerialName("Key")
public val key: String? = null,
/**
* The item identifier.
*/
@SerialName("ItemId")
public val itemId: String? = null,
)