Class DeleteResponse
- java.lang.Object
-
- co.elasticsearch.enterprisesearch.client.model.response.documents.DeleteResponse
-
- All Implemented Interfaces:
ErrorableResponse
public class DeleteResponse extends Object implements ErrorableResponse
-
-
Constructor Summary
Constructors Constructor Description DeleteResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<DeleteResult>getDocuments()The resultsList<DeleteResult>getErrors()inthashCode()booleanisError()Gets whether this response contains any errors from the requested operationDeleteResponsesetDocuments(List<DeleteResult> documents)The resultsStringtoString()
-
-
-
Method Detail
-
isError
public boolean isError()
Description copied from interface:ErrorableResponseGets whether this response contains any errors from the requested operation- Specified by:
isErrorin interfaceErrorableResponse- Returns:
- true if 1 or more errors occurred, otherwise false
-
getErrors
public List<DeleteResult> getErrors()
-
getDocuments
public List<DeleteResult> getDocuments()
The results- Returns:
- the results
-
setDocuments
public DeleteResponse setDocuments(List<DeleteResult> documents)
The results- Parameters:
documents- the results- Returns:
this.
-
-