diff options
| author | crobibero <cody@robibe.ro> | 2020-04-24 18:20:36 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-04-24 18:20:36 -0600 |
| commit | 714aaefbcc3abf0b952efc831001cf42e1c873b0 (patch) | |
| tree | e27e4c2a6c662ba22caf43514707f938604e89b4 /Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs | |
| parent | a2f19eadf739297cbbc99c9082b0175e8b881054 (diff) | |
Transfer EnvironmentService to Jellyfin.Api
Diffstat (limited to 'Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs')
| -rw-r--r-- | Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs b/Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs new file mode 100644 index 000000000..60c82e166 --- /dev/null +++ b/Jellyfin.Api/Models/EnvironmentDtos/ValidatePathDto.cs @@ -0,0 +1,23 @@ +namespace Jellyfin.Api.Models.EnvironmentDtos +{ + /// <summary> + /// Validate path object. + /// </summary> + public class ValidatePathDto + { + /// <summary> + /// Gets or sets a value indicating whether validate if path is writable. + /// </summary> + public bool ValidateWritable { 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; } + } +} |
