Class IncidentDto

java.lang.Object
org.camunda.community.rest.client.dto.IncidentDto

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-06-04T13:43:01.451833574Z[Etc/UTC]") public class IncidentDto extends Object
IncidentDto
  • Field Details

  • Constructor Details

    • IncidentDto

      public IncidentDto()
  • Method Details

    • id

      public IncidentDto id(String id)
    • getId

      @Nullable public String getId()
      The id of the incident.
      Returns:
      id
    • getId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getId_JsonNullable()
    • setId_JsonNullable

      public void setId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> id)
    • setId

      public void setId(String id)
    • processDefinitionId

      public IncidentDto processDefinitionId(String processDefinitionId)
    • getProcessDefinitionId

      @Nullable public String getProcessDefinitionId()
      The id of the process definition this incident is associated with.
      Returns:
      processDefinitionId
    • getProcessDefinitionId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getProcessDefinitionId_JsonNullable()
    • setProcessDefinitionId_JsonNullable

      public void setProcessDefinitionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processDefinitionId)
    • setProcessDefinitionId

      public void setProcessDefinitionId(String processDefinitionId)
    • processInstanceId

      public IncidentDto processInstanceId(String processInstanceId)
    • getProcessInstanceId

      @Nullable public String getProcessInstanceId()
      The id of the process instance this incident is associated with.
      Returns:
      processInstanceId
    • getProcessInstanceId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getProcessInstanceId_JsonNullable()
    • setProcessInstanceId_JsonNullable

      public void setProcessInstanceId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> processInstanceId)
    • setProcessInstanceId

      public void setProcessInstanceId(String processInstanceId)
    • executionId

      public IncidentDto executionId(String executionId)
    • getExecutionId

      @Nullable public String getExecutionId()
      The id of the execution this incident is associated with.
      Returns:
      executionId
    • getExecutionId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getExecutionId_JsonNullable()
    • setExecutionId_JsonNullable

      public void setExecutionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> executionId)
    • setExecutionId

      public void setExecutionId(String executionId)
    • incidentTimestamp

      public IncidentDto incidentTimestamp(OffsetDateTime incidentTimestamp)
    • getIncidentTimestamp

      @Nullable public OffsetDateTime getIncidentTimestamp()
      The time this incident happened. By [default](https://docs.camunda.org/manual/7.21/reference/rest/overview/date-format/), the date must have the format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`, e.g., `2013-01-23T14:42:45.000+0200`.
      Returns:
      incidentTimestamp
    • getIncidentTimestamp_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getIncidentTimestamp_JsonNullable()
    • setIncidentTimestamp_JsonNullable

      public void setIncidentTimestamp_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> incidentTimestamp)
    • setIncidentTimestamp

      public void setIncidentTimestamp(OffsetDateTime incidentTimestamp)
    • incidentType

      public IncidentDto incidentType(String incidentType)
    • getIncidentType

      @Nullable public String getIncidentType()
      The type of incident, for example: `failedJobs` will be returned in case of an incident which identified a failed job during the execution of a process instance. See the [User Guide](https://docs.camunda.org/manual/7.21/user-guide/process-engine/incidents/#incident-types) for a list of incident types.
      Returns:
      incidentType
    • getIncidentType_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getIncidentType_JsonNullable()
    • setIncidentType_JsonNullable

      public void setIncidentType_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> incidentType)
    • setIncidentType

      public void setIncidentType(String incidentType)
    • activityId

      public IncidentDto activityId(String activityId)
    • getActivityId

      @Nullable public String getActivityId()
      The id of the activity this incident is associated with.
      Returns:
      activityId
    • getActivityId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getActivityId_JsonNullable()
    • setActivityId_JsonNullable

      public void setActivityId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> activityId)
    • setActivityId

      public void setActivityId(String activityId)
    • failedActivityId

      public IncidentDto failedActivityId(String failedActivityId)
    • getFailedActivityId

      @Nullable public String getFailedActivityId()
      The id of the activity on which the last exception occurred.
      Returns:
      failedActivityId
    • getFailedActivityId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getFailedActivityId_JsonNullable()
    • setFailedActivityId_JsonNullable

      public void setFailedActivityId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> failedActivityId)
    • setFailedActivityId

      public void setFailedActivityId(String failedActivityId)
    • causeIncidentId

      public IncidentDto causeIncidentId(String causeIncidentId)
    • getCauseIncidentId

      @Nullable public String getCauseIncidentId()
      The id of the associated cause incident which has been triggered.
      Returns:
      causeIncidentId
    • getCauseIncidentId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getCauseIncidentId_JsonNullable()
    • setCauseIncidentId_JsonNullable

      public void setCauseIncidentId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> causeIncidentId)
    • setCauseIncidentId

      public void setCauseIncidentId(String causeIncidentId)
    • rootCauseIncidentId

      public IncidentDto rootCauseIncidentId(String rootCauseIncidentId)
    • getRootCauseIncidentId

      @Nullable public String getRootCauseIncidentId()
      The id of the associated root cause incident which has been triggered.
      Returns:
      rootCauseIncidentId
    • getRootCauseIncidentId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getRootCauseIncidentId_JsonNullable()
    • setRootCauseIncidentId_JsonNullable

      public void setRootCauseIncidentId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> rootCauseIncidentId)
    • setRootCauseIncidentId

      public void setRootCauseIncidentId(String rootCauseIncidentId)
    • _configuration

      public IncidentDto _configuration(String _configuration)
    • getConfiguration

      @Nullable public String getConfiguration()
      The payload of this incident.
      Returns:
      _configuration
    • getConfiguration_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getConfiguration_JsonNullable()
    • setConfiguration_JsonNullable

      public void setConfiguration_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> _configuration)
    • setConfiguration

      public void setConfiguration(String _configuration)
    • tenantId

      public IncidentDto tenantId(String tenantId)
    • getTenantId

      @Nullable public String getTenantId()
      The id of the tenant this incident is associated with.
      Returns:
      tenantId
    • getTenantId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getTenantId_JsonNullable()
    • setTenantId_JsonNullable

      public void setTenantId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> tenantId)
    • setTenantId

      public void setTenantId(String tenantId)
    • incidentMessage

      public IncidentDto incidentMessage(String incidentMessage)
    • getIncidentMessage

      @Nullable public String getIncidentMessage()
      The message of this incident.
      Returns:
      incidentMessage
    • getIncidentMessage_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getIncidentMessage_JsonNullable()
    • setIncidentMessage_JsonNullable

      public void setIncidentMessage_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> incidentMessage)
    • setIncidentMessage

      public void setIncidentMessage(String incidentMessage)
    • jobDefinitionId

      public IncidentDto jobDefinitionId(String jobDefinitionId)
    • getJobDefinitionId

      @Nullable public String getJobDefinitionId()
      The job definition id the incident is associated with.
      Returns:
      jobDefinitionId
    • getJobDefinitionId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getJobDefinitionId_JsonNullable()
    • setJobDefinitionId_JsonNullable

      public void setJobDefinitionId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> jobDefinitionId)
    • setJobDefinitionId

      public void setJobDefinitionId(String jobDefinitionId)
    • annotation

      public IncidentDto annotation(String annotation)
    • getAnnotation

      @Nullable public String getAnnotation()
      The annotation set to the incident.
      Returns:
      annotation
    • getAnnotation_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getAnnotation_JsonNullable()
    • setAnnotation_JsonNullable

      public void setAnnotation_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> annotation)
    • setAnnotation

      public void setAnnotation(String annotation)
    • 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