你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MicrosoftGraphPhysicalOfficeAddress Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphPhysicalOfficeAddress
- com.
Implements
public final class MicrosoftGraphPhysicalOfficeAddress
implements JsonSerializable<MicrosoftGraphPhysicalOfficeAddress>
physicalOfficeAddress.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphPhysicalOfficeAddress() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
String |
city()
Get the city property: The city. |
String |
countryOrRegion()
Get the country |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
String |
officeLocation()
Get the office |
String |
postalCode()
Get the postal |
String |
state()
Get the state property: The state. |
String |
street()
Get the street property: The street. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withCity(String city)
Set the city property: The city. |
Microsoft |
withCountryOrRegion(String countryOrRegion)
Set the country |
Microsoft |
withOfficeLocation(String officeLocation)
Set the office |
Microsoft |
withPostalCode(String postalCode)
Set the postal |
Microsoft |
withState(String state)
Set the state property: The state. |
Microsoft |
withStreet(String street)
Set the street property: The street. |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphPhysicalOfficeAddress
public MicrosoftGraphPhysicalOfficeAddress()
Creates an instance of MicrosoftGraphPhysicalOfficeAddress class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: physicalOfficeAddress.
Returns:
city
public String city()
Get the city property: The city.
Returns:
countryOrRegion
public String countryOrRegion()
Get the countryOrRegion property: The country or region. It's a free-format string value, for example, 'United States'.
Returns:
fromJson
public static MicrosoftGraphPhysicalOfficeAddress fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphPhysicalOfficeAddress from the JsonReader.
Parameters:
Returns:
Throws:
officeLocation
public String officeLocation()
Get the officeLocation property: Office location such as building and office number for an organizational contact.
Returns:
postalCode
public String postalCode()
Get the postalCode property: The postal code.
Returns:
state
public String state()
Get the state property: The state.
Returns:
street
public String street()
Get the street property: The street.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphPhysicalOfficeAddress withAdditionalProperties(Map
Set the additionalProperties property: physicalOfficeAddress.
Parameters:
Returns:
withCity
public MicrosoftGraphPhysicalOfficeAddress withCity(String city)
Set the city property: The city.
Parameters:
Returns:
withCountryOrRegion
public MicrosoftGraphPhysicalOfficeAddress withCountryOrRegion(String countryOrRegion)
Set the countryOrRegion property: The country or region. It's a free-format string value, for example, 'United States'.
Parameters:
Returns:
withOfficeLocation
public MicrosoftGraphPhysicalOfficeAddress withOfficeLocation(String officeLocation)
Set the officeLocation property: Office location such as building and office number for an organizational contact.
Parameters:
Returns:
withPostalCode
public MicrosoftGraphPhysicalOfficeAddress withPostalCode(String postalCode)
Set the postalCode property: The postal code.
Parameters:
Returns:
withState
public MicrosoftGraphPhysicalOfficeAddress withState(String state)
Set the state property: The state.
Parameters:
Returns:
withStreet
public MicrosoftGraphPhysicalOfficeAddress withStreet(String street)
Set the street property: The street.
Parameters:
Returns: