ErrorResponse Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. ResponseBase - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. Identifiable - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. Response - com.
microsoft. azure. cognitiveservices. search. visualsearch. models. ErrorResponse
- com.
- com.
- com.
- com.
public class ErrorResponse
extends Response
The top-level response that represents a failed request.
Constructor Summary
Constructor | Description | |
---|---|---|
ErrorResponse() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.util.List<Error> |
errors()
Get the errors value. |
Error |
withErrors(List<Error> errors)
Set the errors value. |
Methods inherited from Identifiable
Methods inherited from Response
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
ErrorResponse
public ErrorResponse()
Method Details
errors
public List
Get the errors value.
Returns:
the errors value
withErrors
public ErrorResponse withErrors(List
Set the errors value.
Parameters:
errors
- the errors value to set
Returns:
the ErrorResponse object itself.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java