MicrosoftGraphGeoCoordinates Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphGeoCoordinates
- com.
Implements
public final class MicrosoftGraphGeoCoordinates
implements JsonSerializable<MicrosoftGraphGeoCoordinates>
Represents a geo coordinates.
Constructor Summary
| Constructor | Description |
|---|---|
| MicrosoftGraphGeoCoordinates() |
Creates an instance of Microsoft |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
| Double |
altitude()
Get the altitude property: Optional. |
|
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
| Double |
latitude()
Get the latitude property: Optional. |
| Double |
longitude()
Get the longitude property: Optional. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Microsoft |
withAltitude(Double altitude)
Set the altitude property: Optional. |
|
Microsoft |
withLatitude(Double latitude)
Set the latitude property: Optional. |
|
Microsoft |
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<String,Object> additionalProperties()
Get the additionalProperties property: geoCoordinates.
Returns:
altitude
public Double altitude()
Get the altitude property: Optional. The altitude (height), in feet, above sea level for the item. Read-only.
Returns:
fromJson
public static MicrosoftGraphGeoCoordinates fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphGeoCoordinates from the JsonReader.
Parameters:
Returns:
Throws:
latitude
public Double latitude()
Get the latitude property: Optional. The latitude, in decimal, for the item. Read-only.
Returns:
longitude
public Double longitude()
Get the longitude property: Optional. The longitude, in decimal, for the item. Read-only.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphGeoCoordinates withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: geoCoordinates.
Parameters:
Returns:
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:
Returns:
withLatitude
public MicrosoftGraphGeoCoordinates withLatitude(Double latitude)
Set the latitude property: Optional. The latitude, in decimal, for the item. Read-only.
Parameters:
Returns:
withLongitude
public MicrosoftGraphGeoCoordinates withLongitude(Double longitude)
Set the longitude property: Optional. The longitude, in decimal, for the item. Read-only.
Parameters:
Returns: