你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphItemActivityStat Class

public final class MicrosoftGraphItemActivityStat
extends MicrosoftGraphEntity

itemActivityStat.

Constructor Summary

Constructor Description
MicrosoftGraphItemActivityStat()

Creates an instance of MicrosoftGraphItemActivityStat class.

Method Summary

Modifier and Type Method and Description
MicrosoftGraphItemActionStat access()

Get the access property: itemActionStat.

List<MicrosoftGraphItemActivity> activities()

Get the activities property: Exposes the itemActivities represented in this itemActivityStat resource.

Map<String,Object> additionalProperties()

Get the additionalProperties property: itemActivityStat.

MicrosoftGraphItemActionStat create()

Get the create property: itemActionStat.

MicrosoftGraphItemActionStat delete()

Get the delete property: itemActionStat.

MicrosoftGraphItemActionStat edit()

Get the edit property: itemActionStat.

OffsetDateTime endDateTime()

Get the endDateTime property: When the interval ends.

static MicrosoftGraphItemActivityStat fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphItemActivityStat from the JsonReader.

MicrosoftGraphIncompleteData incompleteData()

Get the incompleteData property: incompleteData.

Boolean isTrending()

Get the isTrending property: Indicates whether the item is 'trending.' Read-only.

MicrosoftGraphItemActionStat move()

Get the move property: itemActionStat.

OffsetDateTime startDateTime()

Get the startDateTime property: When the interval starts.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphItemActivityStat withAccess(MicrosoftGraphItemActionStat access)

Set the access property: itemActionStat.

MicrosoftGraphItemActivityStat withActivities(List<MicrosoftGraphItemActivity> activities)

Set the activities property: Exposes the itemActivities represented in this itemActivityStat resource.

MicrosoftGraphItemActivityStat withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: itemActivityStat.

MicrosoftGraphItemActivityStat withCreate(MicrosoftGraphItemActionStat create)

Set the create property: itemActionStat.

MicrosoftGraphItemActivityStat withDelete(MicrosoftGraphItemActionStat delete)

Set the delete property: itemActionStat.

MicrosoftGraphItemActivityStat withEdit(MicrosoftGraphItemActionStat edit)

Set the edit property: itemActionStat.

MicrosoftGraphItemActivityStat withEndDateTime(OffsetDateTime endDateTime)

Set the endDateTime property: When the interval ends.

MicrosoftGraphItemActivityStat withId(String id)

Set the id property: Read-only.

MicrosoftGraphItemActivityStat withIncompleteData(MicrosoftGraphIncompleteData incompleteData)

Set the incompleteData property: incompleteData.

MicrosoftGraphItemActivityStat withIsTrending(Boolean isTrending)

Set the isTrending property: Indicates whether the item is 'trending.' Read-only.

MicrosoftGraphItemActivityStat withMove(MicrosoftGraphItemActionStat move)

Set the move property: itemActionStat.

MicrosoftGraphItemActivityStat withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: When the interval starts.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphItemActivityStat

public MicrosoftGraphItemActivityStat()

Creates an instance of MicrosoftGraphItemActivityStat class.

Method Details

access

public MicrosoftGraphItemActionStat access()

Get the access property: itemActionStat.

Returns:

the access value.

activities

public List activities()

Get the activities property: Exposes the itemActivities represented in this itemActivityStat resource.

Returns:

the activities value.

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: itemActivityStat.

Overrides:

MicrosoftGraphItemActivityStat.additionalProperties()

Returns:

the additionalProperties value.

create

public MicrosoftGraphItemActionStat create()

Get the create property: itemActionStat.

Returns:

the create value.

delete

public MicrosoftGraphItemActionStat delete()

Get the delete property: itemActionStat.

Returns:

the delete value.

edit

public MicrosoftGraphItemActionStat edit()

Get the edit property: itemActionStat.

Returns:

the edit value.

endDateTime

public OffsetDateTime endDateTime()

Get the endDateTime property: When the interval ends. Read-only.

Returns:

the endDateTime value.

fromJson

public static MicrosoftGraphItemActivityStat fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphItemActivityStat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

incompleteData

public MicrosoftGraphIncompleteData incompleteData()

Get the incompleteData property: incompleteData.

Returns:

the incompleteData value.

isTrending

public Boolean isTrending()

Get the isTrending property: Indicates whether the item is 'trending.' Read-only.

Returns:

the isTrending value.

move

public MicrosoftGraphItemActionStat move()

Get the move property: itemActionStat.

Returns:

the move value.

startDateTime

public OffsetDateTime startDateTime()

Get the startDateTime property: When the interval starts. Read-only.

Returns:

the startDateTime value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphItemActivityStat.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphItemActivityStat.validate()

withAccess

public MicrosoftGraphItemActivityStat withAccess(MicrosoftGraphItemActionStat access)

Set the access property: itemActionStat.

Parameters:

access - the access value to set.

Returns:

the MicrosoftGraphItemActivityStat object itself.

withActivities

public MicrosoftGraphItemActivityStat withActivities(List activities)

Set the activities property: Exposes the itemActivities represented in this itemActivityStat resource.

Parameters:

activities - the activities value to set.

Returns:

the MicrosoftGraphItemActivityStat object itself.

withAdditionalProperties

public MicrosoftGraphItemActivityStat withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: itemActivityStat.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphItemActivityStat object itself.

withCreate

public MicrosoftGraphItemActivityStat withCreate(MicrosoftGraphItemActionStat create)

Set the create property: itemActionStat.

Parameters:

create - the create value to set.

Returns:

the MicrosoftGraphItemActivityStat object itself.

withDelete

public MicrosoftGraphItemActivityStat withDelete(MicrosoftGraphItemActionStat delete)

Set the delete property: itemActionStat.

Parameters:

delete - the delete value to set.

Returns:

the MicrosoftGraphItemActivityStat object itself.

withEdit

public MicrosoftGraphItemActivityStat withEdit(MicrosoftGraphItemActionStat edit)

Set the edit property: itemActionStat.

Parameters:

edit - the edit value to set.

Returns:

the MicrosoftGraphItemActivityStat object itself.

withEndDateTime

public MicrosoftGraphItemActivityStat withEndDateTime(OffsetDateTime endDateTime)

Set the endDateTime property: When the interval ends. Read-only.

Parameters:

endDateTime - the endDateTime value to set.

Returns:

the MicrosoftGraphItemActivityStat object itself.

withId

public MicrosoftGraphItemActivityStat withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphItemActivityStat.withId(String id)

Parameters:

id

withIncompleteData

public MicrosoftGraphItemActivityStat withIncompleteData(MicrosoftGraphIncompleteData incompleteData)

Set the incompleteData property: incompleteData.

Parameters:

incompleteData - the incompleteData value to set.

Returns:

the MicrosoftGraphItemActivityStat object itself.

withIsTrending

public MicrosoftGraphItemActivityStat withIsTrending(Boolean isTrending)

Set the isTrending property: Indicates whether the item is 'trending.' Read-only.

Parameters:

isTrending - the isTrending value to set.

Returns:

the MicrosoftGraphItemActivityStat object itself.

withMove

public MicrosoftGraphItemActivityStat withMove(MicrosoftGraphItemActionStat move)

Set the move property: itemActionStat.

Parameters:

move - the move value to set.

Returns:

the MicrosoftGraphItemActivityStat object itself.

withStartDateTime

public MicrosoftGraphItemActivityStat withStartDateTime(OffsetDateTime startDateTime)

Set the startDateTime property: When the interval starts. Read-only.

Parameters:

startDateTime - the startDateTime value to set.

Returns:

the MicrosoftGraphItemActivityStat object itself.

Applies to