Class RawAiContentClient
- java.lang.Object
-
- com.intercom.api.resources.aicontent.RawAiContentClient
-
public class RawAiContentClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description RawAiContentClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntercomHttpResponse<ContentImportSource>createContentImportSource(CreateContentImportSourceRequest request)You can create a new content import source by sending a POST request to this endpoint.IntercomHttpResponse<ContentImportSource>createContentImportSource(CreateContentImportSourceRequest request, RequestOptions requestOptions)You can create a new content import source by sending a POST request to this endpoint.IntercomHttpResponse<ExternalPage>createExternalPage(CreateExternalPageRequest request)You can create a new external page by sending a POST request to this endpoint.IntercomHttpResponse<ExternalPage>createExternalPage(CreateExternalPageRequest request, RequestOptions requestOptions)You can create a new external page by sending a POST request to this endpoint.IntercomHttpResponse<java.lang.Void>deleteContentImportSource(DeleteContentImportSourceRequest request)You can delete a content import source by making a DELETE request this endpoint.IntercomHttpResponse<java.lang.Void>deleteContentImportSource(DeleteContentImportSourceRequest request, RequestOptions requestOptions)You can delete a content import source by making a DELETE request this endpoint.IntercomHttpResponse<ExternalPage>deleteExternalPage(DeleteExternalPageRequest request)Sending a DELETE request for an external page will remove it from the content library UI and from being used for AI answers.IntercomHttpResponse<ExternalPage>deleteExternalPage(DeleteExternalPageRequest request, RequestOptions requestOptions)Sending a DELETE request for an external page will remove it from the content library UI and from being used for AI answers.IntercomHttpResponse<ContentImportSource>getContentImportSource(GetContentImportSourceRequest request)IntercomHttpResponse<ContentImportSource>getContentImportSource(GetContentImportSourceRequest request, RequestOptions requestOptions)IntercomHttpResponse<ExternalPage>getExternalPage(GetExternalPageRequest request)You can retrieve an external page.IntercomHttpResponse<ExternalPage>getExternalPage(GetExternalPageRequest request, RequestOptions requestOptions)You can retrieve an external page.IntercomHttpResponse<ContentImportSourcesList>listContentImportSources()You can retrieve a list of all content import sources for a workspace.IntercomHttpResponse<ContentImportSourcesList>listContentImportSources(RequestOptions requestOptions)You can retrieve a list of all content import sources for a workspace.IntercomHttpResponse<ExternalPagesList>listExternalPages()You can retrieve a list of all external pages for a workspace.IntercomHttpResponse<ExternalPagesList>listExternalPages(RequestOptions requestOptions)You can retrieve a list of all external pages for a workspace.IntercomHttpResponse<ContentImportSource>updateContentImportSource(UpdateContentImportSourceRequest request)You can update an existing content import source.IntercomHttpResponse<ContentImportSource>updateContentImportSource(UpdateContentImportSourceRequest request, RequestOptions requestOptions)You can update an existing content import source.IntercomHttpResponse<ExternalPage>updateExternalPage(UpdateExternalPageRequest request)You can update an existing external page (if it was created via the API).IntercomHttpResponse<ExternalPage>updateExternalPage(UpdateExternalPageRequest request, RequestOptions requestOptions)You can update an existing external page (if it was created via the API).
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
RawAiContentClient
public RawAiContentClient(ClientOptions clientOptions)
-
-
Method Detail
-
listContentImportSources
public IntercomHttpResponse<ContentImportSourcesList> listContentImportSources()
You can retrieve a list of all content import sources for a workspace.
-
listContentImportSources
public IntercomHttpResponse<ContentImportSourcesList> listContentImportSources(RequestOptions requestOptions)
You can retrieve a list of all content import sources for a workspace.
-
createContentImportSource
public IntercomHttpResponse<ContentImportSource> createContentImportSource(CreateContentImportSourceRequest request)
You can create a new content import source by sending a POST request to this endpoint.
-
createContentImportSource
public IntercomHttpResponse<ContentImportSource> createContentImportSource(CreateContentImportSourceRequest request, RequestOptions requestOptions)
You can create a new content import source by sending a POST request to this endpoint.
-
getContentImportSource
public IntercomHttpResponse<ContentImportSource> getContentImportSource(GetContentImportSourceRequest request)
-
getContentImportSource
public IntercomHttpResponse<ContentImportSource> getContentImportSource(GetContentImportSourceRequest request, RequestOptions requestOptions)
-
updateContentImportSource
public IntercomHttpResponse<ContentImportSource> updateContentImportSource(UpdateContentImportSourceRequest request)
You can update an existing content import source.
-
updateContentImportSource
public IntercomHttpResponse<ContentImportSource> updateContentImportSource(UpdateContentImportSourceRequest request, RequestOptions requestOptions)
You can update an existing content import source.
-
deleteContentImportSource
public IntercomHttpResponse<java.lang.Void> deleteContentImportSource(DeleteContentImportSourceRequest request)
You can delete a content import source by making a DELETE request this endpoint. This will also delete all external pages that were imported from this source.
-
deleteContentImportSource
public IntercomHttpResponse<java.lang.Void> deleteContentImportSource(DeleteContentImportSourceRequest request, RequestOptions requestOptions)
You can delete a content import source by making a DELETE request this endpoint. This will also delete all external pages that were imported from this source.
-
listExternalPages
public IntercomHttpResponse<ExternalPagesList> listExternalPages()
You can retrieve a list of all external pages for a workspace.
-
listExternalPages
public IntercomHttpResponse<ExternalPagesList> listExternalPages(RequestOptions requestOptions)
You can retrieve a list of all external pages for a workspace.
-
createExternalPage
public IntercomHttpResponse<ExternalPage> createExternalPage(CreateExternalPageRequest request)
You can create a new external page by sending a POST request to this endpoint. If an external page already exists with the specified source_id and external_id, it will be updated instead.
-
createExternalPage
public IntercomHttpResponse<ExternalPage> createExternalPage(CreateExternalPageRequest request, RequestOptions requestOptions)
You can create a new external page by sending a POST request to this endpoint. If an external page already exists with the specified source_id and external_id, it will be updated instead.
-
getExternalPage
public IntercomHttpResponse<ExternalPage> getExternalPage(GetExternalPageRequest request)
You can retrieve an external page.
-
getExternalPage
public IntercomHttpResponse<ExternalPage> getExternalPage(GetExternalPageRequest request, RequestOptions requestOptions)
You can retrieve an external page.
-
updateExternalPage
public IntercomHttpResponse<ExternalPage> updateExternalPage(UpdateExternalPageRequest request)
You can update an existing external page (if it was created via the API).
-
updateExternalPage
public IntercomHttpResponse<ExternalPage> updateExternalPage(UpdateExternalPageRequest request, RequestOptions requestOptions)
You can update an existing external page (if it was created via the API).
-
deleteExternalPage
public IntercomHttpResponse<ExternalPage> deleteExternalPage(DeleteExternalPageRequest request)
Sending a DELETE request for an external page will remove it from the content library UI and from being used for AI answers.
-
deleteExternalPage
public IntercomHttpResponse<ExternalPage> deleteExternalPage(DeleteExternalPageRequest request, RequestOptions requestOptions)
Sending a DELETE request for an external page will remove it from the content library UI and from being used for AI answers.
-
-