Class GetWorkflowSchemeOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetWorkflowSchemeOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetWorkflowSchemeOperationSpec
extends Object
GetWorkflowSchemeSpec
Specification for the GetWorkflowScheme operation.
Get 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
GetWorkflowSchemeOperationSpec
(Long id, Boolean returnDraftIfExists) Constructs a validated instance ofGetWorkflowSchemeOperationSpec
.Constructs a validated instance ofGetWorkflowSchemeOperationSpec
. -
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
Returns the workflow scheme's draft rather than scheme itself, if set to true.returnDraftIfExists
(@Nullable Boolean returnDraftIfExists) Returns the workflow scheme's draft rather than scheme itself, if set to true.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
-
GetWorkflowSchemeOperationSpec
Constructs a validated instance ofGetWorkflowSchemeOperationSpec
.- Parameters:
spec
- the specification to process
-
GetWorkflowSchemeOperationSpec
Constructs a validated instance ofGetWorkflowSchemeOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the workflow scheme. Find this ID by editing the desired workflow scheme in Jira. The ID is shown in the URL asschemeId
. For example, *schemeId=10301*.returnDraftIfExists
- Returns the workflow scheme's draft rather than scheme itself, if set to true. If the workflow scheme does not have a draft, then the workflow scheme is returned.
-
GetWorkflowSchemeOperationSpec
protected GetWorkflowSchemeOperationSpec()
-
-
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. Find this ID by editing the desired workflow scheme in Jira. The ID is shown in the URL asschemeId
. For example, *schemeId=10301*. -
returnDraftIfExists
Returns the workflow scheme's draft rather than scheme itself, if set to true. If the workflow scheme does not have a draft, then the workflow scheme is returned. -
id
The ID of the workflow scheme. Find this ID by editing the desired workflow scheme in Jira. The ID is shown in the URL asschemeId
. For example, *schemeId=10301*.- Returns:
this
.
-
returnDraftIfExists
public GetWorkflowSchemeOperationSpec returnDraftIfExists(@Nullable @Nullable Boolean returnDraftIfExists) Returns the workflow scheme's draft rather than scheme itself, if set to true. If the workflow scheme does not have a draft, then the workflow scheme is returned.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-