-
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 runSource endpoint (generated)
algolia/api-clients-automation#3453 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
fe30936
commit 9928474
Showing
4 changed files
with
92 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
19 changes: 19 additions & 0 deletions
19
client/src/commonMain/kotlin/com/algolia/client/model/ingestion/EntityType.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,19 @@ | ||
/** 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.* | ||
|
||
/** | ||
* Type of entity to update. | ||
*/ | ||
@Serializable | ||
public enum class EntityType(public val value: kotlin.String) { | ||
|
||
@SerialName(value = "product") | ||
Product("product"), | ||
|
||
@SerialName(value = "collection") | ||
Collection("collection"); | ||
|
||
override fun toString(): kotlin.String = value | ||
} |
28 changes: 28 additions & 0 deletions
28
client/src/commonMain/kotlin/com/algolia/client/model/ingestion/RunSourcePayload.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,28 @@ | ||
/** 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.* | ||
|
||
/** | ||
* RunSourcePayload | ||
* | ||
* @param indexToInclude List of index names to include in reidexing/update. | ||
* @param indexToExclude List of index names to exclude in reidexing/update. | ||
* @param entityIDs List of entityID to update. | ||
* @param entityType | ||
*/ | ||
@Serializable | ||
public data class RunSourcePayload( | ||
|
||
/** List of index names to include in reidexing/update. */ | ||
@SerialName(value = "indexToInclude") val indexToInclude: List<String>? = null, | ||
|
||
/** List of index names to exclude in reidexing/update. */ | ||
@SerialName(value = "indexToExclude") val indexToExclude: List<String>? = null, | ||
|
||
/** List of entityID to update. */ | ||
@SerialName(value = "entityIDs") val entityIDs: List<String>? = null, | ||
|
||
@SerialName(value = "entityType") val entityType: EntityType? = null, | ||
) |
21 changes: 21 additions & 0 deletions
21
client/src/commonMain/kotlin/com/algolia/client/model/ingestion/RunSourceResponse.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,21 @@ | ||
/** 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.* | ||
|
||
/** | ||
* RunSourceResponse | ||
* | ||
* @param taskWithRunID Map of taskID sent for reindex with the corresponding runID. | ||
* @param createdAt Date of creation in RFC 3339 format. | ||
*/ | ||
@Serializable | ||
public data class RunSourceResponse( | ||
|
||
/** Map of taskID sent for reindex with the corresponding runID. */ | ||
@SerialName(value = "taskWithRunID") val taskWithRunID: Map<kotlin.String, String>, | ||
|
||
/** Date of creation in RFC 3339 format. */ | ||
@SerialName(value = "createdAt") val createdAt: String, | ||
) |