Class ContentBody

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

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

  • Constructor Details

    • ContentBody

      public ContentBody(Consumer<ContentBody> spec)
      Constructs a validated instance of ContentBody.
      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 of ContentBody.

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

      Parameters:
      value - value
      representation - representation
      embeddedContent - embeddedContent
      webresource - webresource
      mediaToken - mediaToken
      additionalExpandable - additionalExpandable
      additionalLinks - additionalLinks
  • Method Details

    • value

      public String value()
      Fluent getter for value.
      Returns:
      value
    • value

      public ContentBody value(String value)
      Fluent setter for value.
      Parameters:
      value - value
      Returns:
      this
    • getValue

      public String getValue()
      Gets the value of value.
      Returns:
      value
    • setValue

      public void setValue(String value)
      Sets the value of value.
      Parameters:
      value - value
    • representation

      public String representation()
      Fluent getter for representation.
      Returns:
      representation
    • representation

      public ContentBody representation(String representation)
      Fluent setter for representation.
      Parameters:
      representation - representation
      Returns:
      this
    • getRepresentation

      public String getRepresentation()
      Gets the value of representation.
      Returns:
      representation
    • setRepresentation

      public void setRepresentation(String representation)
      Sets the value of representation.
      Parameters:
      representation - representation
    • embeddedContent

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

      public ContentBody embeddedContent(List<Map<String,Object>> embeddedContent)
      Fluent setter for embeddedContent.
      Parameters:
      embeddedContent - embeddedContent
      Returns:
      this
    • getEmbeddedContent

      public List<Map<String,Object>> getEmbeddedContent()
      Gets the value of embeddedContent.
      Returns:
      embeddedContent
    • setEmbeddedContent

      public void setEmbeddedContent(List<Map<String,Object>> embeddedContent)
      Sets the value of embeddedContent.
      Parameters:
      embeddedContent - embeddedContent
    • webresource

      public WebResourceDependencies webresource()
      Fluent getter for webresource.
      Returns:
      webresource
    • webresource

      public ContentBody webresource(WebResourceDependencies webresource)
      Fluent setter for webresource.
      Parameters:
      webresource - webresource
      Returns:
      this
    • getWebresource

      public WebResourceDependencies getWebresource()
      Gets the value of webresource.
      Returns:
      webresource
    • setWebresource

      public void setWebresource(WebResourceDependencies webresource)
      Sets the value of webresource.
      Parameters:
      webresource - webresource
    • mediaToken

      public MediaToken mediaToken()
      Fluent getter for mediaToken.
      Returns:
      mediaToken
    • mediaToken

      public ContentBody mediaToken(MediaToken mediaToken)
      Fluent setter for mediaToken.
      Parameters:
      mediaToken - mediaToken
      Returns:
      this
    • getMediaToken

      public MediaToken getMediaToken()
      Gets the value of mediaToken.
      Returns:
      mediaToken
    • setMediaToken

      public void setMediaToken(MediaToken mediaToken)
      Sets the value of mediaToken.
      Parameters:
      mediaToken - mediaToken
    • additionalExpandable

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

      public ContentBody additionalExpandable(Expandable9Bc16D additionalExpandable)
      Fluent setter for additionalExpandable.
      Parameters:
      additionalExpandable - additionalExpandable
      Returns:
      this
    • getAdditionalExpandable

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

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

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

      public ContentBody 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