| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.ApplicationInsights.Query.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Linq; |
| | 15 | |
|
| | 16 | | /// <summary> |
| | 17 | | /// Events query result data. |
| | 18 | | /// </summary> |
| | 19 | | [Newtonsoft.Json.JsonObject("eventsResultData")] |
| | 20 | | public partial class EventsResultData |
| | 21 | | { |
| | 22 | | /// <summary> |
| | 23 | | /// Initializes a new instance of the EventsResultData class. |
| | 24 | | /// </summary> |
| 127 | 25 | | public EventsResultData() |
| | 26 | | { |
| | 27 | | CustomInit(); |
| 127 | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// Initializes a new instance of the EventsResultData class. |
| | 32 | | /// </summary> |
| | 33 | | /// <param name="id">The unique ID for this event.</param> |
| | 34 | | /// <param name="count">Count of the event</param> |
| | 35 | | /// <param name="timestamp">Timestamp of the event</param> |
| | 36 | | /// <param name="customDimensions">Custom dimensions of the |
| | 37 | | /// event</param> |
| | 38 | | /// <param name="customMeasurements">Custom measurements of the |
| | 39 | | /// event</param> |
| | 40 | | /// <param name="operation">Operation info of the event</param> |
| | 41 | | /// <param name="session">Session info of the event</param> |
| | 42 | | /// <param name="user">User info of the event</param> |
| | 43 | | /// <param name="cloud">Cloud info of the event</param> |
| | 44 | | /// <param name="ai">AI info of the event</param> |
| | 45 | | /// <param name="application">Application info of the event</param> |
| | 46 | | /// <param name="client">Client info of the event</param> |
| 0 | 47 | | public EventsResultData(string id = default(string), long? count = default(long?), System.DateTime? timestamp = |
| | 48 | | { |
| 0 | 49 | | Id = id; |
| 0 | 50 | | Count = count; |
| 0 | 51 | | Timestamp = timestamp; |
| 0 | 52 | | CustomDimensions = customDimensions; |
| 0 | 53 | | CustomMeasurements = customMeasurements; |
| 0 | 54 | | Operation = operation; |
| 0 | 55 | | Session = session; |
| 0 | 56 | | User = user; |
| 0 | 57 | | Cloud = cloud; |
| 0 | 58 | | Ai = ai; |
| 0 | 59 | | Application = application; |
| 0 | 60 | | Client = client; |
| | 61 | | CustomInit(); |
| 0 | 62 | | } |
| | 63 | |
|
| | 64 | | /// <summary> |
| | 65 | | /// An initialization method that performs custom operations like setting defaults |
| | 66 | | /// </summary> |
| | 67 | | partial void CustomInit(); |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets or sets the unique ID for this event. |
| | 71 | | /// </summary> |
| | 72 | | [JsonProperty(PropertyName = "id")] |
| 314 | 73 | | public string Id { get; set; } |
| | 74 | |
|
| | 75 | | /// <summary> |
| | 76 | | /// Gets or sets count of the event |
| | 77 | | /// </summary> |
| | 78 | | [JsonProperty(PropertyName = "count")] |
| 226 | 79 | | public long? Count { get; set; } |
| | 80 | |
|
| | 81 | | /// <summary> |
| | 82 | | /// Gets or sets timestamp of the event |
| | 83 | | /// </summary> |
| | 84 | | [JsonProperty(PropertyName = "timestamp")] |
| 274 | 85 | | public System.DateTime? Timestamp { get; set; } |
| | 86 | |
|
| | 87 | | /// <summary> |
| | 88 | | /// Gets or sets custom dimensions of the event |
| | 89 | | /// </summary> |
| | 90 | | [JsonProperty(PropertyName = "customDimensions")] |
| 167 | 91 | | public EventsResultDataCustomDimensions CustomDimensions { get; set; } |
| | 92 | |
|
| | 93 | | /// <summary> |
| | 94 | | /// Gets or sets custom measurements of the event |
| | 95 | | /// </summary> |
| | 96 | | [JsonProperty(PropertyName = "customMeasurements")] |
| 141 | 97 | | public EventsResultDataCustomMeasurements CustomMeasurements { get; set; } |
| | 98 | |
|
| | 99 | | /// <summary> |
| | 100 | | /// Gets or sets operation info of the event |
| | 101 | | /// </summary> |
| | 102 | | [JsonProperty(PropertyName = "operation")] |
| 266 | 103 | | public EventsOperationInfo Operation { get; set; } |
| | 104 | |
|
| | 105 | | /// <summary> |
| | 106 | | /// Gets or sets session info of the event |
| | 107 | | /// </summary> |
| | 108 | | [JsonProperty(PropertyName = "session")] |
| 274 | 109 | | public EventsSessionInfo Session { get; set; } |
| | 110 | |
|
| | 111 | | /// <summary> |
| | 112 | | /// Gets or sets user info of the event |
| | 113 | | /// </summary> |
| | 114 | | [JsonProperty(PropertyName = "user")] |
| 274 | 115 | | public EventsUserInfo User { get; set; } |
| | 116 | |
|
| | 117 | | /// <summary> |
| | 118 | | /// Gets or sets cloud info of the event |
| | 119 | | /// </summary> |
| | 120 | | [JsonProperty(PropertyName = "cloud")] |
| 274 | 121 | | public EventsCloudInfo Cloud { get; set; } |
| | 122 | |
|
| | 123 | | /// <summary> |
| | 124 | | /// Gets or sets AI info of the event |
| | 125 | | /// </summary> |
| | 126 | | [JsonProperty(PropertyName = "ai")] |
| 595 | 127 | | public EventsAiInfo Ai { get; set; } |
| | 128 | |
|
| | 129 | | /// <summary> |
| | 130 | | /// Gets or sets application info of the event |
| | 131 | | /// </summary> |
| | 132 | | [JsonProperty(PropertyName = "application")] |
| 274 | 133 | | public EventsApplicationInfo Application { get; set; } |
| | 134 | |
|
| | 135 | | /// <summary> |
| | 136 | | /// Gets or sets client info of the event |
| | 137 | | /// </summary> |
| | 138 | | [JsonProperty(PropertyName = "client")] |
| 488 | 139 | | public EventsClientInfo Client { get; set; } |
| | 140 | |
|
| | 141 | | } |
| | 142 | | } |