Class GetDefaultWorkflowOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetDefaultWorkflowOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetDefaultWorkflowOperationSpec
extends Object
GetDefaultWorkflowSpec
Specification for the GetDefaultWorkflow operation.
Get default workflow
-
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
GetDefaultWorkflowOperationSpec
(Long id, Boolean returnDraftIfExists) Constructs a validated instance ofGetDefaultWorkflowOperationSpec
.Constructs a validated instance ofGetDefaultWorkflowOperationSpec
. -
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.@Nullable Boolean
Set totrue
to return the default workflow for the workflow scheme's draft rather than scheme itself.returnDraftIfExists
(@Nullable Boolean returnDraftIfExists) Set totrue
to return the default workflow for the workflow scheme's draft rather than scheme itself.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
-
GetDefaultWorkflowOperationSpec
Constructs a validated instance ofGetDefaultWorkflowOperationSpec
.- Parameters:
spec
- the specification to process
-
GetDefaultWorkflowOperationSpec
Constructs a validated instance ofGetDefaultWorkflowOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the workflow scheme.returnDraftIfExists
- Set totrue
to return the default workflow for the workflow scheme's draft rather than scheme itself. If the workflow scheme does not have a draft, then the default workflow for the workflow scheme is returned.
-
GetDefaultWorkflowOperationSpec
protected GetDefaultWorkflowOperationSpec()
-
-
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. -
returnDraftIfExists
Set totrue
to return the default workflow for the workflow scheme's draft rather than scheme itself. If the workflow scheme does not have a draft, then the default workflow for the workflow scheme is returned. -
id
The ID of the workflow scheme.- Returns:
this
.
-
returnDraftIfExists
public GetDefaultWorkflowOperationSpec returnDraftIfExists(@Nullable @Nullable Boolean returnDraftIfExists) Set totrue
to return the default workflow for the workflow scheme's draft rather than scheme itself. If the workflow scheme does not have a draft, then the default workflow for the workflow scheme is returned.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-