Class AsyncCollectionsClient
java.lang.Object
com.intercom.api.resources.helpcenters.collections.AsyncCollectionsClient
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(CreateCollectionRequest request) You can create a new collection by making a POST request tohttps://api.intercom.io/help_center/collections.create(CreateCollectionRequest request, RequestOptions requestOptions) You can create a new collection by making a POST request tohttps://api.intercom.io/help_center/collections.delete(DeleteCollectionRequest request) You can delete a single collection by making a DELETE request tohttps://api.intercom.io/collections/<id>.delete(DeleteCollectionRequest request, RequestOptions requestOptions) You can delete a single collection by making a DELETE request tohttps://api.intercom.io/collections/<id>.find(FindCollectionRequest request) You can fetch the details of a single collection by making a GET request tohttps://api.intercom.io/help_center/collections/<id>.find(FindCollectionRequest request, RequestOptions requestOptions) You can fetch the details of a single collection by making a GET request tohttps://api.intercom.io/help_center/collections/<id>.list()You can fetch a list of all collections by making a GET request tohttps://api.intercom.io/help_center/collections.list(ListCollectionsRequest request) You can fetch a list of all collections by making a GET request tohttps://api.intercom.io/help_center/collections.list(ListCollectionsRequest request, RequestOptions requestOptions) You can fetch a list of all collections by making a GET request tohttps://api.intercom.io/help_center/collections.update(UpdateCollectionRequest request) You can update the details of a single collection by making a PUT request tohttps://api.intercom.io/collections/<id>.update(UpdateCollectionRequest request, RequestOptions requestOptions) You can update the details of a single collection by making a PUT request tohttps://api.intercom.io/collections/<id>.Get responses with HTTP metadata like headers
-
Field Details
-
clientOptions
-
-
Constructor Details
-
AsyncCollectionsClient
-
-
Method Details
-
withRawResponse
Get responses with HTTP metadata like headers -
list
You can fetch a list of all collections by making a GET request tohttps://api.intercom.io/help_center/collections.Collections will be returned in descending order on the
updated_atattribute. This means if you need to iterate through results then we'll show the most recently updated collections first. -
list
You can fetch a list of all collections by making a GET request tohttps://api.intercom.io/help_center/collections.Collections will be returned in descending order on the
updated_atattribute. This means if you need to iterate through results then we'll show the most recently updated collections first. -
list
public CompletableFuture<SyncPagingIterable<Collection>> list(ListCollectionsRequest request, RequestOptions requestOptions) You can fetch a list of all collections by making a GET request tohttps://api.intercom.io/help_center/collections.Collections will be returned in descending order on the
updated_atattribute. This means if you need to iterate through results then we'll show the most recently updated collections first. -
create
You can create a new collection by making a POST request tohttps://api.intercom.io/help_center/collections. -
create
public CompletableFuture<Collection> create(CreateCollectionRequest request, RequestOptions requestOptions) You can create a new collection by making a POST request tohttps://api.intercom.io/help_center/collections. -
find
You can fetch the details of a single collection by making a GET request tohttps://api.intercom.io/help_center/collections/<id>. -
find
public CompletableFuture<Collection> find(FindCollectionRequest request, RequestOptions requestOptions) You can fetch the details of a single collection by making a GET request tohttps://api.intercom.io/help_center/collections/<id>. -
update
You can update the details of a single collection by making a PUT request tohttps://api.intercom.io/collections/<id>. -
update
public CompletableFuture<Collection> update(UpdateCollectionRequest request, RequestOptions requestOptions) You can update the details of a single collection by making a PUT request tohttps://api.intercom.io/collections/<id>. -
delete
You can delete a single collection by making a DELETE request tohttps://api.intercom.io/collections/<id>. -
delete
public CompletableFuture<DeletedCollectionObject> delete(DeleteCollectionRequest request, RequestOptions requestOptions) You can delete a single collection by making a DELETE request tohttps://api.intercom.io/collections/<id>.
-