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
ConstructorsModifierConstructorDescriptionprotectedContentBody(String value, String representation, List<Map<String, Object>> embeddedContent, WebResourceDependencies webresource, MediaToken mediaToken, Expandable9Bc16D Expandable, Map<String, Object> Links) Constructs a validated instance ofContentBody.ContentBody(Consumer<ContentBody> spec) Constructs a validated instance ofContentBody. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanembeddedContent(List<Map<String, Object>> embeddedContent) booleanExpandable(Expandable9Bc16D Expandable) inthashCode()Links()mediaToken(MediaToken mediaToken) representation(String representation) toString()value()webresource(WebResourceDependencies webresource)
-
Field Details
-
value
-
representation
-
embeddedContent
-
webresource
-
mediaToken
-
Expandable
-
Links
-
-
Constructor Details
-
ContentBody
Constructs a validated instance ofContentBody.- Parameters:
spec- the specification to process
-
ContentBody
@Internal public ContentBody(String value, String representation, List<Map<String, Object>> embeddedContent, WebResourceDependencies webresource, MediaToken mediaToken, Expandable9Bc16D Expandable, Map<String, Object> Links) 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- mediaTokenExpandable- ExpandableLinks- Links
-
ContentBody
protected ContentBody()
-
-
Method Details
-
value
-
representation
-
embeddedContent
-
webresource
-
mediaToken
-
Expandable
-
Links
-
value
- Returns:
this.
-
representation
- Returns:
this.
-
embeddedContent
- Returns:
this.
-
webresource
- Returns:
this.
-
mediaToken
- Returns:
this.
-
Expandable
- Returns:
this.
-
Links
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-