Package com.microsoft.graph.models
Class SearchHit
java.lang.Object
com.microsoft.graph.models.SearchHit
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Search Hit.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Content Source.The Hit Id.The Is Collapsed.the OData type of the object as returned by the serviceThe Rank.The Resource.The Result Template Id.The Summary. -
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 -
contentSource
@SerializedName(value="contentSource", alternate="ContentSource") @Expose @Nullable public String contentSourceThe Content Source. The name of the content source that the externalItem is part of. -
hitId
The Hit Id. The internal identifier for the item. The format of the identifier varies based on the entity type. For details, see hitId format. -
isCollapsed
@SerializedName(value="isCollapsed", alternate="IsCollapsed") @Expose @Nullable public Boolean isCollapsedThe Is Collapsed. Indicates whether the current result is collapsed when the collapseProperties property in the searchRequest is used. -
rank
The Rank. The rank or the order of the result. -
resultTemplateId
@SerializedName(value="resultTemplateId", alternate="ResultTemplateId") @Expose @Nullable public String resultTemplateIdThe Result Template Id. ID of the result template used to render the search result. This ID must map to a display layout in the resultTemplates dictionary that is also included in the searchResponse. -
summary
The Summary. A summary of the result, if a summary is available. -
resource
The Resource.
-
-
Constructor Details
-
SearchHit
public SearchHit()
-
-
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
-