@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-10-24T11:26:28.777294+02:00[Europe/Berlin]")
public class GeoSearchDto
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GeoSearchDto.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashSet<java.lang.String> |
openapiFields |
static java.util.HashSet<java.lang.String> |
openapiRequiredFields |
static java.lang.String |
SERIALIZED_NAME_DISTANZ |
static java.lang.String |
SERIALIZED_NAME_LATITUDE |
static java.lang.String |
SERIALIZED_NAME_LONGITUDE |
| Constructor and Description |
|---|
GeoSearchDto() |
| Modifier and Type | Method and Description |
|---|---|
GeoSearchDto |
distanz(java.lang.Long distanz) |
boolean |
equals(java.lang.Object o) |
static GeoSearchDto |
fromJson(java.lang.String jsonString)
Create an instance of GeoSearchDto given an JSON string
|
java.lang.Long |
getDistanz()
Get distanz
minimum: 0
maximum: 50000
|
java.lang.Double |
getLatitude()
Get latitude
minimum: -90
maximum: 90
|
java.lang.Double |
getLongitude()
Get longitude
minimum: -180
maximum: 180
|
int |
hashCode() |
GeoSearchDto |
latitude(java.lang.Double latitude) |
GeoSearchDto |
longitude(java.lang.Double longitude) |
void |
setDistanz(java.lang.Long distanz) |
void |
setLatitude(java.lang.Double latitude) |
void |
setLongitude(java.lang.Double longitude) |
java.lang.String |
toJson()
Convert an instance of GeoSearchDto to an JSON string
|
java.lang.String |
toString() |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final java.lang.String SERIALIZED_NAME_LONGITUDE
public static final java.lang.String SERIALIZED_NAME_LATITUDE
public static final java.lang.String SERIALIZED_NAME_DISTANZ
public static java.util.HashSet<java.lang.String> openapiFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
public GeoSearchDto longitude(java.lang.Double longitude)
@Nullable public java.lang.Double getLongitude()
public void setLongitude(java.lang.Double longitude)
public GeoSearchDto latitude(java.lang.Double latitude)
@Nullable public java.lang.Double getLatitude()
public void setLatitude(java.lang.Double latitude)
public GeoSearchDto distanz(java.lang.Long distanz)
@Nullable public java.lang.Long getDistanz()
public void setDistanz(java.lang.Long distanz)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws java.io.IOException
jsonElement - JSON Elementjava.io.IOException - if the JSON Element is invalid with respect to GeoSearchDtopublic static GeoSearchDto fromJson(java.lang.String jsonString) throws java.io.IOException
jsonString - JSON stringjava.io.IOException - if the JSON string is invalid with respect to GeoSearchDtopublic java.lang.String toJson()