aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/SyncPlayDtos/BufferRequestDto.cs
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2023-02-04 10:21:49 -0700
committerGitHub <noreply@github.com>2023-02-04 10:21:49 -0700
commitd1af317d98a6190711af406af17b569844aebbd7 (patch)
tree3422bb577d2821a9798465439e983932690aa2e3 /Jellyfin.Api/Models/SyncPlayDtos/BufferRequestDto.cs
parente0519189b25bc4605889e46d9583fea9aef41732 (diff)
parentdfea1229e12764a77f5d392194b1848f80b87042 (diff)
Merge pull request #9215 from Shadowghost/api-scoped-namespace
Diffstat (limited to 'Jellyfin.Api/Models/SyncPlayDtos/BufferRequestDto.cs')
-rw-r--r--Jellyfin.Api/Models/SyncPlayDtos/BufferRequestDto.cs61
1 files changed, 30 insertions, 31 deletions
diff --git a/Jellyfin.Api/Models/SyncPlayDtos/BufferRequestDto.cs b/Jellyfin.Api/Models/SyncPlayDtos/BufferRequestDto.cs
index 479c44084..e7613911e 100644
--- a/Jellyfin.Api/Models/SyncPlayDtos/BufferRequestDto.cs
+++ b/Jellyfin.Api/Models/SyncPlayDtos/BufferRequestDto.cs
@@ -1,42 +1,41 @@
using System;
-namespace Jellyfin.Api.Models.SyncPlayDtos
+namespace Jellyfin.Api.Models.SyncPlayDtos;
+
+/// <summary>
+/// Class BufferRequestDto.
+/// </summary>
+public class BufferRequestDto
{
/// <summary>
- /// Class BufferRequestDto.
+ /// Initializes a new instance of the <see cref="BufferRequestDto"/> class.
/// </summary>
- public class BufferRequestDto
+ public BufferRequestDto()
{
- /// <summary>
- /// Initializes a new instance of the <see cref="BufferRequestDto"/> class.
- /// </summary>
- public BufferRequestDto()
- {
- PlaylistItemId = Guid.Empty;
- }
+ PlaylistItemId = Guid.Empty;
+ }
- /// <summary>
- /// Gets or sets when the request has been made by the client.
- /// </summary>
- /// <value>The date of the request.</value>
- public DateTime When { get; set; }
+ /// <summary>
+ /// Gets or sets when the request has been made by the client.
+ /// </summary>
+ /// <value>The date of the request.</value>
+ public DateTime When { get; set; }
- /// <summary>
- /// Gets or sets the position ticks.
- /// </summary>
- /// <value>The position ticks.</value>
- public long PositionTicks { get; set; }
+ /// <summary>
+ /// Gets or sets the position ticks.
+ /// </summary>
+ /// <value>The position ticks.</value>
+ public long PositionTicks { get; set; }
- /// <summary>
- /// Gets or sets a value indicating whether the client playback is unpaused.
- /// </summary>
- /// <value>The client playback status.</value>
- public bool IsPlaying { get; set; }
+ /// <summary>
+ /// Gets or sets a value indicating whether the client playback is unpaused.
+ /// </summary>
+ /// <value>The client playback status.</value>
+ public bool IsPlaying { get; set; }
- /// <summary>
- /// Gets or sets the playlist item identifier of the playing item.
- /// </summary>
- /// <value>The playlist item identifier.</value>
- public Guid PlaylistItemId { get; set; }
- }
+ /// <summary>
+ /// Gets or sets the playlist item identifier of the playing item.
+ /// </summary>
+ /// <value>The playlist item identifier.</value>
+ public Guid PlaylistItemId { get; set; }
}