Class LatLonGeoLocation
java.lang.Object
co.elastic.clients.elasticsearch._types.LatLonGeoLocation
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class LatLonGeoLocation extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LatLonGeoLocation.Builder
Builder forLatLonGeoLocation
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<LatLonGeoLocation>
_DESERIALIZER
Json deserializer forLatLonGeoLocation
-
Method Summary
Modifier and Type Method Description double
lat()
Required - API name:lat
double
lon()
Required - API name:lon
static LatLonGeoLocation
of(java.util.function.Function<LatLonGeoLocation.Builder,ObjectBuilder<LatLonGeoLocation>> fn)
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupLatLonGeoLocationDeserializer(ObjectDeserializer<LatLonGeoLocation.Builder> op)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forLatLonGeoLocation
-
-
Method Details
-
of
public static LatLonGeoLocation of(java.util.function.Function<LatLonGeoLocation.Builder,ObjectBuilder<LatLonGeoLocation>> fn) -
lat
public final double lat()Required - API name:lat
-
lon
public final double lon()Required - API name:lon
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupLatLonGeoLocationDeserializer
protected static void setupLatLonGeoLocationDeserializer(ObjectDeserializer<LatLonGeoLocation.Builder> op)
-