< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_AvailabilityResult()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\applicationinsights\Microsoft.Azure.ApplicationInsights.Query\src\Generated\Models\EventsAvailabilityResultResult.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    /// An availability result result
 18    /// </summary>
 19    [Newtonsoft.Json.JsonObject("availabilityResult")]
 20    public partial class EventsAvailabilityResultResult : EventsResultData
 21    {
 22        /// <summary>
 23        /// Initializes a new instance of the EventsAvailabilityResultResult
 24        /// class.
 25        /// </summary>
 1326        public EventsAvailabilityResultResult()
 27        {
 28            CustomInit();
 1329        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the EventsAvailabilityResultResult
 33        /// class.
 34        /// </summary>
 35        /// <param name="id">The unique ID for this event.</param>
 36        /// <param name="count">Count of the event</param>
 37        /// <param name="timestamp">Timestamp of the event</param>
 38        /// <param name="customDimensions">Custom dimensions of the
 39        /// event</param>
 40        /// <param name="customMeasurements">Custom measurements of the
 41        /// event</param>
 42        /// <param name="operation">Operation info of the event</param>
 43        /// <param name="session">Session info of the event</param>
 44        /// <param name="user">User info of the event</param>
 45        /// <param name="cloud">Cloud info of the event</param>
 46        /// <param name="ai">AI info of the event</param>
 47        /// <param name="application">Application info of the event</param>
 48        /// <param name="client">Client info of the event</param>
 49        public EventsAvailabilityResultResult(string id = default(string), long? count = default(long?), System.DateTime
 050            : base(id, count, timestamp, customDimensions, customMeasurements, operation, session, user, cloud, ai, appl
 51        {
 052            AvailabilityResult = availabilityResult;
 53            CustomInit();
 054        }
 55
 56        /// <summary>
 57        /// An initialization method that performs custom operations like setting defaults
 58        /// </summary>
 59        partial void CustomInit();
 60
 61        /// <summary>
 62        /// </summary>
 63        [JsonProperty(PropertyName = "availabilityResult")]
 9464        public EventsAvailabilityResultInfo AvailabilityResult { get; set; }
 65
 66    }
 67}