Class GetWorkflowTransitionRuleConfigurationsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetWorkflowTransitionRuleConfigurationsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetWorkflowTransitionRuleConfigurationsOperationSpec
extends Object
GetWorkflowTransitionRuleConfigurationsSpec
Specification for the GetWorkflowTransitionRuleConfigurations operation.
Get workflow transition rule configurations
-
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
GetWorkflowTransitionRuleConfigurationsOperationSpec
(Consumer<GetWorkflowTransitionRuleConfigurationsOperationSpec> spec) Constructs a validated instance ofGetWorkflowTransitionRuleConfigurationsOperationSpec
.GetWorkflowTransitionRuleConfigurationsOperationSpec
(Set<String> types, GetWorkflowTransitionRuleConfigurationsRequest getWorkflowTransitionRuleConfigurationsRequest, Long startAt, Integer maxResults, Set<String> keys, Set<String> workflowNames, Set<String> withTags, Boolean draft, String expand) Constructs a validated instance ofGetWorkflowTransitionRuleConfigurationsOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
@Nullable Boolean
draft()
Whether draft or published workflows are returned.Whether draft or published workflows are returned.boolean
@Nullable String
expand()
Use [expand](#expansion) to include additional information in the response.Use [expand](#expansion) to include additional information in the response.getWorkflowTransitionRuleConfigurationsRequest
(@NotNull GetWorkflowTransitionRuleConfigurationsRequest getWorkflowTransitionRuleConfigurationsRequest) int
hashCode()
keys()
The transition rule class keys, as defined in the Connect or the Forge app descriptor, of the transition rules to return.The transition rule class keys, as defined in the Connect or the Forge app descriptor, of the transition rules to return.@Nullable Integer
The maximum number of items to return per page.maxResults
(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable Long
startAt()
The index of the first item to return in a page of results (page offset).The index of the first item to return in a page of results (page offset).toString()
types()
The types of the transition rules to return.The types of the transition rules to return.void
validate()
Validates the Spec, will throw a exception if required parameters are missingwithTags()
The list oftags
to filter by.The list oftags
to filter by.The list of workflow names to filter by.workflowNames
(@Nullable Set<String> workflowNames) The list of workflow names to filter by.
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetWorkflowTransitionRuleConfigurationsOperationSpec
@Internal public GetWorkflowTransitionRuleConfigurationsOperationSpec(Consumer<GetWorkflowTransitionRuleConfigurationsOperationSpec> spec) Constructs a validated instance ofGetWorkflowTransitionRuleConfigurationsOperationSpec
.- Parameters:
spec
- the specification to process
-
GetWorkflowTransitionRuleConfigurationsOperationSpec
@Internal public GetWorkflowTransitionRuleConfigurationsOperationSpec(Set<String> types, GetWorkflowTransitionRuleConfigurationsRequest getWorkflowTransitionRuleConfigurationsRequest, Long startAt, Integer maxResults, Set<String> keys, Set<String> workflowNames, Set<String> withTags, Boolean draft, String expand) Constructs a validated instance ofGetWorkflowTransitionRuleConfigurationsOperationSpec
.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
types
- The types of the transition rules to return.getWorkflowTransitionRuleConfigurationsRequest
-startAt
- The index of the first item to return in a page of results (page offset).maxResults
- The maximum number of items to return per page.keys
- The transition rule class keys, as defined in the Connect or the Forge app descriptor, of the transition rules to return.workflowNames
- The list of workflow names to filter by.withTags
- The list oftags
to filter by.draft
- Whether draft or published workflows are returned. If not provided, both workflow types are returned.expand
- Use [expand](#expansion) to include additional information in the response. This parameter acceptstransition
, which, for each rule, returns information about the transition the rule is assigned to.
-
GetWorkflowTransitionRuleConfigurationsOperationSpec
protected GetWorkflowTransitionRuleConfigurationsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
-
types
The types of the transition rules to return. -
getWorkflowTransitionRuleConfigurationsRequest
@NotNull public @NotNull GetWorkflowTransitionRuleConfigurationsRequest getWorkflowTransitionRuleConfigurationsRequest() -
startAt
The index of the first item to return in a page of results (page offset). -
maxResults
The maximum number of items to return per page. -
keys
The transition rule class keys, as defined in the Connect or the Forge app descriptor, of the transition rules to return. -
workflowNames
The list of workflow names to filter by. -
withTags
The list oftags
to filter by. -
draft
Whether draft or published workflows are returned. If not provided, both workflow types are returned. -
expand
Use [expand](#expansion) to include additional information in the response. This parameter acceptstransition
, which, for each rule, returns information about the transition the rule is assigned to. -
types
public GetWorkflowTransitionRuleConfigurationsOperationSpec types(@NotNull @NotNull Set<String> types) The types of the transition rules to return.- Returns:
this
.
-
getWorkflowTransitionRuleConfigurationsRequest
public GetWorkflowTransitionRuleConfigurationsOperationSpec getWorkflowTransitionRuleConfigurationsRequest(@NotNull @NotNull GetWorkflowTransitionRuleConfigurationsRequest getWorkflowTransitionRuleConfigurationsRequest) - Returns:
this
.
-
startAt
public GetWorkflowTransitionRuleConfigurationsOperationSpec startAt(@Nullable @Nullable Long startAt) The index of the first item to return in a page of results (page offset).- Returns:
this
.
-
maxResults
public GetWorkflowTransitionRuleConfigurationsOperationSpec maxResults(@Nullable @Nullable Integer maxResults) The maximum number of items to return per page.- Returns:
this
.
-
keys
public GetWorkflowTransitionRuleConfigurationsOperationSpec keys(@Nullable @Nullable Set<String> keys) The transition rule class keys, as defined in the Connect or the Forge app descriptor, of the transition rules to return.- Returns:
this
.
-
workflowNames
public GetWorkflowTransitionRuleConfigurationsOperationSpec workflowNames(@Nullable @Nullable Set<String> workflowNames) The list of workflow names to filter by.- Returns:
this
.
-
withTags
public GetWorkflowTransitionRuleConfigurationsOperationSpec withTags(@Nullable @Nullable Set<String> withTags) The list oftags
to filter by.- Returns:
this
.
-
draft
public GetWorkflowTransitionRuleConfigurationsOperationSpec draft(@Nullable @Nullable Boolean draft) Whether draft or published workflows are returned. If not provided, both workflow types are returned.- Returns:
this
.
-
expand
public GetWorkflowTransitionRuleConfigurationsOperationSpec expand(@Nullable @Nullable String expand) Use [expand](#expansion) to include additional information in the response. This parameter acceptstransition
, which, for each rule, returns information about the transition the rule is assigned to.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-