Class ContentRestriction

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

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

    • operation

      protected String operation
    • restrictions

      protected Restrictions88A50A restrictions
    • content

      protected Content content
      Base object for all content types. Representation of a blogpost (content)
    • additionalExpandable

      protected Expandablea42744 additionalExpandable
  • Constructor Details

    • ContentRestriction

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

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

      @Internal public ContentRestriction(String operation, Restrictions88A50A restrictions, Content content, Expandablea42744 additionalExpandable, Map<String,Object> additionalLinks)
      Constructs a validated instance of ContentRestriction.

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

      Parameters:
      operation - operation
      restrictions - restrictions
      content - Base object for all content types. Representation of a blogpost (content)
      additionalExpandable - additionalExpandable
      additionalLinks - additionalLinks
  • Method Details

    • operation

      public String operation()
      Fluent getter for operation.
      Returns:
      operation
    • operation

      public ContentRestriction operation(String operation)
      Fluent setter for operation.
      Parameters:
      operation - operation
      Returns:
      this
    • getOperation

      public String getOperation()
      Gets the value of operation.
      Returns:
      operation
    • setOperation

      public void setOperation(String operation)
      Sets the value of operation.
      Parameters:
      operation - operation
    • restrictions

      public Restrictions88A50A restrictions()
      Fluent getter for restrictions.
      Returns:
      restrictions
    • restrictions

      public ContentRestriction restrictions(Restrictions88A50A restrictions)
      Fluent setter for restrictions.
      Parameters:
      restrictions - restrictions
      Returns:
      this
    • getRestrictions

      public Restrictions88A50A getRestrictions()
      Gets the value of restrictions.
      Returns:
      restrictions
    • setRestrictions

      public void setRestrictions(Restrictions88A50A restrictions)
      Sets the value of restrictions.
      Parameters:
      restrictions - restrictions
    • content

      public Content content()
      Fluent getter for content.

      Base object for all content types. Representation of a blogpost (content)

      Returns:
      content
    • content

      public ContentRestriction content(Content content)
      Fluent setter for content.

      Base object for all content types. Representation of a blogpost (content)

      Parameters:
      content - content
      Returns:
      this
    • getContent

      public Content getContent()
      Gets the value of content.

      Base object for all content types. Representation of a blogpost (content)

      Returns:
      content
    • setContent

      public void setContent(Content content)
      Sets the value of content.

      Base object for all content types. Representation of a blogpost (content)

      Parameters:
      content - content
    • additionalExpandable

      public Expandablea42744 additionalExpandable()
      Fluent getter for additionalExpandable.
      Returns:
      additionalExpandable
    • additionalExpandable

      public ContentRestriction additionalExpandable(Expandablea42744 additionalExpandable)
      Fluent setter for additionalExpandable.
      Parameters:
      additionalExpandable - additionalExpandable
      Returns:
      this
    • getAdditionalExpandable

      public Expandablea42744 getAdditionalExpandable()
      Gets the value of additionalExpandable.
      Returns:
      additionalExpandable
    • setAdditionalExpandable

      public void setAdditionalExpandable(Expandablea42744 additionalExpandable)
      Sets the value of additionalExpandable.
      Parameters:
      additionalExpandable - additionalExpandable
    • additionalLinks

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

      public ContentRestriction 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