aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Models
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-08-23 07:53:33 -0600
committercrobibero <cody@robibe.ro>2020-08-23 07:53:33 -0600
commitcb44f16068bb66db7e35e473530c0a85583c2511 (patch)
tree0f41bf313fded94e3da067faa84ddffee505613d /Jellyfin.Api/Models
parent4a64819277b98ac98ba0051c49fcf0cbfe16319c (diff)
parentf9bb79285b672e63054b4ab1b49b744606851c34 (diff)
Merge remote-tracking branch 'upstream/master' into output-formatters
Diffstat (limited to 'Jellyfin.Api/Models')
-rw-r--r--Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs b/Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs
new file mode 100644
index 000000000..4027ba41a
--- /dev/null
+++ b/Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs
@@ -0,0 +1,22 @@
+using System.ComponentModel.DataAnnotations;
+
+namespace Jellyfin.Api.Models.StartupDtos
+{
+ /// <summary>
+ /// Startup remote access dto.
+ /// </summary>
+ public class StartupRemoteAccessDto
+ {
+ /// <summary>
+ /// Gets or sets a value indicating whether enable remote access.
+ /// </summary>
+ [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; }
+ }
+}