Compartilhar via


MicrosoftGraphItemActivity Class

public final class MicrosoftGraphItemActivity
extends MicrosoftGraphEntity

itemActivity.

Constructor Summary

Constructor Description
MicrosoftGraphItemActivity()

Creates an instance of MicrosoftGraphItemActivity class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> access()

Get the access property: accessAction.

OffsetDateTime activityDateTime()

Get the activityDateTime property: Details about when the activity took place.

MicrosoftGraphIdentitySet actor()

Get the actor property: identitySet.

Map<String,Object> additionalProperties()

Get the additionalProperties property: itemActivity.

MicrosoftGraphDriveItem driveItem()

Get the driveItem property: driveItem.

static MicrosoftGraphItemActivity fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphItemActivity from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphItemActivity withAccess(Map<String,Object> access)

Set the access property: accessAction.

MicrosoftGraphItemActivity withActivityDateTime(OffsetDateTime activityDateTime)

Set the activityDateTime property: Details about when the activity took place.

MicrosoftGraphItemActivity withActor(MicrosoftGraphIdentitySet actor)

Set the actor property: identitySet.

MicrosoftGraphItemActivity withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: itemActivity.

MicrosoftGraphItemActivity withDriveItem(MicrosoftGraphDriveItem driveItem)

Set the driveItem property: driveItem.

MicrosoftGraphItemActivity withId(String id)

Set the id property: Read-only.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphItemActivity

public MicrosoftGraphItemActivity()

Creates an instance of MicrosoftGraphItemActivity class.

Method Details

access

public Map access()

Get the access property: accessAction.

Returns:

the access value.

activityDateTime

public OffsetDateTime activityDateTime()

Get the activityDateTime property: Details about when the activity took place. Read-only.

Returns:

the activityDateTime value.

actor

public MicrosoftGraphIdentitySet actor()

Get the actor property: identitySet.

Returns:

the actor value.

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: itemActivity.

Overrides:

MicrosoftGraphItemActivity.additionalProperties()

Returns:

the additionalProperties value.

driveItem

public MicrosoftGraphDriveItem driveItem()

Get the driveItem property: driveItem.

Returns:

the driveItem value.

fromJson

public static MicrosoftGraphItemActivity fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphItemActivity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphItemActivity 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 MicrosoftGraphItemActivity.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphItemActivity.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphItemActivity.validate()

withAccess

public MicrosoftGraphItemActivity withAccess(Map access)

Set the access property: accessAction.

Parameters:

access - the access value to set.

Returns:

the MicrosoftGraphItemActivity object itself.

withActivityDateTime

public MicrosoftGraphItemActivity withActivityDateTime(OffsetDateTime activityDateTime)

Set the activityDateTime property: Details about when the activity took place. Read-only.

Parameters:

activityDateTime - the activityDateTime value to set.

Returns:

the MicrosoftGraphItemActivity object itself.

withActor

public MicrosoftGraphItemActivity withActor(MicrosoftGraphIdentitySet actor)

Set the actor property: identitySet.

Parameters:

actor - the actor value to set.

Returns:

the MicrosoftGraphItemActivity object itself.

withAdditionalProperties

public MicrosoftGraphItemActivity withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: itemActivity.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphItemActivity object itself.

withDriveItem

public MicrosoftGraphItemActivity withDriveItem(MicrosoftGraphDriveItem driveItem)

Set the driveItem property: driveItem.

Parameters:

driveItem - the driveItem value to set.

Returns:

the MicrosoftGraphItemActivity object itself.

withId

public MicrosoftGraphItemActivity withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphItemActivity.withId(String id)

Parameters:

id

Applies to