Class ResourceCount

    • Method Detail

      • complete

        public final Boolean complete()

        Indicates whether the TotalResources value represents an exhaustive count of search results.

        • If True, it indicates that the search was exhaustive. Every resource that matches the query was counted.

        • If False, then the search reached the limit of 1,000 matching results, and stopped counting.

        Returns:
        Indicates whether the TotalResources value represents an exhaustive count of search results.

        • If True, it indicates that the search was exhaustive. Every resource that matches the query was counted.

        • If False, then the search reached the limit of 1,000 matching results, and stopped counting.

      • totalResources

        public final Long totalResources()

        The number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000 resources that match the query, then only 1,000 are counted and the Complete field is set to false. We recommend that you refine your query to return a smaller number of results.

        Returns:
        The number of resources that match the search query. This value can't exceed 1,000. If there are more than 1,000 resources that match the query, then only 1,000 are counted and the Complete field is set to false. We recommend that you refine your query to return a smaller number of results.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)