Class ReverseRequest
- java.lang.Object
-
- global.maplink.geocode.schema.reverse.ReverseRequest
-
- All Implemented Interfaces:
GeocodeServiceRequest,GeocodeSplittableRequest,MapLinkServiceRequest<SuggestionsResult>,Validable
public class ReverseRequest extends Object implements GeocodeSplittableRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReverseRequest.Entrystatic classReverseRequest.ReverseRequestBuilder
-
Field Summary
Fields Modifier and Type Field Description static intENTRY_LIMITstatic StringPATH
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RequestasHttpRequest(Environment environment, JsonMapper mapper)static ReverseRequest.ReverseRequestBuilderbuilder()protected booleancanEqual(Object other)static ReverseRequest.Entryentry(double lat, double lon)static ReverseRequest.Entryentry(String id, double lat, double lon)static ReverseRequest.Entryentry(String id, double lat, double lon, int distance)static ReverseRequest.Entryentry(String id, BigDecimal lat, BigDecimal lon)static ReverseRequest.Entryentry(String id, BigDecimal lat, BigDecimal lon, int distance)static ReverseRequest.Entryentry(BigDecimal lat, BigDecimal lon)booleanequals(Object o)List<ReverseRequest.Entry>getEntries()inthashCode()static ReverseRequestof(List<ReverseRequest.Entry> entries)List<ReverseRequest>split()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface global.maplink.geocode.schema.GeocodeServiceRequest
getResponseParser
-
Methods inherited from interface global.maplink.MapLinkServiceRequest
validate
-
Methods inherited from interface global.maplink.validations.Validable
throwIfInvalid
-
-
-
-
Field Detail
-
PATH
public static final String PATH
- See Also:
- Constant Field Values
-
ENTRY_LIMIT
public static final int ENTRY_LIMIT
- See Also:
- Constant Field Values
-
-
Method Detail
-
split
public List<ReverseRequest> split()
- Specified by:
splitin interfaceGeocodeSplittableRequest
-
entry
public static ReverseRequest.Entry entry(double lat, double lon)
-
entry
public static ReverseRequest.Entry entry(String id, double lat, double lon)
-
entry
public static ReverseRequest.Entry entry(String id, double lat, double lon, int distance)
-
entry
public static ReverseRequest.Entry entry(BigDecimal lat, BigDecimal lon)
-
entry
public static ReverseRequest.Entry entry(String id, BigDecimal lat, BigDecimal lon)
-
entry
public static ReverseRequest.Entry entry(String id, BigDecimal lat, BigDecimal lon, int distance)
-
asHttpRequest
public Request asHttpRequest(Environment environment, JsonMapper mapper)
- Specified by:
asHttpRequestin interfaceMapLinkServiceRequest<SuggestionsResult>
-
builder
public static ReverseRequest.ReverseRequestBuilder builder()
-
getEntries
public List<ReverseRequest.Entry> getEntries()
-
canEqual
protected boolean canEqual(Object other)
-
of
public static ReverseRequest of(List<ReverseRequest.Entry> entries)
-
-