commonMain.org.jellyfin.sdk.model.api.PlayRequest.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(UUIDSerializer::class)
package org.jellyfin.sdk.model.api
import kotlin.Int
import kotlin.Long
import kotlin.String
import kotlin.collections.List
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
import kotlinx.serialization.UseSerializers
import org.jellyfin.sdk.model.UUID
import org.jellyfin.sdk.model.serializer.UUIDSerializer
/**
* Class PlayRequest.
*/
@Serializable
public data class PlayRequest(
/**
* The item ids.
*/
@SerialName("ItemIds")
public val itemIds: List? = null,
/**
* The start position ticks that the first item should be played at.
*/
@SerialName("StartPositionTicks")
public val startPositionTicks: Long? = null,
/**
* The play command.
*/
@SerialName("PlayCommand")
public val playCommand: PlayCommand,
/**
* The controlling user identifier.
*/
@SerialName("ControllingUserId")
public val controllingUserId: UUID,
@SerialName("SubtitleStreamIndex")
public val subtitleStreamIndex: Int? = null,
@SerialName("AudioStreamIndex")
public val audioStreamIndex: Int? = null,
@SerialName("MediaSourceId")
public val mediaSourceId: String? = null,
@SerialName("StartIndex")
public val startIndex: Int? = null,
)