mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-03 05:34:16 -04:00
24 lines
602 B
C#
24 lines
602 B
C#
using System;
|
|
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]
|
|
[Obsolete("No longer supported")]
|
|
public bool EnableAutomaticPortMapping { get; set; }
|
|
}
|