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 classLatLon.BuilderBuilder forLatLon. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<LatLon>_DESERIALIZERJson 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 doublelat()Required - API name:latdoublelon()Required - API name:lonvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupLatLonDeserializer(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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupLatLonDeserializer
-