Class MicrosoftGraphOfficeGraphInsights
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphOfficeGraphInsights
-
public final class MicrosoftGraphOfficeGraphInsights extends MicrosoftGraphEntity
officeGraphInsights.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphOfficeGraphInsights()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: officeGraphInsights.List<MicrosoftGraphSharedInsight>shared()Get the shared property: Calculated relationship identifying documents shared with or by the user.List<MicrosoftGraphTrending>trending()Get the trending property: Calculated relationship identifying documents trending around a user.List<MicrosoftGraphUsedInsight>used()Get the used property: Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use.voidvalidate()Validates the instance.MicrosoftGraphOfficeGraphInsightswithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: officeGraphInsights.MicrosoftGraphOfficeGraphInsightswithId(String id)Set the id property: Read-only.MicrosoftGraphOfficeGraphInsightswithShared(List<MicrosoftGraphSharedInsight> shared)Set the shared property: Calculated relationship identifying documents shared with or by the user.MicrosoftGraphOfficeGraphInsightswithTrending(List<MicrosoftGraphTrending> trending)Set the trending property: Calculated relationship identifying documents trending around a user.MicrosoftGraphOfficeGraphInsightswithUsed(List<MicrosoftGraphUsedInsight> used)Set the used property: Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
shared
public List<MicrosoftGraphSharedInsight> shared()
Get the shared property: Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share.- Returns:
- the shared value.
-
withShared
public MicrosoftGraphOfficeGraphInsights withShared(List<MicrosoftGraphSharedInsight> shared)
Set the shared property: Calculated relationship identifying documents shared with or by the user. This includes URLs, file attachments, and reference attachments to OneDrive for Business and SharePoint files found in Outlook messages and meetings. This also includes URLs and reference attachments to Teams conversations. Ordered by recency of share.- Parameters:
shared- the shared value to set.- Returns:
- the MicrosoftGraphOfficeGraphInsights object itself.
-
trending
public List<MicrosoftGraphTrending> trending()
Get the trending property: Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before.- Returns:
- the trending value.
-
withTrending
public MicrosoftGraphOfficeGraphInsights withTrending(List<MicrosoftGraphTrending> trending)
Set the trending property: Calculated relationship identifying documents trending around a user. Trending documents are calculated based on activity of the user's closest network of people and include files stored in OneDrive for Business and SharePoint. Trending insights help the user to discover potentially useful content that the user has access to, but has never viewed before.- Parameters:
trending- the trending value to set.- Returns:
- the MicrosoftGraphOfficeGraphInsights object itself.
-
used
public List<MicrosoftGraphUsedInsight> used()
Get the used property: Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use.- Returns:
- the used value.
-
withUsed
public MicrosoftGraphOfficeGraphInsights withUsed(List<MicrosoftGraphUsedInsight> used)
Set the used property: Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use.- Parameters:
used- the used value to set.- Returns:
- the MicrosoftGraphOfficeGraphInsights object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: officeGraphInsights.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOfficeGraphInsights withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: officeGraphInsights.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphOfficeGraphInsights object itself.
-
withId
public MicrosoftGraphOfficeGraphInsights withId(String id)
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-