| | 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 | | /// The dependency info |
| | 18 | | /// </summary> |
| | 19 | | public partial class EventsDependencyInfo |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the EventsDependencyInfo class. |
| | 23 | | /// </summary> |
| 13 | 24 | | public EventsDependencyInfo() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 13 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the EventsDependencyInfo class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="target">The target of the dependency</param> |
| | 33 | | /// <param name="data">The data of the dependency</param> |
| | 34 | | /// <param name="success">Indicates if the dependency was |
| | 35 | | /// successful</param> |
| | 36 | | /// <param name="duration">The duration of the dependency</param> |
| | 37 | | /// <param name="performanceBucket">The performance bucket of the |
| | 38 | | /// dependency</param> |
| | 39 | | /// <param name="resultCode">The result code of the dependency</param> |
| | 40 | | /// <param name="type">The type of the dependency</param> |
| | 41 | | /// <param name="name">The name of the dependency</param> |
| | 42 | | /// <param name="id">The ID of the dependency</param> |
| 0 | 43 | | public EventsDependencyInfo(string target = default(string), string data = default(string), string success = def |
| | 44 | | { |
| 0 | 45 | | Target = target; |
| 0 | 46 | | Data = data; |
| 0 | 47 | | Success = success; |
| 0 | 48 | | Duration = duration; |
| 0 | 49 | | PerformanceBucket = performanceBucket; |
| 0 | 50 | | ResultCode = resultCode; |
| 0 | 51 | | Type = type; |
| 0 | 52 | | Name = name; |
| 0 | 53 | | Id = id; |
| | 54 | | CustomInit(); |
| 0 | 55 | | } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// An initialization method that performs custom operations like setting defaults |
| | 59 | | /// </summary> |
| | 60 | | partial void CustomInit(); |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// Gets or sets the target of the dependency |
| | 64 | | /// </summary> |
| | 65 | | [JsonProperty(PropertyName = "target")] |
| 28 | 66 | | public string Target { get; set; } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// Gets or sets the data of the dependency |
| | 70 | | /// </summary> |
| | 71 | | [JsonProperty(PropertyName = "data")] |
| 28 | 72 | | public string Data { get; set; } |
| | 73 | |
|
| | 74 | | /// <summary> |
| | 75 | | /// Gets or sets indicates if the dependency was successful |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "success")] |
| 28 | 78 | | public string Success { get; set; } |
| | 79 | |
|
| | 80 | | /// <summary> |
| | 81 | | /// Gets or sets the duration of the dependency |
| | 82 | | /// </summary> |
| | 83 | | [JsonProperty(PropertyName = "duration")] |
| 28 | 84 | | public long? Duration { get; set; } |
| | 85 | |
|
| | 86 | | /// <summary> |
| | 87 | | /// Gets or sets the performance bucket of the dependency |
| | 88 | | /// </summary> |
| | 89 | | [JsonProperty(PropertyName = "performanceBucket")] |
| 28 | 90 | | public string PerformanceBucket { get; set; } |
| | 91 | |
|
| | 92 | | /// <summary> |
| | 93 | | /// Gets or sets the result code of the dependency |
| | 94 | | /// </summary> |
| | 95 | | [JsonProperty(PropertyName = "resultCode")] |
| 17 | 96 | | public string ResultCode { get; set; } |
| | 97 | |
|
| | 98 | | /// <summary> |
| | 99 | | /// Gets or sets the type of the dependency |
| | 100 | | /// </summary> |
| | 101 | | [JsonProperty(PropertyName = "type")] |
| 28 | 102 | | public string Type { get; set; } |
| | 103 | |
|
| | 104 | | /// <summary> |
| | 105 | | /// Gets or sets the name of the dependency |
| | 106 | | /// </summary> |
| | 107 | | [JsonProperty(PropertyName = "name")] |
| 28 | 108 | | public string Name { get; set; } |
| | 109 | |
|
| | 110 | | /// <summary> |
| | 111 | | /// Gets or sets the ID of the dependency |
| | 112 | | /// </summary> |
| | 113 | | [JsonProperty(PropertyName = "id")] |
| 28 | 114 | | public string Id { get; set; } |
| | 115 | |
|
| | 116 | | } |
| | 117 | | } |