MicrosoftGraphGeoCoordinates Class

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

Implements

public final class MicrosoftGraphGeoCoordinates
implements JsonSerializable<MicrosoftGraphGeoCoordinates>

geoCoordinates.

Constructor Summary

Constructor Description
MicrosoftGraphGeoCoordinates()

Creates an instance of MicrosoftGraphGeoCoordinates class.

Method Summary

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

Get the additionalProperties property: geoCoordinates.

Double altitude()

Get the altitude property: Optional.

static MicrosoftGraphGeoCoordinates fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphGeoCoordinates from the JsonReader.

Double latitude()

Get the latitude property: Optional.

Double longitude()

Get the longitude property: Optional.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphGeoCoordinates withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: geoCoordinates.

MicrosoftGraphGeoCoordinates withAltitude(Double altitude)

Set the altitude property: Optional.

MicrosoftGraphGeoCoordinates withLatitude(Double latitude)

Set the latitude property: Optional.

MicrosoftGraphGeoCoordinates withLongitude(Double longitude)

Set the longitude property: Optional.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphGeoCoordinates

public MicrosoftGraphGeoCoordinates()

Creates an instance of MicrosoftGraphGeoCoordinates class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: geoCoordinates.

Returns:

the additionalProperties value.

altitude

public Double altitude()

Get the altitude property: Optional. The altitude (height), in feet, above sea level for the item. Read-only.

Returns:

the altitude value.

fromJson

public static MicrosoftGraphGeoCoordinates fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphGeoCoordinates from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

latitude

public Double latitude()

Get the latitude property: Optional. The latitude, in decimal, for the item. Read-only.

Returns:

the latitude value.

longitude

public Double longitude()

Get the longitude property: Optional. The longitude, in decimal, for the item. Read-only.

Returns:

the longitude value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphGeoCoordinates withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: geoCoordinates.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphGeoCoordinates object itself.

withAltitude

public MicrosoftGraphGeoCoordinates withAltitude(Double altitude)

Set the altitude property: Optional. The altitude (height), in feet, above sea level for the item. Read-only.

Parameters:

altitude - the altitude value to set.

Returns:

the MicrosoftGraphGeoCoordinates object itself.

withLatitude

public MicrosoftGraphGeoCoordinates withLatitude(Double latitude)

Set the latitude property: Optional. The latitude, in decimal, for the item. Read-only.

Parameters:

latitude - the latitude value to set.

Returns:

the MicrosoftGraphGeoCoordinates object itself.

withLongitude

public MicrosoftGraphGeoCoordinates withLongitude(Double longitude)

Set the longitude property: Optional. The longitude, in decimal, for the item. Read-only.

Parameters:

longitude - the longitude value to set.

Returns:

the MicrosoftGraphGeoCoordinates object itself.

Applies to