Package com.mypurecloud.sdk.v2.model
Class KnowledgeDocumentPresentation
java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeDocumentPresentation
- All Implemented Interfaces:
Serializable
KnowledgeDocumentPresentation
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the query that surfaced the documents.static enumThe method how knowledge was surfaced. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(KnowledgeSearchClientApplication application) The client application in which the documents were presented.conversationContext(KnowledgeConversationContext conversationContext) Conversation context information if the documents were presented in the context of a conversation.documents(List<PresentedKnowledgeDocument> documents) The presented documentsbooleaninthashCode()The type of the query that surfaced the documents.The search that surfaced the documents that were presented.voidsetApplication(KnowledgeSearchClientApplication application) voidsetConversationContext(KnowledgeConversationContext conversationContext) voidsetDocuments(List<PresentedKnowledgeDocument> documents) voidvoidsetSearchId(String searchId) voidsetSurfacingMethod(KnowledgeDocumentPresentation.SurfacingMethodEnum surfacingMethod) surfacingMethod(KnowledgeDocumentPresentation.SurfacingMethodEnum surfacingMethod) The method how knowledge was surfaced.toString()
-
Constructor Details
-
KnowledgeDocumentPresentation
public KnowledgeDocumentPresentation() -
KnowledgeDocumentPresentation
-
-
Method Details
-
documents
The presented documents -
getDocuments
-
setDocuments
-
searchId
The search that surfaced the documents that were presented. -
getSearchId
-
setSearchId
-
queryType
public KnowledgeDocumentPresentation queryType(KnowledgeDocumentPresentation.QueryTypeEnum queryType) The type of the query that surfaced the documents. -
getQueryType
-
setQueryType
-
surfacingMethod
public KnowledgeDocumentPresentation surfacingMethod(KnowledgeDocumentPresentation.SurfacingMethodEnum surfacingMethod) The method how knowledge was surfaced. Article: Full article was shown. Snippet: A snippet from the article was shown. Highlight: A highlighted answer in a snippet was shown.Generative: A generated answer in a snippet was shown. -
getSurfacingMethod
-
setSurfacingMethod
-
getSessionId
-
conversationContext
public KnowledgeDocumentPresentation conversationContext(KnowledgeConversationContext conversationContext) Conversation context information if the documents were presented in the context of a conversation. -
getConversationContext
-
setConversationContext
-
application
The client application in which the documents were presented. -
getApplication
-
setApplication
-
equals
-
hashCode
public int hashCode() -
toString
-