using MediaBrowser.Model.Plugins; namespace Jellyfin.Plugin.Webdav.Configuration { /// /// Configuration options for the WebDAV plugin. /// public class PluginConfiguration : BasePluginConfiguration { /// /// Initializes a new instance of the class. /// public PluginConfiguration() { BaseUrl = ""; Username = ""; Password = ""; RootPath = "/"; CacheDirectory = ""; CacheSizeMb = 100; } /// /// The base URL of the WebDAV endpoint. /// public string BaseUrl { get; set; } /// /// Username for authentication. /// public string Username { get; set; } /// /// Password for authentication. /// public string Password { get; set; } /// /// Root path within the WebDAV share. /// public string RootPath { get; set; } /// /// Local directory to use for cache files. /// public string CacheDirectory { get; set; } /// /// Maximum size of cache in megabytes. /// public int CacheSizeMb { get; set; } } }