Package com.microsoft.graph.models
Class SearchRequest
java.lang.Object
com.microsoft.graph.models.SearchRequest
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class SearchRequest
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Search Request.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Aggregation Filters.The Aggregations.The Content Sources.The Enable Top Results.The Entity Types.The Fields.The From.the OData type of the object as returned by the serviceThe Query.The Query Alteration Options.The Result Template Options.The Size.The Sort Properties. -
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 -
aggregationFilters
@SerializedName(value="aggregationFilters", alternate="AggregationFilters") @Expose @Nullable public List<String> aggregationFiltersThe Aggregation Filters. -
aggregations
@SerializedName(value="aggregations", alternate="Aggregations") @Expose @Nullable public List<AggregationOption> aggregationsThe Aggregations. -
contentSources
@SerializedName(value="contentSources", alternate="ContentSources") @Expose @Nullable public List<String> contentSourcesThe Content Sources. -
enableTopResults
@SerializedName(value="enableTopResults", alternate="EnableTopResults") @Expose @Nullable public Boolean enableTopResultsThe Enable Top Results. -
entityTypes
@SerializedName(value="entityTypes", alternate="EntityTypes") @Expose @Nullable public List<EntityType> entityTypesThe Entity Types. -
fields
The Fields. -
from
The From. -
query
The Query. -
queryAlterationOptions
@SerializedName(value="queryAlterationOptions", alternate="QueryAlterationOptions") @Expose @Nullable public SearchAlterationOptions queryAlterationOptionsThe Query Alteration Options. -
resultTemplateOptions
@SerializedName(value="resultTemplateOptions", alternate="ResultTemplateOptions") @Expose @Nullable public ResultTemplateOption resultTemplateOptionsThe Result Template Options. -
size
The Size. -
sortProperties
@SerializedName(value="sortProperties", alternate="SortProperties") @Expose @Nullable public List<SortProperty> sortPropertiesThe Sort Properties.
-
-
Constructor Details
-
SearchRequest
public SearchRequest()
-
-
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
-