public class SearchRequest extends java.lang.Object implements 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 |
SearchQuery |
query
The Query.
|
java.lang.Integer |
size
The Size.
|
| Constructor and Description |
|---|
SearchRequest() |
| Modifier and Type | Method and Description |
|---|---|
AdditionalDataManager |
additionalDataManager()
Provides access to objects not anticipated in the model, as well as
request and response data from the HTTP call
|
com.google.gson.JsonObject |
getRawObject()
Gets the raw representation of this class
|
protected ISerializer |
getSerializer()
Gets serializer
|
void |
setRawObject(ISerializer serializer,
com.google.gson.JsonObject json)
Sets the raw JSON object
|
@SerializedName(value="@odata.type") @Expose public java.lang.String oDataType
@SerializedName(value="contentSources",
alternate="ContentSources")
@Expose
public java.util.List<java.lang.String> contentSources
@SerializedName(value="enableTopResults",
alternate="EnableTopResults")
@Expose
public java.lang.Boolean enableTopResults
@SerializedName(value="entityTypes",
alternate="EntityTypes")
@Expose
public java.util.List<EntityType> entityTypes
@SerializedName(value="fields",
alternate="Fields")
@Expose
public java.util.List<java.lang.String> fields
@SerializedName(value="from",
alternate="From")
@Expose
public java.lang.Integer from
@SerializedName(value="query",
alternate="Query")
@Expose
public SearchQuery query
@SerializedName(value="size",
alternate="Size")
@Expose
public java.lang.Integer size
public final AdditionalDataManager additionalDataManager()
IJsonBackedObjectadditionalDataManager in interface IJsonBackedObjectpublic com.google.gson.JsonObject getRawObject()
protected ISerializer getSerializer()
public void setRawObject(ISerializer serializer, com.google.gson.JsonObject json)
setRawObject in interface IJsonBackedObjectserializer - the serializerjson - the JSON object to set this object to