Package com.mypurecloud.sdk.v2.model
Class KnowledgeSourcesSearchRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeSourcesSearchRequest
- All Implemented Interfaces:
Serializable
KnowledgeSourcesSearchRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe language to use for answer generation.static enumThe type of the query that initiates the search. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(V3KnowledgeSearchClientApplication application) The client application details from which search requested.conversationContext(KnowledgeV3ConversationContext conversationContext) Conversation context information if the search is initiated in the context of a conversation.conversationTurns(List<KnowledgeConversationTurn> conversationTurns) List of conversation turns to use for stateful search.booleangenerationLanguage(KnowledgeSourcesSearchRequest.GenerationLanguageEnum generationLanguage) The language to use for answer generation.getQuery()inthashCode()knowledgeSettingId(String knowledgeSettingId) Knowledge Setting Id to use for search request.Input query to search content on the knowledge setting.The type of the query that initiates the search.The session id for search request.voidsetApplication(V3KnowledgeSearchClientApplication application) voidsetConversationContext(KnowledgeV3ConversationContext conversationContext) voidsetConversationTurns(List<KnowledgeConversationTurn> conversationTurns) voidsetGenerationLanguage(KnowledgeSourcesSearchRequest.GenerationLanguageEnum generationLanguage) voidsetKnowledgeSettingId(String knowledgeSettingId) voidvoidvoidsetSessionId(String sessionId) toString()
-
Constructor Details
-
KnowledgeSourcesSearchRequest
public KnowledgeSourcesSearchRequest() -
KnowledgeSourcesSearchRequest
-
-
Method Details
-
query
Input query to search content on the knowledge setting. -
getQuery
-
setQuery
-
knowledgeSettingId
Knowledge Setting Id to use for search request. -
getKnowledgeSettingId
-
setKnowledgeSettingId
-
application
The client application details from which search requested. -
getApplication
-
setApplication
-
conversationContext
public KnowledgeSourcesSearchRequest conversationContext(KnowledgeV3ConversationContext conversationContext) Conversation context information if the search is initiated in the context of a conversation. -
getConversationContext
-
setConversationContext
-
sessionId
The session id for search request. -
getSessionId
-
setSessionId
-
queryType
public KnowledgeSourcesSearchRequest queryType(KnowledgeSourcesSearchRequest.QueryTypeEnum queryType) The type of the query that initiates the search. -
getQueryType
-
setQueryType
-
generationLanguage
public KnowledgeSourcesSearchRequest generationLanguage(KnowledgeSourcesSearchRequest.GenerationLanguageEnum generationLanguage) The language to use for answer generation. -
getGenerationLanguage
-
setGenerationLanguage
public void setGenerationLanguage(KnowledgeSourcesSearchRequest.GenerationLanguageEnum generationLanguage) -
conversationTurns
public KnowledgeSourcesSearchRequest conversationTurns(List<KnowledgeConversationTurn> conversationTurns) List of conversation turns to use for stateful search. -
getConversationTurns
-
setConversationTurns
-
equals
-
hashCode
public int hashCode() -
toString
-