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 Details

    • oDataType

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

      @SerializedName(value="aggregationFilters", alternate="AggregationFilters") @Expose @Nullable public List<String> aggregationFilters
      The Aggregation Filters.
    • aggregations

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

      @SerializedName(value="contentSources", alternate="ContentSources") @Expose @Nullable public List<String> contentSources
      The Content Sources.
    • enableTopResults

      @SerializedName(value="enableTopResults", alternate="EnableTopResults") @Expose @Nullable public Boolean enableTopResults
      The Enable Top Results.
    • entityTypes

      @SerializedName(value="entityTypes", alternate="EntityTypes") @Expose @Nullable public List<EntityType> entityTypes
      The Entity Types.
    • fields

      @SerializedName(value="fields", alternate="Fields") @Expose @Nullable public List<String> fields
      The Fields.
    • from

      @SerializedName(value="from", alternate="From") @Expose @Nullable public Integer from
      The From.
    • query

      @SerializedName(value="query", alternate="Query") @Expose @Nullable public SearchQuery query
      The Query.
    • queryAlterationOptions

      @SerializedName(value="queryAlterationOptions", alternate="QueryAlterationOptions") @Expose @Nullable public SearchAlterationOptions queryAlterationOptions
      The Query Alteration Options.
    • resultTemplateOptions

      @SerializedName(value="resultTemplateOptions", alternate="ResultTemplateOptions") @Expose @Nullable public ResultTemplateOption resultTemplateOptions
      The Result Template Options.
    • size

      @SerializedName(value="size", alternate="Size") @Expose @Nullable public Integer size
      The Size.
    • sortProperties

      @SerializedName(value="sortProperties", alternate="SortProperties") @Expose @Nullable public List<SortProperty> sortProperties
      The Sort Properties.
  • Constructor Details

    • SearchRequest

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