public class UsersApi extends Object
| Constructor and Description |
|---|
UsersApi() |
UsersApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
String |
orgNameAppNameUsersDelete(String orgName,
String appName,
String authorization,
String limit,
String cursor)
Delete Users in Batch
Delete total number of N user accounts in batch.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersDeleteAsync(String orgName,
String appName,
String authorization,
String limit,
String cursor,
ApiCallback<String> callback)
Delete Users in Batch (asynchronously)
Delete total number of N user accounts in batch.
|
ApiResponse<String> |
orgNameAppNameUsersDeleteWithHttpInfo(String orgName,
String appName,
String authorization,
String limit,
String cursor)
Delete Users in Batch
Delete total number of N user accounts in batch.
|
String |
orgNameAppNameUsersGet(String orgName,
String appName,
String authorization,
String limit,
String cursor)
Get Users in Batch
Get a list of users
|
com.squareup.okhttp.Call |
orgNameAppNameUsersGetAsync(String orgName,
String appName,
String authorization,
String limit,
String cursor,
ApiCallback<String> callback)
Get Users in Batch (asynchronously)
Get a list of users
|
ApiResponse<String> |
orgNameAppNameUsersGetWithHttpInfo(String orgName,
String appName,
String authorization,
String limit,
String cursor)
Get Users in Batch
Get a list of users
|
String |
orgNameAppNameUsersOwnerUsernameBlocksUsersBlockedUsernameDelete(String orgName,
String appName,
String authorization,
String ownerUsername,
String blockedUsername)
Unblock User(s)
Unblock one or multiple users by removing them from blacklist.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersOwnerUsernameBlocksUsersBlockedUsernameDeleteAsync(String orgName,
String appName,
String authorization,
String ownerUsername,
String blockedUsername,
ApiCallback<String> callback)
Unblock User(s) (asynchronously)
Unblock one or multiple users by removing them from blacklist.
|
ApiResponse<String> |
orgNameAppNameUsersOwnerUsernameBlocksUsersBlockedUsernameDeleteWithHttpInfo(String orgName,
String appName,
String authorization,
String ownerUsername,
String blockedUsername)
Unblock User(s)
Unblock one or multiple users by removing them from blacklist.
|
String |
orgNameAppNameUsersOwnerUsernameBlocksUsersGet(String orgName,
String appName,
String authorization,
String ownerUsername)
Get a List of Blocked Users
Get a List of Blocked Users by the user.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersOwnerUsernameBlocksUsersGetAsync(String orgName,
String appName,
String authorization,
String ownerUsername,
ApiCallback<String> callback)
Get a List of Blocked Users (asynchronously)
Get a List of Blocked Users by the user.
|
ApiResponse<String> |
orgNameAppNameUsersOwnerUsernameBlocksUsersGetWithHttpInfo(String orgName,
String appName,
String authorization,
String ownerUsername)
Get a List of Blocked Users
Get a List of Blocked Users by the user.
|
String |
orgNameAppNameUsersOwnerUsernameBlocksUsersPost(String orgName,
String appName,
String authorization,
String ownerUsername,
UserNames usernames)
Block User(s)
Block one or multiple users by adding to blacklist.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersOwnerUsernameBlocksUsersPostAsync(String orgName,
String appName,
String authorization,
String ownerUsername,
UserNames usernames,
ApiCallback<String> callback)
Block User(s) (asynchronously)
Block one or multiple users by adding to blacklist.
|
ApiResponse<String> |
orgNameAppNameUsersOwnerUsernameBlocksUsersPostWithHttpInfo(String orgName,
String appName,
String authorization,
String ownerUsername,
UserNames usernames)
Block User(s)
Block one or multiple users by adding to blacklist.
|
String |
orgNameAppNameUsersOwnerUsernameContactsUsersFriendUsernameDelete(String orgName,
String appName,
String authorization,
String ownerUsername,
String friendUsername)
Remove Contact from User
Remove contact from user's contact list.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersOwnerUsernameContactsUsersFriendUsernameDeleteAsync(String orgName,
String appName,
String authorization,
String ownerUsername,
String friendUsername,
ApiCallback<String> callback)
Remove Contact from User (asynchronously)
Remove contact from user's contact list.
|
ApiResponse<String> |
orgNameAppNameUsersOwnerUsernameContactsUsersFriendUsernameDeleteWithHttpInfo(String orgName,
String appName,
String authorization,
String ownerUsername,
String friendUsername)
Remove Contact from User
Remove contact from user's contact list.
|
String |
orgNameAppNameUsersOwnerUsernameContactsUsersFriendUsernamePost(String orgName,
String appName,
String authorization,
String ownerUsername,
String friendUsername)
Add Contact for User
Add contact for user.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersOwnerUsernameContactsUsersFriendUsernamePostAsync(String orgName,
String appName,
String authorization,
String ownerUsername,
String friendUsername,
ApiCallback<String> callback)
Add Contact for User (asynchronously)
Add contact for user.
|
ApiResponse<String> |
orgNameAppNameUsersOwnerUsernameContactsUsersFriendUsernamePostWithHttpInfo(String orgName,
String appName,
String authorization,
String ownerUsername,
String friendUsername)
Add Contact for User
Add contact for user.
|
String |
orgNameAppNameUsersOwnerUsernameContactsUsersGet(String orgName,
String appName,
String authorization,
String ownerUsername)
Get a List of Contacts
Get user's contact list
|
com.squareup.okhttp.Call |
orgNameAppNameUsersOwnerUsernameContactsUsersGetAsync(String orgName,
String appName,
String authorization,
String ownerUsername,
ApiCallback<String> callback)
Get a List of Contacts (asynchronously)
Get user's contact list
|
ApiResponse<String> |
orgNameAppNameUsersOwnerUsernameContactsUsersGetWithHttpInfo(String orgName,
String appName,
String authorization,
String ownerUsername)
Get a List of Contacts
Get user's contact list
|
String |
orgNameAppNameUsersOwnerUsernameOfflineMsgCountGet(String orgName,
String appName,
String authorization,
String ownerUsername)
Get Offline Message Count
Get the number of offline messages
|
com.squareup.okhttp.Call |
orgNameAppNameUsersOwnerUsernameOfflineMsgCountGetAsync(String orgName,
String appName,
String authorization,
String ownerUsername,
ApiCallback<String> callback)
Get Offline Message Count (asynchronously)
Get the number of offline messages
|
ApiResponse<String> |
orgNameAppNameUsersOwnerUsernameOfflineMsgCountGetWithHttpInfo(String orgName,
String appName,
String authorization,
String ownerUsername)
Get Offline Message Count
Get the number of offline messages
|
String |
orgNameAppNameUsersPost(String orgName,
String appName,
RegisterUsers body,
String authorization)
Create a User
Register an IM user account respects to org and app keys.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersPostAsync(String orgName,
String appName,
RegisterUsers body,
String authorization,
ApiCallback<String> callback)
Create a User (asynchronously)
Register an IM user account respects to org and app keys.
|
ApiResponse<String> |
orgNameAppNameUsersPostWithHttpInfo(String orgName,
String appName,
RegisterUsers body,
String authorization)
Create a User
Register an IM user account respects to org and app keys.
|
String |
orgNameAppNameUsersUsernameActivatePost(String orgName,
String appName,
String authorization,
String username)
Activate User Account
Activate a deactivated user account.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersUsernameActivatePostAsync(String orgName,
String appName,
String authorization,
String username,
ApiCallback<String> callback)
Activate User Account (asynchronously)
Activate a deactivated user account.
|
ApiResponse<String> |
orgNameAppNameUsersUsernameActivatePostWithHttpInfo(String orgName,
String appName,
String authorization,
String username)
Activate User Account
Activate a deactivated user account.
|
String |
orgNameAppNameUsersUsernameDeactivatePost(String orgName,
String appName,
String authorization,
String username)
Deactivate User Account
Deactivate a user account.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersUsernameDeactivatePostAsync(String orgName,
String appName,
String authorization,
String username,
ApiCallback<String> callback)
Deactivate User Account (asynchronously)
Deactivate a user account.
|
ApiResponse<String> |
orgNameAppNameUsersUsernameDeactivatePostWithHttpInfo(String orgName,
String appName,
String authorization,
String username)
Deactivate User Account
Deactivate a user account.
|
String |
orgNameAppNameUsersUsernameDelete(String orgName,
String appName,
String authorization,
String username)
Delete a User
Warning: Delete a user will also delete the group and chat room if the specified user is the admin of the group and chat room.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersUsernameDeleteAsync(String orgName,
String appName,
String authorization,
String username,
ApiCallback<String> callback)
Delete a User (asynchronously)
Warning: Delete a user will also delete the group and chat room if the specified user is the admin of the group and chat room.
|
ApiResponse<String> |
orgNameAppNameUsersUsernameDeleteWithHttpInfo(String orgName,
String appName,
String authorization,
String username)
Delete a User
Warning: Delete a user will also delete the group and chat room if the specified user is the admin of the group and chat room.
|
String |
orgNameAppNameUsersUsernameDisconnectGet(String orgName,
String appName,
String authorization,
String username)
Logout User
Force logout a user
|
com.squareup.okhttp.Call |
orgNameAppNameUsersUsernameDisconnectGetAsync(String orgName,
String appName,
String authorization,
String username,
ApiCallback<String> callback)
Logout User (asynchronously)
Force logout a user
|
ApiResponse<String> |
orgNameAppNameUsersUsernameDisconnectGetWithHttpInfo(String orgName,
String appName,
String authorization,
String username)
Logout User
Force logout a user
|
String |
orgNameAppNameUsersUsernameGet(String orgName,
String appName,
String authorization,
String username)
Get a User
|
com.squareup.okhttp.Call |
orgNameAppNameUsersUsernameGetAsync(String orgName,
String appName,
String authorization,
String username,
ApiCallback<String> callback)
Get a User (asynchronously)
|
ApiResponse<String> |
orgNameAppNameUsersUsernameGetWithHttpInfo(String orgName,
String appName,
String authorization,
String username)
Get a User
|
String |
orgNameAppNameUsersUsernameJoinedChatgroupsGet(String orgName,
String appName,
String authorization,
String username)
Get a List of Groups of User Joined
|
com.squareup.okhttp.Call |
orgNameAppNameUsersUsernameJoinedChatgroupsGetAsync(String orgName,
String appName,
String authorization,
String username,
ApiCallback<String> callback)
Get a List of Groups of User Joined (asynchronously)
|
ApiResponse<String> |
orgNameAppNameUsersUsernameJoinedChatgroupsGetWithHttpInfo(String orgName,
String appName,
String authorization,
String username)
Get a List of Groups of User Joined
|
String |
orgNameAppNameUsersUsernameJoinedChatroomsGet(String orgName,
String appName,
String authorization,
String username)
Get All the Chat Rooms of User Joined
|
com.squareup.okhttp.Call |
orgNameAppNameUsersUsernameJoinedChatroomsGetAsync(String orgName,
String appName,
String authorization,
String username,
ApiCallback<String> callback)
Get All the Chat Rooms of User Joined (asynchronously)
|
ApiResponse<String> |
orgNameAppNameUsersUsernameJoinedChatroomsGetWithHttpInfo(String orgName,
String appName,
String authorization,
String username)
Get All the Chat Rooms of User Joined
|
String |
orgNameAppNameUsersUsernameOfflineMsgStatusMsgIdGet(String orgName,
String appName,
String authorization,
String username,
String msgId)
Get Offline Message Status
Get offline message status via message ID.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersUsernameOfflineMsgStatusMsgIdGetAsync(String orgName,
String appName,
String authorization,
String username,
String msgId,
ApiCallback<String> callback)
Get Offline Message Status (asynchronously)
Get offline message status via message ID.
|
ApiResponse<String> |
orgNameAppNameUsersUsernameOfflineMsgStatusMsgIdGetWithHttpInfo(String orgName,
String appName,
String authorization,
String username,
String msgId)
Get Offline Message Status
Get offline message status via message ID.
|
String |
orgNameAppNameUsersUsernamePasswordPut(String orgName,
String appName,
String username,
NewPassword body,
String authorization)
Reset User's Password
To enhance security, we recommend update user's Hyphenate IM user account password if the user's app password on developer server is updated.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersUsernamePasswordPutAsync(String orgName,
String appName,
String username,
NewPassword body,
String authorization,
ApiCallback<String> callback)
Reset User's Password (asynchronously)
To enhance security, we recommend update user's Hyphenate IM user account password if the user's app password on developer server is updated.
|
ApiResponse<String> |
orgNameAppNameUsersUsernamePasswordPutWithHttpInfo(String orgName,
String appName,
String username,
NewPassword body,
String authorization)
Reset User's Password
To enhance security, we recommend update user's Hyphenate IM user account password if the user's app password on developer server is updated.
|
String |
orgNameAppNameUsersUsernamePut(String orgName,
String appName,
String username,
Nickname body,
String authorization)
Update User's APNs Display Name
Update user's APNs display name for iOS push notification.
|
com.squareup.okhttp.Call |
orgNameAppNameUsersUsernamePutAsync(String orgName,
String appName,
String username,
Nickname body,
String authorization,
ApiCallback<String> callback)
Update User's APNs Display Name (asynchronously)
Update user's APNs display name for iOS push notification.
|
ApiResponse<String> |
orgNameAppNameUsersUsernamePutWithHttpInfo(String orgName,
String appName,
String username,
Nickname body,
String authorization)
Update User's APNs Display Name
Update user's APNs display name for iOS push notification.
|
String |
orgNameAppNameUsersUsernameStatusGet(String orgName,
String appName,
String authorization,
String username)
Get User Online Status
|
com.squareup.okhttp.Call |
orgNameAppNameUsersUsernameStatusGetAsync(String orgName,
String appName,
String authorization,
String username,
ApiCallback<String> callback)
Get User Online Status (asynchronously)
|
ApiResponse<String> |
orgNameAppNameUsersUsernameStatusGetWithHttpInfo(String orgName,
String appName,
String authorization,
String username)
Get User Online Status
|
void |
setApiClient(ApiClient apiClient) |
public UsersApi()
public UsersApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public String orgNameAppNameUsersDelete(String orgName, String appName, String authorization, String limit, String cursor) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)limit - Total number of user accounts to be deleted (required)cursor - Cursor value from previous deletion (optional, default to )ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersDeleteWithHttpInfo(String orgName, String appName, String authorization, String limit, String cursor) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)limit - Total number of user accounts to be deleted (required)cursor - Cursor value from previous deletion (optional, default to )ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersDeleteAsync(String orgName, String appName, String authorization, String limit, String cursor, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)limit - Total number of user accounts to be deleted (required)cursor - Cursor value from previous deletion (optional, default to )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 String orgNameAppNameUsersGet(String orgName, String appName, String authorization, String limit, String cursor) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)limit - Get specified number of user by setting the batch limit with parameter \"limit\". Otherwise the API returns the 10 most recent created users by default. (optional, default to 3)cursor - Pagination: If the query results more objects than value of limit, then the response will carry an extra attribute ¡°cursor¡±, the value points to the next page. There is No cursor on the last page or if the returning objects is less than batch limit value. (optional, default to LTgzNDAxMjM3OTpreS0yeXBSSkVlYWZZODl3bXppMTFn")ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersGetWithHttpInfo(String orgName, String appName, String authorization, String limit, String cursor) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)limit - Get specified number of user by setting the batch limit with parameter \"limit\". Otherwise the API returns the 10 most recent created users by default. (optional, default to 3)cursor - Pagination: If the query results more objects than value of limit, then the response will carry an extra attribute ¡°cursor¡±, the value points to the next page. There is No cursor on the last page or if the returning objects is less than batch limit value. (optional, default to LTgzNDAxMjM3OTpreS0yeXBSSkVlYWZZODl3bXppMTFn")ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersGetAsync(String orgName, String appName, String authorization, String limit, String cursor, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)limit - Get specified number of user by setting the batch limit with parameter \"limit\". Otherwise the API returns the 10 most recent created users by default. (optional, default to 3)cursor - Pagination: If the query results more objects than value of limit, then the response will carry an extra attribute ¡°cursor¡±, the value points to the next page. There is No cursor on the last page or if the returning objects is less than batch limit value. (optional, default to LTgzNDAxMjM3OTpreS0yeXBSSkVlYWZZODl3bXppMTFn")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 String orgNameAppNameUsersOwnerUsernameBlocksUsersBlockedUsernameDelete(String orgName, String appName, String authorization, String ownerUsername, String blockedUsername) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - (required)blockedUsername - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersOwnerUsernameBlocksUsersBlockedUsernameDeleteWithHttpInfo(String orgName, String appName, String authorization, String ownerUsername, String blockedUsername) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - (required)blockedUsername - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersOwnerUsernameBlocksUsersBlockedUsernameDeleteAsync(String orgName, String appName, String authorization, String ownerUsername, String blockedUsername, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - (required)blockedUsername - (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 String orgNameAppNameUsersOwnerUsernameBlocksUsersGet(String orgName, String appName, String authorization, String ownerUsername) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - The user who is requesting blacklist (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersOwnerUsernameBlocksUsersGetWithHttpInfo(String orgName, String appName, String authorization, String ownerUsername) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - The user who is requesting blacklist (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersOwnerUsernameBlocksUsersGetAsync(String orgName, String appName, String authorization, String ownerUsername, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - The user who is requesting blacklist (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 String orgNameAppNameUsersOwnerUsernameBlocksUsersPost(String orgName, String appName, String authorization, String ownerUsername, UserNames usernames) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - The user who initiated the blocking (required)usernames - Users to be blocked. Use ',' to separate the usernames (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersOwnerUsernameBlocksUsersPostWithHttpInfo(String orgName, String appName, String authorization, String ownerUsername, UserNames usernames) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - The user who initiated the blocking (required)usernames - Users to be blocked. Use ',' to separate the usernames (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersOwnerUsernameBlocksUsersPostAsync(String orgName, String appName, String authorization, String ownerUsername, UserNames usernames, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - The user who initiated the blocking (required)usernames - Users to be blocked. Use ',' to separate the usernames (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 String orgNameAppNameUsersOwnerUsernameContactsUsersFriendUsernameDelete(String orgName, String appName, String authorization, String ownerUsername, String friendUsername) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - user (required)friendUsername - contact to be removed (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersOwnerUsernameContactsUsersFriendUsernameDeleteWithHttpInfo(String orgName, String appName, String authorization, String ownerUsername, String friendUsername) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - user (required)friendUsername - contact to be removed (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersOwnerUsernameContactsUsersFriendUsernameDeleteAsync(String orgName, String appName, String authorization, String ownerUsername, String friendUsername, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - user (required)friendUsername - contact to be removed (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 String orgNameAppNameUsersOwnerUsernameContactsUsersFriendUsernamePost(String orgName, String appName, String authorization, String ownerUsername, String friendUsername) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - user (required)friendUsername - contact to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersOwnerUsernameContactsUsersFriendUsernamePostWithHttpInfo(String orgName, String appName, String authorization, String ownerUsername, String friendUsername) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - user (required)friendUsername - contact to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersOwnerUsernameContactsUsersFriendUsernamePostAsync(String orgName, String appName, String authorization, String ownerUsername, String friendUsername, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - user (required)friendUsername - contact to be added (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 String orgNameAppNameUsersOwnerUsernameContactsUsersGet(String orgName, String appName, String authorization, String ownerUsername) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - The user who is requesting contact list (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersOwnerUsernameContactsUsersGetWithHttpInfo(String orgName, String appName, String authorization, String ownerUsername) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - The user who is requesting contact list (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersOwnerUsernameContactsUsersGetAsync(String orgName, String appName, String authorization, String ownerUsername, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - The user who is requesting contact list (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 String orgNameAppNameUsersOwnerUsernameOfflineMsgCountGet(String orgName, String appName, String authorization, String ownerUsername) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersOwnerUsernameOfflineMsgCountGetWithHttpInfo(String orgName, String appName, String authorization, String ownerUsername) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersOwnerUsernameOfflineMsgCountGetAsync(String orgName, String appName, String authorization, String ownerUsername, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ownerUsername - (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 String orgNameAppNameUsersPost(String orgName, String appName, RegisterUsers body, String authorization) throws ApiException
orgName - Organization ID (required)appName - Application name (required)body - To create multiple users at once: [ { \"username\": \"user1\", \"password\": \"123456\" }, { \"username\": \"user2\", \"password\": \"123456\" }] (required)authorization - Bearer ${token} (optional, default to Bearer YWMtLU9T4JRGEea0-Vvai3EzjAAAAVkGz4dZKNSpsVdRvVix2OfSm42w5-IaUL4)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersPostWithHttpInfo(String orgName, String appName, RegisterUsers body, String authorization) throws ApiException
orgName - Organization ID (required)appName - Application name (required)body - To create multiple users at once: [ { \"username\": \"user1\", \"password\": \"123456\" }, { \"username\": \"user2\", \"password\": \"123456\" }] (required)authorization - Bearer ${token} (optional, default to Bearer YWMtLU9T4JRGEea0-Vvai3EzjAAAAVkGz4dZKNSpsVdRvVix2OfSm42w5-IaUL4)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersPostAsync(String orgName, String appName, RegisterUsers body, String authorization, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)body - To create multiple users at once: [ { \"username\": \"user1\", \"password\": \"123456\" }, { \"username\": \"user2\", \"password\": \"123456\" }] (required)authorization - Bearer ${token} (optional, default to Bearer YWMtLU9T4JRGEea0-Vvai3EzjAAAAVkGz4dZKNSpsVdRvVix2OfSm42w5-IaUL4)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 String orgNameAppNameUsersUsernameActivatePost(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersUsernameActivatePostWithHttpInfo(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersUsernameActivatePostAsync(String orgName, String appName, String authorization, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (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 String orgNameAppNameUsersUsernameDeactivatePost(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersUsernameDeactivatePostWithHttpInfo(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersUsernameDeactivatePostAsync(String orgName, String appName, String authorization, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (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 String orgNameAppNameUsersUsernameDelete(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - user to be deleted (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersUsernameDeleteWithHttpInfo(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - user to be deleted (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersUsernameDeleteAsync(String orgName, String appName, String authorization, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - user 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 String orgNameAppNameUsersUsernameDisconnectGet(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersUsernameDisconnectGetWithHttpInfo(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersUsernameDisconnectGetAsync(String orgName, String appName, String authorization, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (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 String orgNameAppNameUsersUsernameGet(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersUsernameGetWithHttpInfo(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersUsernameGetAsync(String orgName, String appName, String authorization, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (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 String orgNameAppNameUsersUsernameJoinedChatgroupsGet(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersUsernameJoinedChatgroupsGetWithHttpInfo(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersUsernameJoinedChatgroupsGetAsync(String orgName, String appName, String authorization, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (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 String orgNameAppNameUsersUsernameJoinedChatroomsGet(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersUsernameJoinedChatroomsGetWithHttpInfo(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersUsernameJoinedChatroomsGetAsync(String orgName, String appName, String authorization, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (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 String orgNameAppNameUsersUsernameOfflineMsgStatusMsgIdGet(String orgName, String appName, String authorization, String username, String msgId) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)msgId - Message ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersUsernameOfflineMsgStatusMsgIdGetWithHttpInfo(String orgName, String appName, String authorization, String username, String msgId) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)msgId - Message ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersUsernameOfflineMsgStatusMsgIdGetAsync(String orgName, String appName, String authorization, String username, String msgId, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)msgId - Message ID (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 String orgNameAppNameUsersUsernamePasswordPut(String orgName, String appName, String username, NewPassword body, String authorization) throws ApiException
orgName - Organization ID (required)appName - Application name (required)username - (required)body - Set a new password by using key \"newpassword\" (required)authorization - Bearer ${token} (optional, default to Bearer YWMtLU9T4JRGEea0-Vvai3EzjAAAAVkGz4dZKNSpsVdRvVix2OfSm42w5-IaUL4)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersUsernamePasswordPutWithHttpInfo(String orgName, String appName, String username, NewPassword body, String authorization) throws ApiException
orgName - Organization ID (required)appName - Application name (required)username - (required)body - Set a new password by using key \"newpassword\" (required)authorization - Bearer ${token} (optional, default to Bearer YWMtLU9T4JRGEea0-Vvai3EzjAAAAVkGz4dZKNSpsVdRvVix2OfSm42w5-IaUL4)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersUsernamePasswordPutAsync(String orgName, String appName, String username, NewPassword body, String authorization, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)username - (required)body - Set a new password by using key \"newpassword\" (required)authorization - Bearer ${token} (optional, default to Bearer YWMtLU9T4JRGEea0-Vvai3EzjAAAAVkGz4dZKNSpsVdRvVix2OfSm42w5-IaUL4)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 String orgNameAppNameUsersUsernamePut(String orgName, String appName, String username, Nickname body, String authorization) throws ApiException
orgName - Organization ID (required)appName - Application name (required)username - (required)body - update APNs display name by key \"nickname\" (required)authorization - Bearer ${token} (optional, default to Bearer YWMtLU9T4JRGEea0-Vvai3EzjAAAAVkGz4dZKNSpsVdRvVix2OfSm42w5-IaUL4)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersUsernamePutWithHttpInfo(String orgName, String appName, String username, Nickname body, String authorization) throws ApiException
orgName - Organization ID (required)appName - Application name (required)username - (required)body - update APNs display name by key \"nickname\" (required)authorization - Bearer ${token} (optional, default to Bearer YWMtLU9T4JRGEea0-Vvai3EzjAAAAVkGz4dZKNSpsVdRvVix2OfSm42w5-IaUL4)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersUsernamePutAsync(String orgName, String appName, String username, Nickname body, String authorization, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)username - (required)body - update APNs display name by key \"nickname\" (required)authorization - Bearer ${token} (optional, default to Bearer YWMtLU9T4JRGEea0-Vvai3EzjAAAAVkGz4dZKNSpsVdRvVix2OfSm42w5-IaUL4)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 String orgNameAppNameUsersUsernameStatusGet(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameUsersUsernameStatusGetWithHttpInfo(String orgName, String appName, String authorization, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameUsersUsernameStatusGetAsync(String orgName, String appName, String authorization, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)username - (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 objectCopyright © 2017. All rights reserved.