Class ComputerVisionOcrError
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.vision.computervision.models.ComputerVisionOcrError
-
public class ComputerVisionOcrError extends Object
Details about the API request error.
-
-
Constructor Summary
Constructors Constructor Description ComputerVisionOcrError()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
code()
Get the code value.String
message()
Get the message value.String
requestId()
Get the requestId value.ComputerVisionOcrError
withCode(Object code)
Set the code value.ComputerVisionOcrError
withMessage(String message)
Set the message value.ComputerVisionOcrError
withRequestId(String requestId)
Set the requestId value.
-
-
-
Method Detail
-
code
public Object code()
Get the code value.- Returns:
- the code value
-
withCode
public ComputerVisionOcrError withCode(Object code)
Set the code value.- Parameters:
code
- the code value to set- Returns:
- the ComputerVisionOcrError object itself.
-
message
public String message()
Get the message value.- Returns:
- the message value
-
withMessage
public ComputerVisionOcrError withMessage(String message)
Set the message value.- Parameters:
message
- the message value to set- Returns:
- the ComputerVisionOcrError object itself.
-
requestId
public String requestId()
Get the requestId value.- Returns:
- the requestId value
-
withRequestId
public ComputerVisionOcrError withRequestId(String requestId)
Set the requestId value.- Parameters:
requestId
- the requestId value to set- Returns:
- the ComputerVisionOcrError object itself.
-
-