Class CancelTaskOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.CancelTaskOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CancelTaskOperationSpec
extends Object
CancelTaskSpec
Specification for the CancelTask operation.
Cancel task
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CancelTaskOperationSpec
(String taskId) Constructs a validated instance ofCancelTaskOperationSpec
.Constructs a validated instance ofCancelTaskOperationSpec
. -
Method Summary
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
CancelTaskOperationSpec
Constructs a validated instance ofCancelTaskOperationSpec
.- Parameters:
spec
- the specification to process
-
CancelTaskOperationSpec
Constructs a validated instance ofCancelTaskOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
taskId
- The ID of the task.
-
CancelTaskOperationSpec
protected CancelTaskOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
taskId
The ID of the task. -
taskId
The ID of the task.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-