Skip to content

Commit 83abc31

Browse files
algolia-botcdhawke
andcommitted
feat(specs): update estimate response type [skip-bc] (generated)
algolia/api-clients-automation#4101 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Christopher Hawke <[email protected]>
1 parent 23580b7 commit 83abc31

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

client/src/commonMain/kotlin/com/algolia/client/model/abtesting/EstimateABTestResponse.kt

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,14 @@ import kotlinx.serialization.json.*
88
* EstimateABTestResponse
99
*
1010
* @param durationDays Estimated number of days needed to reach the sample sizes required for detecting the configured effect. This value is based on historical traffic.
11-
* @param controlSampleSize Number of tracked searches needed to be able to detect the configured effect for the control variant.
12-
* @param experimentSampleSize Number of tracked searches needed to be able to detect the configured effect for the experiment variant.
11+
* @param sampleSizes Sample size estimates for each variant. The first element is the control variant. Each element is the estimated number of searches required to achieve the desired statistical significance.
1312
*/
1413
@Serializable
1514
public data class EstimateABTestResponse(
1615

1716
/** Estimated number of days needed to reach the sample sizes required for detecting the configured effect. This value is based on historical traffic. */
1817
@SerialName(value = "durationDays") val durationDays: Long? = null,
1918

20-
/** Number of tracked searches needed to be able to detect the configured effect for the control variant. */
21-
@SerialName(value = "controlSampleSize") val controlSampleSize: Long? = null,
22-
23-
/** Number of tracked searches needed to be able to detect the configured effect for the experiment variant. */
24-
@SerialName(value = "experimentSampleSize") val experimentSampleSize: Long? = null,
19+
/** Sample size estimates for each variant. The first element is the control variant. Each element is the estimated number of searches required to achieve the desired statistical significance. */
20+
@SerialName(value = "sampleSizes") val sampleSizes: List<Long>? = null,
2521
)

0 commit comments

Comments
 (0)