Package com.mypurecloud.sdk.v2.model
Class KnowledgeDocumentGuestSearchRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeDocumentGuestSearchRequest
- All Implemented Interfaces:
Serializable
KnowledgeDocumentGuestSearchRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the query that initiates the search. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanswerHighlightTopResults(Integer answerHighlightTopResults) The number of articles to be sent for answer-highlighting.booleangetQuery()getTotal()inthashCode()includeDraftDocuments(Boolean includeDraftDocuments) Indicates whether the search results would also include draft documents.pageNumber(Integer pageNumber) Page number of the returned results.Page size of the returned results.Query to search content in the knowledge base.The type of the query that initiates the search.voidsetAnswerHighlightTopResults(Integer answerHighlightTopResults) voidsetIncludeDraftDocuments(Boolean includeDraftDocuments) voidsetPageNumber(Integer pageNumber) voidsetPageSize(Integer pageSize) voidvoidtoString()
-
Constructor Details
-
KnowledgeDocumentGuestSearchRequest
public KnowledgeDocumentGuestSearchRequest() -
KnowledgeDocumentGuestSearchRequest
-
-
Method Details
-
query
Query to search content in the knowledge base. Maximum of 30 records per query can be fetched. -
getQuery
-
setQuery
-
pageSize
Page size of the returned results. -
getPageSize
-
setPageSize
-
pageNumber
Page number of the returned results. -
getPageNumber
-
setPageNumber
-
getSearchId
-
getTotal
-
getPageCount
-
queryType
public KnowledgeDocumentGuestSearchRequest queryType(KnowledgeDocumentGuestSearchRequest.QueryTypeEnum queryType) The type of the query that initiates the search. -
getQueryType
-
setQueryType
-
getSessionId
-
answerHighlightTopResults
public KnowledgeDocumentGuestSearchRequest answerHighlightTopResults(Integer answerHighlightTopResults) The number of articles to be sent for answer-highlighting. Can range from 1-5. minimum: 1 maximum: 5 -
getAnswerHighlightTopResults
-
setAnswerHighlightTopResults
-
includeDraftDocuments
Indicates whether the search results would also include draft documents. -
getIncludeDraftDocuments
-
setIncludeDraftDocuments
-
equals
-
hashCode
public int hashCode() -
toString
-