Class LatLon
java.lang.Object
co.elastic.clients.elasticsearch._types.LatLon
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class LatLon extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LatLon.Builder
Builder forLatLon
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<LatLon>
_DESERIALIZER
Json deserializer forLatLon
-
Constructor Summary
Constructors Constructor Description LatLon(LatLon.Builder builder)
LatLon(java.util.function.Function<LatLon.Builder,LatLon.Builder> fn)
-
Method Summary
Modifier and Type Method Description double
lat()
Required - API name:lat
double
lon()
Required - API name:lon
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
setupLatLonDeserializer(DelegatingDeserializer<LatLon.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 forLatLon
-
-
Constructor Details
-
LatLon
-
LatLon
-
-
Method Details
-
lat
public double lat()Required - API name:lat
-
lon
public double lon()Required - API name:lon
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupLatLonDeserializer
-