Package com.mypurecloud.sdk.v2.model
Class KnowledgeDocumentView
java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeDocumentView
- All Implemented Interfaces:
Serializable
KnowledgeDocumentView
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the query that surfaced the document.static enumThe method how knowledge was surfaced. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(KnowledgeSearchClientApplication application) The client application from which the document was viewed.conversationContext(KnowledgeConversationContext conversationContext) Conversation context information if the document was viewed in the context of a conversation.documentVariationId(String documentVariationId) The variation of the viewed document.documentVersionId(String documentVersionId) The version of the viewed document.booleaninthashCode()queryType(KnowledgeDocumentView.QueryTypeEnum queryType) The type of the query that surfaced the document.The search that surfaced the viewed document.The unique identifier of the knowledge session in which the document was viewed.voidsetApplication(KnowledgeSearchClientApplication application) voidsetConversationContext(KnowledgeConversationContext conversationContext) voidsetDocumentVariationId(String documentVariationId) voidsetDocumentVersionId(String documentVersionId) voidsetQueryType(KnowledgeDocumentView.QueryTypeEnum queryType) voidsetSearchId(String searchId) voidsetSessionId(String sessionId) voidsetSurfacingMethod(KnowledgeDocumentView.SurfacingMethodEnum surfacingMethod) surfacingMethod(KnowledgeDocumentView.SurfacingMethodEnum surfacingMethod) The method how knowledge was surfaced.toString()
-
Constructor Details
-
KnowledgeDocumentView
public KnowledgeDocumentView() -
KnowledgeDocumentView
-
-
Method Details
-
documentVariationId
The variation of the viewed document. -
getDocumentVariationId
-
setDocumentVariationId
-
documentVersionId
The version of the viewed document. -
getDocumentVersionId
-
setDocumentVersionId
-
searchId
The search that surfaced the viewed document. -
getSearchId
-
setSearchId
-
queryType
The type of the query that surfaced the document. -
getQueryType
-
setQueryType
-
surfacingMethod
public KnowledgeDocumentView surfacingMethod(KnowledgeDocumentView.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
-
application
The client application from which the document was viewed. -
getApplication
-
setApplication
-
sessionId
The unique identifier of the knowledge session in which the document was viewed. -
getSessionId
-
setSessionId
-
conversationContext
Conversation context information if the document was viewed in the context of a conversation. -
getConversationContext
-
setConversationContext
-
equals
-
hashCode
public int hashCode() -
toString
-