Package io.swagger.client.api
Class AuthServiceApi
- java.lang.Object
-
- io.swagger.client.api.AuthServiceApi
-
public class AuthServiceApi extends Object
-
-
Constructor Summary
Constructors Constructor Description AuthServiceApi()
AuthServiceApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClient
getApiClient()
ResponsePackLoginResponse
loginUser(UserLoginDetails body, String conversationId, String X_API_KEY)
Login user Get session id by loggin incom.squareup.okhttp.Call
loginUserAsync(UserLoginDetails body, String conversationId, String X_API_KEY, ApiCallback<ResponsePackLoginResponse> callback)
Login user (asynchronously) Get session id by loggin incom.squareup.okhttp.Call
loginUserCall(UserLoginDetails body, String conversationId, String X_API_KEY, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for loginUserApiResponse<ResponsePackLoginResponse>
loginUserWithHttpInfo(UserLoginDetails body, String conversationId, String X_API_KEY)
Login user Get session id by loggin inResponsePackString
logoutUser(String sessionId, String conversationId, String X_API_KEY)
Logout use Logout from the sessioncom.squareup.okhttp.Call
logoutUserAsync(String sessionId, String conversationId, String X_API_KEY, ApiCallback<ResponsePackString> callback)
Logout use (asynchronously) Logout from the sessioncom.squareup.okhttp.Call
logoutUserCall(String sessionId, String conversationId, String X_API_KEY, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for logoutUserApiResponse<ResponsePackString>
logoutUserWithHttpInfo(String sessionId, String conversationId, String X_API_KEY)
Logout use Logout from the sessionvoid
setApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
AuthServiceApi
public AuthServiceApi()
-
AuthServiceApi
public AuthServiceApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
loginUserCall
public com.squareup.okhttp.Call loginUserCall(UserLoginDetails body, String conversationId, String X_API_KEY, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for loginUser- Parameters:
body
- (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
loginUser
public ResponsePackLoginResponse loginUser(UserLoginDetails body, String conversationId, String X_API_KEY) throws ApiException
Login user Get session id by loggin in- Parameters:
body
- (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)- Returns:
- ResponsePackLoginResponse
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
loginUserWithHttpInfo
public ApiResponse<ResponsePackLoginResponse> loginUserWithHttpInfo(UserLoginDetails body, String conversationId, String X_API_KEY) throws ApiException
Login user Get session id by loggin in- Parameters:
body
- (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)- Returns:
- ApiResponse<ResponsePackLoginResponse>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
loginUserAsync
public com.squareup.okhttp.Call loginUserAsync(UserLoginDetails body, String conversationId, String X_API_KEY, ApiCallback<ResponsePackLoginResponse> callback) throws ApiException
Login user (asynchronously) Get session id by loggin in- Parameters:
body
- (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
logoutUserCall
public com.squareup.okhttp.Call logoutUserCall(String sessionId, String conversationId, String X_API_KEY, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for logoutUser- Parameters:
sessionId
- Session ID (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
logoutUser
public ResponsePackString logoutUser(String sessionId, String conversationId, String X_API_KEY) throws ApiException
Logout use Logout from the session- Parameters:
sessionId
- Session ID (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)- Returns:
- ResponsePackString
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
logoutUserWithHttpInfo
public ApiResponse<ResponsePackString> logoutUserWithHttpInfo(String sessionId, String conversationId, String X_API_KEY) throws ApiException
Logout use Logout from the session- Parameters:
sessionId
- Session ID (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)- Returns:
- ApiResponse<ResponsePackString>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
logoutUserAsync
public com.squareup.okhttp.Call logoutUserAsync(String sessionId, String conversationId, String X_API_KEY, ApiCallback<ResponsePackString> callback) throws ApiException
Logout use (asynchronously) Logout from the session- Parameters:
sessionId
- Session ID (required)conversationId
- Conversation ID (required)X_API_KEY
- API access key (required)callback
- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException
- If fail to process the API call, e.g. serializing the request body object
-
-