Class CreateWorkflowOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.CreateWorkflowOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateWorkflowOperationSpec
extends Object
CreateWorkflowSpec
Specification for the CreateWorkflow operation.
Create 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
ConstructorsModifierConstructorDescriptionprotectedCreateWorkflowOperationSpec(CreateWorkflowDetails createWorkflowDetails) Constructs a validated instance ofCreateWorkflowOperationSpec.Constructs a validated instance ofCreateWorkflowOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected boolean@NotNull CreateWorkflowDetailsThe workflow details.createWorkflowDetails(@NotNull CreateWorkflowDetails createWorkflowDetails) The workflow details.booleaninthashCode()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
-
CreateWorkflowOperationSpec
Constructs a validated instance ofCreateWorkflowOperationSpec.- Parameters:
spec- the specification to process
-
CreateWorkflowOperationSpec
Constructs a validated instance ofCreateWorkflowOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
createWorkflowDetails- The workflow details.
-
CreateWorkflowOperationSpec
protected CreateWorkflowOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
createWorkflowDetails
The workflow details. -
createWorkflowDetails
public CreateWorkflowOperationSpec createWorkflowDetails(@NotNull @NotNull CreateWorkflowDetails createWorkflowDetails) The workflow details.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-