Compartilhar via


MicrosoftGraphOutlookGeoCoordinates Class

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

Implements

public final class MicrosoftGraphOutlookGeoCoordinates
implements JsonSerializable<MicrosoftGraphOutlookGeoCoordinates>

outlookGeoCoordinates.

Constructor Summary

Constructor Description
MicrosoftGraphOutlookGeoCoordinates()

Creates an instance of MicrosoftGraphOutlookGeoCoordinates class.

Method Summary

Modifier and Type Method and Description
Double accuracy()

Get the accuracy property: The accuracy of the latitude and longitude.

Map<String,Object> additionalProperties()

Get the additionalProperties property: outlookGeoCoordinates.

Double altitude()

Get the altitude property: The altitude of the location.

Double altitudeAccuracy()

Get the altitudeAccuracy property: The accuracy of the altitude.

static MicrosoftGraphOutlookGeoCoordinates fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOutlookGeoCoordinates from the JsonReader.

Double latitude()

Get the latitude property: The latitude of the location.

Double longitude()

Get the longitude property: The longitude of the location.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphOutlookGeoCoordinates withAccuracy(Double accuracy)

Set the accuracy property: The accuracy of the latitude and longitude.

MicrosoftGraphOutlookGeoCoordinates withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: outlookGeoCoordinates.

MicrosoftGraphOutlookGeoCoordinates withAltitude(Double altitude)

Set the altitude property: The altitude of the location.

MicrosoftGraphOutlookGeoCoordinates withAltitudeAccuracy(Double altitudeAccuracy)

Set the altitudeAccuracy property: The accuracy of the altitude.

MicrosoftGraphOutlookGeoCoordinates withLatitude(Double latitude)

Set the latitude property: The latitude of the location.

MicrosoftGraphOutlookGeoCoordinates withLongitude(Double longitude)

Set the longitude property: The longitude of the location.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOutlookGeoCoordinates

public MicrosoftGraphOutlookGeoCoordinates()

Creates an instance of MicrosoftGraphOutlookGeoCoordinates class.

Method Details

accuracy

public Double accuracy()

Get the accuracy property: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters.

Returns:

the accuracy value.

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: outlookGeoCoordinates.

Returns:

the additionalProperties value.

altitude

public Double altitude()

Get the altitude property: The altitude of the location.

Returns:

the altitude value.

altitudeAccuracy

public Double altitudeAccuracy()

Get the altitudeAccuracy property: The accuracy of the altitude.

Returns:

the altitudeAccuracy value.

fromJson

public static MicrosoftGraphOutlookGeoCoordinates fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOutlookGeoCoordinates from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphOutlookGeoCoordinates 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 MicrosoftGraphOutlookGeoCoordinates.

latitude

public Double latitude()

Get the latitude property: The latitude of the location.

Returns:

the latitude value.

longitude

public Double longitude()

Get the longitude property: The longitude of the location.

Returns:

the longitude value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAccuracy

public MicrosoftGraphOutlookGeoCoordinates withAccuracy(Double accuracy)

Set the accuracy property: The accuracy of the latitude and longitude. As an example, the accuracy can be measured in meters, such as the latitude and longitude are accurate to within 50 meters.

Parameters:

accuracy - the accuracy value to set.

Returns:

the MicrosoftGraphOutlookGeoCoordinates object itself.

withAdditionalProperties

public MicrosoftGraphOutlookGeoCoordinates withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: outlookGeoCoordinates.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphOutlookGeoCoordinates object itself.

withAltitude

public MicrosoftGraphOutlookGeoCoordinates withAltitude(Double altitude)

Set the altitude property: The altitude of the location.

Parameters:

altitude - the altitude value to set.

Returns:

the MicrosoftGraphOutlookGeoCoordinates object itself.

withAltitudeAccuracy

public MicrosoftGraphOutlookGeoCoordinates withAltitudeAccuracy(Double altitudeAccuracy)

Set the altitudeAccuracy property: The accuracy of the altitude.

Parameters:

altitudeAccuracy - the altitudeAccuracy value to set.

Returns:

the MicrosoftGraphOutlookGeoCoordinates object itself.

withLatitude

public MicrosoftGraphOutlookGeoCoordinates withLatitude(Double latitude)

Set the latitude property: The latitude of the location.

Parameters:

latitude - the latitude value to set.

Returns:

the MicrosoftGraphOutlookGeoCoordinates object itself.

withLongitude

public MicrosoftGraphOutlookGeoCoordinates withLongitude(Double longitude)

Set the longitude property: The longitude of the location.

Parameters:

longitude - the longitude value to set.

Returns:

the MicrosoftGraphOutlookGeoCoordinates object itself.

Applies to