Skip to content

Commit

Permalink
fix(specs): update time range number types [skip-bc] (generated)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
3 people committed Oct 24, 2024
1 parent 9804566 commit 955d0cd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@
public class TimeRange {

@JsonProperty("from")
private Integer from;
private Long from;

@JsonProperty("until")
private Integer until;
private Long until;

public TimeRange setFrom(Integer from) {
public TimeRange setFrom(Long from) {
this.from = from;
return this;
}

/** When the rule should start to be active, in Unix epoch time. */
@javax.annotation.Nonnull
public Integer getFrom() {
public Long getFrom() {
return from;
}

public TimeRange setUntil(Integer until) {
public TimeRange setUntil(Long until) {
this.until = until;
return this;
}

/** When the rule should stop to be active, in Unix epoch time. */
@javax.annotation.Nonnull
public Integer getUntil() {
public Long getUntil() {
return until;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,30 @@
public class TimeRange {

@JsonProperty("from")
private Integer from;
private Long from;

@JsonProperty("until")
private Integer until;
private Long until;

public TimeRange setFrom(Integer from) {
public TimeRange setFrom(Long from) {
this.from = from;
return this;
}

/** When the rule should start to be active, in Unix epoch time. */
@javax.annotation.Nonnull
public Integer getFrom() {
public Long getFrom() {
return from;
}

public TimeRange setUntil(Integer until) {
public TimeRange setUntil(Long until) {
this.until = until;
return this;
}

/** When the rule should stop to be active, in Unix epoch time. */
@javax.annotation.Nonnull
public Integer getUntil() {
public Long getUntil() {
return until;
}

Expand Down

0 comments on commit 955d0cd

Please sign in to comment.