AddressValue Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. AddressValue
- com.
Implements
public final class AddressValue
implements JsonSerializable<AddressValue>
Address field value.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Address |
fromJson(JsonReader jsonReader)
Reads an instance of Address |
String |
getCity()
Get the city property: Name of city, town, village, etc. |
String |
getCityDistrict()
Get the city |
String |
getCountryRegion()
Get the country |
String |
getHouse()
Get the house property: Build name, such as World Trade Center. |
String |
getHouseNumber()
Get the house |
String |
getLevel()
Get the level property: Floor number, such as 3F. |
String |
getPoBox()
Get the po |
String |
getPostalCode()
Get the postal |
String |
getRoad()
Get the road property: Street name. |
String |
getState()
Get the state property: First-level administrative division. |
String |
getStateDistrict()
Get the state |
String |
getStreetAddress()
Get the street |
String |
getSuburb()
Get the suburb property: Unofficial neighborhood name, like Chinatown. |
String |
getUnit()
Get the unit property: Apartment or office number. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AddressValue fromJson(JsonReader jsonReader)
Reads an instance of AddressValue from the JsonReader.
Parameters:
Returns:
Throws:
getCity
public String getCity()
Get the city property: Name of city, town, village, etc.
Returns:
getCityDistrict
public String getCityDistrict()
Get the cityDistrict property: Districts or boroughs within a city, such as Brooklyn in New York City or City of Westminster in London.
Returns:
getCountryRegion
public String getCountryRegion()
Get the countryRegion property: Country/region.
Returns:
getHouse
public String getHouse()
Get the house property: Build name, such as World Trade Center.
Returns:
getHouseNumber
public String getHouseNumber()
Get the houseNumber property: House or building number.
Returns:
getLevel
public String getLevel()
Get the level property: Floor number, such as 3F.
Returns:
getPoBox
public String getPoBox()
Get the poBox property: Post office box number.
Returns:
getPostalCode
public String getPostalCode()
Get the postalCode property: Postal code used for mail sorting.
Returns:
getRoad
public String getRoad()
Get the road property: Street name.
Returns:
getState
public String getState()
Get the state property: First-level administrative division.
Returns:
getStateDistrict
public String getStateDistrict()
Get the stateDistrict property: Second-level administrative division used in certain locales.
Returns:
getStreetAddress
public String getStreetAddress()
Get the streetAddress property: Street-level address, excluding city, state, countryRegion, and postalCode.
Returns:
getSuburb
public String getSuburb()
Get the suburb property: Unofficial neighborhood name, like Chinatown.
Returns:
getUnit
public String getUnit()
Get the unit property: Apartment or office number.
Returns:
toJson
Applies to
Azure SDK for Java