你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphLocation Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphLocation

Implements

public final class MicrosoftGraphLocation
implements JsonSerializable<MicrosoftGraphLocation>

location.

Constructor Summary

Constructor Description
MicrosoftGraphLocation()

Creates an instance of MicrosoftGraphLocation class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: location.

MicrosoftGraphPhysicalAddress address()

Get the address property: physicalAddress.

MicrosoftGraphOutlookGeoCoordinates coordinates()

Get the coordinates property: outlookGeoCoordinates.

String displayName()

Get the displayName property: The name associated with the location.

static MicrosoftGraphLocation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphLocation from the JsonReader.

String locationEmailAddress()

Get the locationEmailAddress property: Optional email address of the location.

MicrosoftGraphLocationType locationType()

Get the locationType property: locationType.

String locationUri()

Get the locationUri property: Optional URI representing the location.

JsonWriter toJson(JsonWriter jsonWriter)
String uniqueId()

Get the uniqueId property: For internal use only.

MicrosoftGraphLocationUniqueIdType uniqueIdType()

Get the uniqueIdType property: locationUniqueIdType.

void validate()

Validates the instance.

MicrosoftGraphLocation withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: location.

MicrosoftGraphLocation withAddress(MicrosoftGraphPhysicalAddress address)

Set the address property: physicalAddress.

MicrosoftGraphLocation withCoordinates(MicrosoftGraphOutlookGeoCoordinates coordinates)

Set the coordinates property: outlookGeoCoordinates.

MicrosoftGraphLocation withDisplayName(String displayName)

Set the displayName property: The name associated with the location.

MicrosoftGraphLocation withLocationEmailAddress(String locationEmailAddress)

Set the locationEmailAddress property: Optional email address of the location.

MicrosoftGraphLocation withLocationType(MicrosoftGraphLocationType locationType)

Set the locationType property: locationType.

MicrosoftGraphLocation withLocationUri(String locationUri)

Set the locationUri property: Optional URI representing the location.

MicrosoftGraphLocation withUniqueId(String uniqueId)

Set the uniqueId property: For internal use only.

MicrosoftGraphLocation withUniqueIdType(MicrosoftGraphLocationUniqueIdType uniqueIdType)

Set the uniqueIdType property: locationUniqueIdType.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphLocation

public MicrosoftGraphLocation()

Creates an instance of MicrosoftGraphLocation class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: location.

Returns:

the additionalProperties value.

address

public MicrosoftGraphPhysicalAddress address()

Get the address property: physicalAddress.

Returns:

the address value.

coordinates

public MicrosoftGraphOutlookGeoCoordinates coordinates()

Get the coordinates property: outlookGeoCoordinates.

Returns:

the coordinates value.

displayName

public String displayName()

Get the displayName property: The name associated with the location.

Returns:

the displayName value.

fromJson

public static MicrosoftGraphLocation fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphLocation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphLocation if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphLocation.

locationEmailAddress

public String locationEmailAddress()

Get the locationEmailAddress property: Optional email address of the location.

Returns:

the locationEmailAddress value.

locationType

public MicrosoftGraphLocationType locationType()

Get the locationType property: locationType.

Returns:

the locationType value.

locationUri

public String locationUri()

Get the locationUri property: Optional URI representing the location.

Returns:

the locationUri value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uniqueId

public String uniqueId()

Get the uniqueId property: For internal use only.

Returns:

the uniqueId value.

uniqueIdType

public MicrosoftGraphLocationUniqueIdType uniqueIdType()

Get the uniqueIdType property: locationUniqueIdType.

Returns:

the uniqueIdType value.

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphLocation withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: location.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphLocation object itself.

withAddress

public MicrosoftGraphLocation withAddress(MicrosoftGraphPhysicalAddress address)

Set the address property: physicalAddress.

Parameters:

address - the address value to set.

Returns:

the MicrosoftGraphLocation object itself.

withCoordinates

public MicrosoftGraphLocation withCoordinates(MicrosoftGraphOutlookGeoCoordinates coordinates)

Set the coordinates property: outlookGeoCoordinates.

Parameters:

coordinates - the coordinates value to set.

Returns:

the MicrosoftGraphLocation object itself.

withDisplayName

public MicrosoftGraphLocation withDisplayName(String displayName)

Set the displayName property: The name associated with the location.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphLocation object itself.

withLocationEmailAddress

public MicrosoftGraphLocation withLocationEmailAddress(String locationEmailAddress)

Set the locationEmailAddress property: Optional email address of the location.

Parameters:

locationEmailAddress - the locationEmailAddress value to set.

Returns:

the MicrosoftGraphLocation object itself.

withLocationType

public MicrosoftGraphLocation withLocationType(MicrosoftGraphLocationType locationType)

Set the locationType property: locationType.

Parameters:

locationType - the locationType value to set.

Returns:

the MicrosoftGraphLocation object itself.

withLocationUri

public MicrosoftGraphLocation withLocationUri(String locationUri)

Set the locationUri property: Optional URI representing the location.

Parameters:

locationUri - the locationUri value to set.

Returns:

the MicrosoftGraphLocation object itself.

withUniqueId

public MicrosoftGraphLocation withUniqueId(String uniqueId)

Set the uniqueId property: For internal use only.

Parameters:

uniqueId - the uniqueId value to set.

Returns:

the MicrosoftGraphLocation object itself.

withUniqueIdType

public MicrosoftGraphLocation withUniqueIdType(MicrosoftGraphLocationUniqueIdType uniqueIdType)

Set the uniqueIdType property: locationUniqueIdType.

Parameters:

uniqueIdType - the uniqueIdType value to set.

Returns:

the MicrosoftGraphLocation object itself.

Applies to