public class ProjectRoleActorsApi extends Object
| Constructor and Description |
|---|
ProjectRoleActorsApi(org.everit.http.restclient.RestClient restClient) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<ProjectRole> |
addActorUsers(String projectIdOrKey,
Long id,
ActorsMap actorsMap,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Add actors to project role
Adds actors to a project role for the project.
|
io.reactivex.Single<ProjectRole> |
addProjectRoleActorsToRole(Long id,
ActorInputBean actorInputBean,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Add default actors to project role
Adds [default actors](#api-rest-api-2-resolution-get) to a role.
|
io.reactivex.Completable |
deleteActor(String projectIdOrKey,
Long id,
Optional<String> user,
Optional<String> group,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete actors from project role
Deletes actors from a project role for the project.
|
io.reactivex.Single<ProjectRole> |
deleteProjectRoleActorsFromRole(Long id,
Optional<String> user,
Optional<String> group,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Delete default actors from project role
Deletes the [default actors](#api-rest-api-2-resolution-get) from a project role.
|
io.reactivex.Single<ProjectRole> |
getProjectRoleActorsForRole(Long id,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Get default actors for project role
Returns the [default actors](#api-rest-api-2-resolution-get) for the project role.
|
io.reactivex.Single<ProjectRole> |
setActors(String projectIdOrKey,
Long id,
ProjectRoleActorsUpdateBean projectRoleActorsUpdateBean,
Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
Set actors for project role
Sets the actors for a project role for a project, replacing all existing actors.
|
public ProjectRoleActorsApi(org.everit.http.restclient.RestClient restClient)
public io.reactivex.Single<ProjectRole> addActorUsers(String projectIdOrKey, Long id, ActorsMap actorsMap, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectIdOrKey - The project ID or project key (case sensitive). (required)id - The ID of the project role. Use [Get all project roles](#api-rest-api-2-role-get) to get a list of project role IDs. (required)actorsMap - The groups or users to associate with the project role for this project. Provide the user account ID or group name. (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<ProjectRole> addProjectRoleActorsToRole(Long id, ActorInputBean actorInputBean, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the project role. Use [Get all project roles](#api-rest-api-2-role-get) to get a list of project role IDs. (required)actorInputBean - (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 deleteActor(String projectIdOrKey, Long id, Optional<String> user, Optional<String> group, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectIdOrKey - The project ID or project key (case sensitive). (required)id - The ID of the project role. Use [Get all project roles](#api-rest-api-2-role-get) to get a list of project role IDs. (required)user - The user account ID of the user to remove from the project role. (optional)group - The name of the group to remove from the project role. (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<ProjectRole> deleteProjectRoleActorsFromRole(Long id, Optional<String> user, Optional<String> group, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the project role. Use [Get all project roles](#api-rest-api-2-role-get) to get a list of project role IDs. (required)user - The user account ID of the user to remove as a default actor. (optional)group - The group name of the group to be removed as a default actor. (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<ProjectRole> getProjectRoleActorsForRole(Long id, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
id - The ID of the project role. Use [Get all project roles](#api-rest-api-2-role-get) to get a list of project role IDs. (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<ProjectRole> setActors(String projectIdOrKey, Long id, ProjectRoleActorsUpdateBean projectRoleActorsUpdateBean, Optional<org.everit.http.restclient.RestRequestEnhancer> restRequestEnhancer)
projectIdOrKey - The project ID or project key (case sensitive). (required)id - The ID of the project role. Use [Get all project roles](#api-rest-api-2-role-get) to get a list of project role IDs. (required)projectRoleActorsUpdateBean - The groups or users to associate with the project role for this project. Provide the user account ID or group name. (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.