Class ContentProperty

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

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

    • id

      protected String id
    • key

      protected String key
    • value

      protected Object value
      The value of the content property. This can be empty or a complex object.
    • version

      protected Map<String,Object> version
    • additionalExpandable

      protected Expandableabce4D additionalExpandable
  • Constructor Details

    • ContentProperty

      public ContentProperty(Consumer<ContentProperty> spec)
      Constructs a validated instance of ContentProperty.
      Parameters:
      spec - the specification to process
    • ContentProperty

      @Internal protected ContentProperty()
      Protected no-args constructor for use by serialization frameworks.
    • ContentProperty

      @Internal public ContentProperty(String id, String key, Object value, Map<String,Object> version, Map<String,Object> additionalLinks, Expandableabce4D additionalExpandable)
      Constructs a validated instance of ContentProperty.

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

      Parameters:
      id - id
      key - key
      value - The value of the content property. This can be empty or a complex object.
      version - version
      additionalLinks - additionalLinks
      additionalExpandable - additionalExpandable
  • Method Details

    • id

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

      public ContentProperty id(String id)
      Fluent setter for id.
      Parameters:
      id - id
      Returns:
      this
    • getId

      public String getId()
      Gets the value of id.
      Returns:
      id
    • setId

      public void setId(String id)
      Sets the value of id.
      Parameters:
      id - id
    • key

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

      public ContentProperty key(String key)
      Fluent setter for key.
      Parameters:
      key - key
      Returns:
      this
    • getKey

      public String getKey()
      Gets the value of key.
      Returns:
      key
    • setKey

      public void setKey(String key)
      Sets the value of key.
      Parameters:
      key - key
    • value

      public Object value()
      Fluent getter for value.

      The value of the content property. This can be empty or a complex object.

      Returns:
      value
    • value

      public ContentProperty value(Object value)
      Fluent setter for value.

      The value of the content property. This can be empty or a complex object.

      Parameters:
      value - value
      Returns:
      this
    • getValue

      public Object getValue()
      Gets the value of value.

      The value of the content property. This can be empty or a complex object.

      Returns:
      value
    • setValue

      public void setValue(Object value)
      Sets the value of value.

      The value of the content property. This can be empty or a complex object.

      Parameters:
      value - value
    • version

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

      public ContentProperty version(Map<String,Object> version)
      Fluent setter for version.
      Parameters:
      version - version
      Returns:
      this
    • getVersion

      public Map<String,Object> getVersion()
      Gets the value of version.
      Returns:
      version
    • setVersion

      public void setVersion(Map<String,Object> version)
      Sets the value of version.
      Parameters:
      version - version
    • additionalLinks

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

      public ContentProperty 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
    • additionalExpandable

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

      public ContentProperty additionalExpandable(Expandableabce4D additionalExpandable)
      Fluent setter for additionalExpandable.
      Parameters:
      additionalExpandable - additionalExpandable
      Returns:
      this
    • getAdditionalExpandable

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

      public void setAdditionalExpandable(Expandableabce4D additionalExpandable)
      Sets the value of additionalExpandable.
      Parameters:
      additionalExpandable - additionalExpandable
    • 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