Package com.mypurecloud.sdk.v2.model
Class KnowledgeDocumentResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeDocumentResponse
- All Implemented Interfaces:
Serializable
KnowledgeDocumentResponse
- 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.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.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.voidsetAlternatives(List<KnowledgeDocumentAlternative> alternatives) voidsetCategory(CategoryResponse category) voidsetDateCreated(Date dateCreated) voidsetDateImported(Date dateImported) voidsetDateModified(Date dateModified) voidsetDatePublished(Date datePublished) voidsetDocumentVersion(AddressableEntityRef documentVersion) voidsetExternalId(String externalId) voidsetKnowledgeBase(KnowledgeBaseReference knowledgeBase) voidsetLabels(List<LabelResponse> labels) voidsetLastPublishedVersionNumber(Integer lastPublishedVersionNumber) voidvoidvoidsetVariations(List<DocumentVariation> variations) voidsetVisible(Boolean visible) State of the document.Document title, having a limit of 500 words.toString()variations(List<DocumentVariation> variations) Variations of the document.Indicates if the knowledge document should be included in search results.
-
Constructor Details
-
KnowledgeDocumentResponse
public KnowledgeDocumentResponse()
-
-
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
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
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
-
variations
Variations of the document. -
getVariations
-
setVariations
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-