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
  • Constructor Details

    • CloudPcAuditEvent

      public CloudPcAuditEvent()
      Instantiates a new CloudPcAuditEvent 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

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

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

      @Nullable public CloudPcAuditActivityOperationType getActivityOperationType()
      Gets the activityOperationType property value. The activityOperationType property
      Returns:
      a CloudPcAuditActivityOperationType
    • getActivityResult

      @Nullable public CloudPcAuditActivityResult getActivityResult()
      Gets the activityResult property value. The activityResult property
      Returns:
      a CloudPcAuditActivityResult
    • getActivityType

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

      @Nullable public CloudPcAuditActor getActor()
      Gets the actor property value. The actor property
      Returns:
      a CloudPcAuditActor
    • getCategory

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

      @Nullable public String getComponentName()
      Gets the componentName property value. The component name for the audit event. Read-only.
      Returns:
      a String
    • getCorrelationId

      @Nullable public 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

      @Nullable public 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 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<CloudPcAuditResource> 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
      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. The friendly name of the audit 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.Read-only.
      Parameters:
      value - Value to set for the activityDateTime property.
    • setActivityOperationType

      public void setActivityOperationType(@Nullable CloudPcAuditActivityOperationType value)
      Sets the activityOperationType property value. The activityOperationType property
      Parameters:
      value - Value to set for the activityOperationType property.
    • setActivityResult

      public void setActivityResult(@Nullable CloudPcAuditActivityResult value)
      Sets the activityResult property value. The activityResult property
      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 performed.Read-only.
      Parameters:
      value - Value to set for the activityType property.
    • setActor

      public void setActor(@Nullable CloudPcAuditActor value)
      Sets the actor property value. The actor property
      Parameters:
      value - Value to set for the actor property.
    • setCategory

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

      public void setComponentName(@Nullable String value)
      Sets the componentName property value. The component name for the audit event. Read-only.
      Parameters:
      value - Value to set for the componentName property.
    • setCorrelationId

      public void setCorrelationId(@Nullable String value)
      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

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

      public void setResources(@Nullable List<CloudPcAuditResource> value)
      Sets the resources property value. The list of cloudPcAuditResource objects.Read-only.
      Parameters:
      value - Value to set for the resources property.