Class LatLonGeoLocation
- java.lang.Object
-
- org.opensearch.client.opensearch._types.LatLonGeoLocation
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class LatLonGeoLocation extends java.lang.Object implements JsonpSerializable
-
-
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
All Methods Static Methods Instance Methods Concrete Methods 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)
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<LatLonGeoLocation> _DESERIALIZER
Json deserializer forLatLonGeoLocation
-
-
Method Detail
-
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
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupLatLonGeoLocationDeserializer
protected static void setupLatLonGeoLocationDeserializer(ObjectDeserializer<LatLonGeoLocation.Builder> op)
-
-