Class LookAndFeelSettings

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

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

    • selected

      protected String selected
    • global

      protected LookAndFeel global
      Look and feel settings returned after an update.
    • theme

      protected LookAndFeel theme
      Look and feel settings returned after an update.
    • custom

      protected LookAndFeel custom
      Look and feel settings returned after an update.
  • Constructor Details

    • LookAndFeelSettings

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

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

      @Internal public LookAndFeelSettings(String selected, LookAndFeel global, LookAndFeel theme, LookAndFeel custom)
      Constructs a validated instance of LookAndFeelSettings.

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

      Parameters:
      selected - selected
      global - Look and feel settings returned after an update.
      theme - Look and feel settings returned after an update.
      custom - Look and feel settings returned after an update.
  • Method Details

    • selected

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

      public LookAndFeelSettings selected(String selected)
      Fluent setter for selected.
      Parameters:
      selected - selected
      Returns:
      this
    • getSelected

      public String getSelected()
      Gets the value of selected.
      Returns:
      selected
    • setSelected

      public void setSelected(String selected)
      Sets the value of selected.
      Parameters:
      selected - selected
    • global

      public LookAndFeel global()
      Fluent getter for global.

      Look and feel settings returned after an update.

      Returns:
      global
    • global

      public LookAndFeelSettings global(LookAndFeel global)
      Fluent setter for global.

      Look and feel settings returned after an update.

      Parameters:
      global - global
      Returns:
      this
    • getGlobal

      public LookAndFeel getGlobal()
      Gets the value of global.

      Look and feel settings returned after an update.

      Returns:
      global
    • setGlobal

      public void setGlobal(LookAndFeel global)
      Sets the value of global.

      Look and feel settings returned after an update.

      Parameters:
      global - global
    • theme

      public LookAndFeel theme()
      Fluent getter for theme.

      Look and feel settings returned after an update.

      Returns:
      theme
    • theme

      public LookAndFeelSettings theme(LookAndFeel theme)
      Fluent setter for theme.

      Look and feel settings returned after an update.

      Parameters:
      theme - theme
      Returns:
      this
    • getTheme

      public LookAndFeel getTheme()
      Gets the value of theme.

      Look and feel settings returned after an update.

      Returns:
      theme
    • setTheme

      public void setTheme(LookAndFeel theme)
      Sets the value of theme.

      Look and feel settings returned after an update.

      Parameters:
      theme - theme
    • custom

      public LookAndFeel custom()
      Fluent getter for custom.

      Look and feel settings returned after an update.

      Returns:
      custom
    • custom

      public LookAndFeelSettings custom(LookAndFeel custom)
      Fluent setter for custom.

      Look and feel settings returned after an update.

      Parameters:
      custom - custom
      Returns:
      this
    • getCustom

      public LookAndFeel getCustom()
      Gets the value of custom.

      Look and feel settings returned after an update.

      Returns:
      custom
    • setCustom

      public void setCustom(LookAndFeel custom)
      Sets the value of custom.

      Look and feel settings returned after an update.

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