aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session/MessageCommand.cs
diff options
context:
space:
mode:
authormbastian77 <michael.bastian@visop.de>2026-07-15 16:03:56 +0200
committermbastian77 <michael.bastian@visop.de>2026-07-15 16:03:56 +0200
commit5cbafa566dab227214f60924332cb0e4bfa75b32 (patch)
tree6c57889b366c9b09698aaaf9995982ed69e6ec0e /MediaBrowser.Model/Session/MessageCommand.cs
parentb6882c86dccfdda94991f0ed978c6f0d0fe4c4ea (diff)
Add XML docs to small session model types and remove CS1591 suppressions
Diffstat (limited to 'MediaBrowser.Model/Session/MessageCommand.cs')
-rw-r--r--MediaBrowser.Model/Session/MessageCommand.cs13
1 files changed, 12 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Session/MessageCommand.cs b/MediaBrowser.Model/Session/MessageCommand.cs
index cc9db8e6c5..e041a9cccd 100644
--- a/MediaBrowser.Model/Session/MessageCommand.cs
+++ b/MediaBrowser.Model/Session/MessageCommand.cs
@@ -1,17 +1,28 @@
#nullable disable
-#pragma warning disable CS1591
using System.ComponentModel.DataAnnotations;
namespace MediaBrowser.Model.Session
{
+ /// <summary>
+ /// A command to display a message on a client.
+ /// </summary>
public class MessageCommand
{
+ /// <summary>
+ /// Gets or sets the message header.
+ /// </summary>
public string Header { get; set; }
+ /// <summary>
+ /// Gets or sets the message text.
+ /// </summary>
[Required(AllowEmptyStrings = false)]
public string Text { get; set; }
+ /// <summary>
+ /// Gets or sets the timeout in milliseconds after which the message should be dismissed.
+ /// </summary>
public long? TimeoutMs { get; set; }
}
}