aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/StartupDtos
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Api/Models/StartupDtos')
-rw-r--r--Jellyfin.Api/Models/StartupDtos/StartupConfigurationDto.cs33
-rw-r--r--Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs29
-rw-r--r--Jellyfin.Api/Models/StartupDtos/StartupUserDto.cs25
3 files changed, 42 insertions, 45 deletions
diff --git a/Jellyfin.Api/Models/StartupDtos/StartupConfigurationDto.cs b/Jellyfin.Api/Models/StartupDtos/StartupConfigurationDto.cs
index a5f012245..402707819 100644
--- a/Jellyfin.Api/Models/StartupDtos/StartupConfigurationDto.cs
+++ b/Jellyfin.Api/Models/StartupDtos/StartupConfigurationDto.cs
@@ -1,23 +1,22 @@
-namespace Jellyfin.Api.Models.StartupDtos
+namespace Jellyfin.Api.Models.StartupDtos;
+
+/// <summary>
+/// The startup configuration DTO.
+/// </summary>
+public class StartupConfigurationDto
{
/// <summary>
- /// The startup configuration DTO.
+ /// Gets or sets UI language culture.
/// </summary>
- public class StartupConfigurationDto
- {
- /// <summary>
- /// Gets or sets UI language culture.
- /// </summary>
- public string? UICulture { get; set; }
+ public string? UICulture { get; set; }
- /// <summary>
- /// Gets or sets the metadata country code.
- /// </summary>
- public string? MetadataCountryCode { get; set; }
+ /// <summary>
+ /// Gets or sets the metadata country code.
+ /// </summary>
+ public string? MetadataCountryCode { get; set; }
- /// <summary>
- /// Gets or sets the preferred language for the metadata.
- /// </summary>
- public string? PreferredMetadataLanguage { get; set; }
- }
+ /// <summary>
+ /// Gets or sets the preferred language for the metadata.
+ /// </summary>
+ public string? PreferredMetadataLanguage { get; set; }
}
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; }
}
diff --git a/Jellyfin.Api/Models/StartupDtos/StartupUserDto.cs b/Jellyfin.Api/Models/StartupDtos/StartupUserDto.cs
index e4c973548..f473bbcef 100644
--- a/Jellyfin.Api/Models/StartupDtos/StartupUserDto.cs
+++ b/Jellyfin.Api/Models/StartupDtos/StartupUserDto.cs
@@ -1,18 +1,17 @@
-namespace Jellyfin.Api.Models.StartupDtos
+namespace Jellyfin.Api.Models.StartupDtos;
+
+/// <summary>
+/// The startup user DTO.
+/// </summary>
+public class StartupUserDto
{
/// <summary>
- /// The startup user DTO.
+ /// Gets or sets the username.
/// </summary>
- public class StartupUserDto
- {
- /// <summary>
- /// Gets or sets the username.
- /// </summary>
- public string? Name { get; set; }
+ public string? Name { get; set; }
- /// <summary>
- /// Gets or sets the user's password.
- /// </summary>
- public string? Password { get; set; }
- }
+ /// <summary>
+ /// Gets or sets the user's password.
+ /// </summary>
+ public string? Password { get; set; }
}