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 protected OperationsItem()
      Protected no-args constructor for use by serialization frameworks.
    • 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
  • Method Details

    • key

      public String key()
      Fluent getter for key.

      The operation type

      Returns:
      key
    • key

      public OperationsItem key(String key)
      Fluent setter for key.

      The operation type

      Parameters:
      key - key
      Returns:
      this
    • getKey

      public String getKey()
      Gets the value of key.

      The operation type

      Returns:
      key
    • setKey

      public void setKey(String key)
      Sets the value of key.

      The operation type

      Parameters:
      key - key
    • target

      public String target()
      Fluent getter for target.

      The custom content type

      Returns:
      target
    • target

      public OperationsItem target(String target)
      Fluent setter for target.

      The custom content type

      Parameters:
      target - target
      Returns:
      this
    • getTarget

      public String getTarget()
      Gets the value of target.

      The custom content type

      Returns:
      target
    • setTarget

      public void setTarget(String target)
      Sets the value of target.

      The custom content type

      Parameters:
      target - target
    • access

      public Boolean access()
      Fluent getter for access.

      Grant or restrict access

      Returns:
      access
    • access

      public OperationsItem access(Boolean access)
      Fluent setter for access.

      Grant or restrict access

      Parameters:
      access - access
      Returns:
      this
    • getAccess

      public Boolean getAccess()
      Gets the value of access.

      Grant or restrict access

      Returns:
      access
    • setAccess

      public void setAccess(Boolean access)
      Sets the value of access.

      Grant or restrict access

      Parameters:
      access - access
    • 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