aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/ApiClient/ServerEventArgs.cs
blob: ad0defe68607279c5e7ad9d8b3a88cd7e6499f8f (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
29
30
31
using MediaBrowser.Model.Session;
using System;

namespace MediaBrowser.Model.ApiClient
{
    /// <summary>
    /// Class SystemCommandEventArgs
    /// </summary>
    public class GeneralCommandEventArgs : EventArgs
    {
        /// <summary>
        /// Gets or sets the command.
        /// </summary>
        /// <value>The command.</value>
        public GeneralCommand Command { get; set; }

        /// <summary>
        /// Gets or sets the type of the known command.
        /// </summary>
        /// <value>The type of the known command.</value>
        public GeneralCommandType? KnownCommandType { get; set; }
    }

    /// <summary>
    /// Class SessionUpdatesEventArgs
    /// </summary>
    public class SessionUpdatesEventArgs : EventArgs
    {
        public SessionInfoDto[] Sessions { get; set; }
    }
}