Class GetWorkflowsPaginatedOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetWorkflowsPaginatedOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class GetWorkflowsPaginatedOperationSpec
extends Object
GetWorkflowsPaginatedSpec
Specification for the GetWorkflowsPaginated operation.
Get workflows paginated
-
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
ConstructorsModifierConstructorDescriptionprotectedGetWorkflowsPaginatedOperationSpec(Long startAt, Integer maxResults, Set<String> workflowName, String expand, String queryString, String orderBy, Boolean isActive) Constructs a validated instance ofGetWorkflowsPaginatedOperationSpec.Constructs a validated instance ofGetWorkflowsPaginatedOperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanboolean@Nullable Stringexpand()Use [expand](#expansion) to include additional information in the response.Use [expand](#expansion) to include additional information in the response.inthashCode()@Nullable BooleanisActive()Filters active and inactive workflows.Filters active and inactive workflows.@Nullable IntegerThe maximum number of items to return per page.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable StringorderBy()[Order](#ordering) the results by a field: *nameSorts by workflow name.[Order](#ordering) the results by a field: *nameSorts by workflow name.@Nullable StringString used to perform a case-insensitive partial match with workflow name.queryString(@Nullable String queryString) String used to perform a case-insensitive partial match with workflow name.@Nullable LongstartAt()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()voidvalidate()Validates the Spec, will throw a exception if required parameters are missingThe name of a workflow to return.workflowName(@Nullable Set<String> workflowName) The name of a workflow to return.
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetWorkflowsPaginatedOperationSpec
@Internal public GetWorkflowsPaginatedOperationSpec(Consumer<GetWorkflowsPaginatedOperationSpec> spec) Constructs a validated instance ofGetWorkflowsPaginatedOperationSpec.- Parameters:
spec- the specification to process
-
GetWorkflowsPaginatedOperationSpec
@Internal public GetWorkflowsPaginatedOperationSpec(Long startAt, Integer maxResults, Set<String> workflowName, String expand, String queryString, String orderBy, Boolean isActive) Constructs a validated instance ofGetWorkflowsPaginatedOperationSpec.NOTE: This constructor is not considered stable and may change if the operation is updated.
- Parameters:
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.workflowName- The name of a workflow to return. To include multiple workflows, provide an ampersand-separated list. For example,workflowName=name1&workflowName=name2.expand- Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *transitionsFor each workflow, returns information about the transitions inside the workflow. *transitions.rulesFor each workflow transition, returns information about its rules. Transitions are included automatically if this expand is requested. *transitions.propertiesFor each workflow transition, returns information about its properties. Transitions are included automatically if this expand is requested. *statusesFor each workflow, returns information about the statuses inside the workflow. *statuses.propertiesFor each workflow status, returns information about its properties. Statuses are included automatically if this expand is requested. *defaultFor each workflow, returns information about whether this is the default workflow. *schemesFor each workflow, returns information about the workflow schemes the workflow is assigned to. *projectsFor each workflow, returns information about the projects the workflow is assigned to, through workflow schemes. *hasDraftWorkflowFor each workflow, returns information about whether the workflow has a draft version. *operationsFor each workflow, returns information about the actions that can be undertaken on the workflow.queryString- String used to perform a case-insensitive partial match with workflow name.orderBy- [Order](#ordering) the results by a field: *nameSorts by workflow name. *createdSorts by create time. *updatedSorts by update time.isActive- Filters active and inactive workflows.
-
GetWorkflowsPaginatedOperationSpec
protected GetWorkflowsPaginatedOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
builder
public static GetWorkflowsPaginatedOperationSpec.GetWorkflowsPaginatedOperationSpecBuilder builder() -
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. -
workflowName
The name of a workflow to return. To include multiple workflows, provide an ampersand-separated list. For example,workflowName=name1&workflowName=name2. -
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *transitionsFor each workflow, returns information about the transitions inside the workflow. *transitions.rulesFor each workflow transition, returns information about its rules. Transitions are included automatically if this expand is requested. *transitions.propertiesFor each workflow transition, returns information about its properties. Transitions are included automatically if this expand is requested. *statusesFor each workflow, returns information about the statuses inside the workflow. *statuses.propertiesFor each workflow status, returns information about its properties. Statuses are included automatically if this expand is requested. *defaultFor each workflow, returns information about whether this is the default workflow. *schemesFor each workflow, returns information about the workflow schemes the workflow is assigned to. *projectsFor each workflow, returns information about the projects the workflow is assigned to, through workflow schemes. *hasDraftWorkflowFor each workflow, returns information about whether the workflow has a draft version. *operationsFor each workflow, returns information about the actions that can be undertaken on the workflow. -
queryString
String used to perform a case-insensitive partial match with workflow name. -
orderBy
[Order](#ordering) the results by a field: *nameSorts by workflow name. *createdSorts by create time. *updatedSorts by update time. -
isActive
Filters active and inactive workflows. -
startAt
The index of the first item to return in a page of results (page offset).- Returns:
this.
-
maxResults
The maximum number of items to return per page.- Returns:
this.
-
workflowName
public GetWorkflowsPaginatedOperationSpec workflowName(@Nullable @Nullable Set<String> workflowName) The name of a workflow to return. To include multiple workflows, provide an ampersand-separated list. For example,workflowName=name1&workflowName=name2.- Returns:
this.
-
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *transitionsFor each workflow, returns information about the transitions inside the workflow. *transitions.rulesFor each workflow transition, returns information about its rules. Transitions are included automatically if this expand is requested. *transitions.propertiesFor each workflow transition, returns information about its properties. Transitions are included automatically if this expand is requested. *statusesFor each workflow, returns information about the statuses inside the workflow. *statuses.propertiesFor each workflow status, returns information about its properties. Statuses are included automatically if this expand is requested. *defaultFor each workflow, returns information about whether this is the default workflow. *schemesFor each workflow, returns information about the workflow schemes the workflow is assigned to. *projectsFor each workflow, returns information about the projects the workflow is assigned to, through workflow schemes. *hasDraftWorkflowFor each workflow, returns information about whether the workflow has a draft version. *operationsFor each workflow, returns information about the actions that can be undertaken on the workflow.- Returns:
this.
-
queryString
String used to perform a case-insensitive partial match with workflow name.- Returns:
this.
-
orderBy
[Order](#ordering) the results by a field: *nameSorts by workflow name. *createdSorts by create time. *updatedSorts by update time.- Returns:
this.
-
isActive
Filters active and inactive workflows.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-