Skip to content

Commit 732ca82

Browse files
algolia-botmillotp
andcommitted
fix(specs): allow one sided rule validity (generated)
algolia/api-clients-automation#5060 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 2bdbd04 commit 732ca82

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

algoliasearch/src/main/java/com/algolia/model/recommend/TimeRange.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public TimeRange setFrom(Long from) {
2222
}
2323

2424
/** When the rule should start to be active, in Unix epoch time. */
25-
@javax.annotation.Nonnull
25+
@javax.annotation.Nullable
2626
public Long getFrom() {
2727
return from;
2828
}
@@ -33,7 +33,7 @@ public TimeRange setUntil(Long until) {
3333
}
3434

3535
/** When the rule should stop to be active, in Unix epoch time. */
36-
@javax.annotation.Nonnull
36+
@javax.annotation.Nullable
3737
public Long getUntil() {
3838
return until;
3939
}

algoliasearch/src/main/java/com/algolia/model/search/TimeRange.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public TimeRange setFrom(Long from) {
2222
}
2323

2424
/** When the rule should start to be active, in Unix epoch time. */
25-
@javax.annotation.Nonnull
25+
@javax.annotation.Nullable
2626
public Long getFrom() {
2727
return from;
2828
}
@@ -33,7 +33,7 @@ public TimeRange setUntil(Long until) {
3333
}
3434

3535
/** When the rule should stop to be active, in Unix epoch time. */
36-
@javax.annotation.Nonnull
36+
@javax.annotation.Nullable
3737
public Long getUntil() {
3838
return until;
3939
}

0 commit comments

Comments
 (0)