public class GroupControllerApi extends Object
Constructor and Description |
---|
GroupControllerApi() |
GroupControllerApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
GroupContactsDto |
addContactsToGroup(UUID groupId,
UpdateGroupContacts updateGroupContacts)
Add contacts to a group
|
okhttp3.Call |
addContactsToGroupAsync(UUID groupId,
UpdateGroupContacts updateGroupContacts,
ApiCallback<GroupContactsDto> _callback)
Add contacts to a group (asynchronously)
|
okhttp3.Call |
addContactsToGroupCall(UUID groupId,
UpdateGroupContacts updateGroupContacts,
ApiCallback _callback)
Build call for addContactsToGroup
|
ApiResponse<GroupContactsDto> |
addContactsToGroupWithHttpInfo(UUID groupId,
UpdateGroupContacts updateGroupContacts)
Add contacts to a group
|
GroupDto |
createGroup(CreateGroupOptions createGroupOptions)
Create a group
|
okhttp3.Call |
createGroupAsync(CreateGroupOptions createGroupOptions,
ApiCallback<GroupDto> _callback)
Create a group (asynchronously)
|
okhttp3.Call |
createGroupCall(CreateGroupOptions createGroupOptions,
ApiCallback _callback)
Build call for createGroup
|
ApiResponse<GroupDto> |
createGroupWithHttpInfo(CreateGroupOptions createGroupOptions)
Create a group
|
void |
deleteGroup(UUID groupId)
Delete group
|
okhttp3.Call |
deleteGroupAsync(UUID groupId,
ApiCallback<Void> _callback)
Delete group (asynchronously)
|
okhttp3.Call |
deleteGroupCall(UUID groupId,
ApiCallback _callback)
Build call for deleteGroup
|
ApiResponse<Void> |
deleteGroupWithHttpInfo(UUID groupId)
Delete group
|
PageGroupProjection |
getAllGroups(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get all Contact Groups in paginated format
|
okhttp3.Call |
getAllGroupsAsync(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback<PageGroupProjection> _callback)
Get all Contact Groups in paginated format (asynchronously)
|
okhttp3.Call |
getAllGroupsCall(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback _callback)
Build call for getAllGroups
|
ApiResponse<PageGroupProjection> |
getAllGroupsWithHttpInfo(Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get all Contact Groups in paginated format
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
GroupDto |
getGroup(UUID groupId)
Get group
|
okhttp3.Call |
getGroupAsync(UUID groupId,
ApiCallback<GroupDto> _callback)
Get group (asynchronously)
|
okhttp3.Call |
getGroupCall(UUID groupId,
ApiCallback _callback)
Build call for getGroup
|
List<GroupProjection> |
getGroups()
Get all groups
|
okhttp3.Call |
getGroupsAsync(ApiCallback<List<GroupProjection>> _callback)
Get all groups (asynchronously)
|
okhttp3.Call |
getGroupsCall(ApiCallback _callback)
Build call for getGroups
|
ApiResponse<List<GroupProjection>> |
getGroupsWithHttpInfo()
Get all groups
|
GroupContactsDto |
getGroupWithContacts(UUID groupId)
Get group and contacts belonging to it
|
okhttp3.Call |
getGroupWithContactsAsync(UUID groupId,
ApiCallback<GroupContactsDto> _callback)
Get group and contacts belonging to it (asynchronously)
|
okhttp3.Call |
getGroupWithContactsCall(UUID groupId,
ApiCallback _callback)
Build call for getGroupWithContacts
|
PageContactProjection |
getGroupWithContactsPaginated(UUID groupId,
Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get group and paginated contacts belonging to it
|
okhttp3.Call |
getGroupWithContactsPaginatedAsync(UUID groupId,
Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback<PageContactProjection> _callback)
(asynchronously)
Get group and paginated contacts belonging to it
|
okhttp3.Call |
getGroupWithContactsPaginatedCall(UUID groupId,
Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before,
ApiCallback _callback)
Build call for getGroupWithContactsPaginated
|
ApiResponse<PageContactProjection> |
getGroupWithContactsPaginatedWithHttpInfo(UUID groupId,
Integer page,
Integer size,
String sort,
OffsetDateTime since,
OffsetDateTime before)
Get group and paginated contacts belonging to it
|
ApiResponse<GroupContactsDto> |
getGroupWithContactsWithHttpInfo(UUID groupId)
Get group and contacts belonging to it
|
ApiResponse<GroupDto> |
getGroupWithHttpInfo(UUID groupId)
Get group
|
int |
getHostIndex() |
GroupContactsDto |
removeContactsFromGroup(UUID groupId,
UpdateGroupContacts updateGroupContacts)
Remove contacts from a group
|
okhttp3.Call |
removeContactsFromGroupAsync(UUID groupId,
UpdateGroupContacts updateGroupContacts,
ApiCallback<GroupContactsDto> _callback)
Remove contacts from a group (asynchronously)
|
okhttp3.Call |
removeContactsFromGroupCall(UUID groupId,
UpdateGroupContacts updateGroupContacts,
ApiCallback _callback)
Build call for removeContactsFromGroup
|
ApiResponse<GroupContactsDto> |
removeContactsFromGroupWithHttpInfo(UUID groupId,
UpdateGroupContacts updateGroupContacts)
Remove contacts from a group
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public GroupControllerApi()
public GroupControllerApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call addContactsToGroupCall(UUID groupId, UpdateGroupContacts updateGroupContacts, ApiCallback _callback) throws ApiException
groupId
- (required)updateGroupContacts
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public GroupContactsDto addContactsToGroup(UUID groupId, UpdateGroupContacts updateGroupContacts) throws ApiException
groupId
- (required)updateGroupContacts
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<GroupContactsDto> addContactsToGroupWithHttpInfo(UUID groupId, UpdateGroupContacts updateGroupContacts) throws ApiException
groupId
- (required)updateGroupContacts
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call addContactsToGroupAsync(UUID groupId, UpdateGroupContacts updateGroupContacts, ApiCallback<GroupContactsDto> _callback) throws ApiException
groupId
- (required)updateGroupContacts
- (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call createGroupCall(CreateGroupOptions createGroupOptions, ApiCallback _callback) throws ApiException
createGroupOptions
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
201 | Created | - |
public GroupDto createGroup(CreateGroupOptions createGroupOptions) throws ApiException
createGroupOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
201 | Created | - |
public ApiResponse<GroupDto> createGroupWithHttpInfo(CreateGroupOptions createGroupOptions) throws ApiException
createGroupOptions
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
201 | Created | - |
public okhttp3.Call createGroupAsync(CreateGroupOptions createGroupOptions, ApiCallback<GroupDto> _callback) throws ApiException
createGroupOptions
- (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 objectStatus Code | Description | Response Headers |
201 | Created | - |
public okhttp3.Call deleteGroupCall(UUID groupId, ApiCallback _callback) throws ApiException
groupId
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
204 | No Content | - |
public void deleteGroup(UUID groupId) throws ApiException
groupId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
204 | No Content | - |
public ApiResponse<Void> deleteGroupWithHttpInfo(UUID groupId) throws ApiException
groupId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
204 | No Content | - |
public okhttp3.Call deleteGroupAsync(UUID groupId, ApiCallback<Void> _callback) throws ApiException
groupId
- (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 objectStatus Code | Description | Response Headers |
204 | No Content | - |
public okhttp3.Call getAllGroupsCall(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback _callback) throws ApiException
page
- Optional page index in list pagination (optional, default to 0)size
- Optional page size in list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public PageGroupProjection getAllGroups(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
page
- Optional page index in list pagination (optional, default to 0)size
- Optional page size in list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<PageGroupProjection> getAllGroupsWithHttpInfo(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
page
- Optional page index in list pagination (optional, default to 0)size
- Optional page size in list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getAllGroupsAsync(Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback<PageGroupProjection> _callback) throws ApiException
page
- Optional page index in list pagination (optional, default to 0)size
- Optional page size in list pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getGroupCall(UUID groupId, ApiCallback _callback) throws ApiException
groupId
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public GroupDto getGroup(UUID groupId) throws ApiException
groupId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<GroupDto> getGroupWithHttpInfo(UUID groupId) throws ApiException
groupId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getGroupAsync(UUID groupId, ApiCallback<GroupDto> _callback) throws ApiException
groupId
- (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getGroupWithContactsCall(UUID groupId, ApiCallback _callback) throws ApiException
groupId
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public GroupContactsDto getGroupWithContacts(UUID groupId) throws ApiException
groupId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<GroupContactsDto> getGroupWithContactsWithHttpInfo(UUID groupId) throws ApiException
groupId
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getGroupWithContactsAsync(UUID groupId, ApiCallback<GroupContactsDto> _callback) throws ApiException
groupId
- (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getGroupWithContactsPaginatedCall(UUID groupId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback _callback) throws ApiException
groupId
- (required)page
- Optional page index in group contact pagination (optional, default to 0)size
- Optional page size in group contact pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public PageContactProjection getGroupWithContactsPaginated(UUID groupId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
groupId
- (required)page
- Optional page index in group contact pagination (optional, default to 0)size
- Optional page size in group contact pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<PageContactProjection> getGroupWithContactsPaginatedWithHttpInfo(UUID groupId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before) throws ApiException
groupId
- (required)page
- Optional page index in group contact pagination (optional, default to 0)size
- Optional page size in group contact pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getGroupWithContactsPaginatedAsync(UUID groupId, Integer page, Integer size, String sort, OffsetDateTime since, OffsetDateTime before, ApiCallback<PageContactProjection> _callback) throws ApiException
groupId
- (required)page
- Optional page index in group contact pagination (optional, default to 0)size
- Optional page size in group contact pagination (optional, default to 20)sort
- Optional createdAt sort direction ASC or DESC (optional, default to ASC)since
- Filter by created at after the given timestamp (optional)before
- Filter by created at before the given timestamp (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getGroupsCall(ApiCallback _callback) throws ApiException
_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public List<GroupProjection> getGroups() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<List<GroupProjection>> getGroupsWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call getGroupsAsync(ApiCallback<List<GroupProjection>> _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 objectStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call removeContactsFromGroupCall(UUID groupId, UpdateGroupContacts updateGroupContacts, ApiCallback _callback) throws ApiException
groupId
- (required)updateGroupContacts
- (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectStatus Code | Description | Response Headers |
200 | OK | - |
public GroupContactsDto removeContactsFromGroup(UUID groupId, UpdateGroupContacts updateGroupContacts) throws ApiException
groupId
- (required)updateGroupContacts
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public ApiResponse<GroupContactsDto> removeContactsFromGroupWithHttpInfo(UUID groupId, UpdateGroupContacts updateGroupContacts) throws ApiException
groupId
- (required)updateGroupContacts
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodyStatus Code | Description | Response Headers |
200 | OK | - |
public okhttp3.Call removeContactsFromGroupAsync(UUID groupId, UpdateGroupContacts updateGroupContacts, ApiCallback<GroupContactsDto> _callback) throws ApiException
groupId
- (required)updateGroupContacts
- (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 objectStatus Code | Description | Response Headers |
200 | OK | - |
Copyright © 2023. All rights reserved.