Class CoordsGeoBounds
java.lang.Object
org.opensearch.client.opensearch._types.CoordsGeoBounds
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<CoordsGeoBounds.Builder,CoordsGeoBounds>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class CoordsGeoBounds
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<CoordsGeoBounds.Builder,CoordsGeoBounds>
The geographical bounds specified using coordinate values.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CoordsGeoBounds> Json deserializer forCoordsGeoBounds -
Method Summary
Modifier and TypeMethodDescriptionfinal doublebottom()Required - The bottom boundary latitude.static CoordsGeoBounds.Builderbuilder()booleaninthashCode()final doubleleft()Required - The left boundary longitude.static CoordsGeoBoundsfinal doubleright()Required - The right boundary longitude.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final doubletop()Required - The top boundary latitude.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 forCoordsGeoBounds
-
-
Method Details
-
of
public static CoordsGeoBounds of(Function<CoordsGeoBounds.Builder, ObjectBuilder<CoordsGeoBounds>> fn) -
bottom
public final double bottom()Required - The bottom boundary latitude.API name:
bottom -
left
public final double left()Required - The left boundary longitude.API name:
left -
right
public final double right()Required - The right boundary longitude.API name:
right -
top
public final double top()Required - The top boundary latitude.API name:
top -
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<CoordsGeoBounds.Builder,CoordsGeoBounds> - Returns:
- a new builder instance.
-
builder
-
setupCoordsGeoBoundsDeserializer
protected static void setupCoordsGeoBoundsDeserializer(ObjectDeserializer<CoordsGeoBounds.Builder> op) -
hashCode
public int hashCode() -
equals
-