Skip to content

Commit 4e9f9dc

Browse files
algolia-botmillotp
andcommitted
fix(specs): add tags and scope to rules (generated)
algolia/api-clients-automation#5625 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 56701a5 commit 4e9f9dc

File tree

1 file changed

+4
-0
lines changed
  • client/src/commonMain/kotlin/com/algolia/client/model/search

1 file changed

+4
-0
lines changed

client/src/commonMain/kotlin/com/algolia/client/model/search/Rule.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import kotlinx.serialization.json.*
1919
* rules.
2020
* @param enabled Whether the rule is active.
2121
* @param validity Time periods when the rule is active.
22+
* @param tags
23+
* @param scope
2224
*/
2325
@Serializable
2426
public data class Rule(
@@ -42,4 +44,6 @@ public data class Rule(
4244

4345
/** Time periods when the rule is active. */
4446
@SerialName(value = "validity") val validity: List<TimeRange>? = null,
47+
@SerialName(value = "tags") val tags: List<String>? = null,
48+
@SerialName(value = "scope") val scope: String? = null,
4549
) {}

0 commit comments

Comments
 (0)