Class RawArticlesClient
- java.lang.Object
-
- com.intercom.api.resources.articles.RawArticlesClient
-
public class RawArticlesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawArticlesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntercomHttpResponse<Article>create()You can create a new article by making a POST request tohttps://api.intercom.io/articles.IntercomHttpResponse<Article>create(java.util.Optional<CreateArticleRequest> request)You can create a new article by making a POST request tohttps://api.intercom.io/articles.IntercomHttpResponse<Article>create(java.util.Optional<CreateArticleRequest> request, RequestOptions requestOptions)You can create a new article by making a POST request tohttps://api.intercom.io/articles.IntercomHttpResponse<DeletedArticleObject>delete(DeleteArticleRequest request)You can delete a single article by making a DELETE request tohttps://api.intercom.io/articles/<id>.IntercomHttpResponse<DeletedArticleObject>delete(DeleteArticleRequest request, RequestOptions requestOptions)You can delete a single article by making a DELETE request tohttps://api.intercom.io/articles/<id>.IntercomHttpResponse<Article>find(FindArticleRequest request)You can fetch the details of a single article by making a GET request tohttps://api.intercom.io/articles/<id>.IntercomHttpResponse<Article>find(FindArticleRequest request, RequestOptions requestOptions)You can fetch the details of a single article by making a GET request tohttps://api.intercom.io/articles/<id>.IntercomHttpResponse<SyncPagingIterable<ArticleListItem>>list()You can fetch a list of all articles by making a GET request tohttps://api.intercom.io/articles.IntercomHttpResponse<SyncPagingIterable<ArticleListItem>>list(ListArticlesRequest request)You can fetch a list of all articles by making a GET request tohttps://api.intercom.io/articles.IntercomHttpResponse<SyncPagingIterable<ArticleListItem>>list(ListArticlesRequest request, RequestOptions requestOptions)You can fetch a list of all articles by making a GET request tohttps://api.intercom.io/articles.IntercomHttpResponse<ArticleSearchResponse>search()You can search for articles by making a GET request tohttps://api.intercom.io/articles/search.IntercomHttpResponse<ArticleSearchResponse>search(SearchArticlesRequest request)You can search for articles by making a GET request tohttps://api.intercom.io/articles/search.IntercomHttpResponse<ArticleSearchResponse>search(SearchArticlesRequest request, RequestOptions requestOptions)You can search for articles by making a GET request tohttps://api.intercom.io/articles/search.IntercomHttpResponse<Article>update(UpdateArticleRequest request)You can update the details of a single article by making a PUT request tohttps://api.intercom.io/articles/<id>.IntercomHttpResponse<Article>update(UpdateArticleRequest request, RequestOptions requestOptions)You can update the details of a single article by making a PUT request tohttps://api.intercom.io/articles/<id>.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawArticlesClient
public RawArticlesClient(ClientOptions clientOptions)
-
-
Method Detail
-
list
public IntercomHttpResponse<SyncPagingIterable<ArticleListItem>> list()
You can fetch a list of all articles by making a GET request tohttps://api.intercom.io/articles.📘 How are the articles sorted and ordered?
Articles 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 articles first.
-
list
public IntercomHttpResponse<SyncPagingIterable<ArticleListItem>> list(ListArticlesRequest request)
You can fetch a list of all articles by making a GET request tohttps://api.intercom.io/articles.📘 How are the articles sorted and ordered?
Articles 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 articles first.
-
list
public IntercomHttpResponse<SyncPagingIterable<ArticleListItem>> list(ListArticlesRequest request, RequestOptions requestOptions)
You can fetch a list of all articles by making a GET request tohttps://api.intercom.io/articles.📘 How are the articles sorted and ordered?
Articles 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 articles first.
-
create
public IntercomHttpResponse<Article> create()
You can create a new article by making a POST request tohttps://api.intercom.io/articles.
-
create
public IntercomHttpResponse<Article> create(java.util.Optional<CreateArticleRequest> request)
You can create a new article by making a POST request tohttps://api.intercom.io/articles.
-
create
public IntercomHttpResponse<Article> create(java.util.Optional<CreateArticleRequest> request, RequestOptions requestOptions)
You can create a new article by making a POST request tohttps://api.intercom.io/articles.
-
find
public IntercomHttpResponse<Article> find(FindArticleRequest request)
You can fetch the details of a single article by making a GET request tohttps://api.intercom.io/articles/<id>.
-
find
public IntercomHttpResponse<Article> find(FindArticleRequest request, RequestOptions requestOptions)
You can fetch the details of a single article by making a GET request tohttps://api.intercom.io/articles/<id>.
-
update
public IntercomHttpResponse<Article> update(UpdateArticleRequest request)
You can update the details of a single article by making a PUT request tohttps://api.intercom.io/articles/<id>.
-
update
public IntercomHttpResponse<Article> update(UpdateArticleRequest request, RequestOptions requestOptions)
You can update the details of a single article by making a PUT request tohttps://api.intercom.io/articles/<id>.
-
delete
public IntercomHttpResponse<DeletedArticleObject> delete(DeleteArticleRequest request)
You can delete a single article by making a DELETE request tohttps://api.intercom.io/articles/<id>.
-
delete
public IntercomHttpResponse<DeletedArticleObject> delete(DeleteArticleRequest request, RequestOptions requestOptions)
You can delete a single article by making a DELETE request tohttps://api.intercom.io/articles/<id>.
-
search
public IntercomHttpResponse<ArticleSearchResponse> search()
You can search for articles by making a GET request tohttps://api.intercom.io/articles/search.
-
search
public IntercomHttpResponse<ArticleSearchResponse> search(SearchArticlesRequest request)
You can search for articles by making a GET request tohttps://api.intercom.io/articles/search.
-
search
public IntercomHttpResponse<ArticleSearchResponse> search(SearchArticlesRequest request, RequestOptions requestOptions)
You can search for articles by making a GET request tohttps://api.intercom.io/articles/search.
-
-