@@ -183,11 +183,10 @@ public CompletableFuture<ApiResponse<LogsIndex>> createLogsIndexWithHttpInfoAsyn
183183 * <p>See {@link #deleteLogsIndexWithHttpInfo}.
184184 *
185185 * @param name Name of the log index. (required)
186- * @return LogsIndex
187186 * @throws ApiException if fails to make API call
188187 */
189- public LogsIndex deleteLogsIndex (String name ) throws ApiException {
190- return deleteLogsIndexWithHttpInfo (name ). getData ( );
188+ public void deleteLogsIndex (String name ) throws ApiException {
189+ deleteLogsIndexWithHttpInfo (name );
191190 }
192191
193192 /**
@@ -196,9 +195,9 @@ public LogsIndex deleteLogsIndex(String name) throws ApiException {
196195 * <p>See {@link #deleteLogsIndexWithHttpInfoAsync}.
197196 *
198197 * @param name Name of the log index. (required)
199- * @return CompletableFuture<LogsIndex>
198+ * @return CompletableFuture
200199 */
201- public CompletableFuture <LogsIndex > deleteLogsIndexAsync (String name ) {
200+ public CompletableFuture <Void > deleteLogsIndexAsync (String name ) {
202201 return deleteLogsIndexWithHttpInfoAsync (name )
203202 .thenApply (
204203 response -> {
@@ -211,7 +210,7 @@ public CompletableFuture<LogsIndex> deleteLogsIndexAsync(String name) {
211210 * reverted. You cannot recreate an index with the same name as deleted ones.
212211 *
213212 * @param name Name of the log index. (required)
214- * @return ApiResponse<LogsIndex >
213+ * @return ApiResponse<Void >
215214 * @throws ApiException if fails to make API call
216215 * @http.response.details
217216 * <table border="1">
@@ -223,7 +222,7 @@ public CompletableFuture<LogsIndex> deleteLogsIndexAsync(String name) {
223222 * <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
224223 * </table>
225224 */
226- public ApiResponse <LogsIndex > deleteLogsIndexWithHttpInfo (String name ) throws ApiException {
225+ public ApiResponse <Void > deleteLogsIndexWithHttpInfo (String name ) throws ApiException {
227226 Object localVarPostBody = null ;
228227
229228 // verify the required parameter 'name' is set
@@ -245,7 +244,7 @@ public ApiResponse<LogsIndex> deleteLogsIndexWithHttpInfo(String name) throws Ap
245244 new ArrayList <Pair >(),
246245 localVarHeaderParams ,
247246 new HashMap <String , String >(),
248- new String [] {"application/json " },
247+ new String [] {"*/* " },
249248 new String [] {"apiKeyAuth" , "appKeyAuth" });
250249 return apiClient .invokeAPI (
251250 "DELETE" ,
@@ -255,7 +254,7 @@ public ApiResponse<LogsIndex> deleteLogsIndexWithHttpInfo(String name) throws Ap
255254 localVarPostBody ,
256255 new HashMap <String , Object >(),
257256 false ,
258- new GenericType < LogsIndex >() {} );
257+ null );
259258 }
260259
261260 /**
@@ -264,14 +263,14 @@ public ApiResponse<LogsIndex> deleteLogsIndexWithHttpInfo(String name) throws Ap
264263 * <p>See {@link #deleteLogsIndexWithHttpInfo}.
265264 *
266265 * @param name Name of the log index. (required)
267- * @return CompletableFuture<ApiResponse<LogsIndex >>
266+ * @return CompletableFuture<ApiResponse<Void >>
268267 */
269- public CompletableFuture <ApiResponse <LogsIndex >> deleteLogsIndexWithHttpInfoAsync (String name ) {
268+ public CompletableFuture <ApiResponse <Void >> deleteLogsIndexWithHttpInfoAsync (String name ) {
270269 Object localVarPostBody = null ;
271270
272271 // verify the required parameter 'name' is set
273272 if (name == null ) {
274- CompletableFuture <ApiResponse <LogsIndex >> result = new CompletableFuture <>();
273+ CompletableFuture <ApiResponse <Void >> result = new CompletableFuture <>();
275274 result .completeExceptionally (
276275 new ApiException (
277276 400 , "Missing the required parameter 'name' when calling deleteLogsIndex" ));
@@ -293,10 +292,10 @@ public CompletableFuture<ApiResponse<LogsIndex>> deleteLogsIndexWithHttpInfoAsyn
293292 new ArrayList <Pair >(),
294293 localVarHeaderParams ,
295294 new HashMap <String , String >(),
296- new String [] {"application/json " },
295+ new String [] {"*/* " },
297296 new String [] {"apiKeyAuth" , "appKeyAuth" });
298297 } catch (ApiException ex ) {
299- CompletableFuture <ApiResponse <LogsIndex >> result = new CompletableFuture <>();
298+ CompletableFuture <ApiResponse <Void >> result = new CompletableFuture <>();
300299 result .completeExceptionally (ex );
301300 return result ;
302301 }
@@ -308,7 +307,7 @@ public CompletableFuture<ApiResponse<LogsIndex>> deleteLogsIndexWithHttpInfoAsyn
308307 localVarPostBody ,
309308 new HashMap <String , Object >(),
310309 false ,
311- new GenericType < LogsIndex >() {} );
310+ null );
312311 }
313312
314313 /**
0 commit comments