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 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
    • SpaceWatch

      protected SpaceWatch()
  • Method Details

    • type

      public String type()
    • watcher

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

      public String spaceKey()
    • labelName

      public String labelName()
    • prefix

      public String prefix()
    • type

      public SpaceWatch type(String type)
      Returns:
      this.
    • watcher

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

      public SpaceWatch spaceKey(String spaceKey)
      Returns:
      this.
    • labelName

      public SpaceWatch labelName(String labelName)
      Returns:
      this.
    • prefix

      public SpaceWatch prefix(String prefix)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object