using Common.Enums; namespace Common.Configuration.DTOs.DownloadClient; /// /// DTO for retrieving DownloadClient configuration (excludes sensitive data) /// public class DownloadClientConfigDto { /// /// Collection of download clients configured for the application /// public List Clients { get; set; } = new(); } /// /// DTO for individual client configuration (excludes sensitive data) /// public class ClientConfigDto { /// /// Whether this client is enabled /// public bool Enabled { get; set; } = true; /// /// Unique identifier for this client /// public Guid Id { get; set; } = Guid.NewGuid(); /// /// Friendly name for this client /// public string Name { get; set; } = string.Empty; /// /// Type of download client /// public DownloadClientType Type { get; set; } = DownloadClientType.None; /// /// Host address for the download client /// public string Host { get; set; } = string.Empty; /// /// Username for authentication (included without password) /// public string Username { get; set; } = string.Empty; /// /// The base URL path component, used by clients like Transmission and Deluge /// public string UrlBase { get; set; } = string.Empty; }