Package com.mypurecloud.sdk.v2.model
Class KnowledgeSearchDocumentResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeSearchDocumentResponse
- All Implemented Interfaces:
Serializable
KnowledgeSearchDocumentResponse
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumState of the document. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalternatives(List<KnowledgeDocumentAlternative> alternatives) List of alternate phrases related to the title which improves search results.The answer to the query.category(CategoryResponse category) The reference to category associated with the document.dateCreated(Date dateCreated) Document creation date-time.dateImported(Date dateImported) Document import date-time, or null if was not imported.dateModified(Date dateModified) Document last modification date-time.datePublished(Date datePublished) The date on which the document was last published.documentVersion(AddressableEntityRef documentVersion) The version of the document.booleanexternalId(String externalId) The reference to external id associated with the document.externalUrl(String externalUrl) The URL to external document.getId()getState()getTitle()inthashCode()knowledgeBase(KnowledgeBaseReference knowledgeBase) Knowledge base to which the document belongs to.labels(List<LabelResponse> labels) The references to labels associated with the document.lastPublishedVersionNumber(Integer lastPublishedVersionNumber) The last published version number of the document.Whether the document is read-only.voidsetAlternatives(List<KnowledgeDocumentAlternative> alternatives) voidvoidsetCategory(CategoryResponse category) voidsetDateCreated(Date dateCreated) voidsetDateImported(Date dateImported) voidsetDateModified(Date dateModified) voidsetDatePublished(Date datePublished) voidsetDocumentVersion(AddressableEntityRef documentVersion) voidsetExternalId(String externalId) voidsetExternalUrl(String externalUrl) voidsetKnowledgeBase(KnowledgeBaseReference knowledgeBase) voidsetLabels(List<LabelResponse> labels) voidsetLastPublishedVersionNumber(Integer lastPublishedVersionNumber) voidsetReadonly(Boolean readonly) voidsetSource(AddressableEntityRef source) voidvoidvoidsetVariations(List<KnowledgeDocumentSearchVariation> variations) voidsetVisible(Boolean visible) source(AddressableEntityRef source) The reference to source associated with the document.State of the document.Document title, having a limit of 500 words.toString()variations(List<KnowledgeDocumentSearchVariation> variations) Variations of the document.Indicates if the knowledge document should be included in search results.
-
Constructor Details
-
KnowledgeSearchDocumentResponse
public KnowledgeSearchDocumentResponse() -
KnowledgeSearchDocumentResponse
-
-
Method Details
-
getId
-
title
Document title, having a limit of 500 words. -
getTitle
-
setTitle
-
visible
Indicates if the knowledge document should be included in search results. -
getVisible
-
setVisible
-
alternatives
public KnowledgeSearchDocumentResponse alternatives(List<KnowledgeDocumentAlternative> alternatives) List of alternate phrases related to the title which improves search results. -
getAlternatives
-
setAlternatives
-
state
State of the document. -
getState
-
setState
-
dateCreated
Document creation date-time. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateCreated
-
setDateCreated
-
dateModified
Document last modification date-time. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateModified
-
setDateModified
-
dateImported
Document import date-time, or null if was not imported. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateImported
-
setDateImported
-
lastPublishedVersionNumber
public KnowledgeSearchDocumentResponse lastPublishedVersionNumber(Integer lastPublishedVersionNumber) The last published version number of the document. -
getLastPublishedVersionNumber
-
setLastPublishedVersionNumber
-
datePublished
The date on which the document was last published. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDatePublished
-
setDatePublished
-
getCreatedBy
-
getModifiedBy
-
documentVersion
The version of the document. -
getDocumentVersion
-
setDocumentVersion
-
category
The reference to category associated with the document. -
getCategory
-
setCategory
-
labels
The references to labels associated with the document. -
getLabels
-
setLabels
-
knowledgeBase
Knowledge base to which the document belongs to. -
getKnowledgeBase
-
setKnowledgeBase
-
externalId
The reference to external id associated with the document. -
getExternalId
-
setExternalId
-
externalUrl
The URL to external document. -
getExternalUrl
-
setExternalUrl
-
source
The reference to source associated with the document. -
getSource
-
setSource
-
readonly
Whether the document is read-only. -
getReadonly
-
setReadonly
-
variations
public KnowledgeSearchDocumentResponse variations(List<KnowledgeDocumentSearchVariation> variations) Variations of the document. -
getVariations
-
setVariations
-
answer
The answer to the query. -
getAnswer
-
setAnswer
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-