aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data
diff options
context:
space:
mode:
authorPatrick Barron <barronpm@gmail.com>2021-07-13 19:30:11 -0400
committerPatrick Barron <barronpm@gmail.com>2021-07-13 19:30:11 -0400
commit60ce0c9fa9a3df50a8a7a08629bcedbe3724aee3 (patch)
tree2479e6066757e974ed806c5846e86eb13d973130 /Jellyfin.Data
parent06d682c29679d904bc1b21aa493bb9ed29bda265 (diff)
Add dto for device options
Diffstat (limited to 'Jellyfin.Data')
-rw-r--r--Jellyfin.Data/Dtos/DeviceOptionsDto.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Jellyfin.Data/Dtos/DeviceOptionsDto.cs b/Jellyfin.Data/Dtos/DeviceOptionsDto.cs
new file mode 100644
index 000000000..392ef5ff4
--- /dev/null
+++ b/Jellyfin.Data/Dtos/DeviceOptionsDto.cs
@@ -0,0 +1,23 @@
+namespace Jellyfin.Data.Dtos
+{
+ /// <summary>
+ /// A dto representing custom options for a device.
+ /// </summary>
+ public class DeviceOptionsDto
+ {
+ /// <summary>
+ /// Gets or sets the id.
+ /// </summary>
+ public int Id { get; set; }
+
+ /// <summary>
+ /// Gets or sets the device id.
+ /// </summary>
+ public string? DeviceId { get; set; }
+
+ /// <summary>
+ /// Gets or sets the custom name.
+ /// </summary>
+ public string? CustomName { get; set; }
+ }
+}