StartupRemoteAccessDto.cs 619 B

12345678910111213141516171819202122
  1. using System.ComponentModel.DataAnnotations;
  2. namespace Jellyfin.Api.Models.StartupDtos
  3. {
  4. /// <summary>
  5. /// Startup remote access dto.
  6. /// </summary>
  7. public class StartupRemoteAccessDto
  8. {
  9. /// <summary>
  10. /// Gets or sets a value indicating whether enable remote access.
  11. /// </summary>
  12. [Required]
  13. public bool EnableRemoteAccess { get; set; }
  14. /// <summary>
  15. /// Gets or sets a value indicating whether enable automatic port mapping.
  16. /// </summary>
  17. [Required]
  18. public bool EnableAutomaticPortMapping { get; set; }
  19. }
  20. }