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.
-
retrieve
OrganizationUser retrieve(String userId)
Retrieve a member of the organization by user ID.
-
retrieve
OrganizationUser retrieve(String userId, UserRetrieveParams params, RequestOptions requestOptions)
-
retrieve
OrganizationUser retrieve(String userId, UserRetrieveParams params)
-
retrieve
abstract OrganizationUser retrieve(UserRetrieveParams params, RequestOptions requestOptions)
-
retrieve
OrganizationUser retrieve(UserRetrieveParams params)
-
retrieve
OrganizationUser retrieve(String userId, RequestOptions requestOptions)
-
update
OrganizationUser update(String userId, UserUpdateParams params)
Update a member's organization role.
-
update
OrganizationUser update(String userId, UserUpdateParams params, RequestOptions requestOptions)
-
update
OrganizationUser update(UserUpdateParams params)
-
update
abstract OrganizationUser update(UserUpdateParams params, RequestOptions requestOptions)
-
list
UserListPage list()
List the organization's members.
-
list
abstract UserListPage list(UserListParams params, RequestOptions requestOptions)
-
list
UserListPage list(UserListParams params)
-
list
UserListPage list(RequestOptions requestOptions)
-
remove
UserRemoveResponse remove(String userId)
Remove a member from the organization.
-
remove
UserRemoveResponse remove(String userId, UserRemoveParams params, RequestOptions requestOptions)
-
remove
UserRemoveResponse remove(String userId, UserRemoveParams params)
-
remove
abstract UserRemoveResponse remove(UserRemoveParams params, RequestOptions requestOptions)
-
remove
UserRemoveResponse remove(UserRemoveParams params)
-
remove
UserRemoveResponse remove(String userId, RequestOptions requestOptions)
-
-
-
-