Code
·
120 lines
·
2677 bytes
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120//
// (c) 2022,2023 Alphons van der Heijden
// alphons@heijden.com
//
// https://opendata.tweedekamer.nl/documentatie/
//
#nullable disable
namespace nl.tweedekamer.opendata.DataModel;
using System.Xml;
using System.Xml.Serialization;
using System.ComponentModel;
/// <remarks/>
[Serializable()]
[DesignerCategory("code")]
[XmlType(AnonymousType = true, Namespace = "http://www.w3.org/2005/Atom")]
[XmlRoot("feed", Namespace = "http://www.w3.org/2005/Atom", IsNullable = false)]
public partial class Feed
{
[XmlElement("id")]
public string Id { get; set; }
[XmlElement("title")]
public string Title { get; set; }
[XmlElement("author")]
public FeedAuthor Author { get; set; }
[XmlElement("updated")]
public DateTime Updated { get; set; }
[XmlElement("link")]
public FeedLink[] Links { get; set; }
[XmlElement("rights")]
public string Rights { get; set; }
[XmlElement("entry")]
public FeedEntry[] Entries { get; set; }
}
/// <remarks/>
[Serializable()]
[DesignerCategory("code")]
[XmlType(AnonymousType = true, Namespace = "http://www.w3.org/2005/Atom")]
public partial class FeedLink
{
[XmlAttribute("rel")]
public string Rel { get; set; }
[XmlAttribute("href")]
public string Href { get; set; }
}
/// <remarks/>
[Serializable()]
[DesignerCategory("code")]
[XmlType(AnonymousType = true, Namespace = "http://www.w3.org/2005/Atom")]
public partial class FeedAuthor
{
[XmlElement("name")]
public string Name { get; set; }
[XmlElement("uri")]
public string Uri { get; set; }
[XmlElement("email")]
public string Email { get; set; }
}
/// <remarks/>
[Serializable()]
[DesignerCategory("code")]
[XmlType(AnonymousType = true, Namespace = "http://www.w3.org/2005/Atom")]
public partial class FeedEntry
{
[XmlElement("id")]
public string Id { get; set; }
[XmlElement("title")]
public string Title { get; set; }
[XmlElement("author")]
public FeedEntryAuthor Author { get; set; }
[XmlElement("updated")]
public DateTime Updated { get; set; }
[XmlElement("link")]
public FeedLink Link { get; set; }
[XmlElement("category")]
public FeedEntryCategory Category { get; set; }
[XmlAnyElement("content")]
public XmlElement Content { get; set; }
}
/// <remarks/>
[Serializable()]
[DesignerCategory("code")]
[XmlType(AnonymousType = true, Namespace = "http://www.w3.org/2005/Atom")]
public partial class FeedEntryAuthor
{
[XmlElement("name")]
public string Name { get; set; }
}
/// <remarks/>
[Serializable()]
[DesignerCategory("code")]
[XmlType(AnonymousType = true, Namespace = "http://www.w3.org/2005/Atom")]
public partial class FeedEntryCategory
{
[XmlAttribute(AttributeName ="term")]
public string Term { get; set; }
}