blob: e041a9cccd6bbee5a4f21091d932d4070ba80c3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#nullable disable
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; }
}
}
|