#pragma warning disable CA1819 // Properties should not return arrays #pragma warning disable CS1591 using System; namespace MediaBrowser.Model.Notifications { public class NotificationOption { public NotificationOption(string type) { Type = type; DisabledServices = Array.Empty(); DisabledMonitorUsers = Array.Empty(); SendToUsers = Array.Empty(); } public NotificationOption() { DisabledServices = Array.Empty(); DisabledMonitorUsers = Array.Empty(); SendToUsers = Array.Empty(); } public string? Type { get; set; } /// /// Gets or sets user Ids to not monitor (it's opt out). /// public string[] DisabledMonitorUsers { get; set; } /// /// Gets or sets user Ids to send to (if SendToUserMode == Custom). /// public string[] SendToUsers { get; set; } /// /// Gets or sets a value indicating whether this is enabled. /// /// true if enabled; otherwise, false. public bool Enabled { get; set; } /// /// Gets or sets the disabled services. /// /// The disabled services. public string[] DisabledServices { get; set; } /// /// Gets or sets the send to user mode. /// /// The send to user mode. public SendToUserType SendToUserMode { get; set; } } }