-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(specs): add estimate path and responses [skip-bc] (generated)
algolia/api-clients-automation#4057 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Christopher Hawke <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
- Loading branch information
1 parent
7d88c5c
commit bf1b39b
Showing
6 changed files
with
91 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
client/src/commonMain/kotlin/com/algolia/client/model/abtesting/EstimateABTestRequest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */ | ||
package com.algolia.client.model.abtesting | ||
|
||
import kotlinx.serialization.* | ||
import kotlinx.serialization.json.* | ||
|
||
/** | ||
* EstimateABTestRequest | ||
* | ||
* @param configuration | ||
* @param variants A/B test variants. | ||
*/ | ||
@Serializable | ||
public data class EstimateABTestRequest( | ||
|
||
@SerialName(value = "configuration") val configuration: EstimateConfiguration, | ||
|
||
/** A/B test variants. */ | ||
@SerialName(value = "variants") val variants: List<AddABTestsVariant>, | ||
) |
25 changes: 25 additions & 0 deletions
25
client/src/commonMain/kotlin/com/algolia/client/model/abtesting/EstimateABTestResponse.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */ | ||
package com.algolia.client.model.abtesting | ||
|
||
import kotlinx.serialization.* | ||
import kotlinx.serialization.json.* | ||
|
||
/** | ||
* EstimateABTestResponse | ||
* | ||
* @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. | ||
* @param controlSampleSize Number of tracked searches needed to be able to detect the configured effect for the control variant. | ||
* @param experimentSampleSize Number of tracked searches needed to be able to detect the configured effect for the experiment variant. | ||
*/ | ||
@Serializable | ||
public data class EstimateABTestResponse( | ||
|
||
/** Estimated number of days needed to reach the sample sizes required for detecting the configured effect. This value is based on historical traffic. */ | ||
@SerialName(value = "durationDays") val durationDays: Long? = null, | ||
|
||
/** Number of tracked searches needed to be able to detect the configured effect for the control variant. */ | ||
@SerialName(value = "controlSampleSize") val controlSampleSize: Long? = null, | ||
|
||
/** Number of tracked searches needed to be able to detect the configured effect for the experiment variant. */ | ||
@SerialName(value = "experimentSampleSize") val experimentSampleSize: Long? = null, | ||
) |
22 changes: 22 additions & 0 deletions
22
client/src/commonMain/kotlin/com/algolia/client/model/abtesting/EstimateConfiguration.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT. */ | ||
package com.algolia.client.model.abtesting | ||
|
||
import kotlinx.serialization.* | ||
import kotlinx.serialization.json.* | ||
|
||
/** | ||
* A/B test configuration for estimating the sample size and duration using minimum detectable effect. | ||
* | ||
* @param minimumDetectableEffect | ||
* @param outliers | ||
* @param emptySearch | ||
*/ | ||
@Serializable | ||
public data class EstimateConfiguration( | ||
|
||
@SerialName(value = "minimumDetectableEffect") val minimumDetectableEffect: MinimumDetectableEffect, | ||
|
||
@SerialName(value = "outliers") val outliers: Outliers? = null, | ||
|
||
@SerialName(value = "emptySearch") val emptySearch: EmptySearch? = null, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters