Class Theme

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

@Generated("io.github.primelib.primecodegen") public class Theme extends Object
Theme
  • 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

    • Theme

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

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

      @Internal public Theme(String themeKey, String name, String description, Icon icon, Map<String,Object> additionalLinks)
      Constructs a validated instance of Theme.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using Theme(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.
      additionalLinks - additionalLinks
  • Method Details

    • themeKey

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

      public Theme 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 Theme 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 Theme 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 Theme 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
    • additionalLinks

      public Map<String,Object> additionalLinks()
      Fluent getter for additionalLinks.
      Returns:
      additionalLinks
    • additionalLinks

      public Theme additionalLinks(Map<String,Object> additionalLinks)
      Fluent setter for additionalLinks.
      Parameters:
      additionalLinks - additionalLinks
      Returns:
      this
    • getAdditionalLinks

      public Map<String,Object> getAdditionalLinks()
      Gets the value of additionalLinks.
      Returns:
      additionalLinks
    • setAdditionalLinks

      public void setAdditionalLinks(Map<String,Object> additionalLinks)
      Sets the value of additionalLinks.
      Parameters:
      additionalLinks - additionalLinks
    • 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