Class RelationArray
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.RelationArray
RelationArray
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.RelationArray(Consumer<RelationArray> spec) Constructs a validated instance ofRelationArray.RelationArray(List<Relation> results, Integer start, Integer limit, Integer size, Map<String, Object> additionalLinks) Constructs a validated instance ofRelationArray. -
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 results.getSize()Gets the value of size.getStart()Gets the value of start.inthashCode()limit()Fluent getter for limit.Fluent setter for limit.results()Fluent getter for results.Fluent setter for results.voidsetAdditionalLinks(Map<String, Object> additionalLinks) Sets the value of additionalLinks.voidSets the value of limit.voidsetResults(List<Relation> 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
-
additionalLinks
-
-
Constructor Details
-
RelationArray
Constructs a validated instance ofRelationArray.- Parameters:
spec- the specification to process
-
RelationArray
@Internal protected RelationArray()Protected no-args constructor for use by serialization frameworks. -
RelationArray
@Internal public RelationArray(List<Relation> results, Integer start, Integer limit, Integer size, Map<String, Object> additionalLinks) Constructs a validated instance ofRelationArray.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
RelationArray(Consumer)instead.- Parameters:
results- resultsstart- startlimit- limitsize- sizeadditionalLinks- additionalLinks
-
-
Method Details
-
results
-
results
Fluent setter for results.- Parameters:
results- results- Returns:
- this
-
getResults
-
setResults
-
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
-
additionalLinks
-
additionalLinks
Fluent setter for additionalLinks.- Parameters:
additionalLinks- additionalLinks- Returns:
- this
-
getAdditionalLinks
-
setAdditionalLinks
-
equals
-
hashCode
-
toString
-