public class ChatRoomsApi extends Object
| 构造器和说明 |
|---|
ChatRoomsApi() |
ChatRoomsApi(ApiClient apiClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
String |
orgNameAppNameChatroomsChatroomIdDelete(String orgName,
String appName,
String authorization,
String chatroomId)
Delete a Chat Room
|
com.squareup.okhttp.Call |
orgNameAppNameChatroomsChatroomIdDeleteAsync(String orgName,
String appName,
String authorization,
String chatroomId,
ApiCallback<String> callback)
Delete a Chat Room (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatroomsChatroomIdDeleteWithHttpInfo(String orgName,
String appName,
String authorization,
String chatroomId)
Delete a Chat Room
|
String |
orgNameAppNameChatroomsChatroomIdGet(String orgName,
String appName,
String authorization,
String chatroomId)
Get Chat Room Details
|
com.squareup.okhttp.Call |
orgNameAppNameChatroomsChatroomIdGetAsync(String orgName,
String appName,
String authorization,
String chatroomId,
ApiCallback<String> callback)
Get Chat Room Details (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatroomsChatroomIdGetWithHttpInfo(String orgName,
String appName,
String authorization,
String chatroomId)
Get Chat Room Details
|
String |
orgNameAppNameChatroomsChatroomIdPut(String orgName,
String appName,
String authorization,
String chatroomId,
ModifyChatroom body)
Update Chat Room Details
|
com.squareup.okhttp.Call |
orgNameAppNameChatroomsChatroomIdPutAsync(String orgName,
String appName,
String authorization,
String chatroomId,
ModifyChatroom body,
ApiCallback<String> callback)
Update Chat Room Details (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatroomsChatroomIdPutWithHttpInfo(String orgName,
String appName,
String authorization,
String chatroomId,
ModifyChatroom body)
Update Chat Room Details
|
String |
orgNameAppNameChatroomsChatroomIdUsersPost(String orgName,
String appName,
String authorization,
String chatroomId,
UserNames content)
Add Chat Room Members in Batch
Add max 60 group members at a time.
|
com.squareup.okhttp.Call |
orgNameAppNameChatroomsChatroomIdUsersPostAsync(String orgName,
String appName,
String authorization,
String chatroomId,
UserNames content,
ApiCallback<String> callback)
Add Chat Room Members in Batch (asynchronously)
Add max 60 group members at a time.
|
ApiResponse<String> |
orgNameAppNameChatroomsChatroomIdUsersPostWithHttpInfo(String orgName,
String appName,
String authorization,
String chatroomId,
UserNames content)
Add Chat Room Members in Batch
Add max 60 group members at a time.
|
String |
orgNameAppNameChatroomsChatroomIdUsersUsernameDelete(String orgName,
String appName,
String authorization,
String chatroomId,
String username)
Remove a Chat Room Member
|
com.squareup.okhttp.Call |
orgNameAppNameChatroomsChatroomIdUsersUsernameDeleteAsync(String orgName,
String appName,
String authorization,
String chatroomId,
String username,
ApiCallback<String> callback)
Remove a Chat Room Member (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatroomsChatroomIdUsersUsernameDeleteWithHttpInfo(String orgName,
String appName,
String authorization,
String chatroomId,
String username)
Remove a Chat Room Member
|
String |
orgNameAppNameChatroomsChatroomIdUsersUsernamePost(String orgName,
String appName,
String authorization,
String chatroomId,
String username)
Add a Chat Room Member
|
com.squareup.okhttp.Call |
orgNameAppNameChatroomsChatroomIdUsersUsernamePostAsync(String orgName,
String appName,
String authorization,
String chatroomId,
String username,
ApiCallback<String> callback)
Add a Chat Room Member (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatroomsChatroomIdUsersUsernamePostWithHttpInfo(String orgName,
String appName,
String authorization,
String chatroomId,
String username)
Add a Chat Room Member
|
String |
orgNameAppNameChatroomsChatroomIdUsersUsernamesDelete(String orgName,
String appName,
String authorization,
String chatroomId,
String usernames)
Remove Chat Room Members in Batch
|
com.squareup.okhttp.Call |
orgNameAppNameChatroomsChatroomIdUsersUsernamesDeleteAsync(String orgName,
String appName,
String authorization,
String chatroomId,
String usernames,
ApiCallback<String> callback)
Remove Chat Room Members in Batch (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatroomsChatroomIdUsersUsernamesDeleteWithHttpInfo(String orgName,
String appName,
String authorization,
String chatroomId,
String usernames)
Remove Chat Room Members in Batch
|
String |
orgNameAppNameChatroomsGet(String orgName,
String appName,
String authorization)
Get All the Chat Rooms
|
com.squareup.okhttp.Call |
orgNameAppNameChatroomsGetAsync(String orgName,
String appName,
String authorization,
ApiCallback<String> callback)
Get All the Chat Rooms (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatroomsGetWithHttpInfo(String orgName,
String appName,
String authorization)
Get All the Chat Rooms
|
String |
orgNameAppNameChatroomsPost(String orgName,
String appName,
String authorization,
Chatroom body)
Create a Chat Room
|
com.squareup.okhttp.Call |
orgNameAppNameChatroomsPostAsync(String orgName,
String appName,
String authorization,
Chatroom body,
ApiCallback<String> callback)
Create a Chat Room (asynchronously)
|
ApiResponse<String> |
orgNameAppNameChatroomsPostWithHttpInfo(String orgName,
String appName,
String authorization,
Chatroom body)
Create a Chat Room
|
void |
setApiClient(ApiClient apiClient) |
public ChatRoomsApi()
public ChatRoomsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public String orgNameAppNameChatroomsChatroomIdDelete(String orgName, String appName, String authorization, String chatroomId) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatroomsChatroomIdDeleteWithHttpInfo(String orgName, String appName, String authorization, String chatroomId) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatroomsChatroomIdDeleteAsync(String orgName, String appName, String authorization, String chatroomId, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (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 orgNameAppNameChatroomsChatroomIdGet(String orgName, String appName, String authorization, String chatroomId) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatroomsChatroomIdGetWithHttpInfo(String orgName, String appName, String authorization, String chatroomId) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatroomsChatroomIdGetAsync(String orgName, String appName, String authorization, String chatroomId, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (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 orgNameAppNameChatroomsChatroomIdPut(String orgName, String appName, String authorization, String chatroomId, ModifyChatroom body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatroomsChatroomIdPutWithHttpInfo(String orgName, String appName, String authorization, String chatroomId, ModifyChatroom body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatroomsChatroomIdPutAsync(String orgName, String appName, String authorization, String chatroomId, ModifyChatroom body, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)body - (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 orgNameAppNameChatroomsChatroomIdUsersPost(String orgName, String appName, String authorization, String chatroomId, UserNames content) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)content - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatroomsChatroomIdUsersPostWithHttpInfo(String orgName, String appName, String authorization, String chatroomId, UserNames content) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)content - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatroomsChatroomIdUsersPostAsync(String orgName, String appName, String authorization, String chatroomId, UserNames content, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)content - (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 orgNameAppNameChatroomsChatroomIdUsersUsernameDelete(String orgName, String appName, String authorization, String chatroomId, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatroomsChatroomIdUsersUsernameDeleteWithHttpInfo(String orgName, String appName, String authorization, String chatroomId, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatroomsChatroomIdUsersUsernameDeleteAsync(String orgName, String appName, String authorization, String chatroomId, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (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 orgNameAppNameChatroomsChatroomIdUsersUsernamePost(String orgName, String appName, String authorization, String chatroomId, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatroomsChatroomIdUsersUsernamePostWithHttpInfo(String orgName, String appName, String authorization, String chatroomId, String username) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)username - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatroomsChatroomIdUsersUsernamePostAsync(String orgName, String appName, String authorization, String chatroomId, String username, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (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 orgNameAppNameChatroomsChatroomIdUsersUsernamesDelete(String orgName, String appName, String authorization, String chatroomId, String usernames) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)usernames - Separate usernames by ',' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatroomsChatroomIdUsersUsernamesDeleteWithHttpInfo(String orgName, String appName, String authorization, String chatroomId, String usernames) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)usernames - Separate usernames by ',' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatroomsChatroomIdUsersUsernamesDeleteAsync(String orgName, String appName, String authorization, String chatroomId, String usernames, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)chatroomId - (required)usernames - Separate usernames by ',' (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 orgNameAppNameChatroomsGet(String orgName, String appName, String authorization) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatroomsGetWithHttpInfo(String orgName, String appName, String authorization) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatroomsGetAsync(String orgName, String appName, String authorization, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (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 orgNameAppNameChatroomsPost(String orgName, String appName, String authorization, Chatroom body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> orgNameAppNameChatroomsPostWithHttpInfo(String orgName, String appName, String authorization, Chatroom body) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call orgNameAppNameChatroomsPostAsync(String orgName, String appName, String authorization, Chatroom body, ApiCallback<String> callback) throws ApiException
orgName - Organization ID (required)appName - Application name (required)authorization - Bearer ${token} (required)body - (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.