Class ErrorDescriptionResponse

java.lang.Object
dev.restate.admin.model.ErrorDescriptionResponse

public class ErrorDescriptionResponse extends Object
Error details of the response
  • Field Details

  • Constructor Details

    • ErrorDescriptionResponse

      public ErrorDescriptionResponse()
  • Method Details

    • message

      public ErrorDescriptionResponse message(String message)
    • getMessage

      @Nonnull public String getMessage()
      Get message
      Returns:
      message
    • setMessage

      public void setMessage(String message)
    • restateCode

      public ErrorDescriptionResponse restateCode(String restateCode)
    • getRestateCode

      @Nullable public String getRestateCode()
      Restate error code describing this error
      Returns:
      restateCode
    • setRestateCode

      public void setRestateCode(String restateCode)
    • equals

      public boolean equals(Object o)
      Return true if this ErrorDescriptionResponse object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string