Class ContentBody
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentBody
ContentBody
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Expandable9Bc16Dprotected MediaTokenprotected Stringprotected Stringprotected WebResourceDependencies -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.ContentBody(String value, String representation, List<Map<String, Object>> embeddedContent, WebResourceDependencies webresource, MediaToken mediaToken, Expandable9Bc16D additionalExpandable, Map<String, Object> additionalLinks) Constructs a validated instance ofContentBody.ContentBody(Consumer<ContentBody> spec) Constructs a validated instance ofContentBody. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalExpandable.additionalExpandable(Expandable9Bc16D additionalExpandable) Fluent setter for additionalExpandable.Fluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.Fluent getter for embeddedContent.embeddedContent(List<Map<String, Object>> embeddedContent) Fluent setter for embeddedContent.booleanGets the value of additionalExpandable.Gets the value of additionalLinks.Gets the value of embeddedContent.Gets the value of mediaToken.Gets the value of representation.getValue()Gets the value of value.Gets the value of webresource.inthashCode()Fluent getter for mediaToken.mediaToken(MediaToken mediaToken) Fluent setter for mediaToken.Fluent getter for representation.representation(String representation) Fluent setter for representation.voidsetAdditionalExpandable(Expandable9Bc16D additionalExpandable) Sets the value of additionalExpandable.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidsetEmbeddedContent(List<Map<String, Object>> embeddedContent) Sets the value of embeddedContent.voidsetMediaToken(MediaToken mediaToken) Sets the value of mediaToken.voidsetRepresentation(String representation) Sets the value of representation.voidSets the value of value.voidsetWebresource(WebResourceDependencies webresource) Sets the value of webresource.toString()value()Fluent getter for value.Fluent setter for value.Fluent getter for webresource.webresource(WebResourceDependencies webresource) Fluent setter for webresource.
-
Field Details
-
value
-
representation
-
embeddedContent
-
webresource
-
mediaToken
-
additionalExpandable
-
additionalLinks
-
-
Constructor Details
-
ContentBody
Constructs a validated instance ofContentBody.- Parameters:
spec- the specification to process
-
ContentBody
@Internal protected ContentBody()Protected no-args constructor for use by serialization frameworks. -
ContentBody
@Internal public ContentBody(String value, String representation, List<Map<String, Object>> embeddedContent, WebResourceDependencies webresource, MediaToken mediaToken, Expandable9Bc16D additionalExpandable, Map<String, Object> additionalLinks) Constructs a validated instance ofContentBody.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentBody(Consumer)instead.- Parameters:
value- valuerepresentation- representationembeddedContent- embeddedContentwebresource- webresourcemediaToken- mediaTokenadditionalExpandable- additionalExpandableadditionalLinks- additionalLinks
-
-
Method Details
-
value
-
value
Fluent setter for value.- Parameters:
value- value- Returns:
- this
-
getValue
-
setValue
-
representation
-
representation
Fluent setter for representation.- Parameters:
representation- representation- Returns:
- this
-
getRepresentation
-
setRepresentation
Sets the value of representation.- Parameters:
representation- representation
-
embeddedContent
-
embeddedContent
Fluent setter for embeddedContent.- Parameters:
embeddedContent- embeddedContent- Returns:
- this
-
getEmbeddedContent
-
setEmbeddedContent
-
webresource
-
webresource
Fluent setter for webresource.- Parameters:
webresource- webresource- Returns:
- this
-
getWebresource
-
setWebresource
Sets the value of webresource.- Parameters:
webresource- webresource
-
mediaToken
-
mediaToken
Fluent setter for mediaToken.- Parameters:
mediaToken- mediaToken- Returns:
- this
-
getMediaToken
-
setMediaToken
Sets the value of mediaToken.- Parameters:
mediaToken- mediaToken
-
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
-