Class AsyncDataAttributesClient
- java.lang.Object
-
- com.intercom.api.resources.unstable.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>createDataAttribute(java.lang.Object request)You can create a data attributes for acontactor acompany.java.util.concurrent.CompletableFuture<DataAttribute>createDataAttribute(java.lang.Object request, RequestOptions requestOptions)You can create a data attributes for acontactor acompany.java.util.concurrent.CompletableFuture<DataAttributeList>lisDataAttributes()You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.java.util.concurrent.CompletableFuture<DataAttributeList>lisDataAttributes(LisDataAttributesRequest request)You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.java.util.concurrent.CompletableFuture<DataAttributeList>lisDataAttributes(LisDataAttributesRequest 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>updateDataAttribute(UpdateDataAttributeRequest request)You can update a data attribute.java.util.concurrent.CompletableFuture<DataAttribute>updateDataAttribute(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
-
lisDataAttributes
public java.util.concurrent.CompletableFuture<DataAttributeList> lisDataAttributes()
You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.
-
lisDataAttributes
public java.util.concurrent.CompletableFuture<DataAttributeList> lisDataAttributes(LisDataAttributesRequest request)
You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.
-
lisDataAttributes
public java.util.concurrent.CompletableFuture<DataAttributeList> lisDataAttributes(LisDataAttributesRequest request, RequestOptions requestOptions)
You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.
-
createDataAttribute
public java.util.concurrent.CompletableFuture<DataAttribute> createDataAttribute(java.lang.Object request)
You can create a data attributes for acontactor acompany.
-
createDataAttribute
public java.util.concurrent.CompletableFuture<DataAttribute> createDataAttribute(java.lang.Object request, RequestOptions requestOptions)
You can create a data attributes for acontactor acompany.
-
updateDataAttribute
public java.util.concurrent.CompletableFuture<DataAttribute> updateDataAttribute(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.
-
updateDataAttribute
public java.util.concurrent.CompletableFuture<DataAttribute> updateDataAttribute(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.
-
-