| | 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.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> |
| 0 | 21 | | public PolicyResultSummary() |
| | 22 | | { |
| | 23 | | CustomInit(); |
| 0 | 24 | | } |
| | 25 | |
|
| | 26 | | /// <summary> |
| | 27 | | /// Initializes a new instance of the PolicyResultSummary class. |
| | 28 | | /// </summary> |
| 0 | 29 | | public PolicyResultSummary(System.DateTime? timeStamp = default(System.DateTime?), double? ipsEstimatorNumerator |
| | 30 | | { |
| 0 | 31 | | TimeStamp = timeStamp; |
| 0 | 32 | | IpsEstimatorNumerator = ipsEstimatorNumerator; |
| 0 | 33 | | IpsEstimatorDenominator = ipsEstimatorDenominator; |
| 0 | 34 | | SnipsEstimatorDenominator = snipsEstimatorDenominator; |
| 0 | 35 | | AggregateTimeWindow = aggregateTimeWindow; |
| 0 | 36 | | NonZeroProbability = nonZeroProbability; |
| 0 | 37 | | ConfidenceInterval = confidenceInterval; |
| 0 | 38 | | SumOfSquares = sumOfSquares; |
| | 39 | | CustomInit(); |
| 0 | 40 | | } |
| | 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")] |
| 0 | 50 | | public System.DateTime? TimeStamp { get; private set; } |
| | 51 | |
|
| | 52 | | /// <summary> |
| | 53 | | /// </summary> |
| | 54 | | [JsonProperty(PropertyName = "ipsEstimatorNumerator")] |
| 0 | 55 | | public double? IpsEstimatorNumerator { get; private set; } |
| | 56 | |
|
| | 57 | | /// <summary> |
| | 58 | | /// </summary> |
| | 59 | | [JsonProperty(PropertyName = "ipsEstimatorDenominator")] |
| 0 | 60 | | public double? IpsEstimatorDenominator { get; private set; } |
| | 61 | |
|
| | 62 | | /// <summary> |
| | 63 | | /// </summary> |
| | 64 | | [JsonProperty(PropertyName = "snipsEstimatorDenominator")] |
| 0 | 65 | | public double? SnipsEstimatorDenominator { get; private set; } |
| | 66 | |
|
| | 67 | | /// <summary> |
| | 68 | | /// </summary> |
| | 69 | | [JsonProperty(PropertyName = "aggregateTimeWindow")] |
| 0 | 70 | | public System.TimeSpan? AggregateTimeWindow { get; private set; } |
| | 71 | |
|
| | 72 | | /// <summary> |
| | 73 | | /// </summary> |
| | 74 | | [JsonProperty(PropertyName = "nonZeroProbability")] |
| 0 | 75 | | public double? NonZeroProbability { get; set; } |
| | 76 | |
|
| | 77 | | /// <summary> |
| | 78 | | /// </summary> |
| | 79 | | [JsonProperty(PropertyName = "confidenceInterval")] |
| 0 | 80 | | public double? ConfidenceInterval { get; private set; } |
| | 81 | |
|
| | 82 | | /// <summary> |
| | 83 | | /// </summary> |
| | 84 | | [JsonProperty(PropertyName = "sumOfSquares")] |
| 0 | 85 | | public double? SumOfSquares { get; private set; } |
| | 86 | |
|
| | 87 | | } |
| | 88 | | } |