Package com.courier.services.async
Class TenantServiceAsyncImpl
-
- All Implemented Interfaces:
-
com.courier.services.async.TenantServiceAsync
public final class TenantServiceAsyncImpl implements TenantServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classTenantServiceAsyncImpl.WithRawResponseImpl
-
Method Summary
Modifier and Type Method Description TenantServiceAsync.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. TenantServiceAsyncwithOptions(Consumer<ClientOptions.Builder> modifier)Returns a view of this service with the given option modifications applied. PreferenceServiceAsyncpreferences()TemplateServiceAsynctemplates()CompletableFuture<Tenant>retrieve(TenantRetrieveParams params, RequestOptions requestOptions)CompletableFuture<Tenant>update(TenantUpdateParams params, RequestOptions requestOptions)CompletableFuture<TenantListResponse>list(TenantListParams params, RequestOptions requestOptions)CompletableFuture<Void>delete(TenantDeleteParams params, RequestOptions requestOptions)CompletableFuture<TenantListUsersResponse>listUsers(TenantListUsersParams params, RequestOptions requestOptions)-
Methods inherited from class com.courier.services.async.TenantServiceAsync
delete, delete, delete, delete, delete, list, list, list, listUsers, listUsers, listUsers, listUsers, listUsers, retrieve, retrieve, retrieve, retrieve, retrieve, update, update, update -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
withRawResponse
TenantServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
withOptions
TenantServiceAsync withOptions(Consumer<ClientOptions.Builder> modifier)
Returns a view of this service with the given option modifications applied.
The original service is not modified.
-
preferences
PreferenceServiceAsync preferences()
-
templates
TemplateServiceAsync templates()
-
retrieve
CompletableFuture<Tenant> retrieve(TenantRetrieveParams params, RequestOptions requestOptions)
-
update
CompletableFuture<Tenant> update(TenantUpdateParams params, RequestOptions requestOptions)
-
list
CompletableFuture<TenantListResponse> list(TenantListParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<Void> delete(TenantDeleteParams params, RequestOptions requestOptions)
-
listUsers
CompletableFuture<TenantListUsersResponse> listUsers(TenantListUsersParams params, RequestOptions requestOptions)
-
-
-
-