Class TopRightBottomLeftGeoBounds
java.lang.Object
org.opensearch.client.opensearch._types.TopRightBottomLeftGeoBounds
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<TopRightBottomLeftGeoBounds.Builder,TopRightBottomLeftGeoBounds>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class TopRightBottomLeftGeoBounds
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<TopRightBottomLeftGeoBounds.Builder,TopRightBottomLeftGeoBounds>
The geographical bounds specified using upper-right and lower-left points.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TopRightBottomLeftGeoBounds> Json deserializer forTopRightBottomLeftGeoBounds -
Method Summary
Modifier and TypeMethodDescriptionfinal GeoLocationRequired - The lower-left corner coordinates.builder()booleaninthashCode()static TopRightBottomLeftGeoBoundsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupTopRightBottomLeftGeoBoundsDeserializer(ObjectDeserializer<TopRightBottomLeftGeoBounds.Builder> op) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final GeoLocationtopRight()Required - The upper-right 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 forTopRightBottomLeftGeoBounds
-
-
Method Details
-
of
-
bottomLeft
Required - The lower-left corner coordinates.API name:
bottom_left -
topRight
Required - The upper-right corner coordinates.API name:
top_right -
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<TopRightBottomLeftGeoBounds.Builder,TopRightBottomLeftGeoBounds> - Returns:
- a new builder instance.
-
builder
-
setupTopRightBottomLeftGeoBoundsDeserializer
protected static void setupTopRightBottomLeftGeoBoundsDeserializer(ObjectDeserializer<TopRightBottomLeftGeoBounds.Builder> op) -
hashCode
public int hashCode() -
equals
-