Class MicrosoftGraphItemActivityStat

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphItemActivityStat

public final class MicrosoftGraphItemActivityStat extends MicrosoftGraphEntity
itemActivityStat.
  • Constructor Details

    • MicrosoftGraphItemActivityStat

      public MicrosoftGraphItemActivityStat()
      Creates an instance of MicrosoftGraphItemActivityStat class.
  • Method Details

    • access

      Get the access property: itemActionStat.
      Returns:
      the access value.
    • withAccess

      Set the access property: itemActionStat.
      Parameters:
      access - the access value to set.
      Returns:
      the MicrosoftGraphItemActivityStat object itself.
    • create

      Get the create property: itemActionStat.
      Returns:
      the create value.
    • withCreate

      Set the create property: itemActionStat.
      Parameters:
      create - the create value to set.
      Returns:
      the MicrosoftGraphItemActivityStat object itself.
    • delete

      Get the delete property: itemActionStat.
      Returns:
      the delete value.
    • withDelete

      Set the delete property: itemActionStat.
      Parameters:
      delete - the delete value to set.
      Returns:
      the MicrosoftGraphItemActivityStat object itself.
    • edit

      Get the edit property: itemActionStat.
      Returns:
      the edit value.
    • withEdit

      Set the edit property: itemActionStat.
      Parameters:
      edit - the edit value to set.
      Returns:
      the MicrosoftGraphItemActivityStat object itself.
    • endDateTime

      public OffsetDateTime endDateTime()
      Get the endDateTime property: When the interval ends. Read-only.
      Returns:
      the endDateTime value.
    • 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.
    • incompleteData

      public MicrosoftGraphIncompleteData incompleteData()
      Get the incompleteData property: incompleteData.
      Returns:
      the incompleteData value.
    • withIncompleteData

      public MicrosoftGraphItemActivityStat withIncompleteData(MicrosoftGraphIncompleteData incompleteData)
      Set the incompleteData property: incompleteData.
      Parameters:
      incompleteData - the incompleteData value to set.
      Returns:
      the MicrosoftGraphItemActivityStat object itself.
    • isTrending

      public Boolean isTrending()
      Get the isTrending property: Indicates whether the item is 'trending.' Read-only.
      Returns:
      the isTrending value.
    • 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.
    • move

      Get the move property: itemActionStat.
      Returns:
      the move value.
    • withMove

      Set the move property: itemActionStat.
      Parameters:
      move - the move value to set.
      Returns:
      the MicrosoftGraphItemActivityStat object itself.
    • startDateTime

      public OffsetDateTime startDateTime()
      Get the startDateTime property: When the interval starts. Read-only.
      Returns:
      the startDateTime value.
    • 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.
    • activities

      public List<MicrosoftGraphItemActivity> activities()
      Get the activities property: Exposes the itemActivities represented in this itemActivityStat resource.
      Returns:
      the activities value.
    • withActivities

      public MicrosoftGraphItemActivityStat withActivities(List<MicrosoftGraphItemActivity> 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.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: itemActivityStat.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphItemActivityStat withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: itemActivityStat.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphItemActivityStat object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.