| | 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 | | /// Operation info for an event result |
| | 18 | | /// </summary> |
| | 19 | | public partial class EventsOperationInfo |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the EventsOperationInfo class. |
| | 23 | | /// </summary> |
| 127 | 24 | | public EventsOperationInfo() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 127 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the EventsOperationInfo class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="name">Name of the operation</param> |
| | 33 | | /// <param name="id">ID of the operation</param> |
| | 34 | | /// <param name="parentId">Parent ID of the operation</param> |
| | 35 | | /// <param name="syntheticSource">Synthetic source of the |
| | 36 | | /// operation</param> |
| 0 | 37 | | public EventsOperationInfo(string name = default(string), string id = default(string), string parentId = default |
| | 38 | | { |
| 0 | 39 | | Name = name; |
| 0 | 40 | | Id = id; |
| 0 | 41 | | ParentId = parentId; |
| 0 | 42 | | SyntheticSource = syntheticSource; |
| | 43 | | CustomInit(); |
| 0 | 44 | | } |
| | 45 | |
|
| | 46 | | /// <summary> |
| | 47 | | /// An initialization method that performs custom operations like setting defaults |
| | 48 | | /// </summary> |
| | 49 | | partial void CustomInit(); |
| | 50 | |
|
| | 51 | | /// <summary> |
| | 52 | | /// Gets or sets name of the operation |
| | 53 | | /// </summary> |
| | 54 | | [JsonProperty(PropertyName = "name")] |
| 167 | 55 | | public string Name { get; set; } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// Gets or sets ID of the operation |
| | 59 | | /// </summary> |
| | 60 | | [JsonProperty(PropertyName = "id")] |
| 200 | 61 | | public string Id { get; set; } |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// Gets or sets parent ID of the operation |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "parentId")] |
| 200 | 67 | | public string ParentId { get; set; } |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets or sets synthetic source of the operation |
| | 71 | | /// </summary> |
| | 72 | | [JsonProperty(PropertyName = "syntheticSource")] |
| 167 | 73 | | public string SyntheticSource { get; set; } |
| | 74 | |
|
| | 75 | | } |
| | 76 | | } |