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

commonMain.org.jellyfin.sdk.model.api.SessionInfo.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(
	UUIDSerializer::class,
	DateTimeSerializer::class,
)

package org.jellyfin.sdk.model.api

import kotlin.Boolean
import kotlin.String
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.UUID
import org.jellyfin.sdk.model.serializer.DateTimeSerializer
import org.jellyfin.sdk.model.serializer.UUIDSerializer

/**
 * Class SessionInfo.
 */
@Serializable
public data class SessionInfo(
	@SerialName("PlayState")
	public val playState: PlayerStateInfo? = null,
	@SerialName("AdditionalUsers")
	public val additionalUsers: List? = null,
	@SerialName("Capabilities")
	public val capabilities: ClientCapabilities? = null,
	/**
	 * The remote end point.
	 */
	@SerialName("RemoteEndPoint")
	public val remoteEndPoint: String? = null,
	/**
	 * The playable media types.
	 */
	@SerialName("PlayableMediaTypes")
	public val playableMediaTypes: List? = null,
	/**
	 * The id.
	 */
	@SerialName("Id")
	public val id: String? = null,
	/**
	 * The user id.
	 */
	@SerialName("UserId")
	public val userId: UUID,
	/**
	 * The username.
	 */
	@SerialName("UserName")
	public val userName: String? = null,
	/**
	 * The type of the client.
	 */
	@SerialName("Client")
	public val client: String? = null,
	/**
	 * The last activity date.
	 */
	@SerialName("LastActivityDate")
	public val lastActivityDate: DateTime,
	/**
	 * The last playback check in.
	 */
	@SerialName("LastPlaybackCheckIn")
	public val lastPlaybackCheckIn: DateTime,
	/**
	 * The last paused date.
	 */
	@SerialName("LastPausedDate")
	public val lastPausedDate: DateTime? = null,
	/**
	 * The name of the device.
	 */
	@SerialName("DeviceName")
	public val deviceName: String? = null,
	/**
	 * The type of the device.
	 */
	@SerialName("DeviceType")
	public val deviceType: String? = null,
	/**
	 * The now playing item.
	 */
	@SerialName("NowPlayingItem")
	public val nowPlayingItem: BaseItemDto? = null,
	/**
	 * This is strictly used as a data transfer object from the api layer.
	 * This holds information about a BaseItem in a format that is convenient for the client.
	 */
	@SerialName("NowViewingItem")
	public val nowViewingItem: BaseItemDto? = null,
	/**
	 * The device id.
	 */
	@SerialName("DeviceId")
	public val deviceId: String? = null,
	/**
	 * The application version.
	 */
	@SerialName("ApplicationVersion")
	public val applicationVersion: String? = null,
	@SerialName("TranscodingInfo")
	public val transcodingInfo: TranscodingInfo? = null,
	/**
	 * A value indicating whether this instance is active.
	 */
	@SerialName("IsActive")
	public val isActive: Boolean,
	@SerialName("SupportsMediaControl")
	public val supportsMediaControl: Boolean,
	@SerialName("SupportsRemoteControl")
	public val supportsRemoteControl: Boolean,
	@SerialName("NowPlayingQueue")
	public val nowPlayingQueue: List? = null,
	@SerialName("NowPlayingQueueFullItems")
	public val nowPlayingQueueFullItems: List? = null,
	@SerialName("HasCustomDeviceName")
	public val hasCustomDeviceName: Boolean,
	@SerialName("PlaylistItemId")
	public val playlistItemId: String? = null,
	@SerialName("ServerId")
	public val serverId: String? = null,
	@SerialName("UserPrimaryImageTag")
	public val userPrimaryImageTag: String? = null,
	/**
	 * The supported commands.
	 */
	@SerialName("SupportedCommands")
	public val supportedCommands: List? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy