Klasse SearchProjectsOperationSpec
java.lang.Object
io.github.primelib.jira4j.restv3.spec.SearchProjectsOperationSpec
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SearchProjectsOperationSpec
extends Object
SearchProjectsSpec
Specification for the SearchProjects operation.
Get projects paginated
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedSearchProjectsOperationSpec(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. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@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
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
SearchProjectsOperationSpec
Constructs a validated instance ofSearchProjectsOperationSpec.- Parameter:
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.
- Parameter:
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-3-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-3-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).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()
-
-
Methodendetails
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Löst aus:
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-3-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-3-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). -
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).- Gibt zurück:
this.
-
maxResults
The maximum number of items to return per page.- Gibt zurück:
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-3-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.- Gibt zurück:
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.- Gibt zurück:
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.- Gibt zurück:
this.
-
query
Filter the results using a literal string. Projects with a matchingkeyornameare returned (case insensitive).- Gibt zurück:
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.- Gibt zurück:
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-3-projectCategory-get) operation.- Gibt zurück:
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).- Gibt zurück:
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.- Gibt zurück:
this.
-
status
EXPERIMENTAL. Filter results by project status: *liveSearch live projects. *archivedSearch archived projects. *deletedSearch deleted projects, those in the recycle bin.- Gibt zurück:
this.
-
properties
EXPERIMENTAL. A list of project properties to return for the project. This parameter accepts a comma-separated list.- Gibt zurück:
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.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-