|
| 1 | +// ------------------------------------------------------------------------------ |
| 2 | +// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. |
| 3 | +// ------------------------------------------------------------------------------ |
| 4 | + |
| 5 | +// **NOTE** This file was generated by a tool and any changes will be overwritten. |
| 6 | +// <auto-generated/> |
| 7 | + |
| 8 | +// Template Source: EntityType.cs.tt |
| 9 | + |
| 10 | +namespace Microsoft.Graph |
| 11 | +{ |
| 12 | + using System; |
| 13 | + using System.Collections.Generic; |
| 14 | + using System.IO; |
| 15 | + using System.Text.Json.Serialization; |
| 16 | + |
| 17 | + /// <summary> |
| 18 | + /// The type Audit Event. |
| 19 | + /// </summary> |
| 20 | + public partial class AuditEvent : Entity |
| 21 | + { |
| 22 | + |
| 23 | + /// <summary> |
| 24 | + /// Gets or sets activity. |
| 25 | + /// Friendly name of the activity. |
| 26 | + /// </summary> |
| 27 | + [JsonPropertyName("activity")] |
| 28 | + public string Activity { get; set; } |
| 29 | + |
| 30 | + /// <summary> |
| 31 | + /// Gets or sets activity date time. |
| 32 | + /// The date time in UTC when the activity was performed. |
| 33 | + /// </summary> |
| 34 | + [JsonPropertyName("activityDateTime")] |
| 35 | + public DateTimeOffset? ActivityDateTime { get; set; } |
| 36 | + |
| 37 | + /// <summary> |
| 38 | + /// Gets or sets activity operation type. |
| 39 | + /// The HTTP operation type of the activity. |
| 40 | + /// </summary> |
| 41 | + [JsonPropertyName("activityOperationType")] |
| 42 | + public string ActivityOperationType { get; set; } |
| 43 | + |
| 44 | + /// <summary> |
| 45 | + /// Gets or sets activity result. |
| 46 | + /// The result of the activity. |
| 47 | + /// </summary> |
| 48 | + [JsonPropertyName("activityResult")] |
| 49 | + public string ActivityResult { get; set; } |
| 50 | + |
| 51 | + /// <summary> |
| 52 | + /// Gets or sets activity type. |
| 53 | + /// The type of activity that was being performed. |
| 54 | + /// </summary> |
| 55 | + [JsonPropertyName("activityType")] |
| 56 | + public string ActivityType { get; set; } |
| 57 | + |
| 58 | + /// <summary> |
| 59 | + /// Gets or sets actor. |
| 60 | + /// AAD user and application that are associated with the audit event. |
| 61 | + /// </summary> |
| 62 | + [JsonPropertyName("actor")] |
| 63 | + public AuditActor Actor { get; set; } |
| 64 | + |
| 65 | + /// <summary> |
| 66 | + /// Gets or sets category. |
| 67 | + /// Audit category. |
| 68 | + /// </summary> |
| 69 | + [JsonPropertyName("category")] |
| 70 | + public string Category { get; set; } |
| 71 | + |
| 72 | + /// <summary> |
| 73 | + /// Gets or sets component name. |
| 74 | + /// Component name. |
| 75 | + /// </summary> |
| 76 | + [JsonPropertyName("componentName")] |
| 77 | + public string ComponentName { get; set; } |
| 78 | + |
| 79 | + /// <summary> |
| 80 | + /// Gets or sets correlation id. |
| 81 | + /// The client request Id that is used to correlate activity within the system. |
| 82 | + /// </summary> |
| 83 | + [JsonPropertyName("correlationId")] |
| 84 | + public Guid? CorrelationId { get; set; } |
| 85 | + |
| 86 | + /// <summary> |
| 87 | + /// Gets or sets display name. |
| 88 | + /// Event display name. |
| 89 | + /// </summary> |
| 90 | + [JsonPropertyName("displayName")] |
| 91 | + public string DisplayName { get; set; } |
| 92 | + |
| 93 | + /// <summary> |
| 94 | + /// Gets or sets resources. |
| 95 | + /// Resources being modified. |
| 96 | + /// </summary> |
| 97 | + [JsonPropertyName("resources")] |
| 98 | + public IEnumerable<AuditResource> Resources { get; set; } |
| 99 | + |
| 100 | + } |
| 101 | +} |
| 102 | + |
0 commit comments