public class AttributesApi extends Object
| Constructor and Description |
|---|
AttributesApi() |
AttributesApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
createAttribute(String attributeCategory,
String attributeName,
CreateAttribute createAttribute)
Create contact attribute
|
com.squareup.okhttp.Call |
createAttributeAsync(String attributeCategory,
String attributeName,
CreateAttribute createAttribute,
ApiCallback<Void> callback)
Create contact attribute (asynchronously)
|
com.squareup.okhttp.Call |
createAttributeCall(String attributeCategory,
String attributeName,
CreateAttribute createAttribute,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createAttribute
|
ApiResponse<Void> |
createAttributeWithHttpInfo(String attributeCategory,
String attributeName,
CreateAttribute createAttribute)
Create contact attribute
|
void |
deleteAttribute(String attributeCategory,
String attributeName)
Delete an attribute
|
com.squareup.okhttp.Call |
deleteAttributeAsync(String attributeCategory,
String attributeName,
ApiCallback<Void> callback)
Delete an attribute (asynchronously)
|
com.squareup.okhttp.Call |
deleteAttributeCall(String attributeCategory,
String attributeName,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteAttribute
|
ApiResponse<Void> |
deleteAttributeWithHttpInfo(String attributeCategory,
String attributeName)
Delete an attribute
|
ApiClient |
getApiClient() |
GetAttributes |
getAttributes()
List all attributes
|
com.squareup.okhttp.Call |
getAttributesAsync(ApiCallback<GetAttributes> callback)
List all attributes (asynchronously)
|
com.squareup.okhttp.Call |
getAttributesCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAttributes
|
ApiResponse<GetAttributes> |
getAttributesWithHttpInfo()
List all attributes
|
void |
setApiClient(ApiClient apiClient) |
void |
updateAttribute(String attributeCategory,
String attributeName,
UpdateAttribute updateAttribute)
Update contact attribute
|
com.squareup.okhttp.Call |
updateAttributeAsync(String attributeCategory,
String attributeName,
UpdateAttribute updateAttribute,
ApiCallback<Void> callback)
Update contact attribute (asynchronously)
|
com.squareup.okhttp.Call |
updateAttributeCall(String attributeCategory,
String attributeName,
UpdateAttribute updateAttribute,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateAttribute
|
ApiResponse<Void> |
updateAttributeWithHttpInfo(String attributeCategory,
String attributeName,
UpdateAttribute updateAttribute)
Update contact attribute
|
public AttributesApi()
public AttributesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createAttributeCall(String attributeCategory, String attributeName, CreateAttribute createAttribute, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the attribute (required)createAttribute - Values to create an attribute (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void createAttribute(String attributeCategory, String attributeName, CreateAttribute createAttribute) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the attribute (required)createAttribute - Values to create an attribute (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> createAttributeWithHttpInfo(String attributeCategory, String attributeName, CreateAttribute createAttribute) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the attribute (required)createAttribute - Values to create an attribute (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createAttributeAsync(String attributeCategory, String attributeName, CreateAttribute createAttribute, ApiCallback<Void> callback) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the attribute (required)createAttribute - Values to create an attribute (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 deleteAttributeCall(String attributeCategory, String attributeName, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteAttribute(String attributeCategory, String attributeName) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteAttributeWithHttpInfo(String attributeCategory, String attributeName) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteAttributeAsync(String attributeCategory, String attributeName, ApiCallback<Void> callback) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (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 getAttributesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic GetAttributes getAttributes() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<GetAttributes> getAttributesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAttributesAsync(ApiCallback<GetAttributes> 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 updateAttributeCall(String attributeCategory, String attributeName, UpdateAttribute updateAttribute, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)updateAttribute - Values to update an attribute (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateAttribute(String attributeCategory, String attributeName, UpdateAttribute updateAttribute) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)updateAttribute - Values to update an attribute (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateAttributeWithHttpInfo(String attributeCategory, String attributeName, UpdateAttribute updateAttribute) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)updateAttribute - Values to update an attribute (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateAttributeAsync(String attributeCategory, String attributeName, UpdateAttribute updateAttribute, ApiCallback<Void> callback) throws ApiException
attributeCategory - Category of the attribute (required)attributeName - Name of the existing attribute (required)updateAttribute - Values to update an attribute (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 objectCopyright © 2021. All rights reserved.