Class TopLeftBottomRightGeoBounds
- java.lang.Object
-
- org.opensearch.client.opensearch._types.TopLeftBottomRightGeoBounds
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TopLeftBottomRightGeoBounds extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTopLeftBottomRightGeoBounds.BuilderBuilder forTopLeftBottomRightGeoBounds.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TopLeftBottomRightGeoBounds>_DESERIALIZERJson deserializer forTopLeftBottomRightGeoBounds
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description GeoLocationbottomRight()Required - API name:bottom_rightstatic TopLeftBottomRightGeoBoundsof(java.util.function.Function<TopLeftBottomRightGeoBounds.Builder,ObjectBuilder<TopLeftBottomRightGeoBounds>> 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 voidsetupTopLeftBottomRightGeoBoundsDeserializer(ObjectDeserializer<TopLeftBottomRightGeoBounds.Builder> op)GeoLocationtopLeft()Required - API name:top_left
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<TopLeftBottomRightGeoBounds> _DESERIALIZER
Json deserializer forTopLeftBottomRightGeoBounds
-
-
Method Detail
-
of
public static TopLeftBottomRightGeoBounds of(java.util.function.Function<TopLeftBottomRightGeoBounds.Builder,ObjectBuilder<TopLeftBottomRightGeoBounds>> fn)
-
topLeft
public final GeoLocation topLeft()
Required - API name:top_left
-
bottomRight
public final GeoLocation bottomRight()
Required - API name:bottom_right
-
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)
-
setupTopLeftBottomRightGeoBoundsDeserializer
protected static void setupTopLeftBottomRightGeoBoundsDeserializer(ObjectDeserializer<TopLeftBottomRightGeoBounds.Builder> op)
-
-