Class GroupArrayWithLinks
Same as GroupArray but with `_links` property.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.Constructs a validated instance ofGroupArrayWithLinks.GroupArrayWithLinks(List<Group> results, Integer start, Integer limit, Integer size, Long totalSize, Map<String, Object> additionalLinks) Constructs a validated instance ofGroupArrayWithLinks. -
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.Gets the value of totalSize.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<Group> results) Sets the value of results.voidSets the value of size.voidSets the value of start.voidsetTotalSize(Long totalSize) Sets the value of totalSize.size()Fluent getter for size.Fluent setter for size.start()Fluent getter for start.Fluent setter for start.toString()Fluent getter for totalSize.Fluent setter for totalSize.
-
Field Details
-
results
-
start
-
limit
-
size
-
totalSize
This property will return total count of the objects before pagination is applied. This value is returned if `shouldReturnTotalSize` is set to `true`. -
additionalLinks
-
-
Constructor Details
-
GroupArrayWithLinks
Constructs a validated instance ofGroupArrayWithLinks.- Parameters:
spec- the specification to process
-
GroupArrayWithLinks
@Internal protected GroupArrayWithLinks()Protected no-args constructor for use by serialization frameworks. -
GroupArrayWithLinks
@Internal public GroupArrayWithLinks(List<Group> results, Integer start, Integer limit, Integer size, Long totalSize, Map<String, Object> additionalLinks) Constructs a validated instance ofGroupArrayWithLinks.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
GroupArrayWithLinks(Consumer)instead.- Parameters:
results- resultsstart- startlimit- limitsize- sizetotalSize- This property will return total count of the objects before pagination is applied. This value is returned if `shouldReturnTotalSize` is set to `true`.additionalLinks- 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
-
totalSize
Fluent getter for totalSize.This property will return total count of the objects before pagination is applied. This value is returned if `shouldReturnTotalSize` is set to `true`.
- Returns:
- totalSize
-
totalSize
Fluent setter for totalSize.This property will return total count of the objects before pagination is applied. This value is returned if `shouldReturnTotalSize` is set to `true`.
- Parameters:
totalSize- totalSize- Returns:
- this
-
getTotalSize
Gets the value of totalSize.This property will return total count of the objects before pagination is applied. This value is returned if `shouldReturnTotalSize` is set to `true`.
- Returns:
- totalSize
-
setTotalSize
Sets the value of totalSize.This property will return total count of the objects before pagination is applied. This value is returned if `shouldReturnTotalSize` is set to `true`.
- Parameters:
totalSize- totalSize
-
additionalLinks
-
additionalLinks
Fluent setter for additionalLinks.- Parameters:
additionalLinks- additionalLinks- Returns:
- this
-
getAdditionalLinks
-
setAdditionalLinks
-
equals
-
hashCode
-
toString
-