Class AuditEvent

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

@Generated("com.microsoft.kiota") public class AuditEvent extends Entity implements com.microsoft.kiota.serialization.Parsable
A class containing the properties for Audit Event.
  • Constructor Details

    • AuditEvent

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

    • createFromDiscriminatorValue

      @Nonnull public static AuditEvent 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 AuditEvent
    • getActivity

      @Nullable public String getActivity()
      Gets the activity property value. Friendly name of the activity.
      Returns:
      a String
    • getActivityDateTime

      @Nullable public OffsetDateTime getActivityDateTime()
      Gets the activityDateTime property value. The date time in UTC when the activity was performed.
      Returns:
      a OffsetDateTime
    • getActivityOperationType

      @Nullable public String getActivityOperationType()
      Gets the activityOperationType property value. The HTTP operation type of the activity.
      Returns:
      a String
    • getActivityResult

      @Nullable public String getActivityResult()
      Gets the activityResult property value. The result of the activity.
      Returns:
      a String
    • getActivityType

      @Nullable public String getActivityType()
      Gets the activityType property value. The type of activity that was being performed.
      Returns:
      a String
    • getActor

      @Nullable public AuditActor getActor()
      Gets the actor property value. AAD user and application that are associated with the audit event.
      Returns:
      a AuditActor
    • getCategory

      @Nullable public String getCategory()
      Gets the category property value. Audit category.
      Returns:
      a String
    • getComponentName

      @Nullable public String getComponentName()
      Gets the componentName property value. Component name.
      Returns:
      a String
    • getCorrelationId

      @Nullable public UUID getCorrelationId()
      Gets the correlationId property value. The client request Id that is used to correlate activity within the system.
      Returns:
      a UUID
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. Event display name.
      Returns:
      a String
    • 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>>
    • getResources

      @Nullable public List<AuditResource> getResources()
      Gets the resources property value. Resources being modified.
      Returns:
      a List<AuditResource>
    • 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
    • setActivity

      public void setActivity(@Nullable String value)
      Sets the activity property value. Friendly name of the activity.
      Parameters:
      value - Value to set for the activity property.
    • setActivityDateTime

      public void setActivityDateTime(@Nullable OffsetDateTime value)
      Sets the activityDateTime property value. The date time in UTC when the activity was performed.
      Parameters:
      value - Value to set for the activityDateTime property.
    • setActivityOperationType

      public void setActivityOperationType(@Nullable String value)
      Sets the activityOperationType property value. The HTTP operation type of the activity.
      Parameters:
      value - Value to set for the activityOperationType property.
    • setActivityResult

      public void setActivityResult(@Nullable String value)
      Sets the activityResult property value. The result of the activity.
      Parameters:
      value - Value to set for the activityResult property.
    • setActivityType

      public void setActivityType(@Nullable String value)
      Sets the activityType property value. The type of activity that was being performed.
      Parameters:
      value - Value to set for the activityType property.
    • setActor

      public void setActor(@Nullable AuditActor value)
      Sets the actor property value. AAD user and application that are associated with the audit event.
      Parameters:
      value - Value to set for the actor property.
    • setCategory

      public void setCategory(@Nullable String value)
      Sets the category property value. Audit category.
      Parameters:
      value - Value to set for the category property.
    • setComponentName

      public void setComponentName(@Nullable String value)
      Sets the componentName property value. Component name.
      Parameters:
      value - Value to set for the componentName property.
    • setCorrelationId

      public void setCorrelationId(@Nullable UUID value)
      Sets the correlationId property value. The client request Id that is used to correlate activity within the system.
      Parameters:
      value - Value to set for the correlationId property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. Event display name.
      Parameters:
      value - Value to set for the displayName property.
    • setResources

      public void setResources(@Nullable List<AuditResource> value)
      Sets the resources property value. Resources being modified.
      Parameters:
      value - Value to set for the resources property.