Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Hits Containers.the OData type of the object as returned by the serviceThe Query Alteration Response.The Result Templates.The Search Terms. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
hitsContainers
@SerializedName(value="hitsContainers", alternate="HitsContainers") @Expose @Nullable public List<SearchHitsContainer> hitsContainersThe Hits Containers. A collection of search results. -
queryAlterationResponse
@SerializedName(value="queryAlterationResponse", alternate="QueryAlterationResponse") @Expose @Nullable public AlterationResponse queryAlterationResponseThe Query Alteration Response. Provides information related to spelling corrections in the alteration response. -
resultTemplates
@SerializedName(value="resultTemplates", alternate="ResultTemplates") @Expose @Nullable public ResultTemplateDictionary resultTemplatesThe 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> searchTermsThe 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:
additionalDataManagerin interfacecom.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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-