From f5f890e68562e55d4bed16c454c4b4305152b296 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Tue, 31 Jan 2023 12:18:10 +0100 Subject: Migrate to file-scoped namespaces --- .../Models/StreamingDtos/StreamingRequestDto.cs | 99 +++++++++++----------- 1 file changed, 49 insertions(+), 50 deletions(-) (limited to 'Jellyfin.Api/Models/StreamingDtos/StreamingRequestDto.cs') diff --git a/Jellyfin.Api/Models/StreamingDtos/StreamingRequestDto.cs b/Jellyfin.Api/Models/StreamingDtos/StreamingRequestDto.cs index f8b0212b67..389d6006d0 100644 --- a/Jellyfin.Api/Models/StreamingDtos/StreamingRequestDto.cs +++ b/Jellyfin.Api/Models/StreamingDtos/StreamingRequestDto.cs @@ -1,55 +1,54 @@ using MediaBrowser.Controller.MediaEncoding; -namespace Jellyfin.Api.Models.StreamingDtos +namespace Jellyfin.Api.Models.StreamingDtos; + +/// +/// The audio streaming request dto. +/// +public class StreamingRequestDto : BaseEncodingJobOptions { /// - /// The audio streaming request dto. - /// - public class StreamingRequestDto : BaseEncodingJobOptions - { - /// - /// Gets or sets the device profile. - /// - public string? DeviceProfileId { get; set; } - - /// - /// Gets or sets the params. - /// - public string? Params { get; set; } - - /// - /// Gets or sets the play session id. - /// - public string? PlaySessionId { get; set; } - - /// - /// Gets or sets the tag. - /// - public string? Tag { get; set; } - - /// - /// Gets or sets the segment container. - /// - public string? SegmentContainer { get; set; } - - /// - /// Gets or sets the segment length. - /// - public int? SegmentLength { get; set; } - - /// - /// Gets or sets the min segments. - /// - public int? MinSegments { get; set; } - - /// - /// Gets or sets the position of the requested segment in ticks. - /// - public long CurrentRuntimeTicks { get; set; } - - /// - /// Gets or sets the actual segment length in ticks. - /// - public long ActualSegmentLengthTicks { get; set; } - } + /// Gets or sets the device profile. + /// + public string? DeviceProfileId { get; set; } + + /// + /// Gets or sets the params. + /// + public string? Params { get; set; } + + /// + /// Gets or sets the play session id. + /// + public string? PlaySessionId { get; set; } + + /// + /// Gets or sets the tag. + /// + public string? Tag { get; set; } + + /// + /// Gets or sets the segment container. + /// + public string? SegmentContainer { get; set; } + + /// + /// Gets or sets the segment length. + /// + public int? SegmentLength { get; set; } + + /// + /// Gets or sets the min segments. + /// + public int? MinSegments { get; set; } + + /// + /// Gets or sets the position of the requested segment in ticks. + /// + public long CurrentRuntimeTicks { get; set; } + + /// + /// Gets or sets the actual segment length in ticks. + /// + public long ActualSegmentLengthTicks { get; set; } } -- cgit v1.2.3