-
Notifications
You must be signed in to change notification settings - Fork 14
/
RssFeed.cs
72 lines (65 loc) · 1.87 KB
/
RssFeed.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Newtonsoft.Json;
namespace QBittorrent.Client
{
/// <summary>
/// Represents an RSS Feed.
/// </summary>
/// <seealso cref="QBittorrent.Client.RssItem" />
[DebuggerDisplay("Feed {Name} : {Url}")]
public class RssFeed : RssItem
{
/// <summary>
/// Gets or sets the uid.
/// </summary>
/// <value>
/// The uid.
/// </value>
[JsonProperty("uid")]
public Guid Uid { get; set; }
/// <summary>
/// Gets or sets the feed URL.
/// </summary>
/// <value>
/// The feed URL.
/// </value>
[JsonProperty("url")]
public Uri Url { get; set; }
/// <summary>
/// Gets or sets the feed title.
/// </summary>
/// <value>
/// The title.
/// </value>
[JsonProperty("title")]
public string Title { get; set; }
/// <summary>
/// Gets or sets the last build date.
/// </summary>
/// <value>
/// The last build date.
/// </value>
[JsonProperty("lastBuildDate")]
public DateTimeOffset? LastBuildDate { get; set; }
/// <summary>
/// Gets or sets the value indicating whether the feed is loading.
/// </summary>
[JsonProperty("isLoading")]
public bool? IsLoading { get; set; }
/// <summary>
/// Gets or sets the value indicating whether the feed has an error.
/// </summary>
[JsonProperty("hasError")]
public bool? HasError { get; set; }
/// <summary>
/// Gets or sets the articles.
/// </summary>
/// <value>
/// The articles.
/// </value>
[JsonProperty("articles")]
public IList<RssArticle> Articles { get; set; }
}
}