Class GetTransitionsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetTransitionsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetTransitionsOperationSpec
extends Object
GetTransitionsSpec
Specification for the GetTransitions operation.
Get transitions
-
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
GetTransitionsOperationSpec
(String issueIdOrKey, String expand, String transitionId, Boolean skipRemoteOnlyCondition, Boolean includeUnavailableTransitions, Boolean sortByOpsBarAndStatus) Constructs a validated instance ofGetTransitionsOperationSpec
.Constructs a validated instance ofGetTransitionsOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
expand()
Use [expand](#expansion) to include additional information about transitions in the response.Use [expand](#expansion) to include additional information about transitions in the response.int
hashCode()
@Nullable Boolean
Whether details of transitions that fail a condition are included in the responseincludeUnavailableTransitions
(@Nullable Boolean includeUnavailableTransitions) Whether details of transitions that fail a condition are included in the response@NotNull String
The ID or key of the issue.issueIdOrKey
(@NotNull String issueIdOrKey) The ID or key of the issue.@Nullable Boolean
Whether transitions with the condition *Hide From User Condition* are included in the response.skipRemoteOnlyCondition
(@Nullable Boolean skipRemoteOnlyCondition) Whether transitions with the condition *Hide From User Condition* are included in the response.@Nullable Boolean
Whether the transitions are sorted by ops-bar sequence value first then category order (Todo, In Progress, Done) or only by ops-bar sequence value.sortByOpsBarAndStatus
(@Nullable Boolean sortByOpsBarAndStatus) Whether the transitions are sorted by ops-bar sequence value first then category order (Todo, In Progress, Done) or only by ops-bar sequence value.toString()
@Nullable String
The ID of the transition.transitionId
(@Nullable String transitionId) The ID of the transition.void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetTransitionsOperationSpec
Constructs a validated instance ofGetTransitionsOperationSpec
.- Parameters:
spec
- the specification to process
-
GetTransitionsOperationSpec
@Internal public GetTransitionsOperationSpec(String issueIdOrKey, String expand, String transitionId, Boolean skipRemoteOnlyCondition, Boolean includeUnavailableTransitions, Boolean sortByOpsBarAndStatus) Constructs a validated instance ofGetTransitionsOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
issueIdOrKey
- The ID or key of the issue.expand
- Use [expand](#expansion) to include additional information about transitions in the response. This parameter acceptstransitions.fields
, which returns information about the fields in the transition screen for each transition. Fields hidden from the screen are not returned. Use this information to populate thefields
andupdate
fields in [Transition issue](#api-rest-api-3-issue-issueIdOrKey-transitions-post).transitionId
- The ID of the transition.skipRemoteOnlyCondition
- Whether transitions with the condition *Hide From User Condition* are included in the response.includeUnavailableTransitions
- Whether details of transitions that fail a condition are included in the responsesortByOpsBarAndStatus
- Whether the transitions are sorted by ops-bar sequence value first then category order (Todo, In Progress, Done) or only by ops-bar sequence value.
-
GetTransitionsOperationSpec
protected GetTransitionsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
issueIdOrKey
The ID or key of the issue. -
expand
Use [expand](#expansion) to include additional information about transitions in the response. This parameter acceptstransitions.fields
, which returns information about the fields in the transition screen for each transition. Fields hidden from the screen are not returned. Use this information to populate thefields
andupdate
fields in [Transition issue](#api-rest-api-3-issue-issueIdOrKey-transitions-post). -
transitionId
The ID of the transition. -
skipRemoteOnlyCondition
Whether transitions with the condition *Hide From User Condition* are included in the response. -
sortByOpsBarAndStatus
Whether the transitions are sorted by ops-bar sequence value first then category order (Todo, In Progress, Done) or only by ops-bar sequence value. -
issueIdOrKey
The ID or key of the issue.- Returns:
this
.
-
expand
Use [expand](#expansion) to include additional information about transitions in the response. This parameter acceptstransitions.fields
, which returns information about the fields in the transition screen for each transition. Fields hidden from the screen are not returned. Use this information to populate thefields
andupdate
fields in [Transition issue](#api-rest-api-3-issue-issueIdOrKey-transitions-post).- Returns:
this
.
-
transitionId
The ID of the transition.- Returns:
this
.
-
skipRemoteOnlyCondition
public GetTransitionsOperationSpec skipRemoteOnlyCondition(@Nullable @Nullable Boolean skipRemoteOnlyCondition) Whether transitions with the condition *Hide From User Condition* are included in the response.- Returns:
this
.
-
sortByOpsBarAndStatus
public GetTransitionsOperationSpec sortByOpsBarAndStatus(@Nullable @Nullable Boolean sortByOpsBarAndStatus) Whether the transitions are sorted by ops-bar sequence value first then category order (Todo, In Progress, Done) or only by ops-bar sequence value.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-