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

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

    • key

      protected String key
    • target

      protected String target
      The space or content type that the operation applies to.
  • Constructor Details

    • Operation

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

      @Internal public Operation(String key, String target)
      Constructs a validated instance of Operation.

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

      Parameters:
      key - key
      target - The space or content type that the operation applies to.
    • Operation

      protected Operation()
  • Method Details

    • key

      public String key()
    • target

      public String target()
      The space or content type that the operation applies to.
    • key

      public Operation key(String key)
      Returns:
      this.
    • target

      public Operation target(String target)
      The space or content type that the operation applies to.
      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