public class LinkSessionToUserApi extends Object
| Constructor and Description |
|---|
LinkSessionToUserApi() |
LinkSessionToUserApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
EventResponse |
linkSessionToUser(LinkSessionToUser JSON)
Use link_session_to_user to associate specific session to a user.
|
com.squareup.okhttp.Call |
linkSessionToUserAsync(LinkSessionToUser JSON,
ApiCallback<EventResponse> callback)
Use link_session_to_user to associate specific session to a user.
|
com.squareup.okhttp.Call |
linkSessionToUserCall(LinkSessionToUser JSON,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for linkSessionToUser
|
ApiResponse<EventResponse> |
linkSessionToUserWithHttpInfo(LinkSessionToUser JSON)
Use link_session_to_user to associate specific session to a user.
|
void |
setApiClient(ApiClient apiClient) |
public LinkSessionToUserApi()
public LinkSessionToUserApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call linkSessionToUserCall(LinkSessionToUser JSON, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
JSON - Pass session and user to thirdwatch for link. Only `_userID` is required field. But this should contain session and user info. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EventResponse linkSessionToUser(LinkSessionToUser JSON) throws ApiException
JSON - Pass session and user to thirdwatch for link. Only `_userID` is required field. But this should contain session and user info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EventResponse> linkSessionToUserWithHttpInfo(LinkSessionToUser JSON) throws ApiException
JSON - Pass session and user to thirdwatch for link. Only `_userID` is required field. But this should contain session and user info. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call linkSessionToUserAsync(LinkSessionToUser JSON, ApiCallback<EventResponse> callback) throws ApiException
JSON - Pass session and user to thirdwatch for link. Only `_userID` is required field. But this should contain session and user info. (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.