Class RawNewsClient
- java.lang.Object
-
- com.intercom.api.resources.unstable.news.RawNewsClient
-
public class RawNewsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawNewsClient(ClientOptions clientOptions)
-
Method Summary
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawNewsClient
public RawNewsClient(ClientOptions clientOptions)
-
-
Method Detail
-
listNewsItems
public IntercomHttpResponse<PaginatedResponse> listNewsItems()
You can fetch a list of all news items
-
listNewsItems
public IntercomHttpResponse<PaginatedResponse> listNewsItems(RequestOptions requestOptions)
You can fetch a list of all news items
-
createNewsItem
public IntercomHttpResponse<NewsItem> createNewsItem(NewsItemRequest request)
You can create a news item
-
createNewsItem
public IntercomHttpResponse<NewsItem> createNewsItem(NewsItemRequest request, RequestOptions requestOptions)
You can create a news item
-
retrieveNewsItem
public IntercomHttpResponse<NewsItem> retrieveNewsItem(RetrieveNewsItemRequest request)
You can fetch the details of a single news item.
-
retrieveNewsItem
public IntercomHttpResponse<NewsItem> retrieveNewsItem(RetrieveNewsItemRequest request, RequestOptions requestOptions)
You can fetch the details of a single news item.
-
updateNewsItem
public IntercomHttpResponse<NewsItem> updateNewsItem(UpdateNewsItemRequest request)
-
updateNewsItem
public IntercomHttpResponse<NewsItem> updateNewsItem(UpdateNewsItemRequest request, RequestOptions requestOptions)
-
deleteNewsItem
public IntercomHttpResponse<DeletedObject> deleteNewsItem(DeleteNewsItemRequest request)
You can delete a single news item.
-
deleteNewsItem
public IntercomHttpResponse<DeletedObject> deleteNewsItem(DeleteNewsItemRequest request, RequestOptions requestOptions)
You can delete a single news item.
-
listLiveNewsfeedItems
public IntercomHttpResponse<PaginatedResponse> listLiveNewsfeedItems(ListLiveNewsfeedItemsRequest request)
You can fetch a list of all news items that are live on a given newsfeed
-
listLiveNewsfeedItems
public IntercomHttpResponse<PaginatedResponse> listLiveNewsfeedItems(ListLiveNewsfeedItemsRequest request, RequestOptions requestOptions)
You can fetch a list of all news items that are live on a given newsfeed
-
listNewsfeeds
public IntercomHttpResponse<PaginatedResponse> listNewsfeeds()
You can fetch a list of all newsfeeds
-
listNewsfeeds
public IntercomHttpResponse<PaginatedResponse> listNewsfeeds(RequestOptions requestOptions)
You can fetch a list of all newsfeeds
-
retrieveNewsfeed
public IntercomHttpResponse<Newsfeed> retrieveNewsfeed(RetrieveNewsfeedRequest request)
You can fetch the details of a single newsfeed
-
retrieveNewsfeed
public IntercomHttpResponse<Newsfeed> retrieveNewsfeed(RetrieveNewsfeedRequest request, RequestOptions requestOptions)
You can fetch the details of a single newsfeed
-
-