Package com.mypurecloud.sdk.v2.model
Class KnowledgeGuestDocumentFeedback
java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeGuestDocumentFeedback
- All Implemented Interfaces:
Serializable
KnowledgeGuestDocumentFeedback
- 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 TypeMethodDescriptionFree-text comment of the feedback.The document on which feedback was given.documentVariation(EntityReference documentVariation) The variation of the document on which feedback was given.booleangetId()getState()inthashCode()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.voidsetComment(String comment) voidvoidsetDocumentVariation(EntityReference documentVariation) voidvoidvoidvoidsetSearch(EntityReference search) voidvoidsetSurfacingMethod(KnowledgeGuestDocumentFeedback.SurfacingMethodEnum surfacingMethod) The state of the feedback.surfacingMethod(KnowledgeGuestDocumentFeedback.SurfacingMethodEnum surfacingMethod) The method how knowledge was surfaced.toString()
-
Constructor Details
-
KnowledgeGuestDocumentFeedback
public KnowledgeGuestDocumentFeedback() -
KnowledgeGuestDocumentFeedback
-
-
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
public KnowledgeGuestDocumentFeedback queryType(KnowledgeGuestDocumentFeedback.QueryTypeEnum queryType) The type of the query that surfaced the document on which the feedback was given. -
getQueryType
-
setQueryType
-
surfacingMethod
public KnowledgeGuestDocumentFeedback surfacingMethod(KnowledgeGuestDocumentFeedback.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
-
getApplication
-
equals
-
hashCode
public int hashCode() -
toString
-