Class SearchProjectsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv2.spec.SearchProjectsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SearchProjectsOperationSpec
extends Object
SearchProjectsSpec
Specification for the SearchProjects operation.
Get projects 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
ConstructorsModifierConstructorDescriptionprotectedSearchProjectsOperationSpec(Long startAt, Integer maxResults, String orderBy, Set<Long> id, Set<String> keys, String query, String typeKey, Long categoryId, String action, String expand, List<String> status, List<Object> properties, String propertyQuery) Constructs a validated instance ofSearchProjectsOperationSpec.Constructs a validated instance ofSearchProjectsOperationSpec. -
Method Summary
Modifier and TypeMethodDescription@Nullable Stringaction()Filter results by projects for which the user can: *viewthe project, meaning that they have one of the following permissions: * *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project.Filter results by projects for which the user can: *viewthe project, meaning that they have one of the following permissions: * *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project.builder()protected boolean@Nullable LongThe ID of the project's category.categoryId(@Nullable Long categoryId) The ID of the project's category.boolean@Nullable Stringexpand()Use [expand](#expansion) to include additional information in the response.Use [expand](#expansion) to include additional information in the response.inthashCode()id()The project IDs to filter the results by.The project IDs to filter the results by.keys()The project keys to filter the results by.The project keys to filter the results by.@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.[Order](#ordering) the results by a field.EXPERIMENTAL.properties(@Nullable List<Object> properties) EXPERIMENTAL.@Nullable StringEXPERIMENTAL.propertyQuery(@Nullable String propertyQuery) EXPERIMENTAL.@Nullable Stringquery()Filter the results using a literal string.Filter the results using a literal string.@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).status()EXPERIMENTAL.EXPERIMENTAL.toString()@Nullable StringtypeKey()Orders results by the [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes).Orders results by the [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes).voidvalidate()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
-
SearchProjectsOperationSpec
Constructs a validated instance ofSearchProjectsOperationSpec.- Parameters:
spec- the specification to process
-
SearchProjectsOperationSpec
@Internal public SearchProjectsOperationSpec(Long startAt, Integer maxResults, String orderBy, Set<Long> id, Set<String> keys, String query, String typeKey, Long categoryId, String action, String expand, List<String> status, List<Object> properties, String propertyQuery) Constructs a validated instance ofSearchProjectsOperationSpec.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.orderBy- [Order](#ordering) the results by a field. *categorySorts by project category. A complete list of category IDs is found using [Get all project categories](#api-rest-api-2-projectCategory-get). *issueCountSorts by the total number of issues in each project. *keySorts by project key. *lastIssueUpdatedTimeSorts by the last issue update time. *nameSorts by project name. *ownerSorts by project lead. *archivedDateEXPERIMENTAL. Sorts by project archived date. *deletedDateEXPERIMENTAL. Sorts by project deleted date.id- The project IDs to filter the results by. To include multiple IDs, provide an ampersand-separated list. For example,id=10000&id=10001. Up to 50 project IDs can be provided.keys- The project keys to filter the results by. To include multiple keys, provide an ampersand-separated list. For example,keys=PA&keys=PB. Up to 50 project keys can be provided.query- Filter the results using a literal string. Projects with a matchingkeyornameare returned (case insensitive).typeKey- Orders results by the [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes). This parameter accepts a comma-separated list. Valid values arebusiness,service_desk, andsoftware.categoryId- The ID of the project's category. A complete list of category IDs is found using the [Get all project categories](#api-rest-api-2-projectCategory-get) operation.action- Filter results by projects for which the user can: *viewthe project, meaning that they have one of the following permissions: * *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. * *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. * *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). *browsethe project, meaning that they have the *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. *editthe project, meaning that they have one of the following permissions: * *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. * *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). *createthe project, meaning that they have the *Create issues* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project in which the issue is created.expand- Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expanded options include: *descriptionReturns the project description. *projectKeysReturns all project keys associated with a project. *leadReturns information about the project lead. *issueTypesReturns all issue types associated with the project. *urlReturns the URL associated with the project. *insightEXPERIMENTAL. Returns the insight details of total issue count and last issue update time for the project.status- EXPERIMENTAL. Filter results by project status: *liveSearch live projects. *archivedSearch archived projects. *deletedSearch deleted projects, those in the recycle bin.properties- EXPERIMENTAL. A list of project properties to return for the project. This parameter accepts a comma-separated list.propertyQuery- EXPERIMENTAL. A query string used to search properties. The query string cannot be specified using a JSON object. For example, to search for the value ofnestedfrom{"something":{"nested":1,"other":2}}use[thepropertykey].something.nested=1. Note that the propertyQuery key is enclosed in square brackets to enable searching where the propertyQuery key includes dot (.) or equals (=) characters. Note thatthepropertykeyis only returned when included inproperties.
-
SearchProjectsOperationSpec
protected SearchProjectsOperationSpec()
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
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. -
orderBy
[Order](#ordering) the results by a field. *categorySorts by project category. A complete list of category IDs is found using [Get all project categories](#api-rest-api-2-projectCategory-get). *issueCountSorts by the total number of issues in each project. *keySorts by project key. *lastIssueUpdatedTimeSorts by the last issue update time. *nameSorts by project name. *ownerSorts by project lead. *archivedDateEXPERIMENTAL. Sorts by project archived date. *deletedDateEXPERIMENTAL. Sorts by project deleted date. -
id
The project IDs to filter the results by. To include multiple IDs, provide an ampersand-separated list. For example,id=10000&id=10001. Up to 50 project IDs can be provided. -
keys
The project keys to filter the results by. To include multiple keys, provide an ampersand-separated list. For example,keys=PA&keys=PB. Up to 50 project keys can be provided. -
query
Filter the results using a literal string. Projects with a matchingkeyornameare returned (case insensitive). -
typeKey
Orders results by the [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes). This parameter accepts a comma-separated list. Valid values arebusiness,service_desk, andsoftware. -
categoryId
The ID of the project's category. A complete list of category IDs is found using the [Get all project categories](#api-rest-api-2-projectCategory-get) operation. -
action
Filter results by projects for which the user can: *viewthe project, meaning that they have one of the following permissions: * *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. * *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. * *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). *browsethe project, meaning that they have the *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. *editthe project, meaning that they have one of the following permissions: * *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. * *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). *createthe project, meaning that they have the *Create issues* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project in which the issue is created. -
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expanded options include: *descriptionReturns the project description. *projectKeysReturns all project keys associated with a project. *leadReturns information about the project lead. *issueTypesReturns all issue types associated with the project. *urlReturns the URL associated with the project. *insightEXPERIMENTAL. Returns the insight details of total issue count and last issue update time for the project. -
status
EXPERIMENTAL. Filter results by project status: *liveSearch live projects. *archivedSearch archived projects. *deletedSearch deleted projects, those in the recycle bin. -
properties
EXPERIMENTAL. A list of project properties to return for the project. This parameter accepts a comma-separated list. -
propertyQuery
EXPERIMENTAL. A query string used to search properties. The query string cannot be specified using a JSON object. For example, to search for the value ofnestedfrom{"something":{"nested":1,"other":2}}use[thepropertykey].something.nested=1. Note that the propertyQuery key is enclosed in square brackets to enable searching where the propertyQuery key includes dot (.) or equals (=) characters. Note thatthepropertykeyis only returned when included inproperties. -
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.
-
orderBy
[Order](#ordering) the results by a field. *categorySorts by project category. A complete list of category IDs is found using [Get all project categories](#api-rest-api-2-projectCategory-get). *issueCountSorts by the total number of issues in each project. *keySorts by project key. *lastIssueUpdatedTimeSorts by the last issue update time. *nameSorts by project name. *ownerSorts by project lead. *archivedDateEXPERIMENTAL. Sorts by project archived date. *deletedDateEXPERIMENTAL. Sorts by project deleted date.- Returns:
this.
-
id
The project IDs to filter the results by. To include multiple IDs, provide an ampersand-separated list. For example,id=10000&id=10001. Up to 50 project IDs can be provided.- Returns:
this.
-
keys
The project keys to filter the results by. To include multiple keys, provide an ampersand-separated list. For example,keys=PA&keys=PB. Up to 50 project keys can be provided.- Returns:
this.
-
query
Filter the results using a literal string. Projects with a matchingkeyornameare returned (case insensitive).- Returns:
this.
-
typeKey
Orders results by the [project type](https://confluence.atlassian.com/x/GwiiLQ#Jiraapplicationsoverview-Productfeaturesandprojecttypes). This parameter accepts a comma-separated list. Valid values arebusiness,service_desk, andsoftware.- Returns:
this.
-
categoryId
The ID of the project's category. A complete list of category IDs is found using the [Get all project categories](#api-rest-api-2-projectCategory-get) operation.- Returns:
this.
-
action
Filter results by projects for which the user can: *viewthe project, meaning that they have one of the following permissions: * *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. * *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. * *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). *browsethe project, meaning that they have the *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. *editthe project, meaning that they have one of the following permissions: * *Administer projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. * *Administer Jira* [global permission](https://confluence.atlassian.com/x/x4dKLg). *createthe project, meaning that they have the *Create issues* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project in which the issue is created.- Returns:
this.
-
expand
Use [expand](#expansion) to include additional information in the response. This parameter accepts a comma-separated list. Expanded options include: *descriptionReturns the project description. *projectKeysReturns all project keys associated with a project. *leadReturns information about the project lead. *issueTypesReturns all issue types associated with the project. *urlReturns the URL associated with the project. *insightEXPERIMENTAL. Returns the insight details of total issue count and last issue update time for the project.- Returns:
this.
-
status
EXPERIMENTAL. Filter results by project status: *liveSearch live projects. *archivedSearch archived projects. *deletedSearch deleted projects, those in the recycle bin.- Returns:
this.
-
properties
EXPERIMENTAL. A list of project properties to return for the project. This parameter accepts a comma-separated list.- Returns:
this.
-
propertyQuery
EXPERIMENTAL. A query string used to search properties. The query string cannot be specified using a JSON object. For example, to search for the value ofnestedfrom{"something":{"nested":1,"other":2}}use[thepropertykey].something.nested=1. Note that the propertyQuery key is enclosed in square brackets to enable searching where the propertyQuery key includes dot (.) or equals (=) characters. Note thatthepropertykeyis only returned when included inproperties.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-