Class JobChangeset
java.lang.Object
io.camunda.zeebe.gateway.protocol.rest.JobChangeset
@Generated(value="org.openapitools.codegen.languages.SpringCodegen",
date="2024-10-11T17:26:39.504605721Z[GMT]",
comments="Generator version: 7.8.0")
public class JobChangeset
extends Object
JSON object with changed job attribute values. The following attributes can be adjusted with this endpoint, additional attributes will be ignored: * `retries` - The new amount of retries for the job; must be a positive number. * `timeout` - The duration of the new timeout in ms, starting from the current moment. Providing any of those attributes with a null value or omitting it preserves the persisted attribute’s value. The job cannot be completed or failed with this endpoint, use the complete job or fail job endpoints instead.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe new amount of retries for the job; must be a positive number.The duration of the new timeout in ms, starting from the current moment.inthashCode()voidsetRetries(Integer retries) voidsetTimeout(Long timeout) toString()
-
Constructor Details
-
JobChangeset
public JobChangeset()
-
-
Method Details
-
retries
-
getRetries
The new amount of retries for the job; must be a positive number.- Returns:
- retries
-
setRetries
-
timeout
-
getTimeout
The duration of the new timeout in ms, starting from the current moment.- Returns:
- timeout
-
setTimeout
-
equals
-
hashCode
public int hashCode() -
toString
-