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.
|
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. (required)tabMetadata - (optional)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. (required)customTabId - (required)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. (required)customTabId - (required)ApiException - if fails to make API callpublic TabMetadataList list(String accountId) throws ApiException
accountId - The external account number (int) or account ID Guid. (required)ApiExceptionpublic TabMetadataList list(String accountId, CustomTabsApi.ListOptions options) throws ApiException
accountId - The external account number (int) or account ID Guid. (required)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. (required)customTabId - (required)tabMetadata - (optional)ApiException - if fails to make API callCopyright © 2018. All rights reserved.