Skip to content

Commit 3756459

Browse files
algolia-botcdhawke
andcommitted
feat(specs): abtesting winsorizedAmount (generated)
algolia/api-clients-automation#5053 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Christopher Hawke <[email protected]>
1 parent 1a5af68 commit 3756459

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

algoliasearch/Models/Abtesting/Currency.cs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ public Currency() { }
4949
[JsonPropertyName("standardDeviation")]
5050
public double? StandardDeviation { get; set; }
5151

52+
/// <summary>
53+
/// The amount of revenue for this currency that was removed after capping purchase amounts to the 95th percentile.
54+
/// </summary>
55+
/// <value>The amount of revenue for this currency that was removed after capping purchase amounts to the 95th percentile.</value>
56+
[JsonPropertyName("winsorizedAmount")]
57+
public double? WinsorizedAmount { get; set; }
58+
5259
/// <summary>
5360
/// Returns the string presentation of the object
5461
/// </summary>
@@ -61,6 +68,7 @@ public override string ToString()
6168
sb.Append(" Revenue: ").Append(Revenue).Append("\n");
6269
sb.Append(" Mean: ").Append(Mean).Append("\n");
6370
sb.Append(" StandardDeviation: ").Append(StandardDeviation).Append("\n");
71+
sb.Append(" WinsorizedAmount: ").Append(WinsorizedAmount).Append("\n");
6472
sb.Append("}\n");
6573
return sb.ToString();
6674
}
@@ -95,6 +103,10 @@ public override bool Equals(object obj)
95103
&& (
96104
StandardDeviation == input.StandardDeviation
97105
|| StandardDeviation.Equals(input.StandardDeviation)
106+
)
107+
&& (
108+
WinsorizedAmount == input.WinsorizedAmount
109+
|| WinsorizedAmount.Equals(input.WinsorizedAmount)
98110
);
99111
}
100112

@@ -114,6 +126,7 @@ public override int GetHashCode()
114126
hashCode = (hashCode * 59) + Revenue.GetHashCode();
115127
hashCode = (hashCode * 59) + Mean.GetHashCode();
116128
hashCode = (hashCode * 59) + StandardDeviation.GetHashCode();
129+
hashCode = (hashCode * 59) + WinsorizedAmount.GetHashCode();
117130
return hashCode;
118131
}
119132
}

0 commit comments

Comments
 (0)