Class ErrorResponse
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.search.customsearch.models.ResponseBase
-
- com.microsoft.azure.cognitiveservices.search.customsearch.models.Identifiable
-
- com.microsoft.azure.cognitiveservices.search.customsearch.models.Response
-
- com.microsoft.azure.cognitiveservices.search.customsearch.models.ErrorResponse
-
public class ErrorResponse extends Response
The top-level response that represents a failed request.
-
-
Constructor Summary
Constructors Constructor Description ErrorResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Error>errors()Get the errors value.ErrorResponsewithErrors(List<Error> errors)Set the errors value.-
Methods inherited from class com.microsoft.azure.cognitiveservices.search.customsearch.models.Response
webSearchUrl
-
Methods inherited from class com.microsoft.azure.cognitiveservices.search.customsearch.models.Identifiable
id
-
-
-
-
Method Detail
-
withErrors
public ErrorResponse withErrors(List<Error> errors)
Set the errors value.- Parameters:
errors- the errors value to set- Returns:
- the ErrorResponse object itself.
-
-