public class TenantApi extends Object
Constructor and Description |
---|
TenantApi() |
TenantApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ResourceOptionsDto |
availableTenantGroupMembersOperations(String id)
Tenant Group Membership Resource Options
The OPTIONS request allows checking for the set of available operations that the currently authenticated user can perform on the resource.
|
okhttp3.Call |
availableTenantGroupMembersOperationsAsync(String id,
ApiCallback<ResourceOptionsDto> _callback)
Tenant Group Membership Resource Options (asynchronously)
The OPTIONS request allows checking for the set of available operations that the currently authenticated user can perform on the resource.
|
okhttp3.Call |
availableTenantGroupMembersOperationsCall(String id,
ApiCallback _callback)
Build call for availableTenantGroupMembersOperations
|
ApiResponse<ResourceOptionsDto> |
availableTenantGroupMembersOperationsWithHttpInfo(String id)
Tenant Group Membership Resource Options
The OPTIONS request allows checking for the set of available operations that the currently authenticated user can perform on the resource.
|
ResourceOptionsDto |
availableTenantInstanceOperations(String id)
Tenant Resource Options
The `/tenant` resource supports two custom OPTIONS requests, one for the resource as such and this one for individual tenant instances.
|
okhttp3.Call |
availableTenantInstanceOperationsAsync(String id,
ApiCallback<ResourceOptionsDto> _callback)
Tenant Resource Options (asynchronously)
The `/tenant` resource supports two custom OPTIONS requests, one for the resource as such and this one for individual tenant instances.
|
okhttp3.Call |
availableTenantInstanceOperationsCall(String id,
ApiCallback _callback)
Build call for availableTenantInstanceOperations
|
ApiResponse<ResourceOptionsDto> |
availableTenantInstanceOperationsWithHttpInfo(String id)
Tenant Resource Options
The `/tenant` resource supports two custom OPTIONS requests, one for the resource as such and this one for individual tenant instances.
|
ResourceOptionsDto |
availableTenantResourceOperations()
Tenant Resource Options
The `/tenant` resource supports two custom OPTIONS requests, this one for the resource as such and one for individual tenant instances.
|
okhttp3.Call |
availableTenantResourceOperationsAsync(ApiCallback<ResourceOptionsDto> _callback)
Tenant Resource Options (asynchronously)
The `/tenant` resource supports two custom OPTIONS requests, this one for the resource as such and one for individual tenant instances.
|
okhttp3.Call |
availableTenantResourceOperationsCall(ApiCallback _callback)
Build call for availableTenantResourceOperations
|
ApiResponse<ResourceOptionsDto> |
availableTenantResourceOperationsWithHttpInfo()
Tenant Resource Options
The `/tenant` resource supports two custom OPTIONS requests, this one for the resource as such and one for individual tenant instances.
|
ResourceOptionsDto |
availableTenantUserMembersOperations(String id)
Tenant User Membership Resource Options
The OPTIONS request allows checking for the set of available operations that the currently authenticated user can perform on the resource.
|
okhttp3.Call |
availableTenantUserMembersOperationsAsync(String id,
ApiCallback<ResourceOptionsDto> _callback)
Tenant User Membership Resource Options (asynchronously)
The OPTIONS request allows checking for the set of available operations that the currently authenticated user can perform on the resource.
|
okhttp3.Call |
availableTenantUserMembersOperationsCall(String id,
ApiCallback _callback)
Build call for availableTenantUserMembersOperations
|
ApiResponse<ResourceOptionsDto> |
availableTenantUserMembersOperationsWithHttpInfo(String id)
Tenant User Membership Resource Options
The OPTIONS request allows checking for the set of available operations that the currently authenticated user can perform on the resource.
|
void |
createGroupMembership(String id,
String groupId)
Create Tenant Group Membership
Creates a membership between a tenant and a group.
|
okhttp3.Call |
createGroupMembershipAsync(String id,
String groupId,
ApiCallback<Void> _callback)
Create Tenant Group Membership (asynchronously)
Creates a membership between a tenant and a group.
|
okhttp3.Call |
createGroupMembershipCall(String id,
String groupId,
ApiCallback _callback)
Build call for createGroupMembership
|
ApiResponse<Void> |
createGroupMembershipWithHttpInfo(String id,
String groupId)
Create Tenant Group Membership
Creates a membership between a tenant and a group.
|
void |
createTenant(TenantDto tenantDto)
Create Tenant
Create a new tenant.
|
okhttp3.Call |
createTenantAsync(TenantDto tenantDto,
ApiCallback<Void> _callback)
Create Tenant (asynchronously)
Create a new tenant.
|
okhttp3.Call |
createTenantCall(TenantDto tenantDto,
ApiCallback _callback)
Build call for createTenant
|
ApiResponse<Void> |
createTenantWithHttpInfo(TenantDto tenantDto)
Create Tenant
Create a new tenant.
|
void |
createUserMembership(String id,
String userId)
Create Tenant User Membership
Creates a membership between a tenant and an user.
|
okhttp3.Call |
createUserMembershipAsync(String id,
String userId,
ApiCallback<Void> _callback)
Create Tenant User Membership (asynchronously)
Creates a membership between a tenant and an user.
|
okhttp3.Call |
createUserMembershipCall(String id,
String userId,
ApiCallback _callback)
Build call for createUserMembership
|
ApiResponse<Void> |
createUserMembershipWithHttpInfo(String id,
String userId)
Create Tenant User Membership
Creates a membership between a tenant and an user.
|
void |
deleteGroupMembership(String id,
String groupId)
Create Tenant Group Membership
Creates a membership between a tenant and a group.
|
okhttp3.Call |
deleteGroupMembershipAsync(String id,
String groupId,
ApiCallback<Void> _callback)
Create Tenant Group Membership (asynchronously)
Creates a membership between a tenant and a group.
|
okhttp3.Call |
deleteGroupMembershipCall(String id,
String groupId,
ApiCallback _callback)
Build call for deleteGroupMembership
|
ApiResponse<Void> |
deleteGroupMembershipWithHttpInfo(String id,
String groupId)
Create Tenant Group Membership
Creates a membership between a tenant and a group.
|
void |
deleteTenant(String id)
Delete Tenant
Deletes a tenant by id.
|
okhttp3.Call |
deleteTenantAsync(String id,
ApiCallback<Void> _callback)
Delete Tenant (asynchronously)
Deletes a tenant by id.
|
okhttp3.Call |
deleteTenantCall(String id,
ApiCallback _callback)
Build call for deleteTenant
|
ApiResponse<Void> |
deleteTenantWithHttpInfo(String id)
Delete Tenant
Deletes a tenant by id.
|
void |
deleteUserMembership(String id,
String userId)
Delete a Tenant User Membership
Deletes a membership between a tenant and an user.
|
okhttp3.Call |
deleteUserMembershipAsync(String id,
String userId,
ApiCallback<Void> _callback)
Delete a Tenant User Membership (asynchronously)
Deletes a membership between a tenant and an user.
|
okhttp3.Call |
deleteUserMembershipCall(String id,
String userId,
ApiCallback _callback)
Build call for deleteUserMembership
|
ApiResponse<Void> |
deleteUserMembershipWithHttpInfo(String id,
String userId)
Delete a Tenant User Membership
Deletes a membership between a tenant and an user.
|
ApiClient |
getApiClient() |
TenantDto |
getTenant(String id)
Get Tenant
Retrieves a tenant.
|
okhttp3.Call |
getTenantAsync(String id,
ApiCallback<TenantDto> _callback)
Get Tenant (asynchronously)
Retrieves a tenant.
|
okhttp3.Call |
getTenantCall(String id,
ApiCallback _callback)
Build call for getTenant
|
CountResultDto |
getTenantCount(String id,
String name,
String nameLike,
String userMember,
String groupMember,
Boolean includingGroupsOfUser)
Get Tenant Count
Query for tenants using a list of parameters and retrieves the count.
|
okhttp3.Call |
getTenantCountAsync(String id,
String name,
String nameLike,
String userMember,
String groupMember,
Boolean includingGroupsOfUser,
ApiCallback<CountResultDto> _callback)
Get Tenant Count (asynchronously)
Query for tenants using a list of parameters and retrieves the count.
|
okhttp3.Call |
getTenantCountCall(String id,
String name,
String nameLike,
String userMember,
String groupMember,
Boolean includingGroupsOfUser,
ApiCallback _callback)
Build call for getTenantCount
|
ApiResponse<CountResultDto> |
getTenantCountWithHttpInfo(String id,
String name,
String nameLike,
String userMember,
String groupMember,
Boolean includingGroupsOfUser)
Get Tenant Count
Query for tenants using a list of parameters and retrieves the count.
|
ApiResponse<TenantDto> |
getTenantWithHttpInfo(String id)
Get Tenant
Retrieves a tenant.
|
List<TenantDto> |
queryTenants(String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
String id,
String name,
String nameLike,
String userMember,
String groupMember,
Boolean includingGroupsOfUser)
Get Tenants
Query for a list of tenants using a list of parameters.
|
okhttp3.Call |
queryTenantsAsync(String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
String id,
String name,
String nameLike,
String userMember,
String groupMember,
Boolean includingGroupsOfUser,
ApiCallback<List<TenantDto>> _callback)
Get Tenants (asynchronously)
Query for a list of tenants using a list of parameters.
|
okhttp3.Call |
queryTenantsCall(String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
String id,
String name,
String nameLike,
String userMember,
String groupMember,
Boolean includingGroupsOfUser,
ApiCallback _callback)
Build call for queryTenants
|
ApiResponse<List<TenantDto>> |
queryTenantsWithHttpInfo(String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
String id,
String name,
String nameLike,
String userMember,
String groupMember,
Boolean includingGroupsOfUser)
Get Tenants
Query for a list of tenants using a list of parameters.
|
void |
setApiClient(ApiClient apiClient) |
void |
updateTenant(String id,
TenantDto tenantDto)
Update Tenant
Updates a given tenant.
|
okhttp3.Call |
updateTenantAsync(String id,
TenantDto tenantDto,
ApiCallback<Void> _callback)
Update Tenant (asynchronously)
Updates a given tenant.
|
okhttp3.Call |
updateTenantCall(String id,
TenantDto tenantDto,
ApiCallback _callback)
Build call for updateTenant
|
ApiResponse<Void> |
updateTenantWithHttpInfo(String id,
TenantDto tenantDto)
Update Tenant
Updates a given tenant.
|
public TenantApi()
public TenantApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call availableTenantGroupMembersOperationsCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the tenant (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic ResourceOptionsDto availableTenantGroupMembersOperations(String id) throws ApiException
id
- The id of the tenant (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResourceOptionsDto> availableTenantGroupMembersOperationsWithHttpInfo(String id) throws ApiException
id
- The id of the tenant (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call availableTenantGroupMembersOperationsAsync(String id, ApiCallback<ResourceOptionsDto> _callback) throws ApiException
id
- The id of the tenant (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call availableTenantInstanceOperationsCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the tenant (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic ResourceOptionsDto availableTenantInstanceOperations(String id) throws ApiException
id
- The id of the tenant (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResourceOptionsDto> availableTenantInstanceOperationsWithHttpInfo(String id) throws ApiException
id
- The id of the tenant (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call availableTenantInstanceOperationsAsync(String id, ApiCallback<ResourceOptionsDto> _callback) throws ApiException
id
- The id of the tenant (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call availableTenantResourceOperationsCall(ApiCallback _callback) throws ApiException
_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic ResourceOptionsDto availableTenantResourceOperations() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResourceOptionsDto> availableTenantResourceOperationsWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call availableTenantResourceOperationsAsync(ApiCallback<ResourceOptionsDto> _callback) throws ApiException
_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call availableTenantUserMembersOperationsCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the tenant (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic ResourceOptionsDto availableTenantUserMembersOperations(String id) throws ApiException
id
- The id of the tenant (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResourceOptionsDto> availableTenantUserMembersOperationsWithHttpInfo(String id) throws ApiException
id
- The id of the tenant (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call availableTenantUserMembersOperationsAsync(String id, ApiCallback<ResourceOptionsDto> _callback) throws ApiException
id
- The id of the tenant (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call createGroupMembershipCall(String id, String groupId, ApiCallback _callback) throws ApiException
id
- The id of the tenant. (required)groupId
- The id of the group. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void createGroupMembership(String id, String groupId) throws ApiException
id
- The id of the tenant. (required)groupId
- The id of the group. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> createGroupMembershipWithHttpInfo(String id, String groupId) throws ApiException
id
- The id of the tenant. (required)groupId
- The id of the group. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createGroupMembershipAsync(String id, String groupId, ApiCallback<Void> _callback) throws ApiException
id
- The id of the tenant. (required)groupId
- The id of the group. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call createTenantCall(TenantDto tenantDto, ApiCallback _callback) throws ApiException
tenantDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void createTenant(TenantDto tenantDto) throws ApiException
tenantDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> createTenantWithHttpInfo(TenantDto tenantDto) throws ApiException
tenantDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createTenantAsync(TenantDto tenantDto, ApiCallback<Void> _callback) throws ApiException
tenantDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call createUserMembershipCall(String id, String userId, ApiCallback _callback) throws ApiException
id
- The id of the tenant. (required)userId
- The id of the user. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void createUserMembership(String id, String userId) throws ApiException
id
- The id of the tenant. (required)userId
- The id of the user. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> createUserMembershipWithHttpInfo(String id, String userId) throws ApiException
id
- The id of the tenant. (required)userId
- The id of the user. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createUserMembershipAsync(String id, String userId, ApiCallback<Void> _callback) throws ApiException
id
- The id of the tenant. (required)userId
- The id of the user. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call deleteGroupMembershipCall(String id, String groupId, ApiCallback _callback) throws ApiException
id
- The id of the tenant. (required)groupId
- The id of the group. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void deleteGroupMembership(String id, String groupId) throws ApiException
id
- The id of the tenant. (required)groupId
- The id of the group. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteGroupMembershipWithHttpInfo(String id, String groupId) throws ApiException
id
- The id of the tenant. (required)groupId
- The id of the group. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteGroupMembershipAsync(String id, String groupId, ApiCallback<Void> _callback) throws ApiException
id
- The id of the tenant. (required)groupId
- The id of the group. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call deleteTenantCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the tenant to be deleted. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void deleteTenant(String id) throws ApiException
id
- The id of the tenant to be deleted. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteTenantWithHttpInfo(String id) throws ApiException
id
- The id of the tenant to be deleted. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteTenantAsync(String id, ApiCallback<Void> _callback) throws ApiException
id
- The id of the tenant to be deleted. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call deleteUserMembershipCall(String id, String userId, ApiCallback _callback) throws ApiException
id
- The id of the tenant. (required)userId
- The id of the user. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void deleteUserMembership(String id, String userId) throws ApiException
id
- The id of the tenant. (required)userId
- The id of the user. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteUserMembershipWithHttpInfo(String id, String userId) throws ApiException
id
- The id of the tenant. (required)userId
- The id of the user. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteUserMembershipAsync(String id, String userId, ApiCallback<Void> _callback) throws ApiException
id
- The id of the tenant. (required)userId
- The id of the user. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getTenantCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the tenant to be retrieved. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic TenantDto getTenant(String id) throws ApiException
id
- The id of the tenant to be retrieved. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<TenantDto> getTenantWithHttpInfo(String id) throws ApiException
id
- The id of the tenant to be retrieved. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getTenantAsync(String id, ApiCallback<TenantDto> _callback) throws ApiException
id
- The id of the tenant to be retrieved. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getTenantCountCall(String id, String name, String nameLike, String userMember, String groupMember, Boolean includingGroupsOfUser, ApiCallback _callback) throws ApiException
id
- Filter by the id of the tenant. (optional)name
- Filter by the name of the tenant. (optional)nameLike
- Filter by the name that the parameter is a substring of. (optional)userMember
- Select only tenants where the given user is a member of. (optional)groupMember
- Select only tenants where the given group is a member of. (optional)includingGroupsOfUser
- Select only tenants where the user or one of his groups is a member of. Can only be used in combination with the `userMember` parameter. Value may only be `true`, as `false` is the default behavior. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic CountResultDto getTenantCount(String id, String name, String nameLike, String userMember, String groupMember, Boolean includingGroupsOfUser) throws ApiException
id
- Filter by the id of the tenant. (optional)name
- Filter by the name of the tenant. (optional)nameLike
- Filter by the name that the parameter is a substring of. (optional)userMember
- Select only tenants where the given user is a member of. (optional)groupMember
- Select only tenants where the given group is a member of. (optional)includingGroupsOfUser
- Select only tenants where the user or one of his groups is a member of. Can only be used in combination with the `userMember` parameter. Value may only be `true`, as `false` is the default behavior. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CountResultDto> getTenantCountWithHttpInfo(String id, String name, String nameLike, String userMember, String groupMember, Boolean includingGroupsOfUser) throws ApiException
id
- Filter by the id of the tenant. (optional)name
- Filter by the name of the tenant. (optional)nameLike
- Filter by the name that the parameter is a substring of. (optional)userMember
- Select only tenants where the given user is a member of. (optional)groupMember
- Select only tenants where the given group is a member of. (optional)includingGroupsOfUser
- Select only tenants where the user or one of his groups is a member of. Can only be used in combination with the `userMember` parameter. Value may only be `true`, as `false` is the default behavior. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getTenantCountAsync(String id, String name, String nameLike, String userMember, String groupMember, Boolean includingGroupsOfUser, ApiCallback<CountResultDto> _callback) throws ApiException
id
- Filter by the id of the tenant. (optional)name
- Filter by the name of the tenant. (optional)nameLike
- Filter by the name that the parameter is a substring of. (optional)userMember
- Select only tenants where the given user is a member of. (optional)groupMember
- Select only tenants where the given group is a member of. (optional)includingGroupsOfUser
- Select only tenants where the user or one of his groups is a member of. Can only be used in combination with the `userMember` parameter. Value may only be `true`, as `false` is the default behavior. (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call queryTenantsCall(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String id, String name, String nameLike, String userMember, String groupMember, Boolean includingGroupsOfUser, ApiCallback _callback) throws ApiException
sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)id
- Filter by the id of the tenant. (optional)name
- Filter by the name of the tenant. (optional)nameLike
- Filter by the name that the parameter is a substring of. (optional)userMember
- Select only tenants where the given user is a member of. (optional)groupMember
- Select only tenants where the given group is a member of. (optional)includingGroupsOfUser
- Select only tenants where the user or one of his groups is a member of. Can only be used in combination with the `userMember` parameter. Value may only be `true`, as `false` is the default behavior. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<TenantDto> queryTenants(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String id, String name, String nameLike, String userMember, String groupMember, Boolean includingGroupsOfUser) throws ApiException
sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)id
- Filter by the id of the tenant. (optional)name
- Filter by the name of the tenant. (optional)nameLike
- Filter by the name that the parameter is a substring of. (optional)userMember
- Select only tenants where the given user is a member of. (optional)groupMember
- Select only tenants where the given group is a member of. (optional)includingGroupsOfUser
- Select only tenants where the user or one of his groups is a member of. Can only be used in combination with the `userMember` parameter. Value may only be `true`, as `false` is the default behavior. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<TenantDto>> queryTenantsWithHttpInfo(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String id, String name, String nameLike, String userMember, String groupMember, Boolean includingGroupsOfUser) throws ApiException
sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)id
- Filter by the id of the tenant. (optional)name
- Filter by the name of the tenant. (optional)nameLike
- Filter by the name that the parameter is a substring of. (optional)userMember
- Select only tenants where the given user is a member of. (optional)groupMember
- Select only tenants where the given group is a member of. (optional)includingGroupsOfUser
- Select only tenants where the user or one of his groups is a member of. Can only be used in combination with the `userMember` parameter. Value may only be `true`, as `false` is the default behavior. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call queryTenantsAsync(String sortBy, String sortOrder, Integer firstResult, Integer maxResults, String id, String name, String nameLike, String userMember, String groupMember, Boolean includingGroupsOfUser, ApiCallback<List<TenantDto>> _callback) throws ApiException
sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)id
- Filter by the id of the tenant. (optional)name
- Filter by the name of the tenant. (optional)nameLike
- Filter by the name that the parameter is a substring of. (optional)userMember
- Select only tenants where the given user is a member of. (optional)groupMember
- Select only tenants where the given group is a member of. (optional)includingGroupsOfUser
- Select only tenants where the user or one of his groups is a member of. Can only be used in combination with the `userMember` parameter. Value may only be `true`, as `false` is the default behavior. (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call updateTenantCall(String id, TenantDto tenantDto, ApiCallback _callback) throws ApiException
id
- The id of the tenant. (required)tenantDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void updateTenant(String id, TenantDto tenantDto) throws ApiException
id
- The id of the tenant. (required)tenantDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateTenantWithHttpInfo(String id, TenantDto tenantDto) throws ApiException
id
- The id of the tenant. (required)tenantDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateTenantAsync(String id, TenantDto tenantDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the tenant. (required)tenantDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2022. All rights reserved.