Package com.redhat.parodos.sdk.api
Class LoginApi
java.lang.Object
com.redhat.parodos.sdk.api.LoginApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoidlogin()Loginokhttp3.CallloginAsync(ApiCallback<Void> _callback) Login (asynchronously)okhttp3.CallloginCall(ApiCallback _callback) Build call for loginLoginvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex)
-
Constructor Details
-
LoginApi
public LoginApi() -
LoginApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
loginCall
Build call for login- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
login
Login- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
loginWithHttpInfo
Login- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
loginAsync
Login (asynchronously)- Parameters:
_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
-