Package com.veeroute.lss.studio.api
Class UserApi
java.lang.Object
com.veeroute.lss.studio.api.UserApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUserSettings(String settingsKey, Map<String, Object> requestBody) Create user settings Create user settings.okhttp3.CallcreateUserSettingsAsync(String settingsKey, Map<String, Object> requestBody, ApiCallback<Map<String, Object>> _callback) Create user settings (asynchronously) Create user settings.okhttp3.CallcreateUserSettingsCall(String settingsKey, Map<String, Object> requestBody, ApiCallback _callback) Build call for createUserSettingscreateUserSettingsWithHttpInfo(String settingsKey, Map<String, Object> requestBody) Create user settings Create user settings.voiddeleteUserSettings(String settingsKey) Delete user settings Delete user settings.okhttp3.CalldeleteUserSettingsAsync(String settingsKey, ApiCallback<Void> _callback) Delete user settings (asynchronously) Delete user settings.okhttp3.CalldeleteUserSettingsCall(String settingsKey, ApiCallback _callback) Build call for deleteUserSettingsdeleteUserSettingsWithHttpInfo(String settingsKey) Delete user settings Delete user settings.intReading user settings list Reading the list of user settings keys.okhttp3.CalllistUserSettingsAsync(ApiCallback<SettingsKeyList> _callback) Reading user settings list (asynchronously) Reading the list of user settings keys.okhttp3.CalllistUserSettingsCall(ApiCallback _callback) Build call for listUserSettingsReading user settings list Reading the list of user settings keys.readUserSettings(String settingsKey) Reading user settings Reading user settings.okhttp3.CallreadUserSettingsAsync(String settingsKey, ApiCallback<Map<String, Object>> _callback) Reading user settings (asynchronously) Reading user settings.okhttp3.CallreadUserSettingsCall(String settingsKey, ApiCallback _callback) Build call for readUserSettingsreadUserSettingsWithHttpInfo(String settingsKey) Reading user settings Reading user settings.voidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) Setting the active user settings key Setting the active user settings key.okhttp3.CallsetUserSettingsActiveKeyAsync(String body, ApiCallback<SettingsKeyList> _callback) Setting the active user settings key (asynchronously) Setting the active user settings key.okhttp3.CallsetUserSettingsActiveKeyCall(String body, ApiCallback _callback) Build call for setUserSettingsActiveKeySetting the active user settings key Setting the active user settings key.updateUserSettings(String settingsKey, Map<String, Object> requestBody) Update user settings Update user settings.okhttp3.CallupdateUserSettingsAsync(String settingsKey, Map<String, Object> requestBody, ApiCallback<Map<String, Object>> _callback) Update user settings (asynchronously) Update user settings.okhttp3.CallupdateUserSettingsCall(String settingsKey, Map<String, Object> requestBody, ApiCallback _callback) Build call for updateUserSettingsupdateUserSettingsWithHttpInfo(String settingsKey, Map<String, Object> requestBody) Update user settings Update user settings.
-
Constructor Details
-
UserApi
public UserApi() -
UserApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createUserSettingsCall
public okhttp3.Call createUserSettingsCall(@Nonnull String settingsKey, @Nonnull Map<String, Object> requestBody, ApiCallback _callback) throws ApiExceptionBuild call for createUserSettings- Parameters:
settingsKey- User settings key, unique identifier. (required)requestBody- New settings. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Create settings completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
createUserSettings
public Map<String,Object> createUserSettings(@Nonnull String settingsKey, @Nonnull Map<String, Object> requestBody) throws ApiExceptionCreate user settings Create user settings.- Parameters:
settingsKey- User settings key, unique identifier. (required)requestBody- New settings. (required)- Returns:
- Map<String, Object>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Create settings completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
createUserSettingsWithHttpInfo
public ApiResponse<Map<String,Object>> createUserSettingsWithHttpInfo(@Nonnull String settingsKey, @Nonnull Map<String, Object> requestBody) throws ApiExceptionCreate user settings Create user settings.- Parameters:
settingsKey- User settings key, unique identifier. (required)requestBody- New settings. (required)- Returns:
- ApiResponse<Map<String, Object>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Create settings completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
createUserSettingsAsync
public okhttp3.Call createUserSettingsAsync(@Nonnull String settingsKey, @Nonnull Map<String, Object> requestBody, ApiCallback<Map<String, throws ApiExceptionObject>> _callback) Create user settings (asynchronously) Create user settings.- Parameters:
settingsKey- User settings key, unique identifier. (required)requestBody- New settings. (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- Http Response Details
Response Details Status Code Description Response Headers 200 Create settings completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
deleteUserSettingsCall
public okhttp3.Call deleteUserSettingsCall(@Nonnull String settingsKey, ApiCallback _callback) throws ApiException Build call for deleteUserSettings- Parameters:
settingsKey- User settings key, unique identifier. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 204 Settings have been deleted successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
deleteUserSettings
Delete user settings Delete user settings.- Parameters:
settingsKey- User settings key, unique identifier. (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 Settings have been deleted successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
deleteUserSettingsWithHttpInfo
public ApiResponse<Void> deleteUserSettingsWithHttpInfo(@Nonnull String settingsKey) throws ApiException Delete user settings Delete user settings.- Parameters:
settingsKey- User settings key, unique identifier. (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 204 Settings have been deleted successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
deleteUserSettingsAsync
public okhttp3.Call deleteUserSettingsAsync(@Nonnull String settingsKey, ApiCallback<Void> _callback) throws ApiException Delete user settings (asynchronously) Delete user settings.- Parameters:
settingsKey- User settings key, unique identifier. (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- Http Response Details
Response Details Status Code Description Response Headers 204 Settings have been deleted successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
listUserSettingsCall
Build call for listUserSettings- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Reading settings list completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
listUserSettings
Reading user settings list Reading the list of user settings keys.- Returns:
- SettingsKeyList
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Reading settings list completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
listUserSettingsWithHttpInfo
Reading user settings list Reading the list of user settings keys.- Returns:
- ApiResponse<SettingsKeyList>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Reading settings list completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
listUserSettingsAsync
public okhttp3.Call listUserSettingsAsync(ApiCallback<SettingsKeyList> _callback) throws ApiException Reading user settings list (asynchronously) Reading the list of user settings keys.- 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- Http Response Details
Response Details Status Code Description Response Headers 200 Reading settings list completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
readUserSettingsCall
public okhttp3.Call readUserSettingsCall(@Nonnull String settingsKey, ApiCallback _callback) throws ApiException Build call for readUserSettings- Parameters:
settingsKey- User settings key, unique identifier. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Reading settings completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
readUserSettings
Reading user settings Reading user settings.- Parameters:
settingsKey- User settings key, unique identifier. (required)- Returns:
- Map<String, Object>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Reading settings completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
readUserSettingsWithHttpInfo
public ApiResponse<Map<String,Object>> readUserSettingsWithHttpInfo(@Nonnull String settingsKey) throws ApiException Reading user settings Reading user settings.- Parameters:
settingsKey- User settings key, unique identifier. (required)- Returns:
- ApiResponse<Map<String, Object>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Reading settings completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
readUserSettingsAsync
public okhttp3.Call readUserSettingsAsync(@Nonnull String settingsKey, ApiCallback<Map<String, Object>> _callback) throws ApiExceptionReading user settings (asynchronously) Reading user settings.- Parameters:
settingsKey- User settings key, unique identifier. (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- Http Response Details
Response Details Status Code Description Response Headers 200 Reading settings completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
setUserSettingsActiveKeyCall
public okhttp3.Call setUserSettingsActiveKeyCall(@Nonnull String body, ApiCallback _callback) throws ApiException Build call for setUserSettingsActiveKey- Parameters:
body- New key. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Update active settings key completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
setUserSettingsActiveKey
Setting the active user settings key Setting the active user settings key.- Parameters:
body- New key. (required)- Returns:
- SettingsKeyList
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Update active settings key completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
setUserSettingsActiveKeyWithHttpInfo
public ApiResponse<SettingsKeyList> setUserSettingsActiveKeyWithHttpInfo(@Nonnull String body) throws ApiException Setting the active user settings key Setting the active user settings key.- Parameters:
body- New key. (required)- Returns:
- ApiResponse<SettingsKeyList>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Update active settings key completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
setUserSettingsActiveKeyAsync
public okhttp3.Call setUserSettingsActiveKeyAsync(@Nonnull String body, ApiCallback<SettingsKeyList> _callback) throws ApiException Setting the active user settings key (asynchronously) Setting the active user settings key.- Parameters:
body- New 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- Http Response Details
Response Details Status Code Description Response Headers 200 Update active settings key completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
updateUserSettingsCall
public okhttp3.Call updateUserSettingsCall(@Nonnull String settingsKey, @Nonnull Map<String, Object> requestBody, ApiCallback _callback) throws ApiExceptionBuild call for updateUserSettings- Parameters:
settingsKey- User settings key, unique identifier. (required)requestBody- New settings. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details
Response Details Status Code Description Response Headers 200 Update settings completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
updateUserSettings
public Map<String,Object> updateUserSettings(@Nonnull String settingsKey, @Nonnull Map<String, Object> requestBody) throws ApiExceptionUpdate user settings Update user settings.- Parameters:
settingsKey- User settings key, unique identifier. (required)requestBody- New settings. (required)- Returns:
- Map<String, Object>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Update settings completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
updateUserSettingsWithHttpInfo
public ApiResponse<Map<String,Object>> updateUserSettingsWithHttpInfo(@Nonnull String settingsKey, @Nonnull Map<String, Object> requestBody) throws ApiExceptionUpdate user settings Update user settings.- Parameters:
settingsKey- User settings key, unique identifier. (required)requestBody- New settings. (required)- Returns:
- ApiResponse<Map<String, Object>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details
Response Details Status Code Description Response Headers 200 Update settings completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-
updateUserSettingsAsync
public okhttp3.Call updateUserSettingsAsync(@Nonnull String settingsKey, @Nonnull Map<String, Object> requestBody, ApiCallback<Map<String, throws ApiExceptionObject>> _callback) Update user settings (asynchronously) Update user settings.- Parameters:
settingsKey- User settings key, unique identifier. (required)requestBody- New settings. (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- Http Response Details
Response Details Status Code Description Response Headers 200 Update settings completed successfully - 400 Bad request - input data contains errors - 401 Unauthorized - incorrect authorization details, token is missing or invalid - 402 Payment Required - 403 Forbidden - no permission to execute this operation - 404 Not found - 405 Method not allowed, check method (POST, GET, ...) - 406 Client is unable to process a format of response, check headers - 415 Unsupported media type, check headers - 429 Too many requests - 431 Request header fields too large - 500 Internal server error - 501 Not implemented - 502 Bad gateway - 503 Service unavailable - 504 Gateway timeout - 0 Service unavailable -
-