Class DeleteDefaultWorkflowOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.DeleteDefaultWorkflowOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteDefaultWorkflowOperationSpec
extends Object
DeleteDefaultWorkflowSpec
Specification for the DeleteDefaultWorkflow operation.
Delete default workflow
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeleteDefaultWorkflowOperationSpec(Long id, Boolean updateDraftIfNeeded) Constructs a validated instance ofDeleteDefaultWorkflowOperationSpec.Constructs a validated instance ofDeleteDefaultWorkflowOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull Longid()The ID of the workflow scheme.The ID of the workflow scheme.toString()@Nullable BooleanSet to true to create or update the draft of a workflow scheme and delete the mapping from the draft, when the workflow scheme cannot be edited.updateDraftIfNeeded(@Nullable Boolean updateDraftIfNeeded) Set to true to create or update the draft of a workflow scheme and delete the mapping from the draft, when the workflow scheme cannot be edited.voidvalidate()Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
DeleteDefaultWorkflowOperationSpec
@Internal public DeleteDefaultWorkflowOperationSpec(Consumer<DeleteDefaultWorkflowOperationSpec> spec) Constructs a validated instance ofDeleteDefaultWorkflowOperationSpec.- Parameters:
spec- the specification to process
-
DeleteDefaultWorkflowOperationSpec
Constructs a validated instance ofDeleteDefaultWorkflowOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id- The ID of the workflow scheme.updateDraftIfNeeded- Set to true to create or update the draft of a workflow scheme and delete the mapping from the draft, when the workflow scheme cannot be edited. Defaults tofalse.
-
DeleteDefaultWorkflowOperationSpec
protected DeleteDefaultWorkflowOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static DeleteDefaultWorkflowOperationSpec.DeleteDefaultWorkflowOperationSpecBuilder builder() -
id
The ID of the workflow scheme. -
updateDraftIfNeeded
Set to true to create or update the draft of a workflow scheme and delete the mapping from the draft, when the workflow scheme cannot be edited. Defaults tofalse. -
id
The ID of the workflow scheme.- Returns:
this.
-
updateDraftIfNeeded
public DeleteDefaultWorkflowOperationSpec updateDraftIfNeeded(@Nullable @Nullable Boolean updateDraftIfNeeded) Set to true to create or update the draft of a workflow scheme and delete the mapping from the draft, when the workflow scheme cannot be edited. Defaults tofalse.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-