Package com.mypurecloud.sdk.v2.model
Class KnowledgeDocumentFeedback
java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeDocumentFeedback
- All Implemented Interfaces:
Serializable
KnowledgeDocumentFeedback
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the query that surfaced the document on which the feedback was given.static enumFeedback rating.static enumFeedback reason.static enumThe state of the feedback.static enumThe method how knowledge was surfaced. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplication(KnowledgeSearchClientApplication application) The client application from which feedback was given.Free-text comment of the feedback.conversationContext(KnowledgeConversationContext conversationContext) Conversation context information if the feedback is given in the context of a conversation.document(KnowledgeDocumentVersionReference document) The document on which feedback was given.documentVariation(EntityReference documentVariation) The variation of the document on which feedback was given.booleangetId()getState()inthashCode()queryType(KnowledgeDocumentFeedback.QueryTypeEnum queryType) The type of the query that surfaced the document on which the feedback was given.Feedback rating.Feedback reason.search(EntityReference search) The search that surfaced the document on which feedback was given.voidsetApplication(KnowledgeSearchClientApplication application) voidsetComment(String comment) voidsetConversationContext(KnowledgeConversationContext conversationContext) voidsetDocument(KnowledgeDocumentVersionReference document) voidsetDocumentVariation(EntityReference documentVariation) voidvoidvoidvoidsetSearch(EntityReference search) voidvoidsetSurfacingMethod(KnowledgeDocumentFeedback.SurfacingMethodEnum surfacingMethod) The state of the feedback.surfacingMethod(KnowledgeDocumentFeedback.SurfacingMethodEnum surfacingMethod) The method how knowledge was surfaced.toString()
-
Constructor Details
-
KnowledgeDocumentFeedback
public KnowledgeDocumentFeedback() -
KnowledgeDocumentFeedback
-
-
Method Details
-
getId
-
documentVariation
The variation of the document on which feedback was given. -
getDocumentVariation
-
setDocumentVariation
-
rating
Feedback rating. -
getRating
-
setRating
-
reason
Feedback reason. -
getReason
-
setReason
-
comment
Free-text comment of the feedback. Maximum length: 2000 characters. -
getComment
-
setComment
-
search
The search that surfaced the document on which feedback was given. -
getSearch
-
setSearch
-
getSessionId
-
getDateCreated
-
queryType
The type of the query that surfaced the document on which the feedback was given. -
getQueryType
-
setQueryType
-
surfacingMethod
public KnowledgeDocumentFeedback surfacingMethod(KnowledgeDocumentFeedback.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
-
state
The state of the feedback. -
getState
-
setState
-
document
The document on which feedback was given. -
getDocument
-
setDocument
-
application
The client application from which feedback was given. -
getApplication
-
setApplication
-
conversationContext
public KnowledgeDocumentFeedback conversationContext(KnowledgeConversationContext conversationContext) Conversation context information if the feedback is given in the context of a conversation. -
getConversationContext
-
setConversationContext
-
getUserId
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-