Package com.microsoft.graph.models
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.
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AuditEvent
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the activity property value.Gets the activityDateTime property value.Gets the activityOperationType property value.Gets the activityResult property value.Gets the activityType property value.getActor()
Gets the actor property value.Gets the category property value.Gets the componentName property value.Gets the correlationId property value.Gets the displayName property value.The deserialization information for the current modelGets the resources property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setActivity
(String value) Sets the activity property value.void
Sets the activityDateTime property value.void
setActivityOperationType
(String value) Sets the activityOperationType property value.void
setActivityResult
(String value) Sets the activityResult property value.void
setActivityType
(String value) Sets the activityType property value.void
setActor
(AuditActor value) Sets the actor property value.void
setCategory
(String value) Sets the category property value.void
setComponentName
(String value) Sets the componentName property value.void
setCorrelationId
(UUID value) Sets the correlationId property value.void
setDisplayName
(String value) Sets the displayName property value.void
setResources
(List<AuditResource> value) Sets the resources property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
AuditEvent
public AuditEvent()Instantiates a newAuditEvent
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
Gets the activity property value. Friendly name of the activity.- Returns:
- a
String
-
getActivityDateTime
Gets the activityDateTime property value. The date time in UTC when the activity was performed.- Returns:
- a
OffsetDateTime
-
getActivityOperationType
Gets the activityOperationType property value. The HTTP operation type of the activity.- Returns:
- a
String
-
getActivityResult
Gets the activityResult property value. The result of the activity.- Returns:
- a
String
-
getActivityType
Gets the activityType property value. The type of activity that was being performed.- Returns:
- a
String
-
getActor
Gets the actor property value. AAD user and application that are associated with the audit event.- Returns:
- a
AuditActor
-
getCategory
Gets the category property value. Audit category.- Returns:
- a
String
-
getComponentName
Gets the componentName property value. Component name.- Returns:
- a
String
-
getCorrelationId
Gets the correlationId property value. The client request Id that is used to correlate activity within the system.- Returns:
- a
UUID
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
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 -
setActivity
Sets the activity property value. Friendly name of the activity.- Parameters:
value
- Value to set for the activity property.
-
setActivityDateTime
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
Sets the activityOperationType property value. The HTTP operation type of the activity.- Parameters:
value
- Value to set for the activityOperationType property.
-
setActivityResult
Sets the activityResult property value. The result of the activity.- Parameters:
value
- Value to set for the activityResult property.
-
setActivityType
Sets the activityType property value. The type of activity that was being performed.- Parameters:
value
- Value to set for the activityType property.
-
setActor
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
Sets the category property value. Audit category.- Parameters:
value
- Value to set for the category property.
-
setComponentName
Sets the componentName property value. Component name.- Parameters:
value
- Value to set for the componentName property.
-
setCorrelationId
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
Sets the displayName property value. Event display name.- Parameters:
value
- Value to set for the displayName property.
-
setResources
Sets the resources property value. Resources being modified.- Parameters:
value
- Value to set for the resources property.
-