Class AsyncDataAttributesClient
- java.lang.Object
-
- com.intercom.api.resources.dataattributes.AsyncDataAttributesClient
-
public class AsyncDataAttributesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncDataAttributesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<DataAttribute>create(CreateDataAttributeRequest request)You can create a data attributes for acontactor acompany.java.util.concurrent.CompletableFuture<DataAttribute>create(CreateDataAttributeRequest request, RequestOptions requestOptions)You can create a data attributes for acontactor acompany.java.util.concurrent.CompletableFuture<DataAttributeList>list()You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.java.util.concurrent.CompletableFuture<DataAttributeList>list(ListDataAttributesRequest request)You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.java.util.concurrent.CompletableFuture<DataAttributeList>list(ListDataAttributesRequest request, RequestOptions requestOptions)You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.java.util.concurrent.CompletableFuture<DataAttribute>update(UpdateDataAttributeRequest request)You can update a data attribute.java.util.concurrent.CompletableFuture<DataAttribute>update(UpdateDataAttributeRequest request, RequestOptions requestOptions)You can update a data attribute.AsyncRawDataAttributesClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncDataAttributesClient
public AsyncDataAttributesClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public AsyncRawDataAttributesClient withRawResponse()
Get responses with HTTP metadata like headers
-
list
public java.util.concurrent.CompletableFuture<DataAttributeList> list()
You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.
-
list
public java.util.concurrent.CompletableFuture<DataAttributeList> list(ListDataAttributesRequest request)
You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.
-
list
public java.util.concurrent.CompletableFuture<DataAttributeList> list(ListDataAttributesRequest request, RequestOptions requestOptions)
You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.
-
create
public java.util.concurrent.CompletableFuture<DataAttribute> create(CreateDataAttributeRequest request)
You can create a data attributes for acontactor acompany.
-
create
public java.util.concurrent.CompletableFuture<DataAttribute> create(CreateDataAttributeRequest request, RequestOptions requestOptions)
You can create a data attributes for acontactor acompany.
-
update
public java.util.concurrent.CompletableFuture<DataAttribute> update(UpdateDataAttributeRequest request)
You can update a data attribute.🚧 Updating the data type is not possible
It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.
-
update
public java.util.concurrent.CompletableFuture<DataAttribute> update(UpdateDataAttributeRequest request, RequestOptions requestOptions)
You can update a data attribute.🚧 Updating the data type is not possible
It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.
-
-