Class ContentHistory
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentHistory
ContentHistory
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Expandabled312Abprotected Contributorsprotected Instantprotected Versionprotected Booleanprotected Versionprotected Version -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.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 ofContentHistory.ContentHistory(Consumer<ContentHistory> spec) Constructs a validated instance ofContentHistory. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalExpandable.additionalExpandable(Expandabled312Ab additionalExpandable) Fluent setter for additionalExpandable.Fluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.Fluent getter for contributors.contributors(Contributors contributors) Fluent setter for contributors.Fluent getter for createdBy.Fluent setter for createdBy.Fluent getter for createdDate.createdDate(Instant createdDate) Fluent setter for createdDate.booleanGets the value of additionalExpandable.Gets the value of additionalLinks.Gets the value of contributors.Gets the value of createdBy.Gets the value of createdDate.Gets the value of lastOwnedBy.Gets the value of lastUpdated.Gets the value of latest.Gets the value of nextVersion.Gets the value of ownedBy.Gets the value of previousVersion.inthashCode()Fluent getter for lastOwnedBy.lastOwnedBy(Map<String, Object> lastOwnedBy) Fluent setter for lastOwnedBy.Fluent getter for lastUpdated.lastUpdated(Version lastUpdated) Fluent setter for lastUpdated.latest()Fluent getter for latest.Fluent setter for latest.Fluent getter for nextVersion.nextVersion(Version nextVersion) Fluent setter for nextVersion.ownedBy()Fluent getter for ownedBy.Fluent setter for ownedBy.Fluent getter for previousVersion.previousVersion(Version previousVersion) Fluent setter for previousVersion.voidsetAdditionalExpandable(Expandabled312Ab additionalExpandable) Sets the value of additionalExpandable.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidsetContributors(Contributors contributors) Sets the value of contributors.voidsetCreatedBy(Map<String, Object> createdBy) Sets the value of createdBy.voidsetCreatedDate(Instant createdDate) Sets the value of createdDate.voidsetLastOwnedBy(Map<String, Object> lastOwnedBy) Sets the value of lastOwnedBy.voidsetLastUpdated(Version lastUpdated) Sets the value of lastUpdated.voidSets the value of latest.voidsetNextVersion(Version nextVersion) Sets the value of nextVersion.voidsetOwnedBy(Map<String, Object> ownedBy) Sets the value of ownedBy.voidsetPreviousVersion(Version previousVersion) Sets the value of previousVersion.toString()
-
Field Details
-
latest
-
createdBy
-
ownedBy
-
lastOwnedBy
-
createdDate
-
lastUpdated
-
previousVersion
-
contributors
-
nextVersion
-
additionalExpandable
-
additionalLinks
-
-
Constructor Details
-
ContentHistory
Constructs a validated instance ofContentHistory.- 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 ofContentHistory.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentHistory(Consumer)instead.- Parameters:
latest- latestcreatedBy- createdByownedBy- ownedBylastOwnedBy- lastOwnedBycreatedDate- createdDatelastUpdated- lastUpdatedpreviousVersion- previousVersioncontributors- contributorsnextVersion- nextVersionadditionalExpandable- additionalExpandableadditionalLinks- additionalLinks
-
-
Method Details
-
latest
-
latest
Fluent setter for latest.- Parameters:
latest- latest- Returns:
- this
-
getLatest
-
setLatest
-
createdBy
-
createdBy
Fluent setter for createdBy.- Parameters:
createdBy- createdBy- Returns:
- this
-
getCreatedBy
-
setCreatedBy
-
ownedBy
-
ownedBy
Fluent setter for ownedBy.- Parameters:
ownedBy- ownedBy- Returns:
- this
-
getOwnedBy
-
setOwnedBy
-
lastOwnedBy
-
lastOwnedBy
Fluent setter for lastOwnedBy.- Parameters:
lastOwnedBy- lastOwnedBy- Returns:
- this
-
getLastOwnedBy
-
setLastOwnedBy
-
createdDate
-
createdDate
Fluent setter for createdDate.- Parameters:
createdDate- createdDate- Returns:
- this
-
getCreatedDate
-
setCreatedDate
Sets the value of createdDate.- Parameters:
createdDate- createdDate
-
lastUpdated
-
lastUpdated
Fluent setter for lastUpdated.- Parameters:
lastUpdated- lastUpdated- Returns:
- this
-
getLastUpdated
-
setLastUpdated
Sets the value of lastUpdated.- Parameters:
lastUpdated- lastUpdated
-
previousVersion
-
previousVersion
Fluent setter for previousVersion.- Parameters:
previousVersion- previousVersion- Returns:
- this
-
getPreviousVersion
-
setPreviousVersion
Sets the value of previousVersion.- Parameters:
previousVersion- previousVersion
-
contributors
-
contributors
Fluent setter for contributors.- Parameters:
contributors- contributors- Returns:
- this
-
getContributors
-
setContributors
Sets the value of contributors.- Parameters:
contributors- contributors
-
nextVersion
-
nextVersion
Fluent setter for nextVersion.- Parameters:
nextVersion- nextVersion- Returns:
- this
-
getNextVersion
-
setNextVersion
Sets the value of nextVersion.- Parameters:
nextVersion- nextVersion
-
additionalExpandable
Fluent getter for additionalExpandable.- Returns:
- additionalExpandable
-
additionalExpandable
Fluent setter for additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable- Returns:
- this
-
getAdditionalExpandable
Gets the value of additionalExpandable.- Returns:
- additionalExpandable
-
setAdditionalExpandable
Sets the value of additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable
-
additionalLinks
-
additionalLinks
Fluent setter for additionalLinks.- Parameters:
additionalLinks- additionalLinks- Returns:
- this
-
getAdditionalLinks
-
setAdditionalLinks
-
equals
-
hashCode
-
toString
-