Class GetProjectComponentsPaginatedOperationSpec.GetProjectComponentsPaginatedOperationSpecBuilder
java.lang.Object
io.github.primelib.jira4j.restv2.spec.GetProjectComponentsPaginatedOperationSpec.GetProjectComponentsPaginatedOperationSpecBuilder
- Enclosing class:
- GetProjectComponentsPaginatedOperationSpec
public static class GetProjectComponentsPaginatedOperationSpec.GetProjectComponentsPaginatedOperationSpecBuilder
extends Object
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
componentSource
(@Nullable String componentSource) The source of the components to return.maxResults
(@Nullable Integer maxResults) The maximum number of items to return per page.[Order](#ordering) the results by a field: *description
Sorts by the component 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).toString()
-
Method Details
-
projectIdOrKey
public GetProjectComponentsPaginatedOperationSpec.GetProjectComponentsPaginatedOperationSpecBuilder projectIdOrKey(@NotNull @NotNull String projectIdOrKey) The project ID or project key (case sensitive).- Returns:
this
.
-
startAt
public GetProjectComponentsPaginatedOperationSpec.GetProjectComponentsPaginatedOperationSpecBuilder startAt(@Nullable @Nullable Long startAt) The index of the first item to return in a page of results (page offset).- Returns:
this
.
-
maxResults
public GetProjectComponentsPaginatedOperationSpec.GetProjectComponentsPaginatedOperationSpecBuilder maxResults(@Nullable @Nullable Integer maxResults) The maximum number of items to return per page.- Returns:
this
.
-
orderBy
public GetProjectComponentsPaginatedOperationSpec.GetProjectComponentsPaginatedOperationSpecBuilder orderBy(@Nullable @Nullable String orderBy) [Order](#ordering) the results by a field: *description
Sorts by the component description. *issueCount
Sorts by the count of issues associated with the component. *lead
Sorts by the user key of the component's project lead. *name
Sorts by component name.- Returns:
this
.
-
componentSource
public GetProjectComponentsPaginatedOperationSpec.GetProjectComponentsPaginatedOperationSpecBuilder componentSource(@Nullable @Nullable String componentSource) The source of the components to return. Can bejira
(default),compass
orauto
. Whenauto
is specified, the API will return connected Compass components if the project is opted into Compass, otherwise it will return Jira components. Defaults tojira
.- Returns:
this
.
-
query
public GetProjectComponentsPaginatedOperationSpec.GetProjectComponentsPaginatedOperationSpecBuilder query(@Nullable @Nullable String query) Filter the results using a literal string. Components with a matchingname
ordescription
are returned (case insensitive).- Returns:
this
.
-
build
-
toString
-