Class OperationsItem

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

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

    • key

      protected String key
      The operation type
    • target

      protected String target
      The custom content type
    • access

      protected Boolean access
      Grant or restrict access
  • Constructor Details

    • OperationsItem

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

      @Internal public OperationsItem(String key, String target, Boolean access)
      Constructs a validated instance of OperationsItem.

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

      Parameters:
      key - The operation type
      target - The custom content type
      access - Grant or restrict access
    • OperationsItem

      protected OperationsItem()
  • Method Details

    • key

      public String key()
      The operation type
    • target

      public String target()
      The custom content type
    • access

      public Boolean access()
      Grant or restrict access
    • key

      public OperationsItem key(String key)
      The operation type
      Returns:
      this.
    • target

      public OperationsItem target(String target)
      The custom content type
      Returns:
      this.
    • access

      public OperationsItem access(Boolean access)
      Grant or restrict access
      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