@@ -134,17 +134,17 @@ public class {{classname}} extends ApiClient {
134
134
135
135
{ {#operation} }
136
136
/**
137
- * { {& notes} }{ {#allParams} }
138
- * @param { {paramName} } { {& description} }{ {#required} } (required){ {/required} }{ {^required} } (optional{ {^isContainer} }{ {#defaultValue} }, default to { {.} }{ {/defaultValue} }{ {/isContainer} }){ {/required} }{ {/allParams} }{ {#returnType} }
137
+ * { {{ notes} }}{ {#allParams} }
138
+ * @param { {paramName} } { {{ description} }}{ {#required} } (required){ {/required} }{ {^required} } (optional{ {^isContainer} }{ {#defaultValue} }, default to { {.} }{ {/defaultValue} }{ {/isContainer} }){ {/required} }{ {/allParams} }{ {#returnType} }
139
139
* @param requestOptions The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
140
140
* @return { {.} }{ {/returnType} }
141
141
* @throws AlgoliaRuntimeException If fail to call the API, e.g. server error or cannot deserialize the response body
142
142
{ {#isDeprecated} }
143
143
* @deprecated
144
144
{ {/isDeprecated} }
145
145
{ {#externalDocs} }
146
- * { {& description} }
147
- * @see <a href =" { { url} } " >{ {& summary} } Documentation</a >
146
+ * { {{ description} }}
147
+ * @see <a href =" { { url} } " >{ {{ summary} }} Documentation</a >
148
148
{ {/externalDocs} }
149
149
*/
150
150
{ {#isDeprecated} }
@@ -155,19 +155,35 @@ public class {{classname}} extends ApiClient {
155
155
}
156
156
157
157
{ {! This case only sets `requestOptions` as optional } }
158
+ /**
159
+ * { {{notes} }}{ {#allParams} }
160
+ * @param { {paramName} } { {{description} }}{ {#required} } (required){ {/required} }{ {^required} } (optional{ {^isContainer} }{ {#defaultValue} }, default to { {.} }{ {/defaultValue} }{ {/isContainer} }){ {/required} }{ {/allParams} }{ {#returnType} }
161
+ * @return { {.} }{ {/returnType} }
162
+ { {> api_javadoc} }
158
163
public { {#returnType} }{ {{.} }} { {/returnType} }{ {^returnType} }void { {/returnType} }{ {operationId} }({ {#allParams} }{ {{dataType} }} { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }) throws AlgoliaRuntimeException {
159
164
{{#returnType} }return { {/returnType} }this.{ {operationId} }({ {#allParams} }{ {paramName} }, { {/allParams} }null);
160
165
}
161
166
162
167
{ {! This case sets `requiredParams` + `requestOptions` } }
163
168
{ {#optionalParams.0} }
169
+ /**
170
+ * { {{notes} }}{ {#requiredParams} }
171
+ * @param { {paramName} } { {{description} }} (required){ {/requiredParams} }{ {#returnType} }
172
+ * @param requestOptions The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
173
+ * @return { {.} }{ {/returnType} }
174
+ { {> api_javadoc} }
164
175
public { {#returnType} }{ {{.} }} { {/returnType} }{ {^returnType} }void { {/returnType} }{ {operationId} }({ {#requiredParams} }{ {{dataType} }} { {paramName} }, { {/requiredParams} }RequestOptions requestOptions) throws AlgoliaRuntimeException {
165
176
{{#returnType} }return { {/returnType} }this.{ {operationId} }({ {#requiredParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/requiredParams} }{ {#requiredParams.0} },{ {/requiredParams.0} }{ {#optionalParams} }null{ {^-last} },{ {/-last} }{ {/optionalParams} }, requestOptions);
166
177
}
167
178
{ {/optionalParams.0} }
168
179
169
180
{ {! This case only sets `requiredParams` } }
170
181
{ {#optionalParams.0} }
182
+ /**
183
+ * { {{notes} }}{ {#requiredParams} }
184
+ * @param { {paramName} } { {{description} }} (required){ {/requiredParams} }{ {#returnType} }
185
+ * @return { {.} }{ {/returnType} }
186
+ { {> api_javadoc} }
171
187
public { {#returnType} }{ {{.} }} { {/returnType} }{ {^returnType} }void { {/returnType} }{ {operationId} }({ {#requiredParams} }{ {{dataType} }} { {paramName} }{ {^-last} }, { {/-last} }{ {/requiredParams} }) throws AlgoliaRuntimeException {
172
188
{{#returnType} }return { {/returnType} }this.{ {operationId} }({ {#requiredParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/requiredParams} }{ {#requiredParams.0} },{ {/requiredParams.0} }{ {#optionalParams} }null{ {^-last} },{ {/-last} }{ {/optionalParams} }, null);
173
189
}
@@ -178,19 +194,8 @@ public class {{classname}} extends ApiClient {
178
194
* { {notes} }{ {#allParams} }
179
195
* @param { {paramName} } { {{description} }}{ {#required} } (required){ {/required} }{ {^required} } (optional{ {^isContainer} }{ {#defaultValue} }, default to { {.} }{ {/defaultValue} }{ {/isContainer} }){ {/required} }{ {/allParams} }
180
196
* @param requestOptions The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
181
- * @return The awaitable future
182
- * @throws AlgoliaRuntimeException If fail to process the API call, e.g. serializing the request body object
183
- { {#isDeprecated} }
184
- * @deprecated
185
- { {/isDeprecated} }
186
- { {#externalDocs} }
187
- * { {&description} }
188
- * @see <a href =" { { url} } " >{ {&summary} } Documentation</a >
189
- { {/externalDocs} }
190
- */
191
- { {#isDeprecated} }
192
- @Deprecated
193
- { {/isDeprecated} }
197
+ * @return CompletableFuture<{ {{returnType} }}> The awaitable future
198
+ { {> api_javadoc} }
194
199
public CompletableFuture<{ {{returnType} }}> { {operationId} }Async({ {#allParams} }{ {{dataType} }} { {paramName} }, { {/allParams} }RequestOptions requestOptions) throws AlgoliaRuntimeException {
195
200
{{#allParams} }{ {#required} }
196
201
if ({ {paramName} } == null) {
@@ -234,19 +239,38 @@ public class {{classname}} extends ApiClient {
234
239
}
235
240
236
241
{ {! This case only sets `requestOptions` as optional } }
242
+ /**
243
+ * (asynchronously)
244
+ * { {notes} }{ {#allParams} }
245
+ * @param { {paramName} } { {{description} }}{ {#required} } (required){ {/required} }{ {^required} } (optional{ {^isContainer} }{ {#defaultValue} }, default to { {.} }{ {/defaultValue} }{ {/isContainer} }){ {/required} }{ {/allParams} }
246
+ * @return CompletableFuture<{ {{returnType} }}> The awaitable future
247
+ { {> api_javadoc} }
237
248
public CompletableFuture<{ {{returnType} }}> { {operationId} }Async({ {#allParams} }{ {{dataType} }} { {paramName} }{ {^-last} }, { {/-last} }{ {/allParams} }) throws AlgoliaRuntimeException {
238
249
{{#returnType} }return { {/returnType} }this.{ {operationId} }Async({ {#allParams} }{ {paramName} }, { {/allParams} }null);
239
250
}
240
251
241
252
{ {! This case sets `requiredParams` + `requestOptions` } }
242
253
{ {#optionalParams.0} }
254
+ /**
255
+ * (asynchronously)
256
+ * { {notes} }{ {#requiredParams} }
257
+ * @param { {paramName} } { {{description} }} (required){ {/requiredParams} }
258
+ * @param requestOptions The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
259
+ * @return CompletableFuture<{ {{returnType} }}> The awaitable future
260
+ { {> api_javadoc} }
243
261
public CompletableFuture<{ {{returnType} }}> { {operationId} }Async({ {#requiredParams} }{ {{dataType} }} { {paramName} }, { {/requiredParams} }RequestOptions requestOptions) throws AlgoliaRuntimeException {
244
262
{{#returnType} }return { {/returnType} }this.{ {operationId} }Async({ {#requiredParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/requiredParams} }{ {#requiredParams.0} },{ {/requiredParams.0} }{ {#optionalParams} }null{ {^-last} },{ {/-last} }{ {/optionalParams} }, requestOptions);
245
263
}
246
264
{ {/optionalParams.0} }
247
265
248
266
{ {! This case only sets `requiredParams` } }
249
267
{ {#optionalParams.0} }
268
+ /**
269
+ * (asynchronously)
270
+ * { {notes} }{ {#requiredParams} }
271
+ * @param { {paramName} } { {{description} }} (required){ {/requiredParams} }
272
+ * @return CompletableFuture<{ {{returnType} }}> The awaitable future
273
+ { {> api_javadoc} }
250
274
public CompletableFuture<{ {{returnType} }}> { {operationId} }Async({ {#requiredParams} }{ {{dataType} }} { {paramName} }{ {^-last} }, { {/-last} }{ {/requiredParams} }) throws AlgoliaRuntimeException {
251
275
{{#returnType} }return { {/returnType} }this.{ {operationId} }Async({ {#requiredParams} }{ {paramName} }{ {^-last} }, { {/-last} }{ {/requiredParams} }{ {#requiredParams.0} },{ {/requiredParams.0} }{ {#optionalParams} }null{ {^-last} },{ {/-last} }{ {/optionalParams} }, null);
252
276
}
0 commit comments