Class UpdateWorkflowSchemeDraftOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.UpdateWorkflowSchemeDraftOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class UpdateWorkflowSchemeDraftOperationSpec
extends Object
UpdateWorkflowSchemeDraftSpec
Specification for the UpdateWorkflowSchemeDraft operation.
Update 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
UpdateWorkflowSchemeDraftOperationSpec
(Long id, WorkflowScheme workflowScheme) Constructs a validated instance ofUpdateWorkflowSchemeDraftOperationSpec
.Constructs a validated instance ofUpdateWorkflowSchemeDraftOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull Long
id()
The ID of the active workflow scheme that the draft was created from.The ID of the active workflow scheme that the draft was created from.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
-
UpdateWorkflowSchemeDraftOperationSpec
@Internal public UpdateWorkflowSchemeDraftOperationSpec(Consumer<UpdateWorkflowSchemeDraftOperationSpec> spec) Constructs a validated instance ofUpdateWorkflowSchemeDraftOperationSpec
.- Parameters:
spec
- the specification to process
-
UpdateWorkflowSchemeDraftOperationSpec
Constructs a validated instance ofUpdateWorkflowSchemeDraftOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the active workflow scheme that the draft was created from.workflowScheme
-
-
UpdateWorkflowSchemeDraftOperationSpec
protected UpdateWorkflowSchemeDraftOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static UpdateWorkflowSchemeDraftOperationSpec.UpdateWorkflowSchemeDraftOperationSpecBuilder builder() -
id
The ID of the active workflow scheme that the draft was created from. -
workflowScheme
-
id
The ID of the active workflow scheme that the draft was created from.- Returns:
this
.
-
workflowScheme
public UpdateWorkflowSchemeDraftOperationSpec workflowScheme(@NotNull @NotNull WorkflowScheme workflowScheme) - Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-