Class SpaceWatch
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.SpaceWatch
SpaceWatch
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.Constructs a validated instance ofSpaceWatch.SpaceWatch(Consumer<SpaceWatch> spec) Constructs a validated instance ofSpaceWatch. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of labelName.Gets the value of prefix.Gets the value of spaceKey.getType()Gets the value of type.Gets the value of watcher.inthashCode()Fluent getter for labelName.Fluent setter for labelName.prefix()Fluent getter for prefix.Fluent setter for prefix.voidsetLabelName(String labelName) Sets the value of labelName.voidSets the value of prefix.voidsetSpaceKey(String spaceKey) Sets the value of spaceKey.voidSets the value of type.voidsetWatcher(WatchUser watcher) Sets the value of watcher.spaceKey()Fluent getter for spaceKey.Fluent setter for spaceKey.toString()type()Fluent getter for type.Fluent setter for type.watcher()Fluent getter for watcher.Fluent setter for watcher.
-
Field Details
-
type
-
watcher
This essentially the same as the `User` object, but no `_links` property and no `_expandable` property (therefore, different required fields). -
spaceKey
-
labelName
-
prefix
-
-
Constructor Details
-
SpaceWatch
Constructs a validated instance ofSpaceWatch.- Parameters:
spec- the specification to process
-
SpaceWatch
@Internal protected SpaceWatch()Protected no-args constructor for use by serialization frameworks. -
SpaceWatch
@Internal public SpaceWatch(String type, WatchUser watcher, String spaceKey, String labelName, String prefix) Constructs a validated instance ofSpaceWatch.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
SpaceWatch(Consumer)instead.- Parameters:
type- typewatcher- This essentially the same as the `User` object, but no `_links` property and no `_expandable` property (therefore, different required fields).spaceKey- spaceKeylabelName- labelNameprefix- prefix
-
-
Method Details
-
type
-
type
-
getType
-
setType
-
watcher
Fluent getter for watcher.This essentially the same as the `User` object, but no `_links` property and no `_expandable` property (therefore, different required fields).
- Returns:
- watcher
-
watcher
Fluent setter for watcher.This essentially the same as the `User` object, but no `_links` property and no `_expandable` property (therefore, different required fields).
- Parameters:
watcher- watcher- Returns:
- this
-
getWatcher
Gets the value of watcher.This essentially the same as the `User` object, but no `_links` property and no `_expandable` property (therefore, different required fields).
- Returns:
- watcher
-
setWatcher
Sets the value of watcher.This essentially the same as the `User` object, but no `_links` property and no `_expandable` property (therefore, different required fields).
- Parameters:
watcher- watcher
-
spaceKey
-
spaceKey
Fluent setter for spaceKey.- Parameters:
spaceKey- spaceKey- Returns:
- this
-
getSpaceKey
-
setSpaceKey
Sets the value of spaceKey.- Parameters:
spaceKey- spaceKey
-
labelName
-
labelName
Fluent setter for labelName.- Parameters:
labelName- labelName- Returns:
- this
-
getLabelName
-
setLabelName
Sets the value of labelName.- Parameters:
labelName- labelName
-
prefix
-
prefix
Fluent setter for prefix.- Parameters:
prefix- prefix- Returns:
- this
-
getPrefix
-
setPrefix
-
equals
-
hashCode
-
toString
-