Interface UserServiceAsync
-
- All Implemented Interfaces:
public interface UserServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceUserServiceAsync.WithRawResponseA view of UserServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract UserServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. CompletableFuture<User>retrieve(UserRetrieveParams params)Get a user object by its id abstract CompletableFuture<User>retrieve(UserRetrieveParams params, RequestOptions requestOptions)CompletableFuture<UserListPageAsync>list()List out all users. abstract CompletableFuture<UserListPageAsync>list(UserListParams params, RequestOptions requestOptions)CompletableFuture<UserListPageAsync>list(UserListParams params)CompletableFuture<UserListPageAsync>list(RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract UserServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
retrieve
CompletableFuture<User> retrieve(UserRetrieveParams params)
Get a user object by its id
-
retrieve
abstract CompletableFuture<User> retrieve(UserRetrieveParams params, RequestOptions requestOptions)
-
list
CompletableFuture<UserListPageAsync> list()
List out all users. The users are sorted by creation date, with the most recently-created users coming first
-
list
abstract CompletableFuture<UserListPageAsync> list(UserListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<UserListPageAsync> list(UserListParams params)
-
list
CompletableFuture<UserListPageAsync> list(RequestOptions requestOptions)
-
-
-
-