public class ProjectCategoriesApi extends Object
| Constructor and Description |
|---|
ProjectCategoriesApi(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 ProjectCategoriesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<ProjectCategory> createProjectCategory(ProjectCategory projectCategory, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
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)
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)
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)
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)
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.