| | 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 page view information |
| | 18 | | /// </summary> |
| | 19 | | public partial class EventsPageViewInfo |
| | 20 | | { |
| | 21 | | /// <summary> |
| | 22 | | /// Initializes a new instance of the EventsPageViewInfo class. |
| | 23 | | /// </summary> |
| 13 | 24 | | public EventsPageViewInfo() |
| | 25 | | { |
| | 26 | | CustomInit(); |
| 13 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> |
| | 30 | | /// Initializes a new instance of the EventsPageViewInfo class. |
| | 31 | | /// </summary> |
| | 32 | | /// <param name="name">The name of the page</param> |
| | 33 | | /// <param name="url">The URL of the page</param> |
| | 34 | | /// <param name="duration">The duration of the page view</param> |
| | 35 | | /// <param name="performanceBucket">The performance bucket of the page |
| | 36 | | /// view</param> |
| 0 | 37 | | public EventsPageViewInfo(string name = default(string), string url = default(string), string duration = default |
| | 38 | | { |
| 0 | 39 | | Name = name; |
| 0 | 40 | | Url = url; |
| 0 | 41 | | Duration = duration; |
| 0 | 42 | | PerformanceBucket = performanceBucket; |
| | 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 the name of the page |
| | 53 | | /// </summary> |
| | 54 | | [JsonProperty(PropertyName = "name")] |
| 28 | 55 | | public string Name { get; set; } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// Gets or sets the URL of the page |
| | 59 | | /// </summary> |
| | 60 | | [JsonProperty(PropertyName = "url")] |
| 17 | 61 | | public string Url { get; set; } |
| | 62 | |
|
| | 63 | | /// <summary> |
| | 64 | | /// Gets or sets the duration of the page view |
| | 65 | | /// </summary> |
| | 66 | | [JsonProperty(PropertyName = "duration")] |
| 0 | 67 | | public string Duration { get; set; } |
| | 68 | |
|
| | 69 | | /// <summary> |
| | 70 | | /// Gets or sets the performance bucket of the page view |
| | 71 | | /// </summary> |
| | 72 | | [JsonProperty(PropertyName = "performanceBucket")] |
| 17 | 73 | | public string PerformanceBucket { get; set; } |
| | 74 | |
|
| | 75 | | } |
| | 76 | | } |