Class AsyncHelpCenterClient


  • public class AsyncHelpCenterClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncHelpCenterClient

        public AsyncHelpCenterClient​(ClientOptions clientOptions)
    • Method Detail

      • listAllCollections

        public java.util.concurrent.CompletableFuture<CollectionList> listAllCollections()
        You can fetch a list of all collections by making a GET request to https://api.intercom.io/help_center/collections.

        Collections will be returned in descending order on the updated_at attribute. 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<CollectionList> listAllCollections​(RequestOptions requestOptions)
        You can fetch a list of all collections by making a GET request to https://api.intercom.io/help_center/collections.

        Collections will be returned in descending order on the updated_at attribute. 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<Collection> createCollection​(CreateCollectionRequest request)
        You can create a new collection by making a POST request to https://api.intercom.io/help_center/collections.
      • createCollection

        public java.util.concurrent.CompletableFuture<Collection> createCollection​(CreateCollectionRequest request,
                                                                                   RequestOptions requestOptions)
        You can create a new collection by making a POST request to https://api.intercom.io/help_center/collections.
      • retrieveCollection

        public java.util.concurrent.CompletableFuture<Collection> retrieveCollection​(RetrieveCollectionRequest request)
        You can fetch the details of a single collection by making a GET request to https://api.intercom.io/help_center/collections/<id>.
      • retrieveCollection

        public java.util.concurrent.CompletableFuture<Collection> retrieveCollection​(RetrieveCollectionRequest request,
                                                                                     RequestOptions requestOptions)
        You can fetch the details of a single collection by making a GET request to https://api.intercom.io/help_center/collections/<id>.
      • updateCollection

        public java.util.concurrent.CompletableFuture<Collection> updateCollection​(UpdateCollectionRequest request)
        You can update the details of a single collection by making a PUT request to https://api.intercom.io/collections/<id>.
      • updateCollection

        public java.util.concurrent.CompletableFuture<Collection> updateCollection​(UpdateCollectionRequest request,
                                                                                   RequestOptions requestOptions)
        You can update the details of a single collection by making a PUT request to https://api.intercom.io/collections/<id>.
      • deleteCollection

        public java.util.concurrent.CompletableFuture<DeletedCollectionObject> deleteCollection​(DeleteCollectionRequest request)
        You can delete a single collection by making a DELETE request to https://api.intercom.io/collections/<id>.
      • retrieveHelpCenter

        public java.util.concurrent.CompletableFuture<HelpCenter> retrieveHelpCenter​(RetrieveHelpCenterRequest request)
        You can fetch the details of a single Help Center by making a GET request to https://api.intercom.io/help_center/help_center/<id>.
      • retrieveHelpCenter

        public java.util.concurrent.CompletableFuture<HelpCenter> retrieveHelpCenter​(RetrieveHelpCenterRequest request,
                                                                                     RequestOptions requestOptions)
        You can fetch the details of a single Help Center by making a GET request to https://api.intercom.io/help_center/help_center/<id>.
      • listHelpCenters

        public java.util.concurrent.CompletableFuture<HelpCenterList> listHelpCenters()
        You can list all Help Centers by making a GET request to https://api.intercom.io/help_center/help_centers.
      • listHelpCenters

        public java.util.concurrent.CompletableFuture<HelpCenterList> listHelpCenters​(RequestOptions requestOptions)
        You can list all Help Centers by making a GET request to https://api.intercom.io/help_center/help_centers.