Skip to content

Commit 955d0cd

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 9804566 commit 955d0cd

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,30 @@
1111
public class TimeRange {
1212

1313
@JsonProperty("from")
14-
private Integer from;
14+
private Long from;
1515

1616
@JsonProperty("until")
17-
private Integer until;
17+
private Long until;
1818

19-
public TimeRange setFrom(Integer from) {
19+
public TimeRange setFrom(Long from) {
2020
this.from = from;
2121
return this;
2222
}
2323

2424
/** When the rule should start to be active, in Unix epoch time. */
2525
@javax.annotation.Nonnull
26-
public Integer getFrom() {
26+
public Long getFrom() {
2727
return from;
2828
}
2929

30-
public TimeRange setUntil(Integer until) {
30+
public TimeRange setUntil(Long until) {
3131
this.until = until;
3232
return this;
3333
}
3434

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

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,30 +11,30 @@
1111
public class TimeRange {
1212

1313
@JsonProperty("from")
14-
private Integer from;
14+
private Long from;
1515

1616
@JsonProperty("until")
17-
private Integer until;
17+
private Long until;
1818

19-
public TimeRange setFrom(Integer from) {
19+
public TimeRange setFrom(Long from) {
2020
this.from = from;
2121
return this;
2222
}
2323

2424
/** When the rule should start to be active, in Unix epoch time. */
2525
@javax.annotation.Nonnull
26-
public Integer getFrom() {
26+
public Long getFrom() {
2727
return from;
2828
}
2929

30-
public TimeRange setUntil(Integer until) {
30+
public TimeRange setUntil(Long until) {
3131
this.until = until;
3232
return this;
3333
}
3434

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

0 commit comments

Comments
 (0)