< Summary

Class:Microsoft.Azure.CognitiveServices.Personalizer.Models.PolicyResultSummary
Assembly:Microsoft.Azure.CognitiveServices.Personalizer
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Personalizer\src\Generated\Models\PolicyResultSummary.cs
Covered lines:0
Uncovered lines:20
Coverable lines:20
Total lines:88
Line coverage:0% (0 of 20)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_TimeStamp()-0%100%
get_IpsEstimatorNumerator()-0%100%
get_IpsEstimatorDenominator()-0%100%
get_SnipsEstimatorDenominator()-0%100%
get_AggregateTimeWindow()-0%100%
get_NonZeroProbability()-0%100%
get_ConfidenceInterval()-0%100%
get_SumOfSquares()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Personalizer\src\Generated\Models\PolicyResultSummary.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.CognitiveServices.Personalizer.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    public partial class PolicyResultSummary
 17    {
 18        /// <summary>
 19        /// Initializes a new instance of the PolicyResultSummary class.
 20        /// </summary>
 021        public PolicyResultSummary()
 22        {
 23            CustomInit();
 024        }
 25
 26        /// <summary>
 27        /// Initializes a new instance of the PolicyResultSummary class.
 28        /// </summary>
 029        public PolicyResultSummary(System.DateTime? timeStamp = default(System.DateTime?), double? ipsEstimatorNumerator
 30        {
 031            TimeStamp = timeStamp;
 032            IpsEstimatorNumerator = ipsEstimatorNumerator;
 033            IpsEstimatorDenominator = ipsEstimatorDenominator;
 034            SnipsEstimatorDenominator = snipsEstimatorDenominator;
 035            AggregateTimeWindow = aggregateTimeWindow;
 036            NonZeroProbability = nonZeroProbability;
 037            ConfidenceInterval = confidenceInterval;
 038            SumOfSquares = sumOfSquares;
 39            CustomInit();
 040        }
 41
 42        /// <summary>
 43        /// An initialization method that performs custom operations like setting defaults
 44        /// </summary>
 45        partial void CustomInit();
 46
 47        /// <summary>
 48        /// </summary>
 49        [JsonProperty(PropertyName = "timeStamp")]
 050        public System.DateTime? TimeStamp { get; private set; }
 51
 52        /// <summary>
 53        /// </summary>
 54        [JsonProperty(PropertyName = "ipsEstimatorNumerator")]
 055        public double? IpsEstimatorNumerator { get; private set; }
 56
 57        /// <summary>
 58        /// </summary>
 59        [JsonProperty(PropertyName = "ipsEstimatorDenominator")]
 060        public double? IpsEstimatorDenominator { get; private set; }
 61
 62        /// <summary>
 63        /// </summary>
 64        [JsonProperty(PropertyName = "snipsEstimatorDenominator")]
 065        public double? SnipsEstimatorDenominator { get; private set; }
 66
 67        /// <summary>
 68        /// </summary>
 69        [JsonProperty(PropertyName = "aggregateTimeWindow")]
 070        public System.TimeSpan? AggregateTimeWindow { get; private set; }
 71
 72        /// <summary>
 73        /// </summary>
 74        [JsonProperty(PropertyName = "nonZeroProbability")]
 075        public double? NonZeroProbability { get; set; }
 76
 77        /// <summary>
 78        /// </summary>
 79        [JsonProperty(PropertyName = "confidenceInterval")]
 080        public double? ConfidenceInterval { get; private set; }
 81
 82        /// <summary>
 83        /// </summary>
 84        [JsonProperty(PropertyName = "sumOfSquares")]
 085        public double? SumOfSquares { get; private set; }
 86
 87    }
 88}