Class UserWatch

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

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

    • watching

      protected Boolean watching
  • Constructor Details

    • UserWatch

      public UserWatch(Consumer<UserWatch> spec)
      Constructs a validated instance of UserWatch.
      Parameters:
      spec - the specification to process
    • UserWatch

      @Internal protected UserWatch()
      Protected no-args constructor for use by serialization frameworks.
    • UserWatch

      @Internal public UserWatch(Boolean watching)
      Constructs a validated instance of UserWatch.

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

      Parameters:
      watching - watching
  • Method Details

    • watching

      public Boolean watching()
      Fluent getter for watching.
      Returns:
      watching
    • watching

      public UserWatch watching(Boolean watching)
      Fluent setter for watching.
      Parameters:
      watching - watching
      Returns:
      this
    • getWatching

      public Boolean getWatching()
      Gets the value of watching.
      Returns:
      watching
    • setWatching

      public void setWatching(Boolean watching)
      Sets the value of watching.
      Parameters:
      watching - watching
    • 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