Class AsyncRawHelpCenterClient
- java.lang.Object
-
- com.intercom.api.resources.unstable.helpcenter.AsyncRawHelpCenterClient
-
public class AsyncRawHelpCenterClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawHelpCenterClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<IntercomHttpResponse<Collection>>createCollection(CreateCollectionRequest request)You can create a new collection by making a POST request tohttps://api.intercom.io/help_center/collections.java.util.concurrent.CompletableFuture<IntercomHttpResponse<Collection>>createCollection(CreateCollectionRequest request, RequestOptions requestOptions)You can create a new collection by making a POST request tohttps://api.intercom.io/help_center/collections.java.util.concurrent.CompletableFuture<IntercomHttpResponse<DeletedCollectionObject>>deleteCollection(DeleteCollectionRequest request)You can delete a single collection by making a DELETE request tohttps://api.intercom.io/collections/<id>.java.util.concurrent.CompletableFuture<IntercomHttpResponse<DeletedCollectionObject>>deleteCollection(DeleteCollectionRequest request, RequestOptions requestOptions)You can delete a single collection by making a DELETE request tohttps://api.intercom.io/collections/<id>.java.util.concurrent.CompletableFuture<IntercomHttpResponse<CollectionList>>listAllCollections()You can fetch a list of all collections by making a GET request tohttps://api.intercom.io/help_center/collections.java.util.concurrent.CompletableFuture<IntercomHttpResponse<CollectionList>>listAllCollections(RequestOptions requestOptions)You can fetch a list of all collections by making a GET request tohttps://api.intercom.io/help_center/collections.java.util.concurrent.CompletableFuture<IntercomHttpResponse<HelpCenterList>>listHelpCenters()You can list all Help Centers by making a GET request tohttps://api.intercom.io/help_center/help_centers.java.util.concurrent.CompletableFuture<IntercomHttpResponse<HelpCenterList>>listHelpCenters(RequestOptions requestOptions)You can list all Help Centers by making a GET request tohttps://api.intercom.io/help_center/help_centers.java.util.concurrent.CompletableFuture<IntercomHttpResponse<Collection>>retrieveCollection(RetrieveCollectionRequest request)You can fetch the details of a single collection by making a GET request tohttps://api.intercom.io/help_center/collections/<id>.java.util.concurrent.CompletableFuture<IntercomHttpResponse<Collection>>retrieveCollection(RetrieveCollectionRequest 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>.java.util.concurrent.CompletableFuture<IntercomHttpResponse<HelpCenter>>retrieveHelpCenter(RetrieveHelpCenterRequest request)You can fetch the details of a single Help Center by making a GET request tohttps://api.intercom.io/help_center/help_center/<id>.java.util.concurrent.CompletableFuture<IntercomHttpResponse<HelpCenter>>retrieveHelpCenter(RetrieveHelpCenterRequest request, RequestOptions requestOptions)You can fetch the details of a single Help Center by making a GET request tohttps://api.intercom.io/help_center/help_center/<id>.java.util.concurrent.CompletableFuture<IntercomHttpResponse<Collection>>updateCollection(UpdateCollectionRequest request)You can update the details of a single collection by making a PUT request tohttps://api.intercom.io/collections/<id>.java.util.concurrent.CompletableFuture<IntercomHttpResponse<Collection>>updateCollection(UpdateCollectionRequest request, RequestOptions requestOptions)You can update the details of a single collection by making a PUT request tohttps://api.intercom.io/collections/<id>.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawHelpCenterClient
public AsyncRawHelpCenterClient(ClientOptions clientOptions)
-
-
Method Detail
-
listAllCollections
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<CollectionList>> listAllCollections()
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.
-
listAllCollections
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<CollectionList>> listAllCollections(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.
-
createCollection
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Collection>> createCollection(CreateCollectionRequest request)
You can create a new collection by making a POST request tohttps://api.intercom.io/help_center/collections.
-
createCollection
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Collection>> createCollection(CreateCollectionRequest request, RequestOptions requestOptions)
You can create a new collection by making a POST request tohttps://api.intercom.io/help_center/collections.
-
retrieveCollection
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Collection>> retrieveCollection(RetrieveCollectionRequest request)
You can fetch the details of a single collection by making a GET request tohttps://api.intercom.io/help_center/collections/<id>.
-
retrieveCollection
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Collection>> retrieveCollection(RetrieveCollectionRequest 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>.
-
updateCollection
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Collection>> updateCollection(UpdateCollectionRequest request)
You can update the details of a single collection by making a PUT request tohttps://api.intercom.io/collections/<id>.
-
updateCollection
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<Collection>> updateCollection(UpdateCollectionRequest request, RequestOptions requestOptions)
You can update the details of a single collection by making a PUT request tohttps://api.intercom.io/collections/<id>.
-
deleteCollection
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<DeletedCollectionObject>> deleteCollection(DeleteCollectionRequest request)
You can delete a single collection by making a DELETE request tohttps://api.intercom.io/collections/<id>.
-
deleteCollection
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<DeletedCollectionObject>> deleteCollection(DeleteCollectionRequest request, RequestOptions requestOptions)
You can delete a single collection by making a DELETE request tohttps://api.intercom.io/collections/<id>.
-
retrieveHelpCenter
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<HelpCenter>> retrieveHelpCenter(RetrieveHelpCenterRequest request)
You can fetch the details of a single Help Center by making a GET request tohttps://api.intercom.io/help_center/help_center/<id>.
-
retrieveHelpCenter
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<HelpCenter>> retrieveHelpCenter(RetrieveHelpCenterRequest request, RequestOptions requestOptions)
You can fetch the details of a single Help Center by making a GET request tohttps://api.intercom.io/help_center/help_center/<id>.
-
listHelpCenters
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<HelpCenterList>> listHelpCenters()
You can list all Help Centers by making a GET request tohttps://api.intercom.io/help_center/help_centers.
-
listHelpCenters
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<HelpCenterList>> listHelpCenters(RequestOptions requestOptions)
You can list all Help Centers by making a GET request tohttps://api.intercom.io/help_center/help_centers.
-
-