All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.org.jellyfin.sdk.model.api.UpdateUserItemDataDto.kt Maven / Gradle / Ivy

There is a newer version: 1.5.5
Show newest version
// !!        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

/**
 * This is used by the api to get information about a item user data.
 */
@Serializable
public data class UpdateUserItemDataDto(
	/**
	 * 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? = null,
	/**
	 * The play count.
	 */
	@SerialName("PlayCount")
	public val playCount: Int? = null,
	/**
	 * A value indicating whether this instance is favorite.
	 */
	@SerialName("IsFavorite")
	public val isFavorite: Boolean? = null,
	/**
	 * A value indicating whether this MediaBrowser.Model.Dto.UpdateUserItemDataDto 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? = null,
	/**
	 * The key.
	 */
	@SerialName("Key")
	public val key: String? = null,
	/**
	 * The item identifier.
	 */
	@SerialName("ItemId")
	public val itemId: String? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy