
commonMain.org.jellyfin.sdk.model.api.MediaSegmentDto.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.Long
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
/**
* Api model for MediaSegment's.
*/
@Serializable
public data class MediaSegmentDto(
/**
* The id of the media segment.
*/
@SerialName("Id")
public val id: UUID,
/**
* The id of the associated item.
*/
@SerialName("ItemId")
public val itemId: UUID,
/**
* The type of content this segment defines.
*/
@SerialName("Type")
public val type: MediaSegmentType,
/**
* The start of the segment.
*/
@SerialName("StartTicks")
public val startTicks: Long,
/**
* The end of the segment.
*/
@SerialName("EndTicks")
public val endTicks: Long,
)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy