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.void
validate()
Validates the instance.MicrosoftGraphOfficeGraphInsights
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: officeGraphInsights.MicrosoftGraphOfficeGraphInsights
withId(String id)
Set the id property: Read-only.MicrosoftGraphOfficeGraphInsights
withShared(List<MicrosoftGraphSharedInsight> shared)
Set the shared property: Calculated relationship identifying documents shared with or by the user.MicrosoftGraphOfficeGraphInsights
withTrending(List<MicrosoftGraphTrending> trending)
Set the trending property: Calculated relationship identifying documents trending around a user.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.-
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:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphOfficeGraphInsights withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: officeGraphInsights.- Overrides:
withAdditionalProperties
in 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:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-