Class WorkflowCapabilitiesOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.WorkflowCapabilitiesOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class WorkflowCapabilitiesOperationSpec
extends Object
WorkflowCapabilitiesSpec
Specification for the WorkflowCapabilities operation.
Get available workflow capabilities
-
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
ConstructorsModifierConstructorDescriptionprotectedWorkflowCapabilitiesOperationSpec(String workflowId, String projectId, String issueTypeId) Constructs a validated instance ofWorkflowCapabilitiesOperationSpec.Constructs a validated instance ofWorkflowCapabilitiesOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleaninthashCode()@Nullable StringissueTypeId(@Nullable String issueTypeId) @Nullable StringtoString()voidvalidate()Validates the Spec, will throw a exception if required parameters are missing@Nullable StringworkflowId(@Nullable String workflowId)
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
WorkflowCapabilitiesOperationSpec
@Internal public WorkflowCapabilitiesOperationSpec(Consumer<WorkflowCapabilitiesOperationSpec> spec) Constructs a validated instance ofWorkflowCapabilitiesOperationSpec.- Parameters:
spec- the specification to process
-
WorkflowCapabilitiesOperationSpec
@Internal public WorkflowCapabilitiesOperationSpec(String workflowId, String projectId, String issueTypeId) Constructs a validated instance ofWorkflowCapabilitiesOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
workflowId-projectId-issueTypeId-
-
WorkflowCapabilitiesOperationSpec
protected WorkflowCapabilitiesOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
workflowId
-
projectId
-
issueTypeId
-
workflowId
- Returns:
this.
-
projectId
- Returns:
this.
-
issueTypeId
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-