Class ThemeNoLinks
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ThemeNoLinks
ThemeNoLinks
Theme object without links. Used in ThemeArray.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.ThemeNoLinks(String themeKey, String name, String description, Icon icon) Constructs a validated instance ofThemeNoLinks.ThemeNoLinks(Consumer<ThemeNoLinks> spec) Constructs a validated instance ofThemeNoLinks. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for description.description(String description) Fluent setter for description.booleanGets 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.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.
-
-
Constructor Details
-
ThemeNoLinks
Constructs a validated instance ofThemeNoLinks.- Parameters:
spec- the specification to process
-
ThemeNoLinks
@Internal protected ThemeNoLinks()Protected no-args constructor for use by serialization frameworks. -
ThemeNoLinks
Constructs a validated instance ofThemeNoLinks.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ThemeNoLinks(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.
-
-
Method Details
-
themeKey
-
themeKey
Fluent setter for themeKey.- Parameters:
themeKey- themeKey- Returns:
- this
-
getThemeKey
-
setThemeKey
Sets the value of themeKey.- Parameters:
themeKey- themeKey
-
name
-
name
-
getName
-
setName
-
description
-
description
Fluent setter for description.- Parameters:
description- description- Returns:
- this
-
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
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
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
-
equals
-
hashCode
-
toString
-