StartupRemoteAccessDto.cs 553 B

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