Class JsonSearchResponse

java.lang.Object
com.mypurecloud.sdk.v2.model.JsonSearchResponse
All Implemented Interfaces:
Serializable

public class JsonSearchResponse extends Object implements Serializable
JsonSearchResponse
See Also:
  • Constructor Details

    • JsonSearchResponse

      public JsonSearchResponse()
    • JsonSearchResponse

      public JsonSearchResponse(Boolean initWithEmptyList)
  • Method Details

    • total

      public JsonSearchResponse total(Long total)
      The total number of results found
    • getTotal

      public Long getTotal()
    • setTotal

      public void setTotal(Long total)
    • pageCount

      public JsonSearchResponse pageCount(Integer pageCount)
      The total number of pages
    • getPageCount

      public Integer getPageCount()
    • setPageCount

      public void setPageCount(Integer pageCount)
    • pageSize

      public JsonSearchResponse pageSize(Integer pageSize)
      The current page size
    • getPageSize

      public Integer getPageSize()
    • setPageSize

      public void setPageSize(Integer pageSize)
    • pageNumber

      public JsonSearchResponse pageNumber(Integer pageNumber)
      The current page number
    • getPageNumber

      public Integer getPageNumber()
    • setPageNumber

      public void setPageNumber(Integer pageNumber)
    • types

      public JsonSearchResponse types(List<String> types)
      Resource types the search was performed against
    • getTypes

      public List<String> getTypes()
    • setTypes

      public void setTypes(List<String> types)
    • results

      public JsonSearchResponse results(com.fasterxml.jackson.databind.node.ArrayNode results)
      Search results
    • getResults

      public com.fasterxml.jackson.databind.node.ArrayNode getResults()
    • setResults

      public void setResults(com.fasterxml.jackson.databind.node.ArrayNode results)
    • aggregations

      public JsonSearchResponse aggregations(com.fasterxml.jackson.databind.node.ArrayNode aggregations)
    • getAggregations

      public com.fasterxml.jackson.databind.node.ArrayNode getAggregations()
    • setAggregations

      public void setAggregations(com.fasterxml.jackson.databind.node.ArrayNode aggregations)
    • 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