Class SearchHitsContainer

java.lang.Object
com.microsoft.graph.models.SearchHitsContainer
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class SearchHitsContainer extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Search Hits Container.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • aggregations

      @SerializedName(value="aggregations", alternate="Aggregations") @Expose @Nullable public List<SearchAggregation> aggregations
      The Aggregations.
    • hits

      @SerializedName(value="hits", alternate="Hits") @Expose @Nullable public List<SearchHit> hits
      The Hits. A collection of the search results.
    • moreResultsAvailable

      @SerializedName(value="moreResultsAvailable", alternate="MoreResultsAvailable") @Expose @Nullable public Boolean moreResultsAvailable
      The More Results Available. Provides information if more results are available. Based on this information, you can adjust the from and size properties of the searchRequest accordingly.
    • total

      @SerializedName(value="total", alternate="Total") @Expose @Nullable public Integer total
      The Total. The total number of results. Note this is not the number of results on the page, but the total number of results satisfying the query.
  • Constructor Details

    • SearchHitsContainer

      public SearchHitsContainer()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to