-
Notifications
You must be signed in to change notification settings - Fork 0
/
DvrUpcomingEntry.cs
48 lines (33 loc) · 1.1 KB
/
DvrUpcomingEntry.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
46
47
48
using System.Collections.Generic;
using System.Text.Json.Serialization;
namespace TvHeadendRestApiClientLibrary
{
public class DvrUpcomingEntry
{
[JsonPropertyName("uuid")]
public string Uuid { get; set; }
[JsonPropertyName("owner")]
public string Owner { get; set; }
[JsonPropertyName("channelname")]
public string Channelname { get; set; }
[JsonPropertyName("title")]
public DvrTitle Title { get; set; }
[JsonPropertyName("start")]
public long Start { get; set; }
[JsonPropertyName("stop")]
public long Stop { get; set; }
[JsonPropertyName("start_real")]
public long StartReal { get; set; }
[JsonPropertyName("stop_real")]
public long StopReal { get; set; }
[JsonPropertyName("pri")]
public int Priority { get; set; }
}
public class DvrUpcomingEntryList
{
[JsonPropertyName("total")]
public int Count { get; set; }
[JsonPropertyName("entries")]
public List<DvrUpcomingEntry> Entries { get; set; }
}
}