Class ErrorResponse
- java.lang.Object
-
- co.elasticsearch.enterprisesearch.client.model.response.ErrorResponse
-
- All Implemented Interfaces:
Serializable
public class ErrorResponse extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ErrorResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetError()List<String>getErrors()ErrorResponsesetError(String error)ErrorResponsesetErrors(List<String> errors)StringtoString()
-
-
-
Method Detail
-
getError
public String getError()
-
setErrors
public ErrorResponse setErrors(List<String> errors)
- Returns:
this.
-
setError
public ErrorResponse setError(String error)
- Returns:
this.
-
-