Class Theme
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Theme
Theme
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTheme()Protected no-args constructor for use by serialization frameworks.Theme(String themeKey, String name, String description, Icon icon, Map<String, Object> additionalLinks) Constructs a validated instance ofTheme.Constructs a validated instance ofTheme. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.Fluent getter for description.description(String description) Fluent setter for description.booleanGets the value of additionalLinks.Gets the value of description.getIcon()Gets the value of icon.getName()Gets the value of name.Gets the value of themeKey.inthashCode()icon()Fluent getter for icon.Fluent setter for icon.name()Fluent getter for name.Fluent setter for name.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidsetDescription(String description) Sets the value of description.voidSets the value of icon.voidSets the value of name.voidsetThemeKey(String themeKey) Sets the value of themeKey.themeKey()Fluent getter for themeKey.Fluent setter for themeKey.toString()
-
Field Details
-
themeKey
-
name
-
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
-
-
Constructor Details
-
Theme
-
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 ofTheme.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Theme(Consumer)instead.- Parameters:
themeKey- themeKeyname- namedescription- descriptionicon- 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
-
themeKey
-
getThemeKey
-
setThemeKey
Sets the value of themeKey.- Parameters:
themeKey- themeKey
-
name
-
name
-
getName
-
setName
-
description
-
description
-
getDescription
-
setDescription
Sets the value of description.- Parameters:
description- description
-
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
-
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
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
-
additionalLinks
-
getAdditionalLinks
-
setAdditionalLinks
-
equals
-
hashCode
-
toString
-