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

MicrosoftGraphItemAnalytics Class

public final class MicrosoftGraphItemAnalytics
extends MicrosoftGraphEntity

itemAnalytics.

Constructor Summary

Constructor Description
MicrosoftGraphItemAnalytics()

Creates an instance of MicrosoftGraphItemAnalytics class.

Method Summary

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

Get the additionalProperties property: itemAnalytics.

MicrosoftGraphItemActivityStat allTime()

Get the allTime property: itemActivityStat.

static MicrosoftGraphItemAnalytics fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphItemAnalytics from the JsonReader.

List<MicrosoftGraphItemActivityStat> itemActivityStats()

Get the itemActivityStats property: The itemActivityStats property.

MicrosoftGraphItemActivityStat lastSevenDays()

Get the lastSevenDays property: itemActivityStat.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphItemAnalytics withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: itemAnalytics.

MicrosoftGraphItemAnalytics withAllTime(MicrosoftGraphItemActivityStat allTime)

Set the allTime property: itemActivityStat.

MicrosoftGraphItemAnalytics withId(String id)

Set the id property: Read-only.

MicrosoftGraphItemAnalytics withItemActivityStats(List<MicrosoftGraphItemActivityStat> itemActivityStats)

Set the itemActivityStats property: The itemActivityStats property.

MicrosoftGraphItemAnalytics withLastSevenDays(MicrosoftGraphItemActivityStat lastSevenDays)

Set the lastSevenDays property: itemActivityStat.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphItemAnalytics

public MicrosoftGraphItemAnalytics()

Creates an instance of MicrosoftGraphItemAnalytics class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: itemAnalytics.

Overrides:

MicrosoftGraphItemAnalytics.additionalProperties()

Returns:

the additionalProperties value.

allTime

public MicrosoftGraphItemActivityStat allTime()

Get the allTime property: itemActivityStat.

Returns:

the allTime value.

fromJson

public static MicrosoftGraphItemAnalytics fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphItemAnalytics from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

itemActivityStats

public List itemActivityStats()

Get the itemActivityStats property: The itemActivityStats property.

Returns:

the itemActivityStats value.

lastSevenDays

public MicrosoftGraphItemActivityStat lastSevenDays()

Get the lastSevenDays property: itemActivityStat.

Returns:

the lastSevenDays value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphItemAnalytics.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphItemAnalytics.validate()

withAdditionalProperties

public MicrosoftGraphItemAnalytics withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: itemAnalytics.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphItemAnalytics object itself.

withAllTime

public MicrosoftGraphItemAnalytics withAllTime(MicrosoftGraphItemActivityStat allTime)

Set the allTime property: itemActivityStat.

Parameters:

allTime - the allTime value to set.

Returns:

the MicrosoftGraphItemAnalytics object itself.

withId

public MicrosoftGraphItemAnalytics withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphItemAnalytics.withId(String id)

Parameters:

id

withItemActivityStats

public MicrosoftGraphItemAnalytics withItemActivityStats(List itemActivityStats)

Set the itemActivityStats property: The itemActivityStats property.

Parameters:

itemActivityStats - the itemActivityStats value to set.

Returns:

the MicrosoftGraphItemAnalytics object itself.

withLastSevenDays

public MicrosoftGraphItemAnalytics withLastSevenDays(MicrosoftGraphItemActivityStat lastSevenDays)

Set the lastSevenDays property: itemActivityStat.

Parameters:

lastSevenDays - the lastSevenDays value to set.

Returns:

the MicrosoftGraphItemAnalytics object itself.

Applies to