Class GetProjectVersionsPaginatedOperationSpec.GetProjectVersionsPaginatedOperationSpecBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetProjectVersionsPaginatedOperationSpec.GetProjectVersionsPaginatedOperationSpecBuilder
- Enclosing class:
- GetProjectVersionsPaginatedOperationSpec
public static class GetProjectVersionsPaginatedOperationSpec.GetProjectVersionsPaginatedOperationSpecBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Use [expand](#expansion) to include additional information in the response.maxResults(@Nullable Integer maxResults) The maximum number of items to return per page.[Order](#ordering) the results by a field: *descriptionSorts by version description.projectIdOrKey(@NotNull String projectIdOrKey) The project ID or project key (case sensitive).Filter the results using a literal string.The index of the first item to return in a page of results (page offset).A list of status values used to filter the results by version status.toString()
-
Method Details
-
projectIdOrKey
public GetProjectVersionsPaginatedOperationSpec.GetProjectVersionsPaginatedOperationSpecBuilder projectIdOrKey(@NotNull @NotNull String projectIdOrKey) The project ID or project key (case sensitive).- Returns:
this.
-
startAt
public GetProjectVersionsPaginatedOperationSpec.GetProjectVersionsPaginatedOperationSpecBuilder startAt(@Nullable @Nullable Long startAt) The index of the first item to return in a page of results (page offset).- Returns:
this.
-
maxResults
public GetProjectVersionsPaginatedOperationSpec.GetProjectVersionsPaginatedOperationSpecBuilder maxResults(@Nullable @Nullable Integer maxResults) The maximum number of items to return per page.- Returns:
this.
-
orderBy
public GetProjectVersionsPaginatedOperationSpec.GetProjectVersionsPaginatedOperationSpecBuilder orderBy(@Nullable @Nullable String orderBy) [Order](#ordering) the results by a field: *descriptionSorts by version description. *nameSorts by version name. *releaseDateSorts by release date, starting with the oldest date. Versions with no release date are listed last. *sequenceSorts by the order of appearance in the user interface. *startDateSorts by start date, starting with the oldest date. Versions with no start date are listed last.- Returns:
this.
-
query
public GetProjectVersionsPaginatedOperationSpec.GetProjectVersionsPaginatedOperationSpecBuilder query(@Nullable @Nullable String query) Filter the results using a literal string. Versions with matchingnameordescriptionare returned (case insensitive).- Returns:
this.
-
status
public GetProjectVersionsPaginatedOperationSpec.GetProjectVersionsPaginatedOperationSpecBuilder status(@Nullable @Nullable String status) A list of status values used to filter the results by version status. This parameter accepts a comma-separated list. The status values arereleased,unreleased, andarchived.- Returns:
this.
-
expand
public GetProjectVersionsPaginatedOperationSpec.GetProjectVersionsPaginatedOperationSpecBuilder expand(@Nullable @Nullable String expand) Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expand options include: *issuesstatusReturns the number of issues in each status category for each version. *operationsReturns actions that can be performed on the specified version. *driverReturns the Atlassian account ID of the version driver. *approversReturns a list containing the approvers for this version.- Returns:
this.
-
build
-
toString
-