Class ItemActivityStat

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ItemActivityStat
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class ItemActivityStat extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • ItemActivityStat

      public ItemActivityStat()
      Instantiates a new ItemActivityStat and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static ItemActivityStat createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a ItemActivityStat
    • getAccess

      @Nullable public ItemActionStat getAccess()
      Gets the access property value. Statistics about the access actions in this interval. Read-only.
      Returns:
      a ItemActionStat
    • getActivities

      @Nullable public List<ItemActivity> getActivities()
      Gets the activities property value. Exposes the itemActivities represented in this itemActivityStat resource.
      Returns:
      a List<ItemActivity>
    • getCreate

      @Nullable public ItemActionStat getCreate()
      Gets the create property value. Statistics about the create actions in this interval. Read-only.
      Returns:
      a ItemActionStat
    • getDelete

      @Nullable public ItemActionStat getDelete()
      Gets the delete property value. Statistics about the delete actions in this interval. Read-only.
      Returns:
      a ItemActionStat
    • getEdit

      @Nullable public ItemActionStat getEdit()
      Gets the edit property value. Statistics about the edit actions in this interval. Read-only.
      Returns:
      a ItemActionStat
    • getEndDateTime

      @Nullable public OffsetDateTime getEndDateTime()
      Gets the endDateTime property value. When the interval ends. Read-only.
      Returns:
      a OffsetDateTime
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getIncompleteData

      @Nullable public IncompleteData getIncompleteData()
      Gets the incompleteData property value. Indicates that the statistics in this interval are based on incomplete data. Read-only.
      Returns:
      a IncompleteData
    • getIsTrending

      @Nullable public Boolean getIsTrending()
      Gets the isTrending property value. Indicates whether the item is 'trending.' Read-only.
      Returns:
      a Boolean
    • getMove

      @Nullable public ItemActionStat getMove()
      Gets the move property value. Statistics about the move actions in this interval. Read-only.
      Returns:
      a ItemActionStat
    • getStartDateTime

      @Nullable public OffsetDateTime getStartDateTime()
      Gets the startDateTime property value. When the interval starts. Read-only.
      Returns:
      a OffsetDateTime
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setAccess

      public void setAccess(@Nullable ItemActionStat value)
      Sets the access property value. Statistics about the access actions in this interval. Read-only.
      Parameters:
      value - Value to set for the access property.
    • setActivities

      public void setActivities(@Nullable List<ItemActivity> value)
      Sets the activities property value. Exposes the itemActivities represented in this itemActivityStat resource.
      Parameters:
      value - Value to set for the activities property.
    • setCreate

      public void setCreate(@Nullable ItemActionStat value)
      Sets the create property value. Statistics about the create actions in this interval. Read-only.
      Parameters:
      value - Value to set for the create property.
    • setDelete

      public void setDelete(@Nullable ItemActionStat value)
      Sets the delete property value. Statistics about the delete actions in this interval. Read-only.
      Parameters:
      value - Value to set for the delete property.
    • setEdit

      public void setEdit(@Nullable ItemActionStat value)
      Sets the edit property value. Statistics about the edit actions in this interval. Read-only.
      Parameters:
      value - Value to set for the edit property.
    • setEndDateTime

      public void setEndDateTime(@Nullable OffsetDateTime value)
      Sets the endDateTime property value. When the interval ends. Read-only.
      Parameters:
      value - Value to set for the endDateTime property.
    • setIncompleteData

      public void setIncompleteData(@Nullable IncompleteData value)
      Sets the incompleteData property value. Indicates that the statistics in this interval are based on incomplete data. Read-only.
      Parameters:
      value - Value to set for the incompleteData property.
    • setIsTrending

      public void setIsTrending(@Nullable Boolean value)
      Sets the isTrending property value. Indicates whether the item is 'trending.' Read-only.
      Parameters:
      value - Value to set for the isTrending property.
    • setMove

      public void setMove(@Nullable ItemActionStat value)
      Sets the move property value. Statistics about the move actions in this interval. Read-only.
      Parameters:
      value - Value to set for the move property.
    • setStartDateTime

      public void setStartDateTime(@Nullable OffsetDateTime value)
      Sets the startDateTime property value. When the interval starts. Read-only.
      Parameters:
      value - Value to set for the startDateTime property.