-
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 /schedule endpoint (generated)
algolia/api-clients-automation#3350 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Fernando Beck <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
- Loading branch information
1 parent
6c33e05
commit 8f59e05
Showing
3 changed files
with
66 additions
and
0 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
17 changes: 17 additions & 0 deletions
17
client/src/commonMain/kotlin/com/algolia/client/model/abtesting/ScheduleABTestResponse.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,17 @@ | ||
/** 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.* | ||
|
||
/** | ||
* ScheduleABTestResponse | ||
* | ||
* @param abTestScheduleID Unique scheduled A/B test identifier. | ||
*/ | ||
@Serializable | ||
public data class ScheduleABTestResponse( | ||
|
||
/** Unique scheduled A/B test identifier. */ | ||
@SerialName(value = "abTestScheduleID") val abTestScheduleID: Int, | ||
) |
29 changes: 29 additions & 0 deletions
29
client/src/commonMain/kotlin/com/algolia/client/model/abtesting/ScheduleABTestsRequest.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,29 @@ | ||
/** 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.* | ||
|
||
/** | ||
* ScheduleABTestsRequest | ||
* | ||
* @param name A/B test name. | ||
* @param variants A/B test variants. | ||
* @param scheduledAt Date and time when the A/B test is scheduled to start, in RFC 3339 format. | ||
* @param endAt End date and time of the A/B test, in RFC 3339 format. | ||
*/ | ||
@Serializable | ||
public data class ScheduleABTestsRequest( | ||
|
||
/** A/B test name. */ | ||
@SerialName(value = "name") val name: String, | ||
|
||
/** A/B test variants. */ | ||
@SerialName(value = "variants") val variants: List<AddABTestsVariant>, | ||
|
||
/** Date and time when the A/B test is scheduled to start, in RFC 3339 format. */ | ||
@SerialName(value = "scheduledAt") val scheduledAt: String, | ||
|
||
/** End date and time of the A/B test, in RFC 3339 format. */ | ||
@SerialName(value = "endAt") val endAt: String, | ||
) |