Package com.microsoft.graph.models
Class CloudPcAuditEvent
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.CloudPcAuditEvent
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class CloudPcAuditEvent
extends Entity
implements com.microsoft.kiota.serialization.Parsable
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CloudPcAuditEvent
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
Sets the activityOperationType property value.void
Sets the activityResult property value.void
setActivityType
(String value) Sets the activityType property value.void
setActor
(CloudPcAuditActor value) Sets the actor property value.void
setCategory
(CloudPcAuditCategory value) Sets the category property value.void
setComponentName
(String value) Sets the componentName property value.void
setCorrelationId
(String value) Sets the correlationId property value.void
setDisplayName
(String value) Sets the displayName property value.void
setResources
(List<CloudPcAuditResource> 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
-
CloudPcAuditEvent
public CloudPcAuditEvent()Instantiates a newCloudPcAuditEvent
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static CloudPcAuditEvent 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
CloudPcAuditEvent
-
getActivity
Gets the activity property value. The friendly name of the audit activity.- Returns:
- a
String
-
getActivityDateTime
Gets the activityDateTime property value. The date time in UTC when the activity was performed.Read-only.- Returns:
- a
OffsetDateTime
-
getActivityOperationType
Gets the activityOperationType property value. The activityOperationType property- Returns:
- a
CloudPcAuditActivityOperationType
-
getActivityResult
Gets the activityResult property value. The activityResult property- Returns:
- a
CloudPcAuditActivityResult
-
getActivityType
Gets the activityType property value. The type of activity that was performed.Read-only.- Returns:
- a
String
-
getActor
Gets the actor property value. The actor property- Returns:
- a
CloudPcAuditActor
-
getCategory
Gets the category property value. The category property- Returns:
- a
CloudPcAuditCategory
-
getComponentName
Gets the componentName property value. The component name for the audit event. Read-only.- Returns:
- a
String
-
getCorrelationId
Gets the correlationId property value. The client request ID that is used to correlate activity within the system.Read-only.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The display name for the audit event. Read-only.- 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. The list of cloudPcAuditResource objects.Read-only.- Returns:
- a
List<CloudPcAuditResource>
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setActivity
Sets the activity property value. The friendly name of the audit 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.Read-only.- Parameters:
value
- Value to set for the activityDateTime property.
-
setActivityOperationType
Sets the activityOperationType property value. The activityOperationType property- Parameters:
value
- Value to set for the activityOperationType property.
-
setActivityResult
Sets the activityResult property value. The activityResult property- Parameters:
value
- Value to set for the activityResult property.
-
setActivityType
Sets the activityType property value. The type of activity that was performed.Read-only.- Parameters:
value
- Value to set for the activityType property.
-
setActor
Sets the actor property value. The actor property- Parameters:
value
- Value to set for the actor property.
-
setCategory
Sets the category property value. The category property- Parameters:
value
- Value to set for the category property.
-
setComponentName
Sets the componentName property value. The component name for the audit event. Read-only.- 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.Read-only.- Parameters:
value
- Value to set for the correlationId property.
-
setDisplayName
Sets the displayName property value. The display name for the audit event. Read-only.- Parameters:
value
- Value to set for the displayName property.
-
setResources
Sets the resources property value. The list of cloudPcAuditResource objects.Read-only.- Parameters:
value
- Value to set for the resources property.
-