public class ProjectCategoryApi extends Object
| Constructor and Description |
|---|
ProjectCategoryApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<ProjectCategory> |
createProjectCategory(ProjectCategory projectCategory,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create project category
Creates a project category.
|
io.reactivex.Single<List<ProjectCategory>> |
getAllProjectCategories(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get all project categories
Returns all project categories.
|
io.reactivex.Single<ProjectCategory> |
getProjectCategoryById(Long id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get project category by id
Returns a project category.
|
io.reactivex.Completable |
removeProjectCategory(Long id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete project category
Deletes a project category.
|
io.reactivex.Single<UpdatedProjectCategory> |
updateProjectCategory(Long id,
ProjectCategory projectCategory,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update project category
Updates a project category.
|
public ProjectCategoryApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<ProjectCategory> createProjectCategory(ProjectCategory projectCategory, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Creates a project category.
Permissions required: Administer Jira global permission.
projectCategory - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<List<ProjectCategory>> getAllProjectCategories(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns all project categories.
Permissions required: Permission to access Jira.
restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<ProjectCategory> getProjectCategoryById(Long id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns a project category.
Permissions required: Permission to access Jira.
id - The ID of the project category.
(required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Completable removeProjectCategory(Long id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Deletes a project category.
Permissions required: Administer Jira global permission.
id - ID of the project category to delete.
(required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
public io.reactivex.Single<UpdatedProjectCategory> updateProjectCategory(Long id, ProjectCategory projectCategory, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Updates a project category.
Permissions required: Administer Jira global permission.
id - (required)projectCategory - (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
Copyright © 2011–2021 Everit Kft.. All rights reserved.