Class ContentRestrictionArray

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

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

    • results

      protected List<ContentRestriction> results
    • start

      protected Integer start
    • limit

      protected Integer limit
    • size

      protected Integer size
    • restrictionsHash

      protected String restrictionsHash
      This property is used by the UI to figure out whether a set of restrictions has changed.
  • Constructor Details

    • ContentRestrictionArray

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

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

      @Internal public ContentRestrictionArray(List<ContentRestriction> results, Integer start, Integer limit, Integer size, String restrictionsHash, Map<String,Object> additionalLinks)
      Constructs a validated instance of ContentRestrictionArray.

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

      Parameters:
      results - results
      start - start
      limit - limit
      size - size
      restrictionsHash - This property is used by the UI to figure out whether a set of restrictions has changed.
      additionalLinks - additionalLinks
  • Method Details

    • results

      public List<ContentRestriction> results()
      Fluent getter for results.
      Returns:
      results
    • results

      public ContentRestrictionArray results(List<ContentRestriction> results)
      Fluent setter for results.
      Parameters:
      results - results
      Returns:
      this
    • getResults

      public List<ContentRestriction> getResults()
      Gets the value of results.
      Returns:
      results
    • setResults

      public void setResults(List<ContentRestriction> results)
      Sets the value of results.
      Parameters:
      results - results
    • start

      public Integer start()
      Fluent getter for start.
      Returns:
      start
    • start

      public ContentRestrictionArray start(Integer start)
      Fluent setter for start.
      Parameters:
      start - start
      Returns:
      this
    • getStart

      public Integer getStart()
      Gets the value of start.
      Returns:
      start
    • setStart

      public void setStart(Integer start)
      Sets the value of start.
      Parameters:
      start - start
    • limit

      public Integer limit()
      Fluent getter for limit.
      Returns:
      limit
    • limit

      public ContentRestrictionArray limit(Integer limit)
      Fluent setter for limit.
      Parameters:
      limit - limit
      Returns:
      this
    • getLimit

      public Integer getLimit()
      Gets the value of limit.
      Returns:
      limit
    • setLimit

      public void setLimit(Integer limit)
      Sets the value of limit.
      Parameters:
      limit - limit
    • size

      public Integer size()
      Fluent getter for size.
      Returns:
      size
    • size

      public ContentRestrictionArray size(Integer size)
      Fluent setter for size.
      Parameters:
      size - size
      Returns:
      this
    • getSize

      public Integer getSize()
      Gets the value of size.
      Returns:
      size
    • setSize

      public void setSize(Integer size)
      Sets the value of size.
      Parameters:
      size - size
    • restrictionsHash

      public String restrictionsHash()
      Fluent getter for restrictionsHash.

      This property is used by the UI to figure out whether a set of restrictions has changed.

      Returns:
      restrictionsHash
    • restrictionsHash

      public ContentRestrictionArray restrictionsHash(String restrictionsHash)
      Fluent setter for restrictionsHash.

      This property is used by the UI to figure out whether a set of restrictions has changed.

      Parameters:
      restrictionsHash - restrictionsHash
      Returns:
      this
    • getRestrictionsHash

      public String getRestrictionsHash()
      Gets the value of restrictionsHash.

      This property is used by the UI to figure out whether a set of restrictions has changed.

      Returns:
      restrictionsHash
    • setRestrictionsHash

      public void setRestrictionsHash(String restrictionsHash)
      Sets the value of restrictionsHash.

      This property is used by the UI to figure out whether a set of restrictions has changed.

      Parameters:
      restrictionsHash - restrictionsHash
    • additionalLinks

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

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