< Summary

Class:Microsoft.Azure.ApplicationInsights.Query.Models.EventsResultData
Assembly:Microsoft.Azure.ApplicationInsights.Query
File(s):C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\EventsResultData.cs
Covered lines:14
Uncovered lines:14
Coverable lines:28
Total lines:142
Line coverage:50% (14 of 28)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Id()-100%100%
get_Count()-100%100%
get_Timestamp()-100%100%
get_CustomDimensions()-100%100%
get_CustomMeasurements()-100%100%
get_Operation()-100%100%
get_Session()-100%100%
get_User()-100%100%
get_Cloud()-100%100%
get_Ai()-100%100%
get_Application()-100%100%
get_Client()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\EventsResultData.cs

#LineLine coverage
 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
 11namespace Microsoft.Azure.ApplicationInsights.Query.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    /// <summary>
 17    /// Events query result data.
 18    /// </summary>
 19    [Newtonsoft.Json.JsonObject("eventsResultData")]
 20    public partial class EventsResultData
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the EventsResultData class.
 24        /// </summary>
 12725        public EventsResultData()
 26        {
 27            CustomInit();
 12728        }
 29
 30        /// <summary>
 31        /// Initializes a new instance of the EventsResultData class.
 32        /// </summary>
 33        /// <param name="id">The unique ID for this event.</param>
 34        /// <param name="count">Count of the event</param>
 35        /// <param name="timestamp">Timestamp of the event</param>
 36        /// <param name="customDimensions">Custom dimensions of the
 37        /// event</param>
 38        /// <param name="customMeasurements">Custom measurements of the
 39        /// event</param>
 40        /// <param name="operation">Operation info of the event</param>
 41        /// <param name="session">Session info of the event</param>
 42        /// <param name="user">User info of the event</param>
 43        /// <param name="cloud">Cloud info of the event</param>
 44        /// <param name="ai">AI info of the event</param>
 45        /// <param name="application">Application info of the event</param>
 46        /// <param name="client">Client info of the event</param>
 047        public EventsResultData(string id = default(string), long? count = default(long?), System.DateTime? timestamp = 
 48        {
 049            Id = id;
 050            Count = count;
 051            Timestamp = timestamp;
 052            CustomDimensions = customDimensions;
 053            CustomMeasurements = customMeasurements;
 054            Operation = operation;
 055            Session = session;
 056            User = user;
 057            Cloud = cloud;
 058            Ai = ai;
 059            Application = application;
 060            Client = client;
 61            CustomInit();
 062        }
 63
 64        /// <summary>
 65        /// An initialization method that performs custom operations like setting defaults
 66        /// </summary>
 67        partial void CustomInit();
 68
 69        /// <summary>
 70        /// Gets or sets the unique ID for this event.
 71        /// </summary>
 72        [JsonProperty(PropertyName = "id")]
 31473        public string Id { get; set; }
 74
 75        /// <summary>
 76        /// Gets or sets count of the event
 77        /// </summary>
 78        [JsonProperty(PropertyName = "count")]
 22679        public long? Count { get; set; }
 80
 81        /// <summary>
 82        /// Gets or sets timestamp of the event
 83        /// </summary>
 84        [JsonProperty(PropertyName = "timestamp")]
 27485        public System.DateTime? Timestamp { get; set; }
 86
 87        /// <summary>
 88        /// Gets or sets custom dimensions of the event
 89        /// </summary>
 90        [JsonProperty(PropertyName = "customDimensions")]
 16791        public EventsResultDataCustomDimensions CustomDimensions { get; set; }
 92
 93        /// <summary>
 94        /// Gets or sets custom measurements of the event
 95        /// </summary>
 96        [JsonProperty(PropertyName = "customMeasurements")]
 14197        public EventsResultDataCustomMeasurements CustomMeasurements { get; set; }
 98
 99        /// <summary>
 100        /// Gets or sets operation info of the event
 101        /// </summary>
 102        [JsonProperty(PropertyName = "operation")]
 266103        public EventsOperationInfo Operation { get; set; }
 104
 105        /// <summary>
 106        /// Gets or sets session info of the event
 107        /// </summary>
 108        [JsonProperty(PropertyName = "session")]
 274109        public EventsSessionInfo Session { get; set; }
 110
 111        /// <summary>
 112        /// Gets or sets user info of the event
 113        /// </summary>
 114        [JsonProperty(PropertyName = "user")]
 274115        public EventsUserInfo User { get; set; }
 116
 117        /// <summary>
 118        /// Gets or sets cloud info of the event
 119        /// </summary>
 120        [JsonProperty(PropertyName = "cloud")]
 274121        public EventsCloudInfo Cloud { get; set; }
 122
 123        /// <summary>
 124        /// Gets or sets AI info of the event
 125        /// </summary>
 126        [JsonProperty(PropertyName = "ai")]
 595127        public EventsAiInfo Ai { get; set; }
 128
 129        /// <summary>
 130        /// Gets or sets application info of the event
 131        /// </summary>
 132        [JsonProperty(PropertyName = "application")]
 274133        public EventsApplicationInfo Application { get; set; }
 134
 135        /// <summary>
 136        /// Gets or sets client info of the event
 137        /// </summary>
 138        [JsonProperty(PropertyName = "client")]
 488139        public EventsClientInfo Client { get; set; }
 140
 141    }
 142}