Class Plain

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

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

    • value

      protected String value
      The space description.
    • representation

      protected String representation
      Set to 'plain'.
  • Constructor Details

    • Plain

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

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

      @Internal public Plain(String value, String representation)
      Constructs a validated instance of Plain.

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

      Parameters:
      value - The space description.
      representation - Set to 'plain'.
  • Method Details

    • value

      public String value()
      Fluent getter for value.

      The space description.

      Returns:
      value
    • value

      public Plain value(String value)
      Fluent setter for value.

      The space description.

      Parameters:
      value - value
      Returns:
      this
    • getValue

      public String getValue()
      Gets the value of value.

      The space description.

      Returns:
      value
    • setValue

      public void setValue(String value)
      Sets the value of value.

      The space description.

      Parameters:
      value - value
    • representation

      public String representation()
      Fluent getter for representation.

      Set to 'plain'.

      Returns:
      representation
    • representation

      public Plain representation(String representation)
      Fluent setter for representation.

      Set to 'plain'.

      Parameters:
      representation - representation
      Returns:
      this
    • getRepresentation

      public String getRepresentation()
      Gets the value of representation.

      Set to 'plain'.

      Returns:
      representation
    • setRepresentation

      public void setRepresentation(String representation)
      Sets the value of representation.

      Set to 'plain'.

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