Class GroupArrayWithLinks

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

@Generated("io.github.primelib.primecodegen") public class GroupArrayWithLinks extends Object
GroupArrayWithLinks

Same as GroupArray but with `_links` property.

  • Field Details

    • results

      protected List<Group> results
    • start

      protected Integer start
    • limit

      protected Integer limit
    • size

      protected Integer size
    • totalSize

      protected Long totalSize
      This property will return total count of the objects before pagination is applied. This value is returned if `shouldReturnTotalSize` is set to `true`.
  • Constructor Details

    • GroupArrayWithLinks

      public GroupArrayWithLinks(Consumer<GroupArrayWithLinks> spec)
      Constructs a validated instance of GroupArrayWithLinks.
      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 of GroupArrayWithLinks.

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

      Parameters:
      results - results
      start - start
      limit - limit
      size - 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 - additionalLinks
  • Method Details

    • results

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

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

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

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

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

      public GroupArrayWithLinks 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 GroupArrayWithLinks 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 GroupArrayWithLinks 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
    • totalSize

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

      public GroupArrayWithLinks totalSize(Long 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

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

      public void setTotalSize(Long totalSize)
      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

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

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