Skip to content

Commit 5590d33

Browse files
algolia-botsbellonemillotp
committed
feat(specs): add useImagesObjects property in commercetools source input (generated)
algolia/api-clients-automation#5586 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Sylvain Bellone <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 8f5931e commit 5590d33

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

client/src/commonMain/kotlin/com/algolia/client/model/ingestion/SourceCommercetools.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import kotlinx.serialization.json.*
1818
* no inventory information about the product.
1919
* @param productQueryPredicate Predicate to filter out specific products when indexing. For more
2020
* information, see [Query Predicate](https://docs.commercetools.com/api/predicates/query).
21+
* @param useImagesObjects When set to true, the connector indexes objects with all images
22+
* attributes instead of only the URLs.
2123
* @param customFields
2224
*/
2325
@Serializable
@@ -40,5 +42,11 @@ public data class SourceCommercetools(
4042
* [Query Predicate](https://docs.commercetools.com/api/predicates/query).
4143
*/
4244
@SerialName(value = "productQueryPredicate") val productQueryPredicate: String? = null,
45+
46+
/**
47+
* When set to true, the connector indexes objects with all images attributes instead of only the
48+
* URLs.
49+
*/
50+
@SerialName(value = "useImagesObjects") val useImagesObjects: Boolean? = null,
4351
@SerialName(value = "customFields") val customFields: CommercetoolsCustomFields? = null,
4452
) : SourceInput {}

client/src/commonMain/kotlin/com/algolia/client/model/ingestion/SourceUpdateCommercetools.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import kotlinx.serialization.json.*
1717
* no inventory information about the product.
1818
* @param productQueryPredicate Predicate to filter out specific products when indexing. For more
1919
* information, see [Query Predicate](https://docs.commercetools.com/api/predicates/query).
20+
* @param useImagesObjects When set to true, the connector indexes objects with all images
21+
* attributes instead of only the URLs.
2022
* @param customFields
2123
*/
2224
@Serializable
@@ -38,5 +40,11 @@ public data class SourceUpdateCommercetools(
3840
* [Query Predicate](https://docs.commercetools.com/api/predicates/query).
3941
*/
4042
@SerialName(value = "productQueryPredicate") val productQueryPredicate: String? = null,
43+
44+
/**
45+
* When set to true, the connector indexes objects with all images attributes instead of only the
46+
* URLs.
47+
*/
48+
@SerialName(value = "useImagesObjects") val useImagesObjects: Boolean? = null,
4149
@SerialName(value = "customFields") val customFields: CommercetoolsCustomFields? = null,
4250
) : SourceUpdateInput {}

0 commit comments

Comments
 (0)