Class KnowledgeDocumentVersion

java.lang.Object
com.mypurecloud.sdk.v2.model.KnowledgeDocumentVersion
All Implemented Interfaces:
Serializable

public class KnowledgeDocumentVersion extends Object implements Serializable
KnowledgeDocumentVersion
See Also:
  • Constructor Details

    • KnowledgeDocumentVersion

      public KnowledgeDocumentVersion()
    • KnowledgeDocumentVersion

      public KnowledgeDocumentVersion(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • getDatePublished

      public Date getDatePublished()
    • getDocument

      public KnowledgeDocumentResponse getDocument()
    • restoreFromVersionId

      public KnowledgeDocumentVersion restoreFromVersionId(String restoreFromVersionId)
      The globally unique identifier for the document version. If the value is provided, the document is restored to the given version. If not, it publishes the draft changes as a new version of the document.
    • getRestoreFromVersionId

      public String getRestoreFromVersionId()
    • setRestoreFromVersionId

      public void setRestoreFromVersionId(String restoreFromVersionId)
    • getVersionNumber

      public Integer getVersionNumber()
    • getDateExpires

      public Date getDateExpires()
    • getSelfUri

      public String getSelfUri()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object