Class SpacePropertyCreate

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

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

    • key

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

      protected Object value
      The value of the property. This can be empty or a complex object. 64KB Size Limit For example, ``` "value": { "example1": "value", "example2": true, "example3": 123, "example4": ["value1", "value2"], } ```
    • space

      protected Map<String,Object> space
  • Constructor Details

    • SpacePropertyCreate

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

      @Internal public SpacePropertyCreate(String key, Object value, Map<String,Object> space)
      Constructs a validated instance of SpacePropertyCreate.

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

      Parameters:
      key - The key of the new property.
      value - The value of the property. This can be empty or a complex object. 64KB Size Limit For example, ``` "value": { "example1": "value", "example2": true, "example3": 123, "example4": ["value1", "value2"], } ```
      space - space
    • SpacePropertyCreate

      protected SpacePropertyCreate()
  • Method Details

    • key

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

      public Object value()
      The value of the property. This can be empty or a complex object. 64KB Size Limit For example, ``` "value": { "example1": "value", "example2": true, "example3": 123, "example4": ["value1", "value2"], } ```
    • space

      public Map<String,Object> space()
    • key

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

      public SpacePropertyCreate value(Object value)
      The value of the property. This can be empty or a complex object. 64KB Size Limit For example, ``` "value": { "example1": "value", "example2": true, "example3": 123, "example4": ["value1", "value2"], } ```
      Returns:
      this.
    • space

      public SpacePropertyCreate space(Map<String,Object> space)
      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