Class JobErrorRequest

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-02-07T11:57:41.291335755Z[GMT]", comments="Generator version: 7.8.0") public class JobErrorRequest extends Object
JobErrorRequest
  • Field Details

  • Constructor Details

    • JobErrorRequest

      public JobErrorRequest()
  • Method Details

    • errorCode

      public JobErrorRequest errorCode(String errorCode)
    • getErrorCode

      @Nonnull public String getErrorCode()
      The error code that will be matched with an error catch event.
      Returns:
      errorCode
    • setErrorCode

      public void setErrorCode(String errorCode)
    • errorMessage

      public JobErrorRequest errorMessage(String errorMessage)
    • getErrorMessage

      @Nullable public String getErrorMessage()
      An error message that provides additional context.
      Returns:
      errorMessage
    • setErrorMessage

      public void setErrorMessage(String errorMessage)
    • variables

      public JobErrorRequest variables(Map<String,Object> variables)
    • putVariablesItem

      public JobErrorRequest putVariablesItem(String key, Object variablesItem)
    • getVariables

      @Nullable public Map<String,Object> getVariables()
      JSON object that will instantiate the variables at the local scope of the error catch event that catches the thrown error.
      Returns:
      variables
    • setVariables

      public void setVariables(Map<String,Object> variables)
    • 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