Class DeleteWorkflowMappingOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteWorkflowMappingOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteWorkflowMappingOperationSpec
extends Object
DeleteWorkflowMappingSpec
Specification for the DeleteWorkflowMapping operation.
Delete issue types for workflow in workflow scheme
-
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
DeleteWorkflowMappingOperationSpec
(Long id, String workflowName, Boolean updateDraftIfNeeded) Constructs a validated instance ofDeleteWorkflowMappingOperationSpec
.Constructs a validated instance ofDeleteWorkflowMappingOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull Long
id()
The ID of the workflow scheme.The ID of the workflow scheme.toString()
@Nullable Boolean
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.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.void
validate()
Validates the Spec, will throw a exception if required parameters are missing@NotNull String
The name of the workflow.workflowName
(@NotNull String workflowName) The name of the workflow.
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
DeleteWorkflowMappingOperationSpec
@Internal public DeleteWorkflowMappingOperationSpec(Consumer<DeleteWorkflowMappingOperationSpec> spec) Constructs a validated instance ofDeleteWorkflowMappingOperationSpec
.- Parameters:
spec
- the specification to process
-
DeleteWorkflowMappingOperationSpec
@Internal public DeleteWorkflowMappingOperationSpec(Long id, String workflowName, Boolean updateDraftIfNeeded) Constructs a validated instance ofDeleteWorkflowMappingOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the workflow scheme.workflowName
- The name of the workflow.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
.
-
DeleteWorkflowMappingOperationSpec
protected DeleteWorkflowMappingOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static DeleteWorkflowMappingOperationSpec.DeleteWorkflowMappingOperationSpecBuilder builder() -
id
The ID of the workflow scheme. -
workflowName
The name of the workflow. -
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
.
-
workflowName
The name of the workflow.- Returns:
this
.
-
updateDraftIfNeeded
public DeleteWorkflowMappingOperationSpec 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
-