Class ContentMetadata
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentMetadata
ContentMetadata
Metadata object for page, blogpost, comment content
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.ContentMetadata(Currentuser currentuser, Map<String, Object> properties, Map<String, Object> frontend, Labels labels) Constructs a validated instance ofContentMetadata.Constructs a validated instance ofContentMetadata. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for currentuser.currentuser(Currentuser currentuser) Fluent setter for currentuser.booleanfrontend()Fluent getter for frontend.Fluent setter for frontend.Gets the value of currentuser.Gets the value of frontend.Gets the value of labels.Gets the value of properties.inthashCode()labels()Fluent getter for labels.Fluent setter for labels.Fluent getter for properties.properties(Map<String, Object> properties) Fluent setter for properties.voidsetCurrentuser(Currentuser currentuser) Sets the value of currentuser.voidsetFrontend(Map<String, Object> frontend) Sets the value of frontend.voidSets the value of labels.voidsetProperties(Map<String, Object> properties) Sets the value of properties.toString()
-
Field Details
-
currentuser
-
properties
-
frontend
-
labels
-
-
Constructor Details
-
ContentMetadata
Constructs a validated instance ofContentMetadata.- Parameters:
spec- the specification to process
-
ContentMetadata
@Internal protected ContentMetadata()Protected no-args constructor for use by serialization frameworks. -
ContentMetadata
@Internal public ContentMetadata(Currentuser currentuser, Map<String, Object> properties, Map<String, Object> frontend, Labels labels) Constructs a validated instance ofContentMetadata.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentMetadata(Consumer)instead.- Parameters:
currentuser- currentuserproperties- propertiesfrontend- frontendlabels- labels
-
-
Method Details
-
currentuser
-
currentuser
Fluent setter for currentuser.- Parameters:
currentuser- currentuser- Returns:
- this
-
getCurrentuser
-
setCurrentuser
Sets the value of currentuser.- Parameters:
currentuser- currentuser
-
properties
-
properties
Fluent setter for properties.- Parameters:
properties- properties- Returns:
- this
-
getProperties
-
setProperties
-
frontend
-
frontend
Fluent setter for frontend.- Parameters:
frontend- frontend- Returns:
- this
-
getFrontend
-
setFrontend
-
labels
-
labels
Fluent setter for labels.- Parameters:
labels- labels- Returns:
- this
-
getLabels
-
setLabels
-
equals
-
hashCode
-
toString
-