Skip to content

Commit ce69769

Browse files
algolia-botFluf22millotp
committed
fix(specs): update time range number types [skip-bc] (generated)
algolia/api-clients-automation#4023 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Thomas Raffray <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent e926767 commit ce69769

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

client/src/commonMain/kotlin/com/algolia/client/model/recommend/TimeRange.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import kotlinx.serialization.json.*
1414
public data class TimeRange(
1515

1616
/** When the rule should start to be active, in Unix epoch time. */
17-
@SerialName(value = "from") val from: Int,
17+
@SerialName(value = "from") val from: Long,
1818

1919
/** When the rule should stop to be active, in Unix epoch time. */
20-
@SerialName(value = "until") val until: Int,
20+
@SerialName(value = "until") val until: Long,
2121
)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import kotlinx.serialization.json.*
1414
public data class TimeRange(
1515

1616
/** When the rule should start to be active, in Unix epoch time. */
17-
@SerialName(value = "from") val from: Int,
17+
@SerialName(value = "from") val from: Long,
1818

1919
/** When the rule should stop to be active, in Unix epoch time. */
20-
@SerialName(value = "until") val until: Int,
20+
@SerialName(value = "until") val until: Long,
2121
)

0 commit comments

Comments
 (0)