Class TopLeftBottomRightGeoBounds
java.lang.Object
org.opensearch.client.opensearch._types.TopLeftBottomRightGeoBounds
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<TopLeftBottomRightGeoBounds.Builder,TopLeftBottomRightGeoBounds>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class TopLeftBottomRightGeoBounds
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<TopLeftBottomRightGeoBounds.Builder,TopLeftBottomRightGeoBounds>
The geographical bounds specified using upper-left and lower-right points.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TopLeftBottomRightGeoBounds> Json deserializer forTopLeftBottomRightGeoBounds -
Method Summary
Modifier and TypeMethodDescriptionfinal GeoLocationRequired - The lower-right corner coordinates.builder()booleaninthashCode()static TopLeftBottomRightGeoBoundsvoidserialize(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) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final GeoLocationtopLeft()Required - The upper-left corner coordinates.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forTopLeftBottomRightGeoBounds
-
-
Method Details
-
of
-
bottomRight
Required - The lower-right corner coordinates.API name:
bottom_right -
topLeft
Required - The upper-left corner coordinates.API name:
top_left -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<TopLeftBottomRightGeoBounds.Builder,TopLeftBottomRightGeoBounds> - Returns:
- a new builder instance.
-
builder
-
setupTopLeftBottomRightGeoBoundsDeserializer
protected static void setupTopLeftBottomRightGeoBoundsDeserializer(ObjectDeserializer<TopLeftBottomRightGeoBounds.Builder> op) -
hashCode
public int hashCode() -
equals
-