aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs
diff options
context:
space:
mode:
authorShadowghost <Ghost_of_Stone@web.de>2023-01-31 12:18:10 +0100
committerShadowghost <Ghost_of_Stone@web.de>2023-02-02 18:50:33 +0100
commitf5f890e68562e55d4bed16c454c4b4305152b296 (patch)
treeb52e3b45ceb2faa446153866600b4456fed44c8b /Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs
parent58b3945805db4f88bc069ee84013bdf85d7429b1 (diff)
Migrate to file-scoped namespaces
Diffstat (limited to 'Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs')
-rw-r--r--Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs33
1 files changed, 16 insertions, 17 deletions
diff --git a/Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs b/Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs
index 418c11c2d..c54205bfa 100644
--- a/Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs
+++ b/Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs
@@ -1,23 +1,22 @@
-namespace Jellyfin.Api.Models.EnvironmentDtos
+namespace Jellyfin.Api.Models.EnvironmentDtos;
+
+/// <summary>
+/// Validate path object.
+/// </summary>
+public class ValidatePathDto
{
/// <summary>
- /// Validate path object.
+ /// Gets or sets a value indicating whether validate if path is writable.
/// </summary>
- public class ValidatePathDto
- {
- /// <summary>
- /// Gets or sets a value indicating whether validate if path is writable.
- /// </summary>
- public bool ValidateWritable { get; set; }
+ public bool ValidateWritable { get; set; }
- /// <summary>
- /// Gets or sets the path.
- /// </summary>
- public string? Path { get; set; }
+ /// <summary>
+ /// Gets or sets the path.
+ /// </summary>
+ public string? Path { get; set; }
- /// <summary>
- /// Gets or sets is path file.
- /// </summary>
- public bool? IsFile { get; set; }
- }
+ /// <summary>
+ /// Gets or sets is path file.
+ /// </summary>
+ public bool? IsFile { get; set; }
}