Skip to content

Commit 7e091cf

Browse files
chore: generated code for commit a11e84d. [skip ci]
Co-authored-by: Clément Vannicatte <[email protected]>
1 parent a11e84d commit 7e091cf

File tree

112 files changed

+9741
-1385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+9741
-1385
lines changed

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/api/SearchClient.java

+22-21
Original file line numberDiff line numberDiff line change
@@ -3033,14 +3033,14 @@ public CompletableFuture<UserId> getUserIdAsync(String userID) throws AlgoliaRun
30333033
* A successful response indicates that the operation has been taken into account, and the userIDs
30343034
* are directly usable.
30353035
*
3036-
* @param getClusters Whether to get clusters or not. (optional)
3036+
* @param getClusters If the clusters pending mapping state should be on the response. (optional)
30373037
* @param requestOptions The requestOptions to send along with the query, they will be merged with
30383038
* the transporter requestOptions.
3039-
* @return CreatedAtResponse
3039+
* @return HasPendingMappingsResponse
30403040
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot
30413041
* deserialize the response body
30423042
*/
3043-
public CreatedAtResponse hasPendingMappings(Boolean getClusters, RequestOptions requestOptions) throws AlgoliaRuntimeException {
3043+
public HasPendingMappingsResponse hasPendingMappings(Boolean getClusters, RequestOptions requestOptions) throws AlgoliaRuntimeException {
30443044
return LaunderThrowable.await(hasPendingMappingsAsync(getClusters, requestOptions));
30453045
}
30463046

@@ -3051,11 +3051,11 @@ public CreatedAtResponse hasPendingMappings(Boolean getClusters, RequestOptions
30513051
* A successful response indicates that the operation has been taken into account, and the userIDs
30523052
* are directly usable.
30533053
*
3054-
* @param getClusters Whether to get clusters or not. (optional)
3055-
* @return CreatedAtResponse
3054+
* @param getClusters If the clusters pending mapping state should be on the response. (optional)
3055+
* @return HasPendingMappingsResponse
30563056
* @throws AlgoliaRuntimeException If it fails to process the API call
30573057
*/
3058-
public CreatedAtResponse hasPendingMappings(Boolean getClusters) throws AlgoliaRuntimeException {
3058+
public HasPendingMappingsResponse hasPendingMappings(Boolean getClusters) throws AlgoliaRuntimeException {
30593059
return this.hasPendingMappings(getClusters, null);
30603060
}
30613061

@@ -3068,10 +3068,10 @@ public CreatedAtResponse hasPendingMappings(Boolean getClusters) throws AlgoliaR
30683068
*
30693069
* @param requestOptions The requestOptions to send along with the query, they will be merged with
30703070
* the transporter requestOptions.
3071-
* @return CreatedAtResponse
3071+
* @return HasPendingMappingsResponse
30723072
* @throws AlgoliaRuntimeException If it fails to process the API call
30733073
*/
3074-
public CreatedAtResponse hasPendingMappings(RequestOptions requestOptions) throws AlgoliaRuntimeException {
3074+
public HasPendingMappingsResponse hasPendingMappings(RequestOptions requestOptions) throws AlgoliaRuntimeException {
30753075
return this.hasPendingMappings(null, requestOptions);
30763076
}
30773077

@@ -3082,10 +3082,10 @@ public CreatedAtResponse hasPendingMappings(RequestOptions requestOptions) throw
30823082
* A successful response indicates that the operation has been taken into account, and the userIDs
30833083
* are directly usable.
30843084
*
3085-
* @return CreatedAtResponse
3085+
* @return HasPendingMappingsResponse
30863086
* @throws AlgoliaRuntimeException If it fails to process the API call
30873087
*/
3088-
public CreatedAtResponse hasPendingMappings() throws AlgoliaRuntimeException {
3088+
public HasPendingMappingsResponse hasPendingMappings() throws AlgoliaRuntimeException {
30893089
return this.hasPendingMappings(null, null);
30903090
}
30913091

@@ -3096,13 +3096,13 @@ public CreatedAtResponse hasPendingMappings() throws AlgoliaRuntimeException {
30963096
* response is 200 OK. A successful response indicates that the operation has been taken into
30973097
* account, and the userIDs are directly usable.
30983098
*
3099-
* @param getClusters Whether to get clusters or not. (optional)
3099+
* @param getClusters If the clusters pending mapping state should be on the response. (optional)
31003100
* @param requestOptions The requestOptions to send along with the query, they will be merged with
31013101
* the transporter requestOptions.
3102-
* @return CompletableFuture<CreatedAtResponse> The awaitable future
3102+
* @return CompletableFuture<HasPendingMappingsResponse> The awaitable future
31033103
* @throws AlgoliaRuntimeException If it fails to process the API call
31043104
*/
3105-
public CompletableFuture<CreatedAtResponse> hasPendingMappingsAsync(Boolean getClusters, RequestOptions requestOptions)
3105+
public CompletableFuture<HasPendingMappingsResponse> hasPendingMappingsAsync(Boolean getClusters, RequestOptions requestOptions)
31063106
throws AlgoliaRuntimeException {
31073107
Object bodyObj = null;
31083108

@@ -3117,7 +3117,7 @@ public CompletableFuture<CreatedAtResponse> hasPendingMappingsAsync(Boolean getC
31173117
}
31183118

31193119
Call call = this.buildCall(requestPath, "GET", queryParameters, bodyObj, headers, requestOptions, false);
3120-
Type returnType = new TypeToken<CreatedAtResponse>() {}.getType();
3120+
Type returnType = new TypeToken<HasPendingMappingsResponse>() {}.getType();
31213121
return this.executeAsync(call, returnType);
31223122
}
31233123

@@ -3128,11 +3128,11 @@ public CompletableFuture<CreatedAtResponse> hasPendingMappingsAsync(Boolean getC
31283128
* response is 200 OK. A successful response indicates that the operation has been taken into
31293129
* account, and the userIDs are directly usable.
31303130
*
3131-
* @param getClusters Whether to get clusters or not. (optional)
3132-
* @return CompletableFuture<CreatedAtResponse> The awaitable future
3131+
* @param getClusters If the clusters pending mapping state should be on the response. (optional)
3132+
* @return CompletableFuture<HasPendingMappingsResponse> The awaitable future
31333133
* @throws AlgoliaRuntimeException If it fails to process the API call
31343134
*/
3135-
public CompletableFuture<CreatedAtResponse> hasPendingMappingsAsync(Boolean getClusters) throws AlgoliaRuntimeException {
3135+
public CompletableFuture<HasPendingMappingsResponse> hasPendingMappingsAsync(Boolean getClusters) throws AlgoliaRuntimeException {
31363136
return this.hasPendingMappingsAsync(getClusters, null);
31373137
}
31383138

@@ -3145,10 +3145,11 @@ public CompletableFuture<CreatedAtResponse> hasPendingMappingsAsync(Boolean getC
31453145
*
31463146
* @param requestOptions The requestOptions to send along with the query, they will be merged with
31473147
* the transporter requestOptions.
3148-
* @return CompletableFuture<CreatedAtResponse> The awaitable future
3148+
* @return CompletableFuture<HasPendingMappingsResponse> The awaitable future
31493149
* @throws AlgoliaRuntimeException If it fails to process the API call
31503150
*/
3151-
public CompletableFuture<CreatedAtResponse> hasPendingMappingsAsync(RequestOptions requestOptions) throws AlgoliaRuntimeException {
3151+
public CompletableFuture<HasPendingMappingsResponse> hasPendingMappingsAsync(RequestOptions requestOptions)
3152+
throws AlgoliaRuntimeException {
31523153
return this.hasPendingMappingsAsync(null, requestOptions);
31533154
}
31543155

@@ -3159,10 +3160,10 @@ public CompletableFuture<CreatedAtResponse> hasPendingMappingsAsync(RequestOptio
31593160
* response is 200 OK. A successful response indicates that the operation has been taken into
31603161
* account, and the userIDs are directly usable.
31613162
*
3162-
* @return CompletableFuture<CreatedAtResponse> The awaitable future
3163+
* @return CompletableFuture<HasPendingMappingsResponse> The awaitable future
31633164
* @throws AlgoliaRuntimeException If it fails to process the API call
31643165
*/
3165-
public CompletableFuture<CreatedAtResponse> hasPendingMappingsAsync() throws AlgoliaRuntimeException {
3166+
public CompletableFuture<HasPendingMappingsResponse> hasPendingMappingsAsync() throws AlgoliaRuntimeException {
31663167
return this.hasPendingMappingsAsync(null, null);
31673168
}
31683169

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/model/abtesting/ABTest.java

+22-2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ public class ABTest {
1919
@SerializedName("endAt")
2020
private String endAt;
2121

22+
@SerializedName("updatedAt")
23+
private String updatedAt;
24+
2225
@SerializedName("createdAt")
2326
private String createdAt;
2427

@@ -93,13 +96,28 @@ public String getEndAt() {
9396
return endAt;
9497
}
9598

99+
public ABTest setUpdatedAt(String updatedAt) {
100+
this.updatedAt = updatedAt;
101+
return this;
102+
}
103+
104+
/**
105+
* Update date for the A/B test expressed as YYYY-MM-DDThh:mm:ssZ.
106+
*
107+
* @return updatedAt
108+
*/
109+
@javax.annotation.Nonnull
110+
public String getUpdatedAt() {
111+
return updatedAt;
112+
}
113+
96114
public ABTest setCreatedAt(String createdAt) {
97115
this.createdAt = createdAt;
98116
return this;
99117
}
100118

101119
/**
102-
* End date for the A/B test expressed as YYYY-MM-DDThh:mm:ssZ.
120+
* Creation date for the A/B test expressed as YYYY-MM-DDThh:mm:ssZ.
103121
*
104122
* @return createdAt
105123
*/
@@ -172,6 +190,7 @@ public boolean equals(Object o) {
172190
Objects.equals(this.clickSignificance, abTest.clickSignificance) &&
173191
Objects.equals(this.conversionSignificance, abTest.conversionSignificance) &&
174192
Objects.equals(this.endAt, abTest.endAt) &&
193+
Objects.equals(this.updatedAt, abTest.updatedAt) &&
175194
Objects.equals(this.createdAt, abTest.createdAt) &&
176195
Objects.equals(this.name, abTest.name) &&
177196
Objects.equals(this.status, abTest.status) &&
@@ -181,7 +200,7 @@ public boolean equals(Object o) {
181200

182201
@Override
183202
public int hashCode() {
184-
return Objects.hash(abTestID, clickSignificance, conversionSignificance, endAt, createdAt, name, status, variants);
203+
return Objects.hash(abTestID, clickSignificance, conversionSignificance, endAt, updatedAt, createdAt, name, status, variants);
185204
}
186205

187206
@Override
@@ -192,6 +211,7 @@ public String toString() {
192211
sb.append(" clickSignificance: ").append(toIndentedString(clickSignificance)).append("\n");
193212
sb.append(" conversionSignificance: ").append(toIndentedString(conversionSignificance)).append("\n");
194213
sb.append(" endAt: ").append(toIndentedString(endAt)).append("\n");
214+
sb.append(" updatedAt: ").append(toIndentedString(updatedAt)).append("\n");
195215
sb.append(" createdAt: ").append(toIndentedString(createdAt)).append("\n");
196216
sb.append(" name: ").append(toIndentedString(name)).append("\n");
197217
sb.append(" status: ").append(toIndentedString(status)).append("\n");

0 commit comments

Comments
 (0)