Class ThemeNoLinks

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

@Generated("io.github.primelib.primecodegen") public class ThemeNoLinks extends Object
ThemeNoLinks

Theme object without links. Used in ThemeArray.

  • Field Details

    • themeKey

      protected String themeKey
    • name

      protected String name
    • description

      protected String description
    • icon

      protected Icon icon
      This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.
  • Constructor Details

    • ThemeNoLinks

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

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

      @Internal public ThemeNoLinks(String themeKey, String name, String description, Icon icon)
      Constructs a validated instance of ThemeNoLinks.

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

      Parameters:
      themeKey - themeKey
      name - name
      description - description
      icon - This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.
  • Method Details

    • themeKey

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

      public ThemeNoLinks themeKey(String themeKey)
      Fluent setter for themeKey.
      Parameters:
      themeKey - themeKey
      Returns:
      this
    • getThemeKey

      public String getThemeKey()
      Gets the value of themeKey.
      Returns:
      themeKey
    • setThemeKey

      public void setThemeKey(String themeKey)
      Sets the value of themeKey.
      Parameters:
      themeKey - themeKey
    • name

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

      public ThemeNoLinks name(String name)
      Fluent setter for name.
      Parameters:
      name - name
      Returns:
      this
    • getName

      public String getName()
      Gets the value of name.
      Returns:
      name
    • setName

      public void setName(String name)
      Sets the value of name.
      Parameters:
      name - name
    • description

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

      public ThemeNoLinks description(String description)
      Fluent setter for description.
      Parameters:
      description - description
      Returns:
      this
    • getDescription

      public String getDescription()
      Gets the value of description.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
      Sets the value of description.
      Parameters:
      description - description
    • icon

      public Icon icon()
      Fluent getter for icon.

      This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.

      Returns:
      icon
    • icon

      public ThemeNoLinks icon(Icon icon)
      Fluent setter for icon.

      This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.

      Parameters:
      icon - icon
      Returns:
      this
    • getIcon

      public Icon getIcon()
      Gets the value of icon.

      This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.

      Returns:
      icon
    • setIcon

      public void setIcon(Icon icon)
      Sets the value of icon.

      This object represents an icon. If used as a profilePicture, this may be returned as null, depending on the user's privacy setting.

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