Class ContentHistory

java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentHistory

@Generated("io.github.primelib.primecodegen") public class ContentHistory extends Object
ContentHistory
  • Field Details

  • Constructor Details

    • ContentHistory

      public ContentHistory(Consumer<ContentHistory> spec)
      Constructs a validated instance of ContentHistory.
      Parameters:
      spec - the specification to process
    • ContentHistory

      @Internal protected ContentHistory()
      Protected no-args constructor for use by serialization frameworks.
    • ContentHistory

      @Internal public ContentHistory(Boolean latest, Map<String,Object> createdBy, Map<String,Object> ownedBy, Map<String,Object> lastOwnedBy, Instant createdDate, Version lastUpdated, Version previousVersion, Contributors contributors, Version nextVersion, Expandabled312Ab additionalExpandable, Map<String,Object> additionalLinks)
      Constructs a validated instance of ContentHistory.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using ContentHistory(Consumer) instead.

      Parameters:
      latest - latest
      createdBy - createdBy
      ownedBy - ownedBy
      lastOwnedBy - lastOwnedBy
      createdDate - createdDate
      lastUpdated - lastUpdated
      previousVersion - previousVersion
      contributors - contributors
      nextVersion - nextVersion
      additionalExpandable - additionalExpandable
      additionalLinks - additionalLinks
  • Method Details

    • latest

      public Boolean latest()
      Fluent getter for latest.
      Returns:
      latest
    • latest

      public ContentHistory latest(Boolean latest)
      Fluent setter for latest.
      Parameters:
      latest - latest
      Returns:
      this
    • getLatest

      public Boolean getLatest()
      Gets the value of latest.
      Returns:
      latest
    • setLatest

      public void setLatest(Boolean latest)
      Sets the value of latest.
      Parameters:
      latest - latest
    • createdBy

      public Map<String,Object> createdBy()
      Fluent getter for createdBy.
      Returns:
      createdBy
    • createdBy

      public ContentHistory createdBy(Map<String,Object> createdBy)
      Fluent setter for createdBy.
      Parameters:
      createdBy - createdBy
      Returns:
      this
    • getCreatedBy

      public Map<String,Object> getCreatedBy()
      Gets the value of createdBy.
      Returns:
      createdBy
    • setCreatedBy

      public void setCreatedBy(Map<String,Object> createdBy)
      Sets the value of createdBy.
      Parameters:
      createdBy - createdBy
    • ownedBy

      public Map<String,Object> ownedBy()
      Fluent getter for ownedBy.
      Returns:
      ownedBy
    • ownedBy

      public ContentHistory ownedBy(Map<String,Object> ownedBy)
      Fluent setter for ownedBy.
      Parameters:
      ownedBy - ownedBy
      Returns:
      this
    • getOwnedBy

      public Map<String,Object> getOwnedBy()
      Gets the value of ownedBy.
      Returns:
      ownedBy
    • setOwnedBy

      public void setOwnedBy(Map<String,Object> ownedBy)
      Sets the value of ownedBy.
      Parameters:
      ownedBy - ownedBy
    • lastOwnedBy

      public Map<String,Object> lastOwnedBy()
      Fluent getter for lastOwnedBy.
      Returns:
      lastOwnedBy
    • lastOwnedBy

      public ContentHistory lastOwnedBy(Map<String,Object> lastOwnedBy)
      Fluent setter for lastOwnedBy.
      Parameters:
      lastOwnedBy - lastOwnedBy
      Returns:
      this
    • getLastOwnedBy

      public Map<String,Object> getLastOwnedBy()
      Gets the value of lastOwnedBy.
      Returns:
      lastOwnedBy
    • setLastOwnedBy

      public void setLastOwnedBy(Map<String,Object> lastOwnedBy)
      Sets the value of lastOwnedBy.
      Parameters:
      lastOwnedBy - lastOwnedBy
    • createdDate

      public Instant createdDate()
      Fluent getter for createdDate.
      Returns:
      createdDate
    • createdDate

      public ContentHistory createdDate(Instant createdDate)
      Fluent setter for createdDate.
      Parameters:
      createdDate - createdDate
      Returns:
      this
    • getCreatedDate

      public Instant getCreatedDate()
      Gets the value of createdDate.
      Returns:
      createdDate
    • setCreatedDate

      public void setCreatedDate(Instant createdDate)
      Sets the value of createdDate.
      Parameters:
      createdDate - createdDate
    • lastUpdated

      public Version lastUpdated()
      Fluent getter for lastUpdated.
      Returns:
      lastUpdated
    • lastUpdated

      public ContentHistory lastUpdated(Version lastUpdated)
      Fluent setter for lastUpdated.
      Parameters:
      lastUpdated - lastUpdated
      Returns:
      this
    • getLastUpdated

      public Version getLastUpdated()
      Gets the value of lastUpdated.
      Returns:
      lastUpdated
    • setLastUpdated

      public void setLastUpdated(Version lastUpdated)
      Sets the value of lastUpdated.
      Parameters:
      lastUpdated - lastUpdated
    • previousVersion

      public Version previousVersion()
      Fluent getter for previousVersion.
      Returns:
      previousVersion
    • previousVersion

      public ContentHistory previousVersion(Version previousVersion)
      Fluent setter for previousVersion.
      Parameters:
      previousVersion - previousVersion
      Returns:
      this
    • getPreviousVersion

      public Version getPreviousVersion()
      Gets the value of previousVersion.
      Returns:
      previousVersion
    • setPreviousVersion

      public void setPreviousVersion(Version previousVersion)
      Sets the value of previousVersion.
      Parameters:
      previousVersion - previousVersion
    • contributors

      public Contributors contributors()
      Fluent getter for contributors.
      Returns:
      contributors
    • contributors

      public ContentHistory contributors(Contributors contributors)
      Fluent setter for contributors.
      Parameters:
      contributors - contributors
      Returns:
      this
    • getContributors

      public Contributors getContributors()
      Gets the value of contributors.
      Returns:
      contributors
    • setContributors

      public void setContributors(Contributors contributors)
      Sets the value of contributors.
      Parameters:
      contributors - contributors
    • nextVersion

      public Version nextVersion()
      Fluent getter for nextVersion.
      Returns:
      nextVersion
    • nextVersion

      public ContentHistory nextVersion(Version nextVersion)
      Fluent setter for nextVersion.
      Parameters:
      nextVersion - nextVersion
      Returns:
      this
    • getNextVersion

      public Version getNextVersion()
      Gets the value of nextVersion.
      Returns:
      nextVersion
    • setNextVersion

      public void setNextVersion(Version nextVersion)
      Sets the value of nextVersion.
      Parameters:
      nextVersion - nextVersion
    • additionalExpandable

      public Expandabled312Ab additionalExpandable()
      Fluent getter for additionalExpandable.
      Returns:
      additionalExpandable
    • additionalExpandable

      public ContentHistory additionalExpandable(Expandabled312Ab additionalExpandable)
      Fluent setter for additionalExpandable.
      Parameters:
      additionalExpandable - additionalExpandable
      Returns:
      this
    • getAdditionalExpandable

      public Expandabled312Ab getAdditionalExpandable()
      Gets the value of additionalExpandable.
      Returns:
      additionalExpandable
    • setAdditionalExpandable

      public void setAdditionalExpandable(Expandabled312Ab additionalExpandable)
      Sets the value of additionalExpandable.
      Parameters:
      additionalExpandable - additionalExpandable
    • additionalLinks

      public Map<String,Object> additionalLinks()
      Fluent getter for additionalLinks.
      Returns:
      additionalLinks
    • additionalLinks

      public ContentHistory additionalLinks(Map<String,Object> additionalLinks)
      Fluent setter for additionalLinks.
      Parameters:
      additionalLinks - additionalLinks
      Returns:
      this
    • getAdditionalLinks

      public Map<String,Object> getAdditionalLinks()
      Gets the value of additionalLinks.
      Returns:
      additionalLinks
    • setAdditionalLinks

      public void setAdditionalLinks(Map<String,Object> additionalLinks)
      Sets the value of additionalLinks.
      Parameters:
      additionalLinks - additionalLinks
    • 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