Class UpdateDraftDefaultWorkflowOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateDraftDefaultWorkflowOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateDraftDefaultWorkflowOperationSpec
extends Object
UpdateDraftDefaultWorkflowSpec
Specification for the UpdateDraftDefaultWorkflow operation.
Update draft default workflow
-
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
UpdateDraftDefaultWorkflowOperationSpec
(Long id, DefaultWorkflow defaultWorkflow) Constructs a validated instance ofUpdateDraftDefaultWorkflowOperationSpec
.Constructs a validated instance ofUpdateDraftDefaultWorkflowOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@NotNull DefaultWorkflow
The object for the new default workflow.defaultWorkflow
(@NotNull DefaultWorkflow defaultWorkflow) The object for the new default workflow.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
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
UpdateDraftDefaultWorkflowOperationSpec
@Internal public UpdateDraftDefaultWorkflowOperationSpec(Consumer<UpdateDraftDefaultWorkflowOperationSpec> spec) Constructs a validated instance ofUpdateDraftDefaultWorkflowOperationSpec
.- Parameters:
spec
- the specification to process
-
UpdateDraftDefaultWorkflowOperationSpec
Constructs a validated instance ofUpdateDraftDefaultWorkflowOperationSpec
.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.defaultWorkflow
- The object for the new default workflow.
-
UpdateDraftDefaultWorkflowOperationSpec
protected UpdateDraftDefaultWorkflowOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static UpdateDraftDefaultWorkflowOperationSpec.UpdateDraftDefaultWorkflowOperationSpecBuilder builder() -
id
The ID of the workflow scheme that the draft belongs to. -
defaultWorkflow
The object for the new default workflow. -
id
The ID of the workflow scheme that the draft belongs to.- Returns:
this
.
-
defaultWorkflow
public UpdateDraftDefaultWorkflowOperationSpec defaultWorkflow(@NotNull @NotNull DefaultWorkflow defaultWorkflow) The object for the new default workflow.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-