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

MicrosoftGraphItemActionStat Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphItemActionStat

Implements

public final class MicrosoftGraphItemActionStat
implements JsonSerializable<MicrosoftGraphItemActionStat>

itemActionStat.

Constructor Summary

Constructor Description
MicrosoftGraphItemActionStat()

Creates an instance of MicrosoftGraphItemActionStat class.

Method Summary

Modifier and Type Method and Description
Integer actionCount()

Get the actionCount property: The number of times the action took place.

Integer actorCount()

Get the actorCount property: The number of distinct actors that performed the action.

Map<String,Object> additionalProperties()

Get the additionalProperties property: itemActionStat.

static MicrosoftGraphItemActionStat fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphItemActionStat from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphItemActionStat withActionCount(Integer actionCount)

Set the actionCount property: The number of times the action took place.

MicrosoftGraphItemActionStat withActorCount(Integer actorCount)

Set the actorCount property: The number of distinct actors that performed the action.

MicrosoftGraphItemActionStat withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: itemActionStat.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphItemActionStat

public MicrosoftGraphItemActionStat()

Creates an instance of MicrosoftGraphItemActionStat class.

Method Details

actionCount

public Integer actionCount()

Get the actionCount property: The number of times the action took place. Read-only.

Returns:

the actionCount value.

actorCount

public Integer actorCount()

Get the actorCount property: The number of distinct actors that performed the action. Read-only.

Returns:

the actorCount value.

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: itemActionStat.

Returns:

the additionalProperties value.

fromJson

public static MicrosoftGraphItemActionStat fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphItemActionStat from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withActionCount

public MicrosoftGraphItemActionStat withActionCount(Integer actionCount)

Set the actionCount property: The number of times the action took place. Read-only.

Parameters:

actionCount - the actionCount value to set.

Returns:

the MicrosoftGraphItemActionStat object itself.

withActorCount

public MicrosoftGraphItemActionStat withActorCount(Integer actorCount)

Set the actorCount property: The number of distinct actors that performed the action. Read-only.

Parameters:

actorCount - the actorCount value to set.

Returns:

the MicrosoftGraphItemActionStat object itself.

withAdditionalProperties

public MicrosoftGraphItemActionStat withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: itemActionStat.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphItemActionStat object itself.

Applies to