File tree Expand file tree Collapse file tree
client/src/commonMain/kotlin/com/algolia/client/model/composition Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,9 +8,13 @@ import kotlinx.serialization.*
88import kotlinx.serialization.json.*
99
1010/* *
11- * CompositionBehavior
11+ * An object containing either an `injection` or `multifeed` behavior schema, but not both.
1212 *
1313 * @param injection
14+ * @param multifeed
1415 */
1516@Serializable
16- public data class CompositionBehavior (@SerialName(value = " injection" ) val injection : Injection ) {}
17+ public data class CompositionBehavior (
18+ @SerialName(value = " injection" ) val injection : Injection ? = null ,
19+ @SerialName(value = " multifeed" ) val multifeed : Multifeed ? = null ,
20+ ) {}
Original file line number Diff line number Diff line change 1+ /* *
2+ * Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be
3+ * lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
4+ */
5+ package com.algolia.client.model.composition
6+
7+ import kotlinx.serialization.*
8+ import kotlinx.serialization.json.*
9+
10+ /* *
11+ * Multifeed
12+ *
13+ * @param feeds A key-value store of Feed ID to Feed. Currently, the only supported Feed type is an
14+ * Injection.
15+ * @param feedsOrder A list of Feed IDs that specifies the order in which to order the results in
16+ * the response. The IDs should be a subset of those in the Feeds object, and only those specified
17+ * will be processed. When this field is not set, all Feeds are processed and returned with a
18+ * default ordering.
19+ */
20+ @Serializable
21+ public data class Multifeed (
22+
23+ /* *
24+ * A key-value store of Feed ID to Feed. Currently, the only supported Feed type is an Injection.
25+ */
26+ @SerialName(value = " feeds" ) val feeds : Map <kotlin.String , Injection >,
27+
28+ /* *
29+ * A list of Feed IDs that specifies the order in which to order the results in the response. The
30+ * IDs should be a subset of those in the Feeds object, and only those specified will be
31+ * processed. When this field is not set, all Feeds are processed and returned with a default
32+ * ordering.
33+ */
34+ @SerialName(value = " feedsOrder" ) val feedsOrder : List <String >? = null ,
35+ ) {}
You can’t perform that action at this time.
0 commit comments