Class ButtonLookAndFeel

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

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

    • backgroundColor

      protected String backgroundColor
    • color

      protected String color
  • Constructor Details

    • ButtonLookAndFeel

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

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

      @Internal public ButtonLookAndFeel(String backgroundColor, String color)
      Constructs a validated instance of ButtonLookAndFeel.

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

      Parameters:
      backgroundColor - backgroundColor
      color - color
  • Method Details

    • backgroundColor

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

      public ButtonLookAndFeel backgroundColor(String backgroundColor)
      Fluent setter for backgroundColor.
      Parameters:
      backgroundColor - backgroundColor
      Returns:
      this
    • getBackgroundColor

      public String getBackgroundColor()
      Gets the value of backgroundColor.
      Returns:
      backgroundColor
    • setBackgroundColor

      public void setBackgroundColor(String backgroundColor)
      Sets the value of backgroundColor.
      Parameters:
      backgroundColor - backgroundColor
    • color

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

      public ButtonLookAndFeel 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