Files
pgsql-jellyfin/MediaBrowser.Model/MediaSegments/MediaSegmentDto.cs
wjones af1152b001 Refactor: standardize namespace and using directive style
Refactored all C# test files to use explicit namespace declarations and moved all using directives inside the namespace block for consistency. Updated assembly info and cache files to reflect the new build. Adjusted MvcTestingAppManifest.json to use fully qualified assembly names. No functional changes; all updates are related to code style, organization, and project metadata.
2026-02-20 16:26:53 -05:00

42 lines
1.1 KiB
C#

// <copyright file="MediaSegmentDto.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace MediaBrowser.Model.MediaSegments;
using global::System;
using global::System.ComponentModel;
using Jellyfin.Database.Implementations.Enums;
/// <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>
[DefaultValue(MediaSegmentType.Unknown)]
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; }
}