Class SearchPageResponseSearchResult

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

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

  • Constructor Details

    • SearchPageResponseSearchResult

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

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

      @Internal public SearchPageResponseSearchResult(List<SearchResult> results, Integer start, Integer limit, Integer size, Integer totalSize, String cqlQuery, Integer searchDuration, Integer archivedResultCount, Map<String,Object> additionalLinks)
      Constructs a validated instance of SearchPageResponseSearchResult.

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

      Parameters:
      results - results
      start - start
      limit - limit
      size - size
      totalSize - totalSize
      cqlQuery - cqlQuery
      searchDuration - searchDuration
      archivedResultCount - archivedResultCount
      additionalLinks - additionalLinks
  • Method Details

    • results

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

      Fluent setter for results.
      Parameters:
      results - results
      Returns:
      this
    • getResults

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

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

      public Integer start()
      Fluent getter for start.
      Returns:
      start
    • 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

      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

      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 Integer totalSize()
      Fluent getter for totalSize.
      Returns:
      totalSize
    • totalSize

      public SearchPageResponseSearchResult totalSize(Integer totalSize)
      Fluent setter for totalSize.
      Parameters:
      totalSize - totalSize
      Returns:
      this
    • getTotalSize

      public Integer getTotalSize()
      Gets the value of totalSize.
      Returns:
      totalSize
    • setTotalSize

      public void setTotalSize(Integer totalSize)
      Sets the value of totalSize.
      Parameters:
      totalSize - totalSize
    • cqlQuery

      public String cqlQuery()
      Fluent getter for cqlQuery.
      Returns:
      cqlQuery
    • cqlQuery

      public SearchPageResponseSearchResult cqlQuery(String cqlQuery)
      Fluent setter for cqlQuery.
      Parameters:
      cqlQuery - cqlQuery
      Returns:
      this
    • getCqlQuery

      public String getCqlQuery()
      Gets the value of cqlQuery.
      Returns:
      cqlQuery
    • setCqlQuery

      public void setCqlQuery(String cqlQuery)
      Sets the value of cqlQuery.
      Parameters:
      cqlQuery - cqlQuery
    • searchDuration

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

      public SearchPageResponseSearchResult searchDuration(Integer searchDuration)
      Fluent setter for searchDuration.
      Parameters:
      searchDuration - searchDuration
      Returns:
      this
    • getSearchDuration

      public Integer getSearchDuration()
      Gets the value of searchDuration.
      Returns:
      searchDuration
    • setSearchDuration

      public void setSearchDuration(Integer searchDuration)
      Sets the value of searchDuration.
      Parameters:
      searchDuration - searchDuration
    • archivedResultCount

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

      public SearchPageResponseSearchResult archivedResultCount(Integer archivedResultCount)
      Fluent setter for archivedResultCount.
      Parameters:
      archivedResultCount - archivedResultCount
      Returns:
      this
    • getArchivedResultCount

      public Integer getArchivedResultCount()
      Gets the value of archivedResultCount.
      Returns:
      archivedResultCount
    • setArchivedResultCount

      public void setArchivedResultCount(Integer archivedResultCount)
      Sets the value of archivedResultCount.
      Parameters:
      archivedResultCount - archivedResultCount
    • additionalLinks

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

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