File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed
algoliasearch/src/main/java/com/algolia/model Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 11
11
public class TimeRange {
12
12
13
13
@ JsonProperty ("from" )
14
- private Integer from ;
14
+ private Long from ;
15
15
16
16
@ JsonProperty ("until" )
17
- private Integer until ;
17
+ private Long until ;
18
18
19
- public TimeRange setFrom (Integer from ) {
19
+ public TimeRange setFrom (Long from ) {
20
20
this .from = from ;
21
21
return this ;
22
22
}
23
23
24
24
/** When the rule should start to be active, in Unix epoch time. */
25
25
@ javax .annotation .Nonnull
26
- public Integer getFrom () {
26
+ public Long getFrom () {
27
27
return from ;
28
28
}
29
29
30
- public TimeRange setUntil (Integer until ) {
30
+ public TimeRange setUntil (Long until ) {
31
31
this .until = until ;
32
32
return this ;
33
33
}
34
34
35
35
/** When the rule should stop to be active, in Unix epoch time. */
36
36
@ javax .annotation .Nonnull
37
- public Integer getUntil () {
37
+ public Long getUntil () {
38
38
return until ;
39
39
}
40
40
Original file line number Diff line number Diff line change 11
11
public class TimeRange {
12
12
13
13
@ JsonProperty ("from" )
14
- private Integer from ;
14
+ private Long from ;
15
15
16
16
@ JsonProperty ("until" )
17
- private Integer until ;
17
+ private Long until ;
18
18
19
- public TimeRange setFrom (Integer from ) {
19
+ public TimeRange setFrom (Long from ) {
20
20
this .from = from ;
21
21
return this ;
22
22
}
23
23
24
24
/** When the rule should start to be active, in Unix epoch time. */
25
25
@ javax .annotation .Nonnull
26
- public Integer getFrom () {
26
+ public Long getFrom () {
27
27
return from ;
28
28
}
29
29
30
- public TimeRange setUntil (Integer until ) {
30
+ public TimeRange setUntil (Long until ) {
31
31
this .until = until ;
32
32
return this ;
33
33
}
34
34
35
35
/** When the rule should stop to be active, in Unix epoch time. */
36
36
@ javax .annotation .Nonnull
37
- public Integer getUntil () {
37
+ public Long getUntil () {
38
38
return until ;
39
39
}
40
40
You can’t perform that action at this time.
0 commit comments