You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
826 B
36 lines
826 B
using System;
|
|
using Jellyfin.Data.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; }
|
|
}
|