public class ExternalAccountsResourceApi extends Object
Constructor and Description |
---|
ExternalAccountsResourceApi() |
ExternalAccountsResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiExternalAccount |
createAccount(ApiExternalAccount body)
Create a new external account.
|
com.squareup.okhttp.Call |
createAccountAsync(ApiExternalAccount body,
ApiCallback<ApiExternalAccount> callback)
Create a new external account.
|
com.squareup.okhttp.Call |
createAccountCall(ApiExternalAccount body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createAccount
|
ApiResponse<ApiExternalAccount> |
createAccountWithHttpInfo(ApiExternalAccount body)
Create a new external account.
|
ApiExternalAccount |
deleteAccount(String name)
Delete an external account, specifying its name.
|
com.squareup.okhttp.Call |
deleteAccountAsync(String name,
ApiCallback<ApiExternalAccount> callback)
Delete an external account, specifying its name.
|
com.squareup.okhttp.Call |
deleteAccountCall(String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteAccount
|
ApiResponse<ApiExternalAccount> |
deleteAccountWithHttpInfo(String name)
Delete an external account, specifying its name.
|
ApiCommand |
externalAccountCommandByName(String commandName,
String name)
Executes a command on the external account specified by name.
|
com.squareup.okhttp.Call |
externalAccountCommandByNameAsync(String commandName,
String name,
ApiCallback<ApiCommand> callback)
Executes a command on the external account specified by name.
|
com.squareup.okhttp.Call |
externalAccountCommandByNameCall(String commandName,
String name,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for externalAccountCommandByName
|
ApiResponse<ApiCommand> |
externalAccountCommandByNameWithHttpInfo(String commandName,
String name)
Executes a command on the external account specified by name.
|
ApiClient |
getApiClient() |
ApiExternalAccountCategoryList |
getSupportedCategories()
List of external account categories supported by this Cloudera Manager.
|
com.squareup.okhttp.Call |
getSupportedCategoriesAsync(ApiCallback<ApiExternalAccountCategoryList> callback)
List of external account categories supported by this Cloudera Manager.
|
com.squareup.okhttp.Call |
getSupportedCategoriesCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSupportedCategories
|
ApiResponse<ApiExternalAccountCategoryList> |
getSupportedCategoriesWithHttpInfo()
List of external account categories supported by this Cloudera Manager.
|
ApiExternalAccountTypeList |
getSupportedTypes(String categoryName)
List of external account types supported by this Cloudera Manager by category.
|
com.squareup.okhttp.Call |
getSupportedTypesAsync(String categoryName,
ApiCallback<ApiExternalAccountTypeList> callback)
List of external account types supported by this Cloudera Manager by category.
|
com.squareup.okhttp.Call |
getSupportedTypesCall(String categoryName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSupportedTypes
|
ApiResponse<ApiExternalAccountTypeList> |
getSupportedTypesWithHttpInfo(String categoryName)
List of external account types supported by this Cloudera Manager by category.
|
ApiCommandMetadataList |
listExternalAccountCommands(String typeName)
Lists all the commands that can be executed by name on the provided external account type.
|
com.squareup.okhttp.Call |
listExternalAccountCommandsAsync(String typeName,
ApiCallback<ApiCommandMetadataList> callback)
Lists all the commands that can be executed by name on the provided external account type.
|
com.squareup.okhttp.Call |
listExternalAccountCommandsCall(String typeName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for listExternalAccountCommands
|
ApiResponse<ApiCommandMetadataList> |
listExternalAccountCommandsWithHttpInfo(String typeName)
Lists all the commands that can be executed by name on the provided external account type.
|
ApiExternalAccount |
readAccount(String name,
String view)
Get a single external account by account name.
|
com.squareup.okhttp.Call |
readAccountAsync(String name,
String view,
ApiCallback<ApiExternalAccount> callback)
Get a single external account by account name.
|
ApiExternalAccount |
readAccountByDisplayName(String displayName,
String view)
Get a single external account by display name.
|
com.squareup.okhttp.Call |
readAccountByDisplayNameAsync(String displayName,
String view,
ApiCallback<ApiExternalAccount> callback)
Get a single external account by display name.
|
com.squareup.okhttp.Call |
readAccountByDisplayNameCall(String displayName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readAccountByDisplayName
|
ApiResponse<ApiExternalAccount> |
readAccountByDisplayNameWithHttpInfo(String displayName,
String view)
Get a single external account by display name.
|
com.squareup.okhttp.Call |
readAccountCall(String name,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readAccount
|
ApiExternalAccountList |
readAccounts(String typeName,
String view)
Get a list of external accounts for a specific account type.
|
com.squareup.okhttp.Call |
readAccountsAsync(String typeName,
String view,
ApiCallback<ApiExternalAccountList> callback)
Get a list of external accounts for a specific account type.
|
com.squareup.okhttp.Call |
readAccountsCall(String typeName,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readAccounts
|
ApiResponse<ApiExternalAccountList> |
readAccountsWithHttpInfo(String typeName,
String view)
Get a list of external accounts for a specific account type.
|
ApiResponse<ApiExternalAccount> |
readAccountWithHttpInfo(String name,
String view)
Get a single external account by account name.
|
ApiConfigList |
readConfig(String name,
String view)
Get configs of external account for the given account name.
|
com.squareup.okhttp.Call |
readConfigAsync(String name,
String view,
ApiCallback<ApiConfigList> callback)
Get configs of external account for the given account name.
|
com.squareup.okhttp.Call |
readConfigCall(String name,
String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readConfig
|
ApiResponse<ApiConfigList> |
readConfigWithHttpInfo(String name,
String view)
Get configs of external account for the given account name.
|
void |
setApiClient(ApiClient apiClient) |
ApiExternalAccount |
updateAccount(ApiExternalAccount body)
Update an external account.
|
com.squareup.okhttp.Call |
updateAccountAsync(ApiExternalAccount body,
ApiCallback<ApiExternalAccount> callback)
Update an external account.
|
com.squareup.okhttp.Call |
updateAccountCall(ApiExternalAccount body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateAccount
|
ApiResponse<ApiExternalAccount> |
updateAccountWithHttpInfo(ApiExternalAccount body)
Update an external account.
|
ApiConfigList |
updateConfig(String name,
String message,
ApiConfigList body)
Upadate configs of external account for the given account name.
|
com.squareup.okhttp.Call |
updateConfigAsync(String name,
String message,
ApiConfigList body,
ApiCallback<ApiConfigList> callback)
Upadate configs of external account for the given account name.
|
com.squareup.okhttp.Call |
updateConfigCall(String name,
String message,
ApiConfigList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateConfig
|
ApiResponse<ApiConfigList> |
updateConfigWithHttpInfo(String name,
String message,
ApiConfigList body)
Upadate configs of external account for the given account name.
|
public ExternalAccountsResourceApi()
public ExternalAccountsResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createAccountCall(ApiExternalAccount body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiExternalAccount createAccount(ApiExternalAccount body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiExternalAccount> createAccountWithHttpInfo(ApiExternalAccount body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createAccountAsync(ApiExternalAccount body, ApiCallback<ApiExternalAccount> callback) throws ApiException
body
- (optional)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 com.squareup.okhttp.Call deleteAccountCall(String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiExternalAccount deleteAccount(String name) throws ApiException
name
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiExternalAccount> deleteAccountWithHttpInfo(String name) throws ApiException
name
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteAccountAsync(String name, ApiCallback<ApiExternalAccount> callback) throws ApiException
name
- (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 com.squareup.okhttp.Call externalAccountCommandByNameCall(String commandName, String name, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
commandName
- The command name. (required)name
- The external account name. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommand externalAccountCommandByName(String commandName, String name) throws ApiException
commandName
- The command name. (required)name
- The external account name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommand> externalAccountCommandByNameWithHttpInfo(String commandName, String name) throws ApiException
commandName
- The command name. (required)name
- The external account name. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call externalAccountCommandByNameAsync(String commandName, String name, ApiCallback<ApiCommand> callback) throws ApiException
commandName
- The command name. (required)name
- The external account name. (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 com.squareup.okhttp.Call getSupportedCategoriesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiExternalAccountCategoryList getSupportedCategories() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiExternalAccountCategoryList> getSupportedCategoriesWithHttpInfo() throws ApiException
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSupportedCategoriesAsync(ApiCallback<ApiExternalAccountCategoryList> callback) throws ApiException
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 com.squareup.okhttp.Call getSupportedTypesCall(String categoryName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
categoryName
- (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiExternalAccountTypeList getSupportedTypes(String categoryName) throws ApiException
categoryName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiExternalAccountTypeList> getSupportedTypesWithHttpInfo(String categoryName) throws ApiException
categoryName
- (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSupportedTypesAsync(String categoryName, ApiCallback<ApiExternalAccountTypeList> callback) throws ApiException
categoryName
- (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 com.squareup.okhttp.Call listExternalAccountCommandsCall(String typeName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
typeName
- The external account type name (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiCommandMetadataList listExternalAccountCommands(String typeName) throws ApiException
typeName
- The external account type name (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiCommandMetadataList> listExternalAccountCommandsWithHttpInfo(String typeName) throws ApiException
typeName
- The external account type name (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call listExternalAccountCommandsAsync(String typeName, ApiCallback<ApiCommandMetadataList> callback) throws ApiException
typeName
- The external account type name (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 com.squareup.okhttp.Call readAccountCall(String name, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name
- (required)view
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiExternalAccount readAccount(String name, String view) throws ApiException
name
- (required)view
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiExternalAccount> readAccountWithHttpInfo(String name, String view) throws ApiException
name
- (required)view
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readAccountAsync(String name, String view, ApiCallback<ApiExternalAccount> callback) throws ApiException
name
- (required)view
- (optional)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 com.squareup.okhttp.Call readAccountByDisplayNameCall(String displayName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
displayName
- (required)view
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiExternalAccount readAccountByDisplayName(String displayName, String view) throws ApiException
displayName
- (required)view
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiExternalAccount> readAccountByDisplayNameWithHttpInfo(String displayName, String view) throws ApiException
displayName
- (required)view
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readAccountByDisplayNameAsync(String displayName, String view, ApiCallback<ApiExternalAccount> callback) throws ApiException
displayName
- (required)view
- (optional)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 com.squareup.okhttp.Call readAccountsCall(String typeName, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
typeName
- (required)view
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiExternalAccountList readAccounts(String typeName, String view) throws ApiException
typeName
- (required)view
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiExternalAccountList> readAccountsWithHttpInfo(String typeName, String view) throws ApiException
typeName
- (required)view
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readAccountsAsync(String typeName, String view, ApiCallback<ApiExternalAccountList> callback) throws ApiException
typeName
- (required)view
- (optional)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 com.squareup.okhttp.Call readConfigCall(String name, String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name
- The external account name (required)view
- The view to materialize, either \"summary\" or \"full\". (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiConfigList readConfig(String name, String view) throws ApiException
name
- The external account name (required)view
- The view to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiConfigList> readConfigWithHttpInfo(String name, String view) throws ApiException
name
- The external account name (required)view
- The view to materialize, either \"summary\" or \"full\". (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readConfigAsync(String name, String view, ApiCallback<ApiConfigList> callback) throws ApiException
name
- The external account name (required)view
- The view to materialize, either \"summary\" or \"full\". (optional, default to summary)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 com.squareup.okhttp.Call updateAccountCall(ApiExternalAccount body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiExternalAccount updateAccount(ApiExternalAccount body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiExternalAccount> updateAccountWithHttpInfo(ApiExternalAccount body) throws ApiException
body
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateAccountAsync(ApiExternalAccount body, ApiCallback<ApiExternalAccount> callback) throws ApiException
body
- (optional)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 com.squareup.okhttp.Call updateConfigCall(String name, String message, ApiConfigList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
name
- The external account name (required)message
- Optional message describing the changes. (optional)body
- Settings to update. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiConfigList updateConfig(String name, String message, ApiConfigList body) throws ApiException
name
- The external account name (required)message
- Optional message describing the changes. (optional)body
- Settings to update. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiConfigList> updateConfigWithHttpInfo(String name, String message, ApiConfigList body) throws ApiException
name
- The external account name (required)message
- Optional message describing the changes. (optional)body
- Settings to update. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateConfigAsync(String name, String message, ApiConfigList body, ApiCallback<ApiConfigList> callback) throws ApiException
name
- The external account name (required)message
- Optional message describing the changes. (optional)body
- Settings to update. (optional)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 © 2019. All rights reserved.