| | 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 custom metric info |
| | 18 | | /// </summary> |
| | 19 | | public partial class EventsCustomMetricInfo |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the EventsCustomMetricInfo class. |
| | 23 | | /// </summary> |
| 13 | 24 | | public EventsCustomMetricInfo() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 13 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the EventsCustomMetricInfo class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="name">The name of the custom metric</param> |
| | 33 | | /// <param name="value">The value of the custom metric</param> |
| | 34 | | /// <param name="valueSum">The sum of the custom metric</param> |
| | 35 | | /// <param name="valueCount">The count of the custom metric</param> |
| | 36 | | /// <param name="valueMin">The minimum value of the custom |
| | 37 | | /// metric</param> |
| | 38 | | /// <param name="valueMax">The maximum value of the custom |
| | 39 | | /// metric</param> |
| | 40 | | /// <param name="valueStdDev">The standard deviation of the custom |
| | 41 | | /// metric</param> |
| 0 | 42 | | public EventsCustomMetricInfo(string name = default(string), double? value = default(double?), double? valueSum |
| | 43 | | { |
| 0 | 44 | | Name = name; |
| 0 | 45 | | Value = value; |
| 0 | 46 | | ValueSum = valueSum; |
| 0 | 47 | | ValueCount = valueCount; |
| 0 | 48 | | ValueMin = valueMin; |
| 0 | 49 | | ValueMax = valueMax; |
| 0 | 50 | | ValueStdDev = valueStdDev; |
| | 51 | | CustomInit(); |
| 0 | 52 | | } |
| | 53 | |
|
| | 54 | | /// <summary> |
| | 55 | | /// An initialization method that performs custom operations like setting defaults |
| | 56 | | /// </summary> |
| | 57 | | partial void CustomInit(); |
| | 58 | |
|
| | 59 | | /// <summary> |
| | 60 | | /// Gets or sets the name of the custom metric |
| | 61 | | /// </summary> |
| | 62 | | [JsonProperty(PropertyName = "name")] |
| 28 | 63 | | public string Name { get; set; } |
| | 64 | |
|
| | 65 | | /// <summary> |
| | 66 | | /// Gets or sets the value of the custom metric |
| | 67 | | /// </summary> |
| | 68 | | [JsonProperty(PropertyName = "value")] |
| 17 | 69 | | public double? Value { get; set; } |
| | 70 | |
|
| | 71 | | /// <summary> |
| | 72 | | /// Gets or sets the sum of the custom metric |
| | 73 | | /// </summary> |
| | 74 | | [JsonProperty(PropertyName = "valueSum")] |
| 17 | 75 | | public double? ValueSum { get; set; } |
| | 76 | |
|
| | 77 | | /// <summary> |
| | 78 | | /// Gets or sets the count of the custom metric |
| | 79 | | /// </summary> |
| | 80 | | [JsonProperty(PropertyName = "valueCount")] |
| 17 | 81 | | public int? ValueCount { get; set; } |
| | 82 | |
|
| | 83 | | /// <summary> |
| | 84 | | /// Gets or sets the minimum value of the custom metric |
| | 85 | | /// </summary> |
| | 86 | | [JsonProperty(PropertyName = "valueMin")] |
| 17 | 87 | | public double? ValueMin { get; set; } |
| | 88 | |
|
| | 89 | | /// <summary> |
| | 90 | | /// Gets or sets the maximum value of the custom metric |
| | 91 | | /// </summary> |
| | 92 | | [JsonProperty(PropertyName = "valueMax")] |
| 17 | 93 | | public double? ValueMax { get; set; } |
| | 94 | |
|
| | 95 | | /// <summary> |
| | 96 | | /// Gets or sets the standard deviation of the custom metric |
| | 97 | | /// </summary> |
| | 98 | | [JsonProperty(PropertyName = "valueStdDev")] |
| 17 | 99 | | public double? ValueStdDev { get; set; } |
| | 100 | |
|
| | 101 | | } |
| | 102 | | } |