Class GetDefaultWorkflowOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.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 Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGetDefaultWorkflowOperationSpec(Long id, Boolean returnDraftIfExists) Constructs a validated instance ofGetDefaultWorkflowOperationSpec.Constructs a validated instance ofGetDefaultWorkflowOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull Longid()The ID of the workflow scheme.The ID of the workflow scheme.@Nullable BooleanSet totrueto return the default workflow for the workflow scheme's draft rather than scheme itself.returnDraftIfExists(@Nullable Boolean returnDraftIfExists) Set totrueto return the default workflow for the workflow scheme's draft rather than scheme itself.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
-
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 totrueto 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 totrueto 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 totrueto 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
-