namespace Jellyfin.Plugin.Herald.Notices; /// /// The editable part of a notice, as sent by the admin UI. /// public class NoticeDraft { /// /// Gets or sets the title. /// public string? Title { get; set; } /// /// Gets or sets the body. /// public string? Body { get; set; } /// /// Gets or sets a value indicating whether users have to accept the notice. /// public bool RequireAccept { get; set; } /// /// Gets or sets the number of seconds the notice has to be on screen before it can be accepted. /// public int AcceptDelaySeconds { get; set; } /// /// Gets or sets a value indicating whether the notice is shown. /// public bool Enabled { get; set; } = true; /// /// Gets or sets the addressed users. Defaults to all users. /// public NoticeTarget? Target { get; set; } }