Class DataAttributesClient
- java.lang.Object
-
- com.intercom.api.resources.dataattributes.DataAttributesClient
-
public class DataAttributesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description DataAttributesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataAttributecreate(CreateDataAttributeRequest request)You can create a data attributes for acontactor acompany.DataAttributecreate(CreateDataAttributeRequest request, RequestOptions requestOptions)You can create a data attributes for acontactor acompany.DataAttributeListlist()You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.DataAttributeListlist(ListDataAttributesRequest request)You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.DataAttributeListlist(ListDataAttributesRequest request, RequestOptions requestOptions)You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.DataAttributeupdate(UpdateDataAttributeRequest request)You can update a data attribute.DataAttributeupdate(UpdateDataAttributeRequest request, RequestOptions requestOptions)You can update a data attribute.RawDataAttributesClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
DataAttributesClient
public DataAttributesClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawDataAttributesClient withRawResponse()
Get responses with HTTP metadata like headers
-
list
public DataAttributeList list()
You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.
-
list
public DataAttributeList list(ListDataAttributesRequest request)
You can fetch a list of all data attributes belonging to a workspace for contacts, companies or conversations.
-
list
public 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 DataAttribute create(CreateDataAttributeRequest request)
You can create a data attributes for acontactor acompany.
-
create
public DataAttribute create(CreateDataAttributeRequest request, RequestOptions requestOptions)
You can create a data attributes for acontactor acompany.
-
update
public 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 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.
-
-