Class ContentRestrictionArray
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.ContentRestrictionArray
ContentRestrictionArray
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.Constructs a validated instance ofContentRestrictionArray.ContentRestrictionArray(List<ContentRestriction> results, Integer start, Integer limit, Integer size, String restrictionsHash, Map<String, Object> additionalLinks) Constructs a validated instance ofContentRestrictionArray. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalLinks.additionalLinks(Map<String, Object> additionalLinks) Fluent setter for additionalLinks.booleanGets the value of additionalLinks.getLimit()Gets the value of limit.Gets the value of restrictionsHash.Gets the value of results.getSize()Gets the value of size.getStart()Gets the value of start.inthashCode()limit()Fluent getter for limit.Fluent setter for limit.Fluent getter for restrictionsHash.restrictionsHash(String restrictionsHash) Fluent setter for restrictionsHash.results()Fluent getter for results.results(List<ContentRestriction> results) Fluent setter for results.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidSets the value of limit.voidsetRestrictionsHash(String restrictionsHash) Sets the value of restrictionsHash.voidsetResults(List<ContentRestriction> results) Sets the value of results.voidSets the value of size.voidSets the value of start.size()Fluent getter for size.Fluent setter for size.start()Fluent getter for start.Fluent setter for start.toString()
-
Field Details
-
results
-
start
-
limit
-
size
-
restrictionsHash
This property is used by the UI to figure out whether a set of restrictions has changed. -
additionalLinks
-
-
Constructor Details
-
ContentRestrictionArray
Constructs a validated instance ofContentRestrictionArray.- 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 ofContentRestrictionArray.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ContentRestrictionArray(Consumer)instead.- Parameters:
results- resultsstart- startlimit- limitsize- sizerestrictionsHash- This property is used by the UI to figure out whether a set of restrictions has changed.additionalLinks- additionalLinks
-
-
Method Details
-
results
-
results
Fluent setter for results.- Parameters:
results- results- Returns:
- this
-
getResults
-
setResults
Sets the value of results.- Parameters:
results- results
-
start
-
start
Fluent setter for start.- Parameters:
start- start- Returns:
- this
-
getStart
-
setStart
-
limit
-
limit
Fluent setter for limit.- Parameters:
limit- limit- Returns:
- this
-
getLimit
-
setLimit
-
size
-
size
Fluent setter for size.- Parameters:
size- size- Returns:
- this
-
getSize
-
setSize
-
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
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
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
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
-
additionalLinks
Fluent setter for additionalLinks.- Parameters:
additionalLinks- additionalLinks- Returns:
- this
-
getAdditionalLinks
-
setAdditionalLinks
-
equals
-
hashCode
-
toString
-