-
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 notification settings to tasks [skip-bc] (generated)
algolia/api-clients-automation#4297 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
- Loading branch information
1 parent
a61fcd7
commit 94a2179
Showing
8 changed files
with
77 additions
and
1 deletion.
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/ingestion/EmailNotifications.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.ingestion | ||
|
||
import kotlinx.serialization.* | ||
import kotlinx.serialization.json.* | ||
|
||
/** | ||
* EmailNotifications | ||
* | ||
* @param enabled Whether to send email notifications, note that this doesn't prevent the task from being blocked. | ||
*/ | ||
@Serializable | ||
public data class EmailNotifications( | ||
|
||
/** Whether to send email notifications, note that this doesn't prevent the task from being blocked. */ | ||
@SerialName(value = "enabled") val enabled: Boolean? = null, | ||
) |
16 changes: 16 additions & 0 deletions
16
client/src/commonMain/kotlin/com/algolia/client/model/ingestion/Notifications.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,16 @@ | ||
/** 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.ingestion | ||
|
||
import kotlinx.serialization.* | ||
import kotlinx.serialization.json.* | ||
|
||
/** | ||
* Notifications settings for a task. | ||
* | ||
* @param email | ||
*/ | ||
@Serializable | ||
public data class Notifications( | ||
|
||
@SerialName(value = "email") val email: EmailNotifications, | ||
) |
17 changes: 17 additions & 0 deletions
17
client/src/commonMain/kotlin/com/algolia/client/model/ingestion/Policies.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.ingestion | ||
|
||
import kotlinx.serialization.* | ||
import kotlinx.serialization.json.* | ||
|
||
/** | ||
* Set of rules for a task. | ||
* | ||
* @param criticalThreshold The number of critical failures in a row before blocking the task and sending a notification. | ||
*/ | ||
@Serializable | ||
public data class Policies( | ||
|
||
/** The number of critical failures in a row before blocking the task and sending a notification. */ | ||
@SerialName(value = "criticalThreshold") val criticalThreshold: Int? = 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
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
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