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

      protected ContentPropertyUpdate()
  • Method Details

    • value

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

      public Map<String,Object> version()
      The version number of the property.
    • value

      public ContentPropertyUpdate value(Object value)
      The value of the content property. This can be empty or a complex object.
      Returns:
      this.
    • version

      public ContentPropertyUpdate version(Map<String,Object> version)
      The version number of the property.
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object