Class DeleteDraftWorkflowMappingOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteDraftWorkflowMappingOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteDraftWorkflowMappingOperationSpec
extends Object
DeleteDraftWorkflowMappingSpec
Specification for the DeleteDraftWorkflowMapping operation.
Delete issue types for workflow in draft 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
DeleteDraftWorkflowMappingOperationSpec
(Long id, String workflowName) Constructs a validated instance ofDeleteDraftWorkflowMappingOperationSpec
.Constructs a validated instance ofDeleteDraftWorkflowMappingOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull Long
id()
The ID of the workflow scheme that the draft belongs to.The ID of the workflow scheme that the draft belongs to.toString()
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
-
DeleteDraftWorkflowMappingOperationSpec
@Internal public DeleteDraftWorkflowMappingOperationSpec(Consumer<DeleteDraftWorkflowMappingOperationSpec> spec) Constructs a validated instance ofDeleteDraftWorkflowMappingOperationSpec
.- Parameters:
spec
- the specification to process
-
DeleteDraftWorkflowMappingOperationSpec
Constructs a validated instance ofDeleteDraftWorkflowMappingOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the workflow scheme that the draft belongs to.workflowName
- The name of the workflow.
-
DeleteDraftWorkflowMappingOperationSpec
protected DeleteDraftWorkflowMappingOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static DeleteDraftWorkflowMappingOperationSpec.DeleteDraftWorkflowMappingOperationSpecBuilder builder() -
id
The ID of the workflow scheme that the draft belongs to. -
workflowName
The name of the workflow. -
id
The ID of the workflow scheme that the draft belongs to.- Returns:
this
.
-
workflowName
The name of the workflow.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-