Class GetWorkflowOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetWorkflowOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetWorkflowOperationSpec
extends Object
GetWorkflowSpec
Specification for the GetWorkflow operation.
Get issue types for workflows in 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
GetWorkflowOperationSpec
(Long id, String workflowName, Boolean returnDraftIfExists) Constructs a validated instance ofGetWorkflowOperationSpec
.Constructs a validated instance ofGetWorkflowOperationSpec
. -
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 mapping from the workflow scheme's draft rather than the workflow scheme, if set to true.returnDraftIfExists
(@Nullable Boolean returnDraftIfExists) Returns the mapping from the workflow scheme's draft rather than the workflow scheme, if set to true.toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing@Nullable String
The name of a workflow in the scheme.workflowName
(@Nullable String workflowName) The name of a workflow in the scheme.
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetWorkflowOperationSpec
Constructs a validated instance ofGetWorkflowOperationSpec
.- Parameters:
spec
- the specification to process
-
GetWorkflowOperationSpec
@Internal public GetWorkflowOperationSpec(Long id, String workflowName, Boolean returnDraftIfExists) Constructs a validated instance ofGetWorkflowOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id
- The ID of the workflow scheme.workflowName
- The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.returnDraftIfExists
- Returns the mapping from the workflow scheme's draft rather than the workflow scheme, if set to true. If no draft exists, the mapping from the workflow scheme is returned.
-
GetWorkflowOperationSpec
protected GetWorkflowOperationSpec()
-
-
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. -
workflowName
The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow. -
returnDraftIfExists
Returns the mapping from the workflow scheme's draft rather than the workflow scheme, if set to true. If no draft exists, the mapping from the workflow scheme is returned. -
id
The ID of the workflow scheme.- Returns:
this
.
-
workflowName
The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.- Returns:
this
.
-
returnDraftIfExists
public GetWorkflowOperationSpec returnDraftIfExists(@Nullable @Nullable Boolean returnDraftIfExists) Returns the mapping from the workflow scheme's draft rather than the workflow scheme, if set to true. If no draft exists, the mapping from the workflow scheme is returned.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-