Class GetDraftWorkflowOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetDraftWorkflowOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetDraftWorkflowOperationSpec
extends Object
GetDraftWorkflowSpec
Specification for the GetDraftWorkflow operation.
Get issue types for workflows in draft workflow scheme
-
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
ConstructorsModifierConstructorDescriptionprotectedGetDraftWorkflowOperationSpec(Long id, String workflowName) Constructs a validated instance ofGetDraftWorkflowOperationSpec.Constructs a validated instance ofGetDraftWorkflowOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@NotNull Longid()The ID of the workflow scheme that the draft belongs to.The ID of the workflow scheme that the draft belongs to.toString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@Nullable StringThe 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
-
GetDraftWorkflowOperationSpec
Constructs a validated instance ofGetDraftWorkflowOperationSpec.- Parameters:
spec- the specification to process
-
GetDraftWorkflowOperationSpec
Constructs a validated instance ofGetDraftWorkflowOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
id- The ID of the workflow scheme that the draft belongs to.workflowName- The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow.
-
GetDraftWorkflowOperationSpec
protected GetDraftWorkflowOperationSpec()
-
-
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 that the draft belongs to. -
workflowName
The name of a workflow in the scheme. Limits the results to the workflow-issue type mapping for the specified workflow. -
id
The ID of the workflow scheme that the draft belongs to.- 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.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-