Class ErrorResponse

java.lang.Object
com.azure.ai.anomalydetector.models.ErrorResponse

public final class ErrorResponse extends Object
The ErrorResponse model.
  • Constructor Details

    • ErrorResponse

      public ErrorResponse()
  • Method Details

    • 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.