Skip to content

Commit 31f1690

Browse files
algolia-botmillotp
andcommitted
fix(specs): change fileSize to int64 type (#4877) (generated) [skip ci]
Co-authored-by: Pierre Millot <[email protected]>
1 parent 969cae2 commit 31f1690

File tree

10 files changed

+37
-31
lines changed

10 files changed

+37
-31
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Models/Search/FetchedIndex.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public FetchedIndex(
3939
string createdAt,
4040
string updatedAt,
4141
int entries,
42-
int dataSize,
43-
int fileSize,
42+
long dataSize,
43+
long fileSize,
4444
int lastBuildTimeS,
4545
int numberOfPendingTasks,
4646
bool pendingTask
@@ -90,14 +90,14 @@ bool pendingTask
9090
/// </summary>
9191
/// <value>Number of bytes of the index in minified format.</value>
9292
[JsonPropertyName("dataSize")]
93-
public int DataSize { get; set; }
93+
public long DataSize { get; set; }
9494

9595
/// <summary>
9696
/// Number of bytes of the index binary file.
9797
/// </summary>
9898
/// <value>Number of bytes of the index binary file.</value>
9999
[JsonPropertyName("fileSize")]
100-
public int FileSize { get; set; }
100+
public long FileSize { get; set; }
101101

102102
/// <summary>
103103
/// Last build time.

clients/algoliasearch-client-go/algolia/search/model_fetched_index.go

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clients/algoliasearch-client-java/algoliasearch/src/main/java/com/algolia/model/search/FetchedIndex.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ public class FetchedIndex {
2525
private Integer entries;
2626

2727
@JsonProperty("dataSize")
28-
private Integer dataSize;
28+
private Long dataSize;
2929

3030
@JsonProperty("fileSize")
31-
private Integer fileSize;
31+
private Long fileSize;
3232

3333
@JsonProperty("lastBuildTimeS")
3434
private Integer lastBuildTimeS;
@@ -92,25 +92,25 @@ public Integer getEntries() {
9292
return entries;
9393
}
9494

95-
public FetchedIndex setDataSize(Integer dataSize) {
95+
public FetchedIndex setDataSize(Long dataSize) {
9696
this.dataSize = dataSize;
9797
return this;
9898
}
9999

100100
/** Number of bytes of the index in minified format. */
101101
@javax.annotation.Nonnull
102-
public Integer getDataSize() {
102+
public Long getDataSize() {
103103
return dataSize;
104104
}
105105

106-
public FetchedIndex setFileSize(Integer fileSize) {
106+
public FetchedIndex setFileSize(Long fileSize) {
107107
this.fileSize = fileSize;
108108
return this;
109109
}
110110

111111
/** Number of bytes of the index binary file. */
112112
@javax.annotation.Nonnull
113-
public Integer getFileSize() {
113+
public Long getFileSize() {
114114
return fileSize;
115115
}
116116

clients/algoliasearch-client-kotlin/client/src/commonMain/kotlin/com/algolia/client/model/search/FetchedIndex.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ public data class FetchedIndex(
3636
@SerialName(value = "entries") val entries: Int,
3737

3838
/** Number of bytes of the index in minified format. */
39-
@SerialName(value = "dataSize") val dataSize: Int,
39+
@SerialName(value = "dataSize") val dataSize: Long,
4040

4141
/** Number of bytes of the index binary file. */
42-
@SerialName(value = "fileSize") val fileSize: Int,
42+
@SerialName(value = "fileSize") val fileSize: Long,
4343

4444
/** Last build time. */
4545
@SerialName(value = "lastBuildTimeS") val lastBuildTimeS: Int,

clients/algoliasearch-client-php/lib/Model/Search/FetchedIndex.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ class FetchedIndex extends AbstractModel implements ModelInterface, \ArrayAccess
4444
'createdAt' => null,
4545
'updatedAt' => null,
4646
'entries' => null,
47-
'dataSize' => null,
48-
'fileSize' => null,
47+
'dataSize' => 'int64',
48+
'fileSize' => 'int64',
4949
'lastBuildTimeS' => null,
5050
'numberOfPendingTasks' => null,
5151
'pendingTask' => null,

clients/algoliasearch-client-scala/src/main/scala/algoliasearch/search/FetchedIndex.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ case class FetchedIndex(
6666
createdAt: String,
6767
updatedAt: String,
6868
entries: Int,
69-
dataSize: Int,
70-
fileSize: Int,
69+
dataSize: Long,
70+
fileSize: Long,
7171
lastBuildTimeS: Int,
7272
numberOfPendingTasks: Int,
7373
pendingTask: Boolean,

clients/algoliasearch-client-swift/Sources/Search/Models/FetchedIndex.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ public struct FetchedIndex: Codable, JSONEncodable {
1616
/// Number of records contained in the index.
1717
public var entries: Int
1818
/// Number of bytes of the index in minified format.
19-
public var dataSize: Int
19+
public var dataSize: Int64
2020
/// Number of bytes of the index binary file.
21-
public var fileSize: Int
21+
public var fileSize: Int64
2222
/// Last build time.
2323
public var lastBuildTimeS: Int
2424
/// Number of pending indexing operations. This value is deprecated and should not be used.
@@ -37,8 +37,8 @@ public struct FetchedIndex: Codable, JSONEncodable {
3737
createdAt: String,
3838
updatedAt: String,
3939
entries: Int,
40-
dataSize: Int,
41-
fileSize: Int,
40+
dataSize: Int64,
41+
fileSize: Int64,
4242
lastBuildTimeS: Int,
4343
numberOfPendingTasks: Int,
4444
pendingTask: Bool,

docs/bundled/search.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8244,11 +8244,13 @@
82448244
},
82458245
"dataSize": {
82468246
"type": "integer",
8247+
"format": "int64",
82478248
"description": "Number of bytes of the index in minified format.",
82488249
"example": 48450
82498250
},
82508251
"fileSize": {
82518252
"type": "integer",
8253+
"format": "int64",
82528254
"description": "Number of bytes of the index binary file.",
82538255
"example": 112927
82548256
},

docs/bundled/search.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23050,10 +23050,12 @@ components:
2305023050
example: 100
2305123051
dataSize:
2305223052
type: integer
23053+
format: int64
2305323054
description: Number of bytes of the index in minified format.
2305423055
example: 48450
2305523056
fileSize:
2305623057
type: integer
23058+
format: int64
2305723059
description: Number of bytes of the index binary file.
2305823060
example: 112927
2305923061
lastBuildTimeS:

specs/bundled/search.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7920,10 +7920,12 @@ components:
79207920
example: 100
79217921
dataSize:
79227922
type: integer
7923+
format: int64
79237924
description: Number of bytes of the index in minified format.
79247925
example: 48450
79257926
fileSize:
79267927
type: integer
7928+
format: int64
79277929
description: Number of bytes of the index binary file.
79287930
example: 112927
79297931
lastBuildTimeS:

0 commit comments

Comments
 (0)