Class ContentPropertyCreate

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

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

    • key

      protected String key
      The key of the new property.
    • value

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

    • ContentPropertyCreate

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

      @Internal public ContentPropertyCreate(String key, Object value)
      Constructs a validated instance of ContentPropertyCreate.

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

      Parameters:
      key - The key of the new property.
      value - The value of the content property. This can be empty or a complex object.
    • ContentPropertyCreate

      protected ContentPropertyCreate()
  • Method Details

    • key

      public String key()
      The key of the new property.
    • value

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

      public ContentPropertyCreate key(String key)
      The key of the new property.
      Returns:
      this.
    • value

      public ContentPropertyCreate value(Object value)
      The value of the content property. This can be empty or a complex object.
      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