File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Sources/AlgoliaSearchClient/Models/Analytics/ABTest/Response Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -10,18 +10,18 @@ import Foundation
1010extension ABTestResponse {
1111
1212 public struct Variant : Codable {
13+
14+ public let indexName : IndexName
15+
16+ public let trafficPercentage : Int
1317
1418 /// Distinct click count for the variant.
15- public let clickCount : Int
19+ public let clickCount : Int ?
1620
1721 /// Distinct conversion count for the variant.
18- public let conversionCount : Int
19-
20- public let description : String
22+ public let conversionCount : Int ?
2123
22- public let indexName : IndexName
23-
24- public let trafficPercentage : Int
24+ public let description : String ?
2525
2626 /// Conversion rate for the variant.
2727 public let conversionRate : Double ?
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public struct ABTestResponse {
1717 public let clickSignificance : Double ?
1818
1919 /// ABTest significance based on conversion data.
20- /// Should be > 0.95 to be considered significant (no matter which variant is winning
20+ /// Should be > 0.95 to be considered significant (no matter which variant is winning)
2121 public let conversionSignificance : Double ?
2222
2323 /// Time at which the ABTest has been created.
You can’t perform that action at this time.
0 commit comments