Class UpdateDefaultWorkflowOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateDefaultWorkflowOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateDefaultWorkflowOperationSpec
extends Object
UpdateDefaultWorkflowSpec
Specification for the UpdateDefaultWorkflow operation.
Update 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
UpdateDefaultWorkflowOperationSpec
(Long id, DefaultWorkflow defaultWorkflow) Constructs a validated instance ofUpdateDefaultWorkflowOperationSpec
.Constructs a validated instance ofUpdateDefaultWorkflowOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@NotNull DefaultWorkflow
The new default workflow.defaultWorkflow
(@NotNull DefaultWorkflow defaultWorkflow) The new default workflow.boolean
int
hashCode()
@NotNull Long
id()
The ID of the workflow scheme.The ID of the workflow scheme.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
-
UpdateDefaultWorkflowOperationSpec
@Internal public UpdateDefaultWorkflowOperationSpec(Consumer<UpdateDefaultWorkflowOperationSpec> spec) Constructs a validated instance ofUpdateDefaultWorkflowOperationSpec
.- Parameters:
spec
- the specification to process
-
UpdateDefaultWorkflowOperationSpec
Constructs a validated instance ofUpdateDefaultWorkflowOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the workflow scheme.defaultWorkflow
- The new default workflow.
-
UpdateDefaultWorkflowOperationSpec
protected UpdateDefaultWorkflowOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static UpdateDefaultWorkflowOperationSpec.UpdateDefaultWorkflowOperationSpecBuilder builder() -
id
The ID of the workflow scheme. -
defaultWorkflow
The new default workflow. -
id
The ID of the workflow scheme.- Returns:
this
.
-
defaultWorkflow
public UpdateDefaultWorkflowOperationSpec defaultWorkflow(@NotNull @NotNull DefaultWorkflow defaultWorkflow) The new default workflow.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-