using System; using System.ComponentModel; using Jellyfin.Database.Implementations.Enums; namespace MediaBrowser.Model.MediaSegments; /// /// Api model for MediaSegment's. /// public class MediaSegmentDto { /// /// Gets or sets the id of the media segment. /// public Guid Id { get; set; } /// /// Gets or sets the id of the associated item. /// public Guid ItemId { get; set; } /// /// Gets or sets the type of content this segment defines. /// [DefaultValue(MediaSegmentType.Unknown)] public MediaSegmentType Type { get; set; } /// /// Gets or sets the start of the segment. /// public long StartTicks { get; set; } /// /// Gets or sets the end of the segment. /// public long EndTicks { get; set; } }