-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AddressValue.cs
80 lines (75 loc) · 3.93 KB
/
AddressValue.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
73
74
75
76
77
78
79
80
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.AI.FormRecognizer.DocumentAnalysis
{
/// <summary> Address field value. </summary>
public partial class AddressValue
{
/// <summary> Initializes a new instance of AddressValue. </summary>
internal AddressValue()
{
}
/// <summary> Initializes a new instance of AddressValue. </summary>
/// <param name="houseNumber"> House or building number. </param>
/// <param name="poBox"> Post office box number. </param>
/// <param name="road"> Street name. </param>
/// <param name="city"> Name of city, town, village, etc. </param>
/// <param name="state"> First-level administrative division. </param>
/// <param name="postalCode"> Postal code used for mail sorting. </param>
/// <param name="countryRegion"> Country/region. </param>
/// <param name="streetAddress"> Street-level address, excluding city, state, countryRegion, and postalCode. </param>
/// <param name="unit"> Apartment or office number. </param>
/// <param name="cityDistrict"> Districts or boroughs within a city, such as Brooklyn in New York City or City of Westminster in London. </param>
/// <param name="stateDistrict"> Second-level administrative division used in certain locales. </param>
/// <param name="suburb"> Unofficial neighborhood name, like Chinatown. </param>
/// <param name="house"> Build name, such as World Trade Center. </param>
/// <param name="level"> Floor number, such as 3F. </param>
internal AddressValue(string houseNumber, string poBox, string road, string city, string state, string postalCode, string countryRegion, string streetAddress, string unit, string cityDistrict, string stateDistrict, string suburb, string house, string level)
{
HouseNumber = houseNumber;
PoBox = poBox;
Road = road;
City = city;
State = state;
PostalCode = postalCode;
CountryRegion = countryRegion;
StreetAddress = streetAddress;
Unit = unit;
CityDistrict = cityDistrict;
StateDistrict = stateDistrict;
Suburb = suburb;
House = house;
Level = level;
}
/// <summary> House or building number. </summary>
public string HouseNumber { get; }
/// <summary> Post office box number. </summary>
public string PoBox { get; }
/// <summary> Street name. </summary>
public string Road { get; }
/// <summary> Name of city, town, village, etc. </summary>
public string City { get; }
/// <summary> First-level administrative division. </summary>
public string State { get; }
/// <summary> Postal code used for mail sorting. </summary>
public string PostalCode { get; }
/// <summary> Country/region. </summary>
public string CountryRegion { get; }
/// <summary> Street-level address, excluding city, state, countryRegion, and postalCode. </summary>
public string StreetAddress { get; }
/// <summary> Apartment or office number. </summary>
public string Unit { get; }
/// <summary> Districts or boroughs within a city, such as Brooklyn in New York City or City of Westminster in London. </summary>
public string CityDistrict { get; }
/// <summary> Second-level administrative division used in certain locales. </summary>
public string StateDistrict { get; }
/// <summary> Unofficial neighborhood name, like Chinatown. </summary>
public string Suburb { get; }
/// <summary> Build name, such as World Trade Center. </summary>
public string House { get; }
/// <summary> Floor number, such as 3F. </summary>
public string Level { get; }
}
}