Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Enable Modification.The Enable Suggestion.the OData type of the object as returned by the service -
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 -
enableModification
@SerializedName(value="enableModification", alternate="EnableModification") @Expose @Nullable public Boolean enableModificationThe 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 enableSuggestionThe 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:
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
-