Skip to content

Commit d1983f9

Browse files
algolia-botstevenMevansshortcuts
committed
feat(specs): abtests stopped at (generated)
algolia/api-clients-automation#5275 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Steven Evans <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent cd2c085 commit d1983f9

File tree

2 files changed

+8
-0
lines changed
  • client/src/commonMain/kotlin/com/algolia/client/model

2 files changed

+8
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import kotlinx.serialization.json.*
1919
* @param addToCartSignificance
2020
* @param purchaseSignificance
2121
* @param revenueSignificance
22+
* @param stoppedAt Date and time when the A/B test was stopped, in RFC 3339 format.
2223
* @param configuration
2324
*/
2425
@Serializable
@@ -54,5 +55,8 @@ public data class ABTest(
5455

5556
@SerialName(value = "revenueSignificance") val revenueSignificance: Map<kotlin.String, Double>? = null,
5657

58+
/** Date and time when the A/B test was stopped, in RFC 3339 format. */
59+
@SerialName(value = "stoppedAt") val stoppedAt: String? = null,
60+
5761
@SerialName(value = "configuration") val configuration: ABTestConfiguration? = null,
5862
)

client/src/commonMain/kotlin/com/algolia/client/model/abtestingv3/ABTest.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import kotlinx.serialization.json.*
1414
* @param name A/B test name.
1515
* @param status
1616
* @param variants A/B test variants. The first variant is your _control_ index, typically your production index. All of the additional variants are indexes with changed settings that you want to test against the control.
17+
* @param stoppedAt Date and time when the A/B test was stopped, in RFC 3339 format.
1718
* @param configuration
1819
* @param migratedAbTestID Unique migrated A/B test identifier.
1920
*/
@@ -40,6 +41,9 @@ public data class ABTest(
4041
/** A/B test variants. The first variant is your _control_ index, typically your production index. All of the additional variants are indexes with changed settings that you want to test against the control. */
4142
@SerialName(value = "variants") val variants: List<Variant>,
4243

44+
/** Date and time when the A/B test was stopped, in RFC 3339 format. */
45+
@SerialName(value = "stoppedAt") val stoppedAt: String? = null,
46+
4347
@SerialName(value = "configuration") val configuration: ABTestConfiguration? = null,
4448

4549
/** Unique migrated A/B test identifier. */

0 commit comments

Comments
 (0)