mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-31 15:31:53 +01:00
36 lines
846 B
C#
36 lines
846 B
C#
using System;
|
|
using Jellyfin.Database.Implementations.Enums;
|
|
|
|
namespace MediaBrowser.Model.MediaSegments;
|
|
|
|
/// <summary>
|
|
/// Api model for MediaSegment's.
|
|
/// </summary>
|
|
public class MediaSegmentDto
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the id of the media segment.
|
|
/// </summary>
|
|
public Guid Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the id of the associated item.
|
|
/// </summary>
|
|
public Guid ItemId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the type of content this segment defines.
|
|
/// </summary>
|
|
public MediaSegmentType Type { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the start of the segment.
|
|
/// </summary>
|
|
public long StartTicks { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the end of the segment.
|
|
/// </summary>
|
|
public long EndTicks { get; set; }
|
|
}
|