public class IssueTypesApi extends Object
| Constructor and Description |
|---|
IssueTypesApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<IssueTypeDetails> |
createIssueType(IssueTypeCreateBean issueTypeCreateBean,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Create issue type
Creates an issue type and adds it to the default issue type scheme.
|
io.reactivex.Single<Avatar> |
createIssueTypeAvatar(String id,
Integer size,
Object body,
Optional<Integer> x,
Optional<Integer> y,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Load issue type avatar
Loads an avatar for the issue type.
|
io.reactivex.Completable |
deleteIssueType(String id,
Optional<String> alternativeIssueTypeId,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete issue type
Deletes the issue type.
|
io.reactivex.Single<List<IssueTypeDetails>> |
getAlternativeIssueTypes(String id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get alternative issue types
Returns a list of issue types that can be used to replace the issue type.
|
io.reactivex.Single<List<IssueTypeDetails>> |
getIssueAllTypes(Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get all issue types for user
Returns all issue types.
|
io.reactivex.Single<IssueTypeDetails> |
getIssueType(String id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get issue type
Returns an issue type.
|
io.reactivex.Single<IssueTypeDetails> |
updateIssueType(String id,
IssueTypeUpdateBean issueTypeUpdateBean,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Update issue type
Updates the issue type.
|
public IssueTypesApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<IssueTypeDetails> createIssueType(IssueTypeCreateBean issueTypeCreateBean, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
issueTypeCreateBean - (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<Avatar> createIssueTypeAvatar(String id, Integer size, Object body, Optional<Integer> x, Optional<Integer> y, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the issue type. (required)size - The length of each side of the crop region. (required)body - (required)x - The X coordinate of the top-left corner of the crop region. (optional, default to 0)y - The Y coordinate of the top-left corner of the crop region. (optional, default to 0)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 deleteIssueType(String id, Optional<String> alternativeIssueTypeId, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the issue type. (required)alternativeIssueTypeId - The ID of the replacement issue type. (optional)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<IssueTypeDetails>> getAlternativeIssueTypes(String id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the issue 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<IssueTypeDetails>> getIssueAllTypes(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<IssueTypeDetails> getIssueType(String id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the issue 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<IssueTypeDetails> updateIssueType(String id, IssueTypeUpdateBean issueTypeUpdateBean, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the issue type. (required)issueTypeUpdateBean - (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.