Class CreateWorkflowSchemeDraftFromParentOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.CreateWorkflowSchemeDraftFromParentOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class CreateWorkflowSchemeDraftFromParentOperationSpec
extends Object
CreateWorkflowSchemeDraftFromParentSpec
Specification for the CreateWorkflowSchemeDraftFromParent operation.
Create 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
Constructs a validated instance ofCreateWorkflowSchemeDraftFromParentOperationSpec
.CreateWorkflowSchemeDraftFromParentOperationSpec
(Consumer<CreateWorkflowSchemeDraftFromParentOperationSpec> spec) Constructs a validated instance ofCreateWorkflowSchemeDraftFromParentOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
@NotNull Long
id()
The ID of the active workflow scheme that the draft is created from.The ID of the active workflow scheme that the draft is created from.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
-
CreateWorkflowSchemeDraftFromParentOperationSpec
@Internal public CreateWorkflowSchemeDraftFromParentOperationSpec(Consumer<CreateWorkflowSchemeDraftFromParentOperationSpec> spec) Constructs a validated instance ofCreateWorkflowSchemeDraftFromParentOperationSpec
.- Parameters:
spec
- the specification to process
-
CreateWorkflowSchemeDraftFromParentOperationSpec
Constructs a validated instance ofCreateWorkflowSchemeDraftFromParentOperationSpec
.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 is created from.
-
CreateWorkflowSchemeDraftFromParentOperationSpec
protected CreateWorkflowSchemeDraftFromParentOperationSpec()
-
-
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 active workflow scheme that the draft is created from. -
id
The ID of the active workflow scheme that the draft is created from.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-