public class JOpenCageReverseRequest extends JOpenCageRequest
| Constructor and Description |
|---|
JOpenCageReverseRequest(java.lang.Double latitude,
java.lang.Double longitude) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLanguage() |
java.util.Map<java.lang.String,java.lang.String> |
getParameter() |
boolean |
isNoAnnotations() |
boolean |
isPretty() |
void |
setLanguage(java.lang.String language)
An IETF format language code (such as es for Spanish or pt-BR for Brazilian Portuguese); if this is omitted a code of en (English) will be assumed
|
void |
setNoAnnotations(boolean noAnnotations) |
void |
setPretty(boolean pretty)
If set to true pretty printing of the response payload is enabled.
|
getSubkey, setSubkeypublic JOpenCageReverseRequest(java.lang.Double latitude,
java.lang.Double longitude)
public java.util.Map<java.lang.String,java.lang.String> getParameter()
getParameter in class JOpenCageRequestpublic java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
language - a language code.public boolean isPretty()
public void setPretty(boolean pretty)
pretty - pretty flag if true the response is pretty formattedpublic boolean isNoAnnotations()
public void setNoAnnotations(boolean noAnnotations)