Class SearchResponse

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

public class SearchResponse extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Search Response.
  • Field Details

    • oDataType

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

      @SerializedName(value="hitsContainers", alternate="HitsContainers") @Expose @Nullable public List<SearchHitsContainer> hitsContainers
      The Hits Containers. A collection of search results.
    • queryAlterationResponse

      @SerializedName(value="queryAlterationResponse", alternate="QueryAlterationResponse") @Expose @Nullable public AlterationResponse queryAlterationResponse
      The Query Alteration Response. Provides information related to spelling corrections in the alteration response.
    • resultTemplates

      @SerializedName(value="resultTemplates", alternate="ResultTemplates") @Expose @Nullable public ResultTemplateDictionary resultTemplates
      The Result Templates. A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates.
    • searchTerms

      @SerializedName(value="searchTerms", alternate="SearchTerms") @Expose @Nullable public List<String> searchTerms
      The Search Terms. Contains the search terms sent in the initial search query.
  • Constructor Details

    • SearchResponse

      public SearchResponse()
  • 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