Package app.knock.api.services.blocking
Interface TenantService
-
- All Implemented Interfaces:
public interface TenantService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceTenantService.WithRawResponseA view of TenantService that provides access to raw HTTP responses for each method.
-
Method Summary
Modifier and Type Method Description abstract TenantService.WithRawResponsewithRawResponse()Returns a view of this service that provides access to raw HTTP responses for each method. abstract BulkServicebulk()TenantListPagelist()List tenants for the current environment. abstract TenantListPagelist(TenantListParams params, RequestOptions requestOptions)TenantListPagelist(TenantListParams params)TenantListPagelist(RequestOptions requestOptions)Stringdelete(String id)Delete a tenant and all associated data. Stringdelete(String id, TenantDeleteParams params, RequestOptions requestOptions)Stringdelete(String id, TenantDeleteParams params)abstract Stringdelete(TenantDeleteParams params, RequestOptions requestOptions)Stringdelete(TenantDeleteParams params)Stringdelete(String id, RequestOptions requestOptions)Tenantget(String id)Get a tenant by ID. Tenantget(String id, TenantGetParams params, RequestOptions requestOptions)Tenantget(String id, TenantGetParams params)abstract Tenantget(TenantGetParams params, RequestOptions requestOptions)Tenantget(TenantGetParams params)Tenantget(String id, RequestOptions requestOptions)Tenantset(String id)Sets a tenant within an environment, performing an upsert operation. Tenantset(String id, TenantSetParams params, RequestOptions requestOptions)Tenantset(String id, TenantSetParams params)abstract Tenantset(TenantSetParams params, RequestOptions requestOptions)Tenantset(TenantSetParams params)Tenantset(String id, RequestOptions requestOptions)-
-
Method Detail
-
withRawResponse
abstract TenantService.WithRawResponse withRawResponse()
Returns a view of this service that provides access to raw HTTP responses for each method.
-
bulk
abstract BulkService bulk()
-
list
TenantListPage list()
List tenants for the current environment.
-
list
abstract TenantListPage list(TenantListParams params, RequestOptions requestOptions)
-
list
TenantListPage list(TenantListParams params)
-
list
TenantListPage list(RequestOptions requestOptions)
-
delete
String delete(String id)
Delete a tenant and all associated data. This operation cannot be undone.
-
delete
String delete(String id, TenantDeleteParams params, RequestOptions requestOptions)
-
delete
String delete(String id, TenantDeleteParams params)
-
delete
abstract String delete(TenantDeleteParams params, RequestOptions requestOptions)
-
delete
String delete(TenantDeleteParams params)
-
delete
String delete(String id, RequestOptions requestOptions)
-
get
Tenant get(String id, TenantGetParams params, RequestOptions requestOptions)
-
get
Tenant get(String id, TenantGetParams params)
-
get
abstract Tenant get(TenantGetParams params, RequestOptions requestOptions)
-
get
Tenant get(TenantGetParams params)
-
get
Tenant get(String id, RequestOptions requestOptions)
-
set
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
Tenant set(String id, TenantSetParams params, RequestOptions requestOptions)
-
set
Tenant set(String id, TenantSetParams params)
-
set
abstract Tenant set(TenantSetParams params, RequestOptions requestOptions)
-
set
Tenant set(TenantSetParams params)
-
set
Tenant set(String id, RequestOptions requestOptions)
-
-
-
-