Class ErrorResponse
java.lang.Object
org.opensearch.client.opensearch._types.ErrorResponse
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
The response returned by OpenSearch when request execution did not
succeed.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ErrorResponse> Json deserializer forErrorResponse -
Method Summary
Modifier and TypeMethodDescriptionprotected static JsonpDeserializer<ErrorCause> final ErrorCauseerror()Required - API name:errorstatic ErrorResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Integerstatus()Required - API name:statusMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Field Details
-
_DESERIALIZER
Json deserializer forErrorResponse
-
-
Method Details
-
of
-
error
Required - API name:error -
status
Required - API name:status -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupErrorResponseDeserializer
-
buildErrorCauseDeserializers
-