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 classLatLonGeoLocation.BuilderBuilder forLatLonGeoLocation. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<LatLonGeoLocation>_DESERIALIZERJson deserializer forLatLonGeoLocation -
Method Summary
Modifier and Type Method Description doublelat()Required - API name:latdoublelon()Required - API name:lonstatic LatLonGeoLocationof(java.util.function.Function<LatLonGeoLocation.Builder,ObjectBuilder<LatLonGeoLocation>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupLatLonGeoLocationDeserializer(ObjectDeserializer<LatLonGeoLocation.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupLatLonGeoLocationDeserializer
protected static void setupLatLonGeoLocationDeserializer(ObjectDeserializer<LatLonGeoLocation.Builder> op)
-