Package org.openapitools.client.model
Class ExternalTaskFailureDtoAllOf
- java.lang.Object
-
- org.openapitools.client.model.ExternalTaskFailureDtoAllOf
-
public class ExternalTaskFailureDtoAllOf extends Object
ExternalTaskFailureDtoAllOf
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ERROR_DETAILSstatic StringSERIALIZED_NAME_ERROR_MESSAGEstatic StringSERIALIZED_NAME_LOCAL_VARIABLESstatic StringSERIALIZED_NAME_RETRIESstatic StringSERIALIZED_NAME_RETRY_TIMEOUTstatic StringSERIALIZED_NAME_VARIABLES
-
Constructor Summary
Constructors Constructor Description ExternalTaskFailureDtoAllOf()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_ERROR_MESSAGE
public static final String SERIALIZED_NAME_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR_DETAILS
public static final String SERIALIZED_NAME_ERROR_DETAILS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RETRIES
public static final String SERIALIZED_NAME_RETRIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RETRY_TIMEOUT
public static final String SERIALIZED_NAME_RETRY_TIMEOUT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VARIABLES
public static final String SERIALIZED_NAME_VARIABLES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCAL_VARIABLES
public static final String SERIALIZED_NAME_LOCAL_VARIABLES
- See Also:
- Constant Field Values
-
-
Method Detail
-
errorMessage
public ExternalTaskFailureDtoAllOf errorMessage(String errorMessage)
-
getErrorMessage
public String getErrorMessage()
An message indicating the reason of the failure.- Returns:
- errorMessage
-
setErrorMessage
public void setErrorMessage(String errorMessage)
-
errorDetails
public ExternalTaskFailureDtoAllOf errorDetails(String errorDetails)
-
getErrorDetails
public String getErrorDetails()
A detailed error description.- Returns:
- errorDetails
-
setErrorDetails
public void setErrorDetails(String errorDetails)
-
retries
public ExternalTaskFailureDtoAllOf retries(Integer retries)
-
getRetries
public Integer getRetries()
A number of how often the task should be retried. Must be >= 0. If this is 0, an incident is created and the task cannot be fetched anymore unless the retries are increased again. The incident's message is set to the `errorMessage` parameter.- Returns:
- retries
-
setRetries
public void setRetries(Integer retries)
-
retryTimeout
public ExternalTaskFailureDtoAllOf retryTimeout(Long retryTimeout)
-
getRetryTimeout
public Long getRetryTimeout()
A timeout in milliseconds before the external task becomes available again for fetching. Must be >= 0.- Returns:
- retryTimeout
-
setRetryTimeout
public void setRetryTimeout(Long retryTimeout)
-
variables
public ExternalTaskFailureDtoAllOf variables(Map<String,VariableValueDto> variables)
-
putVariablesItem
public ExternalTaskFailureDtoAllOf putVariablesItem(String key, VariableValueDto variablesItem)
-
getVariables
public Map<String,VariableValueDto> getVariables()
A JSON object containing variable key-value pairs. Each key is a variable name and each value a JSON variable value object with the following properties:- Returns:
- variables
-
setVariables
public void setVariables(Map<String,VariableValueDto> variables)
-
localVariables
public ExternalTaskFailureDtoAllOf localVariables(Map<String,VariableValueDto> localVariables)
-
putLocalVariablesItem
public ExternalTaskFailureDtoAllOf putLocalVariablesItem(String key, VariableValueDto localVariablesItem)
-
getLocalVariables
public Map<String,VariableValueDto> getLocalVariables()
A JSON object containing local variable key-value pairs. Local variables are set only in the scope of external task. Each key is a variable name and each value a JSON variable value object with the following properties:- Returns:
- localVariables
-
setLocalVariables
public void setLocalVariables(Map<String,VariableValueDto> localVariables)
-
-