Class LatLonGeoLocation
java.lang.Object
co.elastic.clients.elasticsearch._types.LatLonGeoLocation
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<LatLonGeoLocation>
Json deserializer forLatLonGeoLocation
-
Method Summary
Modifier and TypeMethodDescriptionfinal double
lat()
Required - API name:lat
final double
lon()
Required - API name:lon
static LatLonGeoLocation
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
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forLatLonGeoLocation
-
-
Method Details
-
of
public static LatLonGeoLocation of(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
-
toString
-
setupLatLonGeoLocationDeserializer
protected static void setupLatLonGeoLocationDeserializer(ObjectDeserializer<LatLonGeoLocation.Builder> op)
-