public class IssueResolutionsApi extends Object
| Constructor and Description |
|---|
IssueResolutionsApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<ResolutionId> |
createResolution(Map<String,Object> requestBody,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create resolution
Creates an issue resolution.
|
io.reactivex.Completable |
deleteResolution(String id,
String replaceWith,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete resolution
Deletes an issue resolution.
|
io.reactivex.Single<Resolution> |
getResolution(String id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get resolution
Returns an issue resolution value.
|
io.reactivex.Single<List<Resolution>> |
getResolutions(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Deprecated.
|
io.reactivex.Single<Object> |
moveResolutions(ReorderIssueResolutionsRequest reorderIssueResolutionsRequest,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Move resolutions
Changes the order of issue resolutions.
|
io.reactivex.Single<PageBeanResolutionJsonBean> |
searchResolutions(Optional<String> startAt,
Optional<String> maxResults,
Optional<List<String>> id,
Optional<Boolean> onlyDefault,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Search resolutions
Returns a [paginated](#pagination) list of resolutions.
|
io.reactivex.Single<Object> |
setDefaultResolution(SetDefaultResolutionRequest setDefaultResolutionRequest,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set default resolution
Sets default issue resolution.
|
io.reactivex.Single<Object> |
updateResolution(String id,
Map<String,Object> requestBody,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update resolution
Updates an issue resolution.
|
public IssueResolutionsApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<ResolutionId> createResolution(Map<String,Object> requestBody, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
requestBody - (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 deleteResolution(String id, String replaceWith, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the issue resolution. (required)replaceWith - The ID of the issue resolution that will replace the currently selected resolution. (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<Resolution> getResolution(String id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the issue resolution value. (required)restRequestEnhancer - Adds the possibility to modify the rest request before sending out. This can be useful to add authorizations tokens for example.
@Deprecated public io.reactivex.Single<List<Resolution>> getResolutions(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<Object> moveResolutions(ReorderIssueResolutionsRequest reorderIssueResolutionsRequest, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
reorderIssueResolutionsRequest - (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<PageBeanResolutionJsonBean> searchResolutions(Optional<String> startAt, Optional<String> maxResults, Optional<List<String>> id, Optional<Boolean> onlyDefault, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
startAt - The index of the first item to return in a page of results (page offset). (optional, default to "0")maxResults - The maximum number of items to return per page. (optional, default to "50")id - The list of resolutions IDs to be filtered out (optional, default to new ArrayList<>())onlyDefault - When set to true, return default only, when IDs provided, if none of them is default, return empty page. Default value is false (optional, default to false)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<Object> setDefaultResolution(SetDefaultResolutionRequest setDefaultResolutionRequest, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
setDefaultResolutionRequest - (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<Object> updateResolution(String id, Map<String,Object> requestBody, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the issue resolution. (required)requestBody - (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–2023 Everit Kft.. All rights reserved.