Class GetWorkflowTransitionPropertiesOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetWorkflowTransitionPropertiesOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetWorkflowTransitionPropertiesOperationSpec
extends Object
GetWorkflowTransitionPropertiesSpec
Specification for the GetWorkflowTransitionProperties operation.
Get workflow transition properties
-
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
GetWorkflowTransitionPropertiesOperationSpec
(Long transitionId, String workflowName, Boolean includeReservedKeys, String key, String workflowMode) Constructs a validated instance ofGetWorkflowTransitionPropertiesOperationSpec
.GetWorkflowTransitionPropertiesOperationSpec
(Consumer<GetWorkflowTransitionPropertiesOperationSpec> spec) Constructs a validated instance ofGetWorkflowTransitionPropertiesOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionstatic GetWorkflowTransitionPropertiesOperationSpec.GetWorkflowTransitionPropertiesOperationSpecBuilder
builder()
protected boolean
boolean
int
hashCode()
@Nullable Boolean
Some properties with keys that have the *jira.* prefix are reserved, which means they are not editable.includeReservedKeys
(@Nullable Boolean includeReservedKeys) Some properties with keys that have the *jira.* prefix are reserved, which means they are not editable.@Nullable String
key()
The key of the property being returned, also known as the name of the property.The key of the property being returned, 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
-
GetWorkflowTransitionPropertiesOperationSpec
@Internal public GetWorkflowTransitionPropertiesOperationSpec(Consumer<GetWorkflowTransitionPropertiesOperationSpec> spec) Constructs a validated instance ofGetWorkflowTransitionPropertiesOperationSpec
.- Parameters:
spec
- the specification to process
-
GetWorkflowTransitionPropertiesOperationSpec
@Internal public GetWorkflowTransitionPropertiesOperationSpec(Long transitionId, String workflowName, Boolean includeReservedKeys, String key, String workflowMode) Constructs a validated instance ofGetWorkflowTransitionPropertiesOperationSpec
.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 administration console. The ID is shown next to the transition.workflowName
- The name of the workflow that the transition belongs to.includeReservedKeys
- Some properties with keys that have the *jira.* prefix are reserved, which means they are not editable. To include these properties in the results, set this parameter to *true*.key
- The key of the property being returned, also known as the name of the property. If this parameter is not specified, all properties on the transition are returned.workflowMode
- The workflow status. Set to *live* for active and inactive workflows, or *draft* for draft workflows.
-
GetWorkflowTransitionPropertiesOperationSpec
protected GetWorkflowTransitionPropertiesOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static GetWorkflowTransitionPropertiesOperationSpec.GetWorkflowTransitionPropertiesOperationSpecBuilder builder() -
transitionId
The ID of the transition. To get the ID, view the workflow in text mode in the Jira administration console. The ID is shown next to the transition. -
workflowName
The name of the workflow that the transition belongs to. -
includeReservedKeys
Some properties with keys that have the *jira.* prefix are reserved, which means they are not editable. To include these properties in the results, set this parameter to *true*. -
key
The key of the property being returned, also known as the name of the property. If this parameter is not specified, all properties on the transition are returned. -
workflowMode
The workflow status. Set to *live* for active and inactive workflows, or *draft* for draft workflows. -
transitionId
public GetWorkflowTransitionPropertiesOperationSpec transitionId(@NotNull @NotNull Long transitionId) The ID of the transition. To get the ID, view the workflow in text mode in the Jira administration console. The ID is shown next to the transition.- Returns:
this
.
-
workflowName
public GetWorkflowTransitionPropertiesOperationSpec workflowName(@NotNull @NotNull String workflowName) The name of the workflow that the transition belongs to.- Returns:
this
.
-
includeReservedKeys
public GetWorkflowTransitionPropertiesOperationSpec includeReservedKeys(@Nullable @Nullable Boolean includeReservedKeys) Some properties with keys that have the *jira.* prefix are reserved, which means they are not editable. To include these properties in the results, set this parameter to *true*.- Returns:
this
.
-
key
The key of the property being returned, also known as the name of the property. If this parameter is not specified, all properties on the transition are returned.- Returns:
this
.
-
workflowMode
public GetWorkflowTransitionPropertiesOperationSpec workflowMode(@Nullable @Nullable String workflowMode) The workflow status. Set to *live* for active and inactive workflows, or *draft* for draft workflows.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-