aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs')
-rw-r--r--Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs29
1 files changed, 14 insertions, 15 deletions
diff --git a/Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs b/Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs
index 4027ba41a..0e7be24c4 100644
--- a/Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs
+++ b/Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs
@@ -1,22 +1,21 @@
using System.ComponentModel.DataAnnotations;
-namespace Jellyfin.Api.Models.StartupDtos
+namespace Jellyfin.Api.Models.StartupDtos;
+
+/// <summary>
+/// Startup remote access dto.
+/// </summary>
+public class StartupRemoteAccessDto
{
/// <summary>
- /// Startup remote access dto.
+ /// Gets or sets a value indicating whether enable remote access.
/// </summary>
- public class StartupRemoteAccessDto
- {
- /// <summary>
- /// Gets or sets a value indicating whether enable remote access.
- /// </summary>
- [Required]
- public bool EnableRemoteAccess { get; set; }
+ [Required]
+ public bool EnableRemoteAccess { get; set; }
- /// <summary>
- /// Gets or sets a value indicating whether enable automatic port mapping.
- /// </summary>
- [Required]
- public bool EnableAutomaticPortMapping { get; set; }
- }
+ /// <summary>
+ /// Gets or sets a value indicating whether enable automatic port mapping.
+ /// </summary>
+ [Required]
+ public bool EnableAutomaticPortMapping { get; set; }
}