public class CustomTabsApi extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CustomTabsApi.ListOptions |
| Constructor and Description |
|---|
CustomTabsApi() |
CustomTabsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
TabMetadata |
create(String accountId,
TabMetadata tabMetadata)
Creates a custom tab.
|
void |
delete(String accountId,
String customTabId)
Deletes custom tab information.
|
TabMetadata |
get(String accountId,
String customTabId)
Gets custom tab information.
|
ApiClient |
getApiClient() |
TabMetadataList |
list(String accountId)
Gets a list of all account tabs.
|
TabMetadataList |
list(String accountId,
CustomTabsApi.ListOptions options)
Gets a list of all account tabs.
|
void |
setApiClient(ApiClient apiClient) |
TabMetadata |
update(String accountId,
String customTabId,
TabMetadata tabMetadata)
Updates custom tab information.\n\n
Updates the information in a custom tab for the specified account.
|
public CustomTabsApi()
public CustomTabsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public TabMetadata create(String accountId, TabMetadata tabMetadata) throws ApiException
accountId - The external account number (int) or account ID Guid.
CustomTabsApi.CreateOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic void delete(String accountId, String customTabId) throws ApiException
accountId - The external account number (int) or account ID Guid.customTabId - CustomTabsApi.DeleteOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic TabMetadata get(String accountId, String customTabId) throws ApiException
accountId - The external account number (int) or account ID Guid.customTabId - CustomTabsApi.GetOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic TabMetadataList list(String accountId) throws ApiException
accountId - The external account number (int) or account ID Guid.ApiExceptionpublic TabMetadataList list(String accountId, CustomTabsApi.ListOptions options) throws ApiException
accountId - The external account number (int) or account ID Guid.
CustomTabsApi.ListOptions Options for modifying the method behavior.ApiException - if fails to make API callpublic TabMetadata update(String accountId, String customTabId, TabMetadata tabMetadata) throws ApiException
accountId - The external account number (int) or account ID Guid.customTabId - CustomTabsApi.UpdateOptions Options for modifying the method behavior.ApiException - if fails to make API callCopyright © 2016. All rights reserved.