jellyfin-server/Jellyfin.Api/Models/StartupDtos/StartupRemoteAccessDto.cs

22 lines
553 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
2023-01-31 11:18:10 +00:00
namespace Jellyfin.Api.Models.StartupDtos;
/// <summary>
/// Startup remote access dto.
/// </summary>
public class StartupRemoteAccessDto
{
/// <summary>
2023-01-31 11:18:10 +00:00
/// Gets or sets a value indicating whether enable remote access.
/// </summary>
2023-01-31 11:18:10 +00:00
[Required]
public bool EnableRemoteAccess { get; set; }
2023-01-31 11:18:10 +00:00
/// <summary>
/// Gets or sets a value indicating whether enable automatic port mapping.
/// </summary>
[Required]
public bool EnableAutomaticPortMapping { get; set; }
}