Class SpaceWatch

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

@Generated("io.github.primelib.primecodegen") public class SpaceWatch extends Object
SpaceWatch
  • Field Details

    • type

      protected String type
    • watcher

      protected WatchUser watcher
      This essentially the same as the `User` object, but no `_links` property and no `_expandable` property (therefore, different required fields).
    • spaceKey

      protected String spaceKey
    • labelName

      protected String labelName
    • prefix

      protected String prefix
  • Constructor Details

    • SpaceWatch

      public SpaceWatch(Consumer<SpaceWatch> spec)
      Constructs a validated instance of SpaceWatch.
      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 of SpaceWatch.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using SpaceWatch(Consumer) instead.

      Parameters:
      type - type
      watcher - This essentially the same as the `User` object, but no `_links` property and no `_expandable` property (therefore, different required fields).
      spaceKey - spaceKey
      labelName - labelName
      prefix - prefix
  • Method Details

    • type

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

      public SpaceWatch type(String type)
      Fluent setter for type.
      Parameters:
      type - type
      Returns:
      this
    • getType

      public String getType()
      Gets the value of type.
      Returns:
      type
    • setType

      public void setType(String type)
      Sets the value of type.
      Parameters:
      type - type
    • watcher

      public WatchUser 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

      public SpaceWatch watcher(WatchUser 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

      public WatchUser 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

      public void setWatcher(WatchUser watcher)
      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

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

      public SpaceWatch spaceKey(String spaceKey)
      Fluent setter for spaceKey.
      Parameters:
      spaceKey - spaceKey
      Returns:
      this
    • getSpaceKey

      public String getSpaceKey()
      Gets the value of spaceKey.
      Returns:
      spaceKey
    • setSpaceKey

      public void setSpaceKey(String spaceKey)
      Sets the value of spaceKey.
      Parameters:
      spaceKey - spaceKey
    • labelName

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

      public SpaceWatch labelName(String labelName)
      Fluent setter for labelName.
      Parameters:
      labelName - labelName
      Returns:
      this
    • getLabelName

      public String getLabelName()
      Gets the value of labelName.
      Returns:
      labelName
    • setLabelName

      public void setLabelName(String labelName)
      Sets the value of labelName.
      Parameters:
      labelName - labelName
    • prefix

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

      public SpaceWatch prefix(String prefix)
      Fluent setter for prefix.
      Parameters:
      prefix - prefix
      Returns:
      this
    • getPrefix

      public String getPrefix()
      Gets the value of prefix.
      Returns:
      prefix
    • setPrefix

      public void setPrefix(String prefix)
      Sets the value of prefix.
      Parameters:
      prefix - prefix
    • 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