-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSessionInfo.cs
45 lines (40 loc) · 1.03 KB
/
SessionInfo.cs
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System;
using System.Xml.Serialization;
using Fritz.HomeAutomation.Models.Session;
namespace Fritz.HomeAutomation.Models
{
/// <summary>
/// Session info
/// </summary>
[Serializable]
[XmlType(AnonymousType = true)]
[XmlRoot(Namespace = "", IsNullable = false)]
public class SessionInfo
{
/// <summary>
/// Session Id
/// </summary>
[XmlElement("SID")]
public string SessionId { get; set; }
/// <summary>
/// Challenge
/// </summary>
[XmlElement("Challenge")]
public string Challenge { get; set; }
/// <summary>
/// Block time
/// </summary>
[XmlElement("BlockTime")]
public uint BlockTime { get; set; }
/// <summary>
/// Access rights
/// </summary>
[XmlElement("Rights")]
public Rights Rights { get; set; }
/// <summary>
/// Users
/// </summary>
[XmlElement("Users")]
public Users Users { get; set; }
}
}