StartupRemoteAccessDto.cs 602 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.ComponentModel.DataAnnotations;
  3. namespace Jellyfin.Api.Models.StartupDtos;
  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. [Obsolete("No longer supported")]
  19. public bool EnableAutomaticPortMapping { get; set; }
  20. }