Class ErrorResponse
- java.lang.Object
-
- com.azure.ai.anomalydetector.models.ErrorResponse
-
public final class ErrorResponse extends Object
The ErrorResponse model.
-
-
Constructor Summary
Constructors Constructor Description ErrorResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCode()
Get the code property: The error code.String
getMessage()
Get the message property: The message explaining the error reported by the service.ErrorResponse
setCode(String code)
Set the code property: The error code.ErrorResponse
setMessage(String message)
Set the message property: The message explaining the error reported by the service.
-
-
-
Method Detail
-
getCode
public String getCode()
Get the code property: The error code.- Returns:
- the code value.
-
setCode
public ErrorResponse setCode(String code)
Set the code property: The error code.- Parameters:
code
- the code value to set.- Returns:
- the ErrorResponse object itself.
-
getMessage
public String getMessage()
Get the message property: The message explaining the error reported by the service.- Returns:
- the message value.
-
setMessage
public ErrorResponse setMessage(String message)
Set the message property: The message explaining the error reported by the service.- Parameters:
message
- the message value to set.- Returns:
- the ErrorResponse object itself.
-
-