public class ProjectTypeApi extends Object
| Constructor and Description |
|---|
ProjectTypeApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<ProjectType> |
getAccessibleProjectTypeByKey(String projectTypeKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get accessible project type by key
Returns a project type if it is accessible to the user.
|
io.reactivex.Single<List<ProjectType>> |
getAllProjectTypes(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get all project types
Returns all project types, whether or not the instance has a valid license for each type.
|
io.reactivex.Single<ProjectType> |
getProjectTypeByKey(String projectTypeKey,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get project type by key
Returns a project type.
|
public ProjectTypeApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<ProjectType> getAccessibleProjectTypeByKey(String projectTypeKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns a project type if it is accessible to the user.
Permissions required: Permission to access Jira.
projectTypeKey - The key of the project type.
(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<ProjectType>> getAllProjectTypes(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns all project types, whether or not the instance has a valid license for each type.
This operation can be accessed anonymously.
Permissions required: None.
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<ProjectType> getProjectTypeByKey(String projectTypeKey, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Returns a project type.
This operation can be accessed anonymously.
Permissions required: None.
projectTypeKey - The key of the project type.
(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.