Package app.knock.api.services.async
Interface TenantServiceAsync
-
- All Implemented Interfaces:
public interface TenantServiceAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTenantServiceAsync.WithRawResponseA view of TenantServiceAsync that provides access to raw HTTP responses for each method.
-
Method Summary
-
-
Method Detail
-
withRawResponse
abstract TenantServiceAsync.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
bulk
abstract BulkServiceAsync bulk()
-
list
CompletableFuture<TenantListPageAsync> list()
List tenants for the current environment.
-
list
abstract CompletableFuture<TenantListPageAsync> list(TenantListParams params, RequestOptions requestOptions)
-
list
CompletableFuture<TenantListPageAsync> list(TenantListParams params)
-
list
CompletableFuture<TenantListPageAsync> list(RequestOptions requestOptions)
-
delete
CompletableFuture<String> delete(String id)
Delete a tenant and all associated data. This operation cannot be undone.
-
delete
CompletableFuture<String> delete(String id, TenantDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<String> delete(String id, TenantDeleteParams params)
-
delete
abstract CompletableFuture<String> delete(TenantDeleteParams params, RequestOptions requestOptions)
-
delete
CompletableFuture<String> delete(TenantDeleteParams params)
-
delete
CompletableFuture<String> delete(String id, RequestOptions requestOptions)
-
get
CompletableFuture<Tenant> get(String id)
Get a tenant by ID.
-
get
CompletableFuture<Tenant> get(String id, TenantGetParams params, RequestOptions requestOptions)
-
get
CompletableFuture<Tenant> get(String id, TenantGetParams params)
-
get
abstract CompletableFuture<Tenant> get(TenantGetParams params, RequestOptions requestOptions)
-
get
CompletableFuture<Tenant> get(TenantGetParams params)
-
get
CompletableFuture<Tenant> get(String id, RequestOptions requestOptions)
-
set
CompletableFuture<Tenant> set(String id)
Sets a tenant within an environment, performing an upsert operation. Any existing properties will be merged with the incoming properties.
-
set
CompletableFuture<Tenant> set(String id, TenantSetParams params, RequestOptions requestOptions)
-
set
CompletableFuture<Tenant> set(String id, TenantSetParams params)
-
set
abstract CompletableFuture<Tenant> set(TenantSetParams params, RequestOptions requestOptions)
-
set
CompletableFuture<Tenant> set(TenantSetParams params)
-
set
CompletableFuture<Tenant> set(String id, RequestOptions requestOptions)
-
-
-
-