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 protected SpacePropertyCreate()
      Protected no-args constructor for use by serialization frameworks.
    • 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
  • Method Details

    • key

      public String key()
      Fluent getter for key.

      The key of the new property.

      Returns:
      key
    • key

      public SpacePropertyCreate key(String key)
      Fluent setter for key.

      The key of the new property.

      Parameters:
      key - key
      Returns:
      this
    • getKey

      public String getKey()
      Gets the value of key.

      The key of the new property.

      Returns:
      key
    • setKey

      public void setKey(String key)
      Sets the value of key.

      The key of the new property.

      Parameters:
      key - key
    • value

      public Object value()
      Fluent getter for 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:
      value
    • value

      public SpacePropertyCreate value(Object value)
      Fluent setter for 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"], } ```

      Parameters:
      value - value
      Returns:
      this
    • getValue

      public Object getValue()
      Gets the value of 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:
      value
    • setValue

      public void setValue(Object value)
      Sets the value of 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"], } ```

      Parameters:
      value - value
    • space

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

      public SpacePropertyCreate space(Map<String,Object> space)
      Fluent setter for space.
      Parameters:
      space - space
      Returns:
      this
    • getSpace

      public Map<String,Object> getSpace()
      Gets the value of space.
      Returns:
      space
    • setSpace

      public void setSpace(Map<String,Object> space)
      Sets the value of space.
      Parameters:
      space - space
    • 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