Class RawCollectionsClient
- java.lang.Object
-
- com.intercom.api.resources.helpcenters.collections.RawCollectionsClient
-
public class RawCollectionsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawCollectionsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntercomHttpResponse<Collection>create(CreateCollectionRequest request)You can create a new collection by making a POST request tohttps://api.intercom.io/help_center/collections.IntercomHttpResponse<Collection>create(CreateCollectionRequest request, RequestOptions requestOptions)You can create a new collection by making a POST request tohttps://api.intercom.io/help_center/collections.IntercomHttpResponse<DeletedCollectionObject>delete(DeleteCollectionRequest request)You can delete a single collection by making a DELETE request tohttps://api.intercom.io/collections/<id>.IntercomHttpResponse<DeletedCollectionObject>delete(DeleteCollectionRequest request, RequestOptions requestOptions)You can delete a single collection by making a DELETE request tohttps://api.intercom.io/collections/<id>.IntercomHttpResponse<Collection>find(FindCollectionRequest request)You can fetch the details of a single collection by making a GET request tohttps://api.intercom.io/help_center/collections/<id>.IntercomHttpResponse<Collection>find(FindCollectionRequest 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>.IntercomHttpResponse<SyncPagingIterable<Collection>>list()You can fetch a list of all collections by making a GET request tohttps://api.intercom.io/help_center/collections.IntercomHttpResponse<SyncPagingIterable<Collection>>list(ListCollectionsRequest request)You can fetch a list of all collections by making a GET request tohttps://api.intercom.io/help_center/collections.IntercomHttpResponse<SyncPagingIterable<Collection>>list(ListCollectionsRequest request, RequestOptions requestOptions)You can fetch a list of all collections by making a GET request tohttps://api.intercom.io/help_center/collections.IntercomHttpResponse<Collection>update(UpdateCollectionRequest request)You can update the details of a single collection by making a PUT request tohttps://api.intercom.io/collections/<id>.IntercomHttpResponse<Collection>update(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
-
RawCollectionsClient
public RawCollectionsClient(ClientOptions clientOptions)
-
-
Method Detail
-
list
public IntercomHttpResponse<SyncPagingIterable<Collection>> list()
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.
-
list
public IntercomHttpResponse<SyncPagingIterable<Collection>> list(ListCollectionsRequest request)
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.
-
list
public IntercomHttpResponse<SyncPagingIterable<Collection>> list(ListCollectionsRequest request, 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.
-
create
public IntercomHttpResponse<Collection> create(CreateCollectionRequest request)
You can create a new collection by making a POST request tohttps://api.intercom.io/help_center/collections.
-
create
public IntercomHttpResponse<Collection> create(CreateCollectionRequest request, RequestOptions requestOptions)
You can create a new collection by making a POST request tohttps://api.intercom.io/help_center/collections.
-
find
public IntercomHttpResponse<Collection> find(FindCollectionRequest request)
You can fetch the details of a single collection by making a GET request tohttps://api.intercom.io/help_center/collections/<id>.
-
find
public IntercomHttpResponse<Collection> find(FindCollectionRequest 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>.
-
update
public IntercomHttpResponse<Collection> update(UpdateCollectionRequest request)
You can update the details of a single collection by making a PUT request tohttps://api.intercom.io/collections/<id>.
-
update
public IntercomHttpResponse<Collection> update(UpdateCollectionRequest request, RequestOptions requestOptions)
You can update the details of a single collection by making a PUT request tohttps://api.intercom.io/collections/<id>.
-
delete
public IntercomHttpResponse<DeletedCollectionObject> delete(DeleteCollectionRequest request)
You can delete a single collection by making a DELETE request tohttps://api.intercom.io/collections/<id>.
-
delete
public IntercomHttpResponse<DeletedCollectionObject> delete(DeleteCollectionRequest request, RequestOptions requestOptions)
You can delete a single collection by making a DELETE request tohttps://api.intercom.io/collections/<id>.
-
-