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 Boolean
allows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotected
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
.Constructs a validated instance ofSearchProjectsOperationSpec
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibung@Nullable String
action()
Filter results by projects for which the user can: *view
the 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: *view
the 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 Long
The ID of the project's category.categoryId
(@Nullable Long categoryId) The ID of the project's category.boolean
@Nullable String
expand()
Use [expand](#expansion) to include additional information in the response.Use [expand](#expansion) to include additional information in the response.int
hashCode()
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 Integer
The maximum number of items to return per page.maxResults
(@Nullable Integer maxResults) The maximum number of items to return per page.@Nullable String
orderBy()
[Order](#ordering) the results by a field.[Order](#ordering) the results by a field.EXPERIMENTAL.properties
(@Nullable List<Object> properties) EXPERIMENTAL.@Nullable String
EXPERIMENTAL.propertyQuery
(@Nullable String propertyQuery) EXPERIMENTAL.@Nullable String
query()
Filter the results using a literal string.Filter the results using a literal string.@Nullable Long
startAt()
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 String
typeKey()
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).void
validate()
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. *category
Sorts by project category. A complete list of category IDs is found using [Get all project categories](#api-rest-api-3-projectCategory-get). *issueCount
Sorts by the total number of issues in each project. *key
Sorts by project key. *lastIssueUpdatedTime
Sorts by the last issue update time. *name
Sorts by project name. *owner
Sorts by project lead. *archivedDate
EXPERIMENTAL. Sorts by project archived date. *deletedDate
EXPERIMENTAL. 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 matchingkey
orname
are 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: *view
the 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). *browse
the project, meaning that they have the *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. *edit
the 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: *description
Returns the project description. *projectKeys
Returns all project keys associated with a project. *lead
Returns information about the project lead. *issueTypes
Returns all issue types associated with the project. *url
Returns the URL associated with the project. *insight
EXPERIMENTAL. Returns the insight details of total issue count and last issue update time for the project.status
- EXPERIMENTAL. Filter results by project status: *live
Search live projects. *archived
Search archived projects. *deleted
Search 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 ofnested
from{"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 thatthepropertykey
is 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. *category
Sorts by project category. A complete list of category IDs is found using [Get all project categories](#api-rest-api-3-projectCategory-get). *issueCount
Sorts by the total number of issues in each project. *key
Sorts by project key. *lastIssueUpdatedTime
Sorts by the last issue update time. *name
Sorts by project name. *owner
Sorts by project lead. *archivedDate
EXPERIMENTAL. Sorts by project archived date. *deletedDate
EXPERIMENTAL. 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 matchingkey
orname
are 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: *view
the 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). *browse
the project, meaning that they have the *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. *edit
the 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: *description
Returns the project description. *projectKeys
Returns all project keys associated with a project. *lead
Returns information about the project lead. *issueTypes
Returns all issue types associated with the project. *url
Returns the URL associated with the project. *insight
EXPERIMENTAL. Returns the insight details of total issue count and last issue update time for the project. -
status
EXPERIMENTAL. Filter results by project status: *live
Search live projects. *archived
Search archived projects. *deleted
Search 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 ofnested
from{"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 thatthepropertykey
is 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. *category
Sorts by project category. A complete list of category IDs is found using [Get all project categories](#api-rest-api-3-projectCategory-get). *issueCount
Sorts by the total number of issues in each project. *key
Sorts by project key. *lastIssueUpdatedTime
Sorts by the last issue update time. *name
Sorts by project name. *owner
Sorts by project lead. *archivedDate
EXPERIMENTAL. Sorts by project archived date. *deletedDate
EXPERIMENTAL. 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 matchingkey
orname
are 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: *view
the 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). *browse
the project, meaning that they have the *Browse projects* [project permission](https://confluence.atlassian.com/x/yodKLg) for the project. *edit
the 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: *description
Returns the project description. *projectKeys
Returns all project keys associated with a project. *lead
Returns information about the project lead. *issueTypes
Returns all issue types associated with the project. *url
Returns the URL associated with the project. *insight
EXPERIMENTAL. 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: *live
Search live projects. *archived
Search archived projects. *deleted
Search 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 ofnested
from{"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 thatthepropertykey
is only returned when included inproperties
.- Gibt zurück:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-