Class Headings

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

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

    • color

      protected String color
  • Constructor Details

    • Headings

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

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

      @Internal public Headings(String color)
      Constructs a validated instance of Headings.

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

      Parameters:
      color - color
  • Method Details

    • color

      public String color()
      Fluent getter for color.
      Returns:
      color
    • color

      public Headings color(String color)
      Fluent setter for color.
      Parameters:
      color - color
      Returns:
      this
    • getColor

      public String getColor()
      Gets the value of color.
      Returns:
      color
    • setColor

      public void setColor(String color)
      Sets the value of color.
      Parameters:
      color - color
    • 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