Class GetRestrictionsByOperation

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

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

  • Constructor Details

    • GetRestrictionsByOperation

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

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

      @Internal public GetRestrictionsByOperation(ContentRestriction operationType, Map<String,Object> additionalLinks)
      Constructs a validated instance of GetRestrictionsByOperation.

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

      Parameters:
      operationType - operationType
      additionalLinks - additionalLinks
  • Method Details

    • operationType

      public ContentRestriction operationType()
      Fluent getter for operationType.
      Returns:
      operationType
    • operationType

      public GetRestrictionsByOperation operationType(ContentRestriction operationType)
      Fluent setter for operationType.
      Parameters:
      operationType - operationType
      Returns:
      this
    • getOperationType

      public ContentRestriction getOperationType()
      Gets the value of operationType.
      Returns:
      operationType
    • setOperationType

      public void setOperationType(ContentRestriction operationType)
      Sets the value of operationType.
      Parameters:
      operationType - operationType
    • additionalLinks

      public Map<String,Object> additionalLinks()
      Fluent getter for additionalLinks.
      Returns:
      additionalLinks
    • additionalLinks

      public GetRestrictionsByOperation additionalLinks(Map<String,Object> additionalLinks)
      Fluent setter for additionalLinks.
      Parameters:
      additionalLinks - additionalLinks
      Returns:
      this
    • getAdditionalLinks

      public Map<String,Object> getAdditionalLinks()
      Gets the value of additionalLinks.
      Returns:
      additionalLinks
    • setAdditionalLinks

      public void setAdditionalLinks(Map<String,Object> additionalLinks)
      Sets the value of additionalLinks.
      Parameters:
      additionalLinks - additionalLinks
    • 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