Interface UserService
-
- All Implemented Interfaces:
public interface UserService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceUserService.WithRawResponseA view of UserService that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract UserService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
abstract UserService withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
roles
abstract RoleService roles()
-
create
ProjectUser create(String projectId, UserCreateParams params)
Adds a user to the project. Users must already be members of the organization to be added to a project.
-
create
ProjectUser create(String projectId, UserCreateParams params, RequestOptions requestOptions)
-
create
ProjectUser create(UserCreateParams params)
-
create
abstract ProjectUser create(UserCreateParams params, RequestOptions requestOptions)
-
retrieve
ProjectUser retrieve(String userId, UserRetrieveParams params)
Retrieves a user in the project.
-
retrieve
ProjectUser retrieve(String userId, UserRetrieveParams params, RequestOptions requestOptions)
-
retrieve
ProjectUser retrieve(UserRetrieveParams params)
-
retrieve
abstract ProjectUser retrieve(UserRetrieveParams params, RequestOptions requestOptions)
-
update
ProjectUser update(String userId, UserUpdateParams params)
Modifies a user's role in the project.
-
update
ProjectUser update(String userId, UserUpdateParams params, RequestOptions requestOptions)
-
update
ProjectUser update(UserUpdateParams params)
-
update
abstract ProjectUser update(UserUpdateParams params, RequestOptions requestOptions)
-
list
UserListPage list(String projectId)
Returns a list of users in the project.
-
list
UserListPage list(String projectId, UserListParams params, RequestOptions requestOptions)
-
list
UserListPage list(String projectId, UserListParams params)
-
list
abstract UserListPage list(UserListParams params, RequestOptions requestOptions)
-
list
UserListPage list(UserListParams params)
-
list
UserListPage list(String projectId, RequestOptions requestOptions)
-
delete
UserDeleteResponse delete(String userId, UserDeleteParams params)
Deletes a user from the project.
Returns confirmation of project user deletion, or an error if the project is archived (archived projects have no users).
-
delete
UserDeleteResponse delete(String userId, UserDeleteParams params, RequestOptions requestOptions)
-
delete
UserDeleteResponse delete(UserDeleteParams params)
-
delete
abstract UserDeleteResponse delete(UserDeleteParams params, RequestOptions requestOptions)
-
-
-
-