Class UpdateWorkflowSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.UpdateWorkflowSchemeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateWorkflowSchemeOperationSpec
extends Object
UpdateWorkflowSchemeSpec
Specification for the UpdateWorkflowScheme operation.
Classic update 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
UpdateWorkflowSchemeOperationSpec
(Long id, WorkflowScheme workflowScheme) Constructs a validated instance ofUpdateWorkflowSchemeOperationSpec
.Constructs a validated instance ofUpdateWorkflowSchemeOperationSpec
. -
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()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing@NotNull WorkflowScheme
workflowScheme
(@NotNull WorkflowScheme workflowScheme)
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
UpdateWorkflowSchemeOperationSpec
@Internal public UpdateWorkflowSchemeOperationSpec(Consumer<UpdateWorkflowSchemeOperationSpec> spec) Constructs a validated instance ofUpdateWorkflowSchemeOperationSpec
.- Parameters:
spec
- the specification to process
-
UpdateWorkflowSchemeOperationSpec
Constructs a validated instance ofUpdateWorkflowSchemeOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the workflow scheme. Find this ID by editing the desired workflow scheme in Jira. The ID is shown in the URL asschemeId
. For example, *schemeId=10301*.workflowScheme
-
-
UpdateWorkflowSchemeOperationSpec
protected UpdateWorkflowSchemeOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
id
The ID of the workflow scheme. Find this ID by editing the desired workflow scheme in Jira. The ID is shown in the URL asschemeId
. For example, *schemeId=10301*. -
workflowScheme
-
id
The ID of the workflow scheme. Find this ID by editing the desired workflow scheme in Jira. The ID is shown in the URL asschemeId
. For example, *schemeId=10301*.- Returns:
this
.
-
workflowScheme
public UpdateWorkflowSchemeOperationSpec workflowScheme(@NotNull @NotNull WorkflowScheme workflowScheme) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-