Class Watch
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Watch
Watch
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for contentId.Fluent setter for contentId.booleanGets the value of contentId.getType()Gets the value of type.Gets the value of watcher.inthashCode()voidsetContentId(Long contentId) Sets the value of contentId.voidSets the value of type.voidsetWatcher(WatchUser watcher) Sets the value of watcher.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). -
contentId
-
-
Constructor Details
-
Watch
-
Watch
@Internal protected Watch()Protected no-args constructor for use by serialization frameworks. -
Watch
Constructs a validated instance ofWatch.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Watch(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).contentId- contentId
-
-
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
-
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
-
contentId
-
contentId
-
getContentId
-
setContentId
Sets the value of contentId.- Parameters:
contentId- contentId
-
equals
-
hashCode
-
toString
-