Class LatLonGeoLocation
java.lang.Object
co.elastic.clients.elasticsearch._types.LatLonGeoLocation
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<LatLonGeoLocation>Json deserializer forLatLonGeoLocation -
Method Summary
Modifier and TypeMethodDescriptionfinal doublelat()Required - API name:latfinal doublelon()Required - API name:lonstatic LatLonGeoLocationvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupLatLonGeoLocationDeserializer
protected static void setupLatLonGeoLocationDeserializer(ObjectDeserializer<LatLonGeoLocation.Builder> op)
-