commonMain.org.jellyfin.sdk.model.api.PlayQueueUpdate.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.Int
import kotlin.Long
import kotlin.collections.List
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 PlayQueueUpdate.
*/
@Serializable
public data class PlayQueueUpdate(
/**
* The request type that originated this update.
*/
@SerialName("Reason")
public val reason: PlayQueueUpdateReason,
/**
* The UTC time of the last change to the playing queue.
*/
@SerialName("LastUpdate")
public val lastUpdate: DateTime,
/**
* The playlist.
*/
@SerialName("Playlist")
public val playlist: List,
/**
* The playing item index in the playlist.
*/
@SerialName("PlayingItemIndex")
public val playingItemIndex: Int,
/**
* The start position ticks.
*/
@SerialName("StartPositionTicks")
public val startPositionTicks: Long,
/**
* A value indicating whether the current item is playing.
*/
@SerialName("IsPlaying")
public val isPlaying: Boolean,
/**
* The shuffle mode.
*/
@SerialName("ShuffleMode")
public val shuffleMode: GroupShuffleMode,
/**
* The repeat mode.
*/
@SerialName("RepeatMode")
public val repeatMode: GroupRepeatMode,
)