2020-08-20 13:53:53 +00:00
|
|
|
|
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
|
2020-08-20 13:53:53 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// Gets or sets a value indicating whether enable remote access.
|
2020-08-20 13:53:53 +00:00
|
|
|
|
/// </summary>
|
2023-01-31 11:18:10 +00:00
|
|
|
|
[Required]
|
|
|
|
|
public bool EnableRemoteAccess { get; set; }
|
2020-08-20 13:53:53 +00:00
|
|
|
|
|
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; }
|
2020-08-20 13:53:53 +00:00
|
|
|
|
}
|