| | | 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 | | /// Client info for an event result |
| | | 18 | | /// </summary> |
| | | 19 | | public partial class EventsClientInfo |
| | | 20 | | { |
| | | 21 | | /// <summary> |
| | | 22 | | /// Initializes a new instance of the EventsClientInfo class. |
| | | 23 | | /// </summary> |
| | 127 | 24 | | public EventsClientInfo() |
| | | 25 | | { |
| | | 26 | | CustomInit(); |
| | 127 | 27 | | } |
| | | 28 | | |
| | | 29 | | /// <summary> |
| | | 30 | | /// Initializes a new instance of the EventsClientInfo class. |
| | | 31 | | /// </summary> |
| | | 32 | | /// <param name="model">Model of the client</param> |
| | | 33 | | /// <param name="os">Operating system of the client</param> |
| | | 34 | | /// <param name="type">Type of the client</param> |
| | | 35 | | /// <param name="browser">Browser of the client</param> |
| | | 36 | | /// <param name="ip">IP address of the client</param> |
| | | 37 | | /// <param name="city">City of the client</param> |
| | | 38 | | /// <param name="stateOrProvince">State or province of the |
| | | 39 | | /// client</param> |
| | | 40 | | /// <param name="countryOrRegion">Country or region of the |
| | | 41 | | /// client</param> |
| | 0 | 42 | | public EventsClientInfo(string model = default(string), string os = default(string), string type = default(strin |
| | | 43 | | { |
| | 0 | 44 | | Model = model; |
| | 0 | 45 | | Os = os; |
| | 0 | 46 | | Type = type; |
| | 0 | 47 | | Browser = browser; |
| | 0 | 48 | | Ip = ip; |
| | 0 | 49 | | City = city; |
| | 0 | 50 | | StateOrProvince = stateOrProvince; |
| | 0 | 51 | | CountryOrRegion = countryOrRegion; |
| | | 52 | | CustomInit(); |
| | 0 | 53 | | } |
| | | 54 | | |
| | | 55 | | /// <summary> |
| | | 56 | | /// An initialization method that performs custom operations like setting defaults |
| | | 57 | | /// </summary> |
| | | 58 | | partial void CustomInit(); |
| | | 59 | | |
| | | 60 | | /// <summary> |
| | | 61 | | /// Gets or sets model of the client |
| | | 62 | | /// </summary> |
| | | 63 | | [JsonProperty(PropertyName = "model")] |
| | 167 | 64 | | public string Model { get; set; } |
| | | 65 | | |
| | | 66 | | /// <summary> |
| | | 67 | | /// Gets or sets operating system of the client |
| | | 68 | | /// </summary> |
| | | 69 | | [JsonProperty(PropertyName = "os")] |
| | 167 | 70 | | public string Os { get; set; } |
| | | 71 | | |
| | | 72 | | /// <summary> |
| | | 73 | | /// Gets or sets type of the client |
| | | 74 | | /// </summary> |
| | | 75 | | [JsonProperty(PropertyName = "type")] |
| | 274 | 76 | | public string Type { get; set; } |
| | | 77 | | |
| | | 78 | | /// <summary> |
| | | 79 | | /// Gets or sets browser of the client |
| | | 80 | | /// </summary> |
| | | 81 | | [JsonProperty(PropertyName = "browser")] |
| | 167 | 82 | | public string Browser { get; set; } |
| | | 83 | | |
| | | 84 | | /// <summary> |
| | | 85 | | /// Gets or sets IP address of the client |
| | | 86 | | /// </summary> |
| | | 87 | | [JsonProperty(PropertyName = "ip")] |
| | 274 | 88 | | public string Ip { get; set; } |
| | | 89 | | |
| | | 90 | | /// <summary> |
| | | 91 | | /// Gets or sets city of the client |
| | | 92 | | /// </summary> |
| | | 93 | | [JsonProperty(PropertyName = "city")] |
| | 167 | 94 | | public string City { get; set; } |
| | | 95 | | |
| | | 96 | | /// <summary> |
| | | 97 | | /// Gets or sets state or province of the client |
| | | 98 | | /// </summary> |
| | | 99 | | [JsonProperty(PropertyName = "stateOrProvince")] |
| | 167 | 100 | | public string StateOrProvince { get; set; } |
| | | 101 | | |
| | | 102 | | /// <summary> |
| | | 103 | | /// Gets or sets country or region of the client |
| | | 104 | | /// </summary> |
| | | 105 | | [JsonProperty(PropertyName = "countryOrRegion")] |
| | 167 | 106 | | public string CountryOrRegion { get; set; } |
| | | 107 | | |
| | | 108 | | } |
| | | 109 | | } |