Class ProblemDetail

java.lang.Object
io.camunda.zeebe.client.protocol.rest.ProblemDetail

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-07-03T15:09:39.678402357Z[GMT]", comments="Generator version: 7.4.0") public class ProblemDetail extends Object
A Problem detail object as described in [RFC 9457](https://www.rfc-editor.org/rfc/rfc9457). There may be additional properties specific to the problem type.
  • Field Details

  • Constructor Details

    • ProblemDetail

      public ProblemDetail()
  • Method Details

    • type

      public ProblemDetail type(URI type)
    • getType

      @Nullable public URI getType()
      A URI identifying the problem type.
      Returns:
      type
    • setType

      public void setType(URI type)
    • title

      public ProblemDetail title(String title)
    • getTitle

      @Nullable public String getTitle()
      A summary of the problem type.
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • status

      public ProblemDetail status(Integer status)
    • getStatus

      @Nullable public Integer getStatus()
      The HTTP status code for this problem. minimum: 400 maximum: 600
      Returns:
      status
    • setStatus

      public void setStatus(Integer status)
    • detail

      public ProblemDetail detail(String detail)
    • getDetail

      @Nullable public String getDetail()
      An explanation of the problem in more detail.
      Returns:
      detail
    • setDetail

      public void setDetail(String detail)
    • instance

      public ProblemDetail instance(URI instance)
    • getInstance

      @Nullable public URI getInstance()
      A URI identifying the origin of the problem.
      Returns:
      instance
    • setInstance

      public void setInstance(URI instance)
    • equals

      public boolean equals(Object 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