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