mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
23 lines
619 B
C#
23 lines
619 B
C#
|
|
using System.ComponentModel.DataAnnotations;
|
|||
|
|
|
|||
|
|
namespace Jellyfin.Api.Models.StartupDtos
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Startup remote access dto.
|
|||
|
|
/// </summary>
|
|||
|
|
public class StartupRemoteAccessDto
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Gets or sets a value indicating whether enable remote access.
|
|||
|
|
/// </summary>
|
|||
|
|
[Required]
|
|||
|
|
public bool EnableRemoteAccess { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// Gets or sets a value indicating whether enable automatic port mapping.
|
|||
|
|
/// </summary>
|
|||
|
|
[Required]
|
|||
|
|
public bool EnableAutomaticPortMapping { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|