Skip to content

Commit b73bfe7

Browse files
committed
fix: wrong size of integers in IndicesResponse
[changelog] Fix the size of integers in IndicesResponse. It must be int64 instead of int32.
1 parent 383c7a0 commit b73bfe7

1 file changed

Lines changed: 15 additions & 15 deletions

File tree

algoliasearch-core/src/main/java/com/algolia/search/models/indexing/IndicesResponse.java

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,47 +31,47 @@ public IndicesResponse setUpdatedAt(OffsetDateTime updatedAt) {
3131
return this;
3232
}
3333

34-
public int getEntries() {
34+
public long getEntries() {
3535
return entries;
3636
}
3737

38-
public IndicesResponse setEntries(int entries) {
38+
public IndicesResponse setEntries(long entries) {
3939
this.entries = entries;
4040
return this;
4141
}
4242

43-
public int getDataSize() {
43+
public long getDataSize() {
4444
return dataSize;
4545
}
4646

47-
public IndicesResponse setDataSize(int dataSize) {
47+
public IndicesResponse setDataSize(long dataSize) {
4848
this.dataSize = dataSize;
4949
return this;
5050
}
5151

52-
public int getFileSize() {
52+
public long getFileSize() {
5353
return fileSize;
5454
}
5555

56-
public IndicesResponse setFileSize(int fileSize) {
56+
public IndicesResponse setFileSize(long fileSize) {
5757
this.fileSize = fileSize;
5858
return this;
5959
}
6060

61-
public int getLastBuildTimes() {
61+
public long getLastBuildTimes() {
6262
return lastBuildTimes;
6363
}
6464

65-
public IndicesResponse setLastBuildTimes(int lastBuildTimes) {
65+
public IndicesResponse setLastBuildTimes(long lastBuildTimes) {
6666
this.lastBuildTimes = lastBuildTimes;
6767
return this;
6868
}
6969

70-
public int getNumberOfPendingTasks() {
70+
public long getNumberOfPendingTasks() {
7171
return numberOfPendingTasks;
7272
}
7373

74-
public IndicesResponse setNumberOfPendingTasks(int numberOfPendingTasks) {
74+
public IndicesResponse setNumberOfPendingTasks(long numberOfPendingTasks) {
7575
this.numberOfPendingTasks = numberOfPendingTasks;
7676
return this;
7777
}
@@ -88,10 +88,10 @@ public IndicesResponse setPendingTask(boolean pendingTask) {
8888
private String name;
8989
private OffsetDateTime createdAt;
9090
private OffsetDateTime updatedAt;
91-
private int entries;
92-
private int dataSize;
93-
private int fileSize;
94-
private int lastBuildTimes;
95-
private int numberOfPendingTasks;
91+
private long entries;
92+
private long dataSize;
93+
private long fileSize;
94+
private long lastBuildTimes;
95+
private long numberOfPendingTasks;
9696
private boolean pendingTask;
9797
}

0 commit comments

Comments
 (0)