-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathAddress.cs
More file actions
63 lines (62 loc) · 2.05 KB
/
Copy pathAddress.cs
File metadata and controls
63 lines (62 loc) · 2.05 KB
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
using Newtonsoft.Json;
using PostcodeAPI.Wrappers;
namespace PostcodeAPI.Model
{
public class Address
{
/// <summary>
/// Cadastral object number functioning as the identifier of the address.
/// Equals that of the Dutch governmental standard BAG.
/// </summary>
[JsonProperty("id")]
public string ID { get; set; }
[JsonProperty("street")]
public string Street { get; set; }
[JsonProperty("number")]
public int Number { get; set; }
[JsonProperty("letter")]
public string Letter { get; set; }
[JsonProperty("addition")]
public string Addition { get; set; }
/// <summary>
/// Post code in the P6 format
/// </summary>
[JsonProperty("postcode")]
public string Postcode { get; set; }
/// <summary>
/// Surface of the object in M²
/// </summary>
[JsonProperty("surface")]
public int? SurfaceArea { get; set; }
/// <summary>
/// Address following the NEN5825 standard
/// </summary>
[JsonProperty("nen5825")]
public SingleNEN5825 NEN5825 { get; set; }
[JsonProperty("city")]
public City City { get; set; }
[JsonProperty("municipality")]
public Municipality Municipality { get; set; }
[JsonProperty("province")]
public Province Province { get; set; }
[JsonProperty("geo")]
public Geo Geo { get; set; }
/// <summary>
/// Type of the building or object (in Dutch)
/// </summary>
[JsonProperty("type")]
public string Type { get; set; }
/// <summary>
/// The object's intended purpose (in Dutch)
/// </summary>
[JsonProperty("purpose")]
public string Purpose { get; set; }
/// <summary>
/// Year in which the building was built
/// </summary>
[JsonProperty("year")]
public int? Year { get; set; }
[JsonProperty("_links")]
public HalNavigator Links { get; set; }
}
}