GeocodingResponse Class
- java.
lang. Object - com.
azure. maps. search. models. GeocodingResponse
- com.
Implements
public final class GeocodingResponse
implements JsonSerializable<GeocodingResponse>
This object is returned from a successful Geocoding call.
Constructor Summary
| Constructor | Description |
|---|---|
| GeocodingResponse() |
Creates an instance of Geocoding |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Geocoding |
fromJson(JsonReader jsonReader)
Reads an instance of Geocoding |
| List<com.azure.maps.search.implementation.models.FeaturesItem> |
getFeatures()
Get the features property: The features property. |
| String |
getNextLink()
Get the next |
|
Feature |
getType()
Get the type property: The type of a Feature |
|
Geocoding |
setFeatures(List<FeaturesItem> features)
Set the features property: The features property. |
|
Geocoding |
setNextLink(String nextLink)
Set the next |
|
Geocoding |
setType(FeatureCollectionEnum type)
Set the type property: The type of a Feature |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
GeocodingResponse
public GeocodingResponse()
Creates an instance of GeocodingResponse class.
Method Details
fromJson
public static GeocodingResponse fromJson(JsonReader jsonReader)
Reads an instance of GeocodingResponse from the JsonReader.
Parameters:
Returns:
Throws:
getFeatures
public List<FeaturesItem> getFeatures()
Get the features property: The features property.
Returns:
getNextLink
public String getNextLink()
Get the nextLink property: The is the link to the next page of the features returned. If it's the last page, no this field.
Returns:
getType
public FeatureCollectionEnum getType()
Get the type property: The type of a FeatureCollection object must be FeatureCollection.
Returns:
setFeatures
public GeocodingResponse setFeatures(List<FeaturesItem> features)
Set the features property: The features property.
Parameters:
Returns:
setNextLink
public GeocodingResponse setNextLink(String nextLink)
Set the nextLink property: The is the link to the next page of the features returned. If it's the last page, no this field.
Parameters:
Returns:
setType
public GeocodingResponse setType(FeatureCollectionEnum type)
Set the type property: The type of a FeatureCollection object must be FeatureCollection.
Parameters:
Returns: