Class SearchAlterationOptions

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

public class SearchAlterationOptions extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Search Alteration Options.
  • Field Details

    • oDataType

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

      @SerializedName(value="enableModification", alternate="EnableModification") @Expose @Nullable public Boolean enableModification
      The Enable Modification. Indicates whether spelling modifications are enabled. If enabled, the user will get the search results for the corrected query in case of no results for the original query with typos. The response will also include the spelling modification information in the queryAlterationResponse property. Optional.
    • enableSuggestion

      @SerializedName(value="enableSuggestion", alternate="EnableSuggestion") @Expose @Nullable public Boolean enableSuggestion
      The Enable Suggestion. Indicates whether spelling suggestions are enabled. If enabled, the user will get the search results for the original search query and suggestions for spelling correction in the queryAlterationResponse property of the response for the typos in the query. Optional.
  • Constructor Details

    • SearchAlterationOptions

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