MediaSegmentDto

@Serializable
data class MediaSegmentDto(val id: UUID, val itemId: UUID, val type: MediaSegmentType = MediaSegmentType.UNKNOWN, val startTicks: Long, val endTicks: Long)

Api model for MediaSegment's.

Constructors

Link copied to clipboard
constructor(id: UUID, itemId: UUID, type: MediaSegmentType = MediaSegmentType.UNKNOWN, startTicks: Long, endTicks: Long)

Properties

Link copied to clipboard
@SerialName(value = "EndTicks")
val endTicks: Long

The end of the segment.

Link copied to clipboard
@SerialName(value = "Id")
val id: UUID

The id of the media segment.

Link copied to clipboard
@SerialName(value = "ItemId")
val itemId: UUID

The id of the associated item.

Link copied to clipboard
@SerialName(value = "StartTicks")
val startTicks: Long

The start of the segment.

Link copied to clipboard
@SerialName(value = "Type")
val type: MediaSegmentType

The type of content this segment defines.