Class AsyncRawInternalArticlesClient
- java.lang.Object
-
- com.intercom.api.resources.unstable.internalarticles.AsyncRawInternalArticlesClient
-
public class AsyncRawInternalArticlesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawInternalArticlesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>>createInternalArticle()You can create a new internal article by making a POST request tohttps://api.intercom.io/internal_articles.java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>>createInternalArticle(java.util.Optional<CreateInternalArticleRequest> request)You can create a new internal article by making a POST request tohttps://api.intercom.io/internal_articles.java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>>createInternalArticle(java.util.Optional<CreateInternalArticleRequest> request, RequestOptions requestOptions)You can create a new internal article by making a POST request tohttps://api.intercom.io/internal_articles.java.util.concurrent.CompletableFuture<IntercomHttpResponse<DeletedInternalArticleObject>>deleteInternalArticle(DeleteInternalArticleRequest request)You can delete a single internal article by making a DELETE request tohttps://api.intercom.io/internal_articles/<id>.java.util.concurrent.CompletableFuture<IntercomHttpResponse<DeletedInternalArticleObject>>deleteInternalArticle(DeleteInternalArticleRequest request, RequestOptions requestOptions)You can delete a single internal article by making a DELETE request tohttps://api.intercom.io/internal_articles/<id>.java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleList>>listInternalArticles()You can fetch a list of all internal articles by making a GET request tohttps://api.intercom.io/internal_articles.java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleList>>listInternalArticles(RequestOptions requestOptions)You can fetch a list of all internal articles by making a GET request tohttps://api.intercom.io/internal_articles.java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>>retrieveInternalArticle(RetrieveInternalArticleRequest request)You can fetch the details of a single internal article by making a GET request tohttps://api.intercom.io/internal_articles/<id>.java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>>retrieveInternalArticle(RetrieveInternalArticleRequest request, RequestOptions requestOptions)You can fetch the details of a single internal article by making a GET request tohttps://api.intercom.io/internal_articles/<id>.java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleSearchResponse>>searchInternalArticles()You can search for internal articles by making a GET request tohttps://api.intercom.io/internal_articles/search.java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleSearchResponse>>searchInternalArticles(SearchInternalArticlesRequest request)You can search for internal articles by making a GET request tohttps://api.intercom.io/internal_articles/search.java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleSearchResponse>>searchInternalArticles(SearchInternalArticlesRequest request, RequestOptions requestOptions)You can search for internal articles by making a GET request tohttps://api.intercom.io/internal_articles/search.java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>>updateInternalArticle(UpdateInternalArticleRequestBody request)You can update the details of a single internal article by making a PUT request tohttps://api.intercom.io/internal_articles/<id>.java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>>updateInternalArticle(UpdateInternalArticleRequestBody request, RequestOptions requestOptions)You can update the details of a single internal article by making a PUT request tohttps://api.intercom.io/internal_articles/<id>.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawInternalArticlesClient
public AsyncRawInternalArticlesClient(ClientOptions clientOptions)
-
-
Method Detail
-
listInternalArticles
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleList>> listInternalArticles()
You can fetch a list of all internal articles by making a GET request tohttps://api.intercom.io/internal_articles.
-
listInternalArticles
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleList>> listInternalArticles(RequestOptions requestOptions)
You can fetch a list of all internal articles by making a GET request tohttps://api.intercom.io/internal_articles.
-
createInternalArticle
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>> createInternalArticle()
You can create a new internal article by making a POST request tohttps://api.intercom.io/internal_articles.
-
createInternalArticle
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>> createInternalArticle(java.util.Optional<CreateInternalArticleRequest> request)
You can create a new internal article by making a POST request tohttps://api.intercom.io/internal_articles.
-
createInternalArticle
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>> createInternalArticle(java.util.Optional<CreateInternalArticleRequest> request, RequestOptions requestOptions)
You can create a new internal article by making a POST request tohttps://api.intercom.io/internal_articles.
-
retrieveInternalArticle
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>> retrieveInternalArticle(RetrieveInternalArticleRequest request)
You can fetch the details of a single internal article by making a GET request tohttps://api.intercom.io/internal_articles/<id>.
-
retrieveInternalArticle
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>> retrieveInternalArticle(RetrieveInternalArticleRequest request, RequestOptions requestOptions)
You can fetch the details of a single internal article by making a GET request tohttps://api.intercom.io/internal_articles/<id>.
-
updateInternalArticle
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>> updateInternalArticle(UpdateInternalArticleRequestBody request)
You can update the details of a single internal article by making a PUT request tohttps://api.intercom.io/internal_articles/<id>.
-
updateInternalArticle
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleListItem>> updateInternalArticle(UpdateInternalArticleRequestBody request, RequestOptions requestOptions)
You can update the details of a single internal article by making a PUT request tohttps://api.intercom.io/internal_articles/<id>.
-
deleteInternalArticle
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<DeletedInternalArticleObject>> deleteInternalArticle(DeleteInternalArticleRequest request)
You can delete a single internal article by making a DELETE request tohttps://api.intercom.io/internal_articles/<id>.
-
deleteInternalArticle
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<DeletedInternalArticleObject>> deleteInternalArticle(DeleteInternalArticleRequest request, RequestOptions requestOptions)
You can delete a single internal article by making a DELETE request tohttps://api.intercom.io/internal_articles/<id>.
-
searchInternalArticles
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleSearchResponse>> searchInternalArticles()
You can search for internal articles by making a GET request tohttps://api.intercom.io/internal_articles/search.
-
searchInternalArticles
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleSearchResponse>> searchInternalArticles(SearchInternalArticlesRequest request)
You can search for internal articles by making a GET request tohttps://api.intercom.io/internal_articles/search.
-
searchInternalArticles
public java.util.concurrent.CompletableFuture<IntercomHttpResponse<InternalArticleSearchResponse>> searchInternalArticles(SearchInternalArticlesRequest request, RequestOptions requestOptions)
You can search for internal articles by making a GET request tohttps://api.intercom.io/internal_articles/search.
-
-