Class ContentPropertyUpdate

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

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

    • value

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

      protected Map<String,Object> version
      The version number of the property.
  • Constructor Details

    • ContentPropertyUpdate

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

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

      @Internal public ContentPropertyUpdate(Object value, Map<String,Object> version)
      Constructs a validated instance of ContentPropertyUpdate.

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

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

    • 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 ContentPropertyUpdate 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.

      The version number of the property.

      Returns:
      version
    • version

      public ContentPropertyUpdate version(Map<String,Object> version)
      Fluent setter for version.

      The version number of the property.

      Parameters:
      version - version
      Returns:
      this
    • getVersion

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

      The version number of the property.

      Returns:
      version
    • setVersion

      public void setVersion(Map<String,Object> version)
      Sets the value of version.

      The version number of the property.

      Parameters:
      version - version
    • 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