Class UpdateDraftDefaultWorkflowOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.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 Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedUpdateDraftDefaultWorkflowOperationSpec(Long id, DefaultWorkflow defaultWorkflow) Constructs a validated instance ofUpdateDraftDefaultWorkflowOperationSpec.Constructs a validated instance ofUpdateDraftDefaultWorkflowOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@NotNull DefaultWorkflowThe object for the new default workflow.defaultWorkflow(@NotNull DefaultWorkflow defaultWorkflow) The object for the new default workflow.booleaninthashCode()@NotNull Longid()The ID of the workflow scheme that the draft belongs to.The ID of the workflow scheme that the draft belongs to.toString()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
-
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
-