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.

static MicrosoftGraphOfficeGraphInsights fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOfficeGraphInsights from the JsonReader.

List<MicrosoftGraphSharedInsight> shared()

Get the shared property: Calculated relationship identifying documents shared with or by the user.

JsonWriter toJson(JsonWriter jsonWriter)
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.

fromJson

public static MicrosoftGraphOfficeGraphInsights fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphOfficeGraphInsights from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphOfficeGraphInsights if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphOfficeGraphInsights.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphOfficeGraphInsights.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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