public class SearchRequest
extends java.lang.Object
implements com.microsoft.graph.serializer.IJsonBackedObject
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.String> |
contentSources
The Content Sources.
|
java.lang.Boolean |
enableTopResults
The Enable Top Results.
|
java.util.List<EntityType> |
entityTypes
The Entity Types.
|
java.util.List<java.lang.String> |
fields
The Fields.
|
java.lang.Integer |
from
The From.
|
java.lang.String |
oDataType
the OData type of the object as returned by the service
|
SearchQuery |
query
The Query.
|
java.lang.Integer |
size
The Size.
|
Constructor and Description |
---|
SearchRequest() |
Modifier and Type | Method and Description |
---|---|
com.microsoft.graph.serializer.AdditionalDataManager |
additionalDataManager() |
void |
setRawObject(com.microsoft.graph.serializer.ISerializer serializer,
com.google.gson.JsonObject json)
Sets the raw JSON object
|
@SerializedName(value="@odata.type") @Expose @Nullable public java.lang.String oDataType
@SerializedName(value="contentSources", alternate="ContentSources") @Expose @Nullable public java.util.List<java.lang.String> contentSources
@SerializedName(value="enableTopResults", alternate="EnableTopResults") @Expose @Nullable public java.lang.Boolean enableTopResults
@SerializedName(value="entityTypes", alternate="EntityTypes") @Expose @Nullable public java.util.List<EntityType> entityTypes
@SerializedName(value="fields", alternate="Fields") @Expose @Nullable public java.util.List<java.lang.String> fields
@SerializedName(value="from", alternate="From") @Expose @Nullable public java.lang.Integer from
@SerializedName(value="query", alternate="Query") @Expose @Nullable public SearchQuery query
@SerializedName(value="size", alternate="Size") @Expose @Nullable public java.lang.Integer size
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
additionalDataManager
in interface com.microsoft.graph.serializer.IJsonBackedObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
setRawObject
in interface com.microsoft.graph.serializer.IJsonBackedObject
serializer
- the serializerjson
- the JSON object to set this object to