Class DeleteWorkflowTransitionPropertyOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.DeleteWorkflowTransitionPropertyOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class DeleteWorkflowTransitionPropertyOperationSpec
extends Object
DeleteWorkflowTransitionPropertySpec
Specification for the DeleteWorkflowTransitionProperty operation.
Delete workflow transition property
-
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
DeleteWorkflowTransitionPropertyOperationSpec
(Long transitionId, String key, String workflowName, String workflowMode) Constructs a validated instance ofDeleteWorkflowTransitionPropertyOperationSpec
.DeleteWorkflowTransitionPropertyOperationSpec
(Consumer<DeleteWorkflowTransitionPropertyOperationSpec> spec) Constructs a validated instance ofDeleteWorkflowTransitionPropertyOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteWorkflowTransitionPropertyOperationSpec.DeleteWorkflowTransitionPropertyOperationSpecBuilder
builder()
protected boolean
boolean
int
hashCode()
@NotNull String
key()
The name of the transition property to delete, also known as the name of the property.The name of the transition property to delete, also known as the name of the property.toString()
@NotNull Long
The ID of the transition.transitionId
(@NotNull Long transitionId) The ID of the transition.void
validate()
Validates the Spec, will throw a exception if required parameters are missing@Nullable String
The workflow status.workflowMode
(@Nullable String workflowMode) The workflow status.@NotNull String
The name of the workflow that the transition belongs to.workflowName
(@NotNull String workflowName) The name of the workflow that the transition belongs to.
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
DeleteWorkflowTransitionPropertyOperationSpec
@Internal public DeleteWorkflowTransitionPropertyOperationSpec(Consumer<DeleteWorkflowTransitionPropertyOperationSpec> spec) Constructs a validated instance ofDeleteWorkflowTransitionPropertyOperationSpec
.- Parameters:
spec
- the specification to process
-
DeleteWorkflowTransitionPropertyOperationSpec
@Internal public DeleteWorkflowTransitionPropertyOperationSpec(Long transitionId, String key, String workflowName, String workflowMode) Constructs a validated instance ofDeleteWorkflowTransitionPropertyOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
transitionId
- The ID of the transition. To get the ID, view the workflow in text mode in the Jira admin settings. The ID is shown next to the transition.key
- The name of the transition property to delete, also known as the name of the property.workflowName
- The name of the workflow that the transition belongs to.workflowMode
- The workflow status. Set tolive
for inactive workflows ordraft
for draft workflows. Active workflows cannot be edited.
-
DeleteWorkflowTransitionPropertyOperationSpec
protected DeleteWorkflowTransitionPropertyOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
transitionId
The ID of the transition. To get the ID, view the workflow in text mode in the Jira admin settings. The ID is shown next to the transition. -
key
The name of the transition property to delete, also known as the name of the property. -
workflowName
The name of the workflow that the transition belongs to. -
workflowMode
The workflow status. Set tolive
for inactive workflows ordraft
for draft workflows. Active workflows cannot be edited. -
transitionId
public DeleteWorkflowTransitionPropertyOperationSpec transitionId(@NotNull @NotNull Long transitionId) The ID of the transition. To get the ID, view the workflow in text mode in the Jira admin settings. The ID is shown next to the transition.- Returns:
this
.
-
key
The name of the transition property to delete, also known as the name of the property.- Returns:
this
.
-
workflowName
public DeleteWorkflowTransitionPropertyOperationSpec workflowName(@NotNull @NotNull String workflowName) The name of the workflow that the transition belongs to.- Returns:
this
.
-
workflowMode
public DeleteWorkflowTransitionPropertyOperationSpec workflowMode(@Nullable @Nullable String workflowMode) The workflow status. Set tolive
for inactive workflows ordraft
for draft workflows. Active workflows cannot be edited.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-