MicrosoftGraphOfficeGraphInsights Class

public final class MicrosoftGraphOfficeGraphInsights
extends MicrosoftGraphEntity

officeGraphInsights.

Constructor Summary

Constructor Description
MicrosoftGraphOfficeGraphInsights()

Creates an instance of MicrosoftGraphOfficeGraphInsights class.

Method Summary

Modifier and Type Method and 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 MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphOfficeGraphInsights

public MicrosoftGraphOfficeGraphInsights()

Creates an instance of MicrosoftGraphOfficeGraphInsights class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: officeGraphInsights.

Overrides:

MicrosoftGraphOfficeGraphInsights.additionalProperties()

Returns:

the additionalProperties value.

shared

public List 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.

trending

public List 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.

used

public List 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.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphOfficeGraphInsights.validate()

withAdditionalProperties

public MicrosoftGraphOfficeGraphInsights withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: officeGraphInsights.

Overrides:

MicrosoftGraphOfficeGraphInsights.withAdditionalProperties(Map<String,Object> additionalProperties)

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:

MicrosoftGraphOfficeGraphInsights.withId(String id)

Parameters:

id

withShared

public MicrosoftGraphOfficeGraphInsights withShared(List 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.

withTrending

public MicrosoftGraphOfficeGraphInsights withTrending(List 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.

withUsed

public MicrosoftGraphOfficeGraphInsights withUsed(List 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.

Applies to