From 163c9a07090cb6daa15290cba3d994b757ee2d79 Mon Sep 17 00:00:00 2001 From: ttembou <{actor}@users.noreply.github.com> Date: Tue, 18 Jun 2024 09:07:11 +0000 Subject: [PATCH] [240618] Automatic update of SDK. --- sdks/retailmedia_2023-04/api/openapi.yaml | 5 +---- sdks/retailmedia_2023-04/docs/CampaignApi.md | 7 +++---- .../retailmedia/v2023_04/api/CampaignApi.java | 18 +++++++----------- sdks/retailmedia_2023-07/api/openapi.yaml | 5 +---- sdks/retailmedia_2023-07/docs/CampaignApi.md | 7 +++---- .../retailmedia/v2023_07/api/CampaignApi.java | 18 +++++++----------- sdks/retailmedia_2023-10/api/openapi.yaml | 5 +---- sdks/retailmedia_2023-10/docs/CampaignApi.md | 7 +++---- .../retailmedia/v2023_10/api/CampaignApi.java | 18 +++++++----------- sdks/retailmedia_2024-01/api/openapi.yaml | 5 +---- sdks/retailmedia_2024-01/docs/CampaignApi.md | 7 +++---- .../retailmedia/v2024_01/api/CampaignApi.java | 18 +++++++----------- sdks/retailmedia_2024-04/api/openapi.yaml | 5 +---- sdks/retailmedia_2024-04/docs/CampaignApi.md | 7 +++---- .../retailmedia/v2024_04/api/CampaignApi.java | 18 +++++++----------- 15 files changed, 55 insertions(+), 95 deletions(-) diff --git a/sdks/retailmedia_2023-04/api/openapi.yaml b/sdks/retailmedia_2023-04/api/openapi.yaml index b9fa835f..4eb803e3 100644 --- a/sdks/retailmedia_2023-04/api/openapi.yaml +++ b/sdks/retailmedia_2023-04/api/openapi.yaml @@ -915,10 +915,7 @@ paths: responses: "200": content: - application/x-json-stream: - schema: - format: binary - type: string + application/x-json-stream: {} application/json: {} description: Catalog download initiated. "400": diff --git a/sdks/retailmedia_2023-04/docs/CampaignApi.md b/sdks/retailmedia_2023-04/docs/CampaignApi.md index 32debd66..6c8bdd34 100644 --- a/sdks/retailmedia_2023-04/docs/CampaignApi.md +++ b/sdks/retailmedia_2023-04/docs/CampaignApi.md @@ -2455,7 +2455,7 @@ public class Example { ## getApiV1ExternalCatalogOutputByCatalogId -> File getApiV1ExternalCatalogOutputByCatalogId(catalogId) +> getApiV1ExternalCatalogOutputByCatalogId(catalogId) @@ -2502,8 +2502,7 @@ public class Example { CampaignApi apiInstance = new CampaignApi(defaultClient); String catalogId = "catalogId_example"; // String | A catalog ID returned from an account catalog request. try { - File result = apiInstance.getApiV1ExternalCatalogOutputByCatalogId(catalogId); - System.out.println(result); + apiInstance.getApiV1ExternalCatalogOutputByCatalogId(catalogId); } catch (ApiException e) { System.err.println("Exception when calling CampaignApi#getApiV1ExternalCatalogOutputByCatalogId"); System.err.println("Status code: " + e.getCode()); @@ -2524,7 +2523,7 @@ public class Example { ### Return type -[**File**](File.md) +null (empty response body) ### Authorization diff --git a/sdks/retailmedia_2023-04/src/main/java/com/criteo/api/retailmedia/v2023_04/api/CampaignApi.java b/sdks/retailmedia_2023-04/src/main/java/com/criteo/api/retailmedia/v2023_04/api/CampaignApi.java index 5f80bef5..dee0efd3 100644 --- a/sdks/retailmedia_2023-04/src/main/java/com/criteo/api/retailmedia/v2023_04/api/CampaignApi.java +++ b/sdks/retailmedia_2023-04/src/main/java/com/criteo/api/retailmedia/v2023_04/api/CampaignApi.java @@ -3684,7 +3684,6 @@ private okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall( * * Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. * @param catalogId A catalog ID returned from an account catalog request. (required) - * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3693,16 +3692,15 @@ private okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(
400 The indicated catalog is not available for retrieval, wait for a success status. -
*/ - public File getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws ApiException { - ApiResponse localVarResp = getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(catalogId); - return localVarResp.getData(); + public void getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws ApiException { + getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(catalogId); } /** * * Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. * @param catalogId A catalog ID returned from an account catalog request. (required) - * @return ApiResponse<File> + * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3711,10 +3709,9 @@ public File getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws Ap
400 The indicated catalog is not available for retrieval, wait for a success status. -
*/ - public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(String catalogId) throws ApiException { + public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(String catalogId) throws ApiException { okhttp3.Call localVarCall = getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(catalogId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); + return localVarApiClient.execute(localVarCall); } /** @@ -3731,11 +3728,10 @@ public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(St 400 The indicated catalog is not available for retrieval, wait for a success status. - */ - public okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdAsync(String catalogId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdAsync(String catalogId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(catalogId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } /** diff --git a/sdks/retailmedia_2023-07/api/openapi.yaml b/sdks/retailmedia_2023-07/api/openapi.yaml index d31c310f..ef2f239d 100644 --- a/sdks/retailmedia_2023-07/api/openapi.yaml +++ b/sdks/retailmedia_2023-07/api/openapi.yaml @@ -915,10 +915,7 @@ paths: responses: "200": content: - application/x-json-stream: - schema: - format: binary - type: string + application/x-json-stream: {} application/json: {} description: Catalog download initiated. "400": diff --git a/sdks/retailmedia_2023-07/docs/CampaignApi.md b/sdks/retailmedia_2023-07/docs/CampaignApi.md index 485e0da5..20159f76 100644 --- a/sdks/retailmedia_2023-07/docs/CampaignApi.md +++ b/sdks/retailmedia_2023-07/docs/CampaignApi.md @@ -2455,7 +2455,7 @@ public class Example { ## getApiV1ExternalCatalogOutputByCatalogId -> File getApiV1ExternalCatalogOutputByCatalogId(catalogId) +> getApiV1ExternalCatalogOutputByCatalogId(catalogId) @@ -2502,8 +2502,7 @@ public class Example { CampaignApi apiInstance = new CampaignApi(defaultClient); String catalogId = "catalogId_example"; // String | A catalog ID returned from an account catalog request. try { - File result = apiInstance.getApiV1ExternalCatalogOutputByCatalogId(catalogId); - System.out.println(result); + apiInstance.getApiV1ExternalCatalogOutputByCatalogId(catalogId); } catch (ApiException e) { System.err.println("Exception when calling CampaignApi#getApiV1ExternalCatalogOutputByCatalogId"); System.err.println("Status code: " + e.getCode()); @@ -2524,7 +2523,7 @@ public class Example { ### Return type -[**File**](File.md) +null (empty response body) ### Authorization diff --git a/sdks/retailmedia_2023-07/src/main/java/com/criteo/api/retailmedia/v2023_07/api/CampaignApi.java b/sdks/retailmedia_2023-07/src/main/java/com/criteo/api/retailmedia/v2023_07/api/CampaignApi.java index c16c4739..ea01299b 100644 --- a/sdks/retailmedia_2023-07/src/main/java/com/criteo/api/retailmedia/v2023_07/api/CampaignApi.java +++ b/sdks/retailmedia_2023-07/src/main/java/com/criteo/api/retailmedia/v2023_07/api/CampaignApi.java @@ -3684,7 +3684,6 @@ private okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall( * * Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. * @param catalogId A catalog ID returned from an account catalog request. (required) - * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3693,16 +3692,15 @@ private okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(
400 The indicated catalog is not available for retrieval, wait for a success status. -
*/ - public File getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws ApiException { - ApiResponse localVarResp = getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(catalogId); - return localVarResp.getData(); + public void getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws ApiException { + getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(catalogId); } /** * * Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. * @param catalogId A catalog ID returned from an account catalog request. (required) - * @return ApiResponse<File> + * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3711,10 +3709,9 @@ public File getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws Ap
400 The indicated catalog is not available for retrieval, wait for a success status. -
*/ - public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(String catalogId) throws ApiException { + public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(String catalogId) throws ApiException { okhttp3.Call localVarCall = getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(catalogId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); + return localVarApiClient.execute(localVarCall); } /** @@ -3731,11 +3728,10 @@ public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(St 400 The indicated catalog is not available for retrieval, wait for a success status. - */ - public okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdAsync(String catalogId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdAsync(String catalogId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(catalogId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } /** diff --git a/sdks/retailmedia_2023-10/api/openapi.yaml b/sdks/retailmedia_2023-10/api/openapi.yaml index f3402577..fcd49872 100644 --- a/sdks/retailmedia_2023-10/api/openapi.yaml +++ b/sdks/retailmedia_2023-10/api/openapi.yaml @@ -915,10 +915,7 @@ paths: responses: "200": content: - application/x-json-stream: - schema: - format: binary - type: string + application/x-json-stream: {} application/json: {} description: Catalog download initiated. "400": diff --git a/sdks/retailmedia_2023-10/docs/CampaignApi.md b/sdks/retailmedia_2023-10/docs/CampaignApi.md index 83a3afac..66bde0d9 100644 --- a/sdks/retailmedia_2023-10/docs/CampaignApi.md +++ b/sdks/retailmedia_2023-10/docs/CampaignApi.md @@ -2551,7 +2551,7 @@ public class Example { ## getApiV1ExternalCatalogOutputByCatalogId -> File getApiV1ExternalCatalogOutputByCatalogId(catalogId) +> getApiV1ExternalCatalogOutputByCatalogId(catalogId) @@ -2598,8 +2598,7 @@ public class Example { CampaignApi apiInstance = new CampaignApi(defaultClient); String catalogId = "catalogId_example"; // String | A catalog ID returned from an account catalog request. try { - File result = apiInstance.getApiV1ExternalCatalogOutputByCatalogId(catalogId); - System.out.println(result); + apiInstance.getApiV1ExternalCatalogOutputByCatalogId(catalogId); } catch (ApiException e) { System.err.println("Exception when calling CampaignApi#getApiV1ExternalCatalogOutputByCatalogId"); System.err.println("Status code: " + e.getCode()); @@ -2620,7 +2619,7 @@ public class Example { ### Return type -[**File**](File.md) +null (empty response body) ### Authorization diff --git a/sdks/retailmedia_2023-10/src/main/java/com/criteo/api/retailmedia/v2023_10/api/CampaignApi.java b/sdks/retailmedia_2023-10/src/main/java/com/criteo/api/retailmedia/v2023_10/api/CampaignApi.java index 1d620c5d..07c3cc63 100644 --- a/sdks/retailmedia_2023-10/src/main/java/com/criteo/api/retailmedia/v2023_10/api/CampaignApi.java +++ b/sdks/retailmedia_2023-10/src/main/java/com/criteo/api/retailmedia/v2023_10/api/CampaignApi.java @@ -3822,7 +3822,6 @@ private okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall( * * Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. * @param catalogId A catalog ID returned from an account catalog request. (required) - * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3831,16 +3830,15 @@ private okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(
400 The indicated catalog is not available for retrieval, wait for a success status. -
*/ - public File getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws ApiException { - ApiResponse localVarResp = getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(catalogId); - return localVarResp.getData(); + public void getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws ApiException { + getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(catalogId); } /** * * Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. * @param catalogId A catalog ID returned from an account catalog request. (required) - * @return ApiResponse<File> + * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3849,10 +3847,9 @@ public File getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws Ap
400 The indicated catalog is not available for retrieval, wait for a success status. -
*/ - public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(String catalogId) throws ApiException { + public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(String catalogId) throws ApiException { okhttp3.Call localVarCall = getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(catalogId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); + return localVarApiClient.execute(localVarCall); } /** @@ -3869,11 +3866,10 @@ public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(St 400 The indicated catalog is not available for retrieval, wait for a success status. - */ - public okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdAsync(String catalogId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdAsync(String catalogId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(catalogId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } /** diff --git a/sdks/retailmedia_2024-01/api/openapi.yaml b/sdks/retailmedia_2024-01/api/openapi.yaml index d0f4d71b..25943f21 100644 --- a/sdks/retailmedia_2024-01/api/openapi.yaml +++ b/sdks/retailmedia_2024-01/api/openapi.yaml @@ -915,10 +915,7 @@ paths: responses: "200": content: - application/x-json-stream: - schema: - format: binary - type: string + application/x-json-stream: {} application/json: {} description: Catalog download initiated. "400": diff --git a/sdks/retailmedia_2024-01/docs/CampaignApi.md b/sdks/retailmedia_2024-01/docs/CampaignApi.md index 175ea478..6dea4847 100644 --- a/sdks/retailmedia_2024-01/docs/CampaignApi.md +++ b/sdks/retailmedia_2024-01/docs/CampaignApi.md @@ -2555,7 +2555,7 @@ public class Example { ## getApiV1ExternalCatalogOutputByCatalogId -> File getApiV1ExternalCatalogOutputByCatalogId(catalogId) +> getApiV1ExternalCatalogOutputByCatalogId(catalogId) @@ -2602,8 +2602,7 @@ public class Example { CampaignApi apiInstance = new CampaignApi(defaultClient); String catalogId = "catalogId_example"; // String | A catalog ID returned from an account catalog request. try { - File result = apiInstance.getApiV1ExternalCatalogOutputByCatalogId(catalogId); - System.out.println(result); + apiInstance.getApiV1ExternalCatalogOutputByCatalogId(catalogId); } catch (ApiException e) { System.err.println("Exception when calling CampaignApi#getApiV1ExternalCatalogOutputByCatalogId"); System.err.println("Status code: " + e.getCode()); @@ -2624,7 +2623,7 @@ public class Example { ### Return type -[**File**](File.md) +null (empty response body) ### Authorization diff --git a/sdks/retailmedia_2024-01/src/main/java/com/criteo/api/retailmedia/v2024_01/api/CampaignApi.java b/sdks/retailmedia_2024-01/src/main/java/com/criteo/api/retailmedia/v2024_01/api/CampaignApi.java index 20f22caf..c6c09415 100644 --- a/sdks/retailmedia_2024-01/src/main/java/com/criteo/api/retailmedia/v2024_01/api/CampaignApi.java +++ b/sdks/retailmedia_2024-01/src/main/java/com/criteo/api/retailmedia/v2024_01/api/CampaignApi.java @@ -3826,7 +3826,6 @@ private okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall( * * Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. * @param catalogId A catalog ID returned from an account catalog request. (required) - * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3835,16 +3834,15 @@ private okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(
400 The indicated catalog is not available for retrieval, wait for a success status. -
*/ - public File getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws ApiException { - ApiResponse localVarResp = getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(catalogId); - return localVarResp.getData(); + public void getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws ApiException { + getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(catalogId); } /** * * Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. * @param catalogId A catalog ID returned from an account catalog request. (required) - * @return ApiResponse<File> + * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3853,10 +3851,9 @@ public File getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws Ap
400 The indicated catalog is not available for retrieval, wait for a success status. -
*/ - public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(String catalogId) throws ApiException { + public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(String catalogId) throws ApiException { okhttp3.Call localVarCall = getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(catalogId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); + return localVarApiClient.execute(localVarCall); } /** @@ -3873,11 +3870,10 @@ public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(St 400 The indicated catalog is not available for retrieval, wait for a success status. - */ - public okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdAsync(String catalogId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdAsync(String catalogId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(catalogId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } /** diff --git a/sdks/retailmedia_2024-04/api/openapi.yaml b/sdks/retailmedia_2024-04/api/openapi.yaml index 4a05e940..f73b8db6 100644 --- a/sdks/retailmedia_2024-04/api/openapi.yaml +++ b/sdks/retailmedia_2024-04/api/openapi.yaml @@ -915,10 +915,7 @@ paths: responses: "200": content: - application/x-json-stream: - schema: - format: binary - type: string + application/x-json-stream: {} application/json: {} description: Catalog download initiated. "400": diff --git a/sdks/retailmedia_2024-04/docs/CampaignApi.md b/sdks/retailmedia_2024-04/docs/CampaignApi.md index d942a07b..f75c71e4 100644 --- a/sdks/retailmedia_2024-04/docs/CampaignApi.md +++ b/sdks/retailmedia_2024-04/docs/CampaignApi.md @@ -2556,7 +2556,7 @@ public class Example { ## getApiV1ExternalCatalogOutputByCatalogId -> File getApiV1ExternalCatalogOutputByCatalogId(catalogId) +> getApiV1ExternalCatalogOutputByCatalogId(catalogId) @@ -2603,8 +2603,7 @@ public class Example { CampaignApi apiInstance = new CampaignApi(defaultClient); String catalogId = "catalogId_example"; // String | A catalog ID returned from an account catalog request. try { - File result = apiInstance.getApiV1ExternalCatalogOutputByCatalogId(catalogId); - System.out.println(result); + apiInstance.getApiV1ExternalCatalogOutputByCatalogId(catalogId); } catch (ApiException e) { System.err.println("Exception when calling CampaignApi#getApiV1ExternalCatalogOutputByCatalogId"); System.err.println("Status code: " + e.getCode()); @@ -2625,7 +2624,7 @@ public class Example { ### Return type -[**File**](File.md) +null (empty response body) ### Authorization diff --git a/sdks/retailmedia_2024-04/src/main/java/com/criteo/api/retailmedia/v2024_04/api/CampaignApi.java b/sdks/retailmedia_2024-04/src/main/java/com/criteo/api/retailmedia/v2024_04/api/CampaignApi.java index ad57e628..16e68360 100644 --- a/sdks/retailmedia_2024-04/src/main/java/com/criteo/api/retailmedia/v2024_04/api/CampaignApi.java +++ b/sdks/retailmedia_2024-04/src/main/java/com/criteo/api/retailmedia/v2024_04/api/CampaignApi.java @@ -3827,7 +3827,6 @@ private okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall( * * Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. * @param catalogId A catalog ID returned from an account catalog request. (required) - * @return File * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3836,16 +3835,15 @@ private okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(
400 The indicated catalog is not available for retrieval, wait for a success status. -
*/ - public File getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws ApiException { - ApiResponse localVarResp = getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(catalogId); - return localVarResp.getData(); + public void getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws ApiException { + getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(catalogId); } /** * * Output the indicated catalog. Catalogs are only available for retrieval when their associated status request is at a Success status. Produces application/x-json-stream of v2021_07 CatalogProduct json objects. * @param catalogId A catalog ID returned from an account catalog request. (required) - * @return ApiResponse<File> + * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3854,10 +3852,9 @@ public File getApiV1ExternalCatalogOutputByCatalogId(String catalogId) throws Ap
400 The indicated catalog is not available for retrieval, wait for a success status. -
*/ - public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(String catalogId) throws ApiException { + public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(String catalogId) throws ApiException { okhttp3.Call localVarCall = getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(catalogId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); + return localVarApiClient.execute(localVarCall); } /** @@ -3874,11 +3871,10 @@ public ApiResponse getApiV1ExternalCatalogOutputByCatalogIdWithHttpInfo(St 400 The indicated catalog is not available for retrieval, wait for a success status. - */ - public okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdAsync(String catalogId, final ApiCallback _callback) throws ApiException { + public okhttp3.Call getApiV1ExternalCatalogOutputByCatalogIdAsync(String catalogId, final ApiCallback _callback) throws ApiException { okhttp3.Call localVarCall = getApiV1ExternalCatalogOutputByCatalogIdValidateBeforeCall(catalogId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); + localVarApiClient.executeAsync(localVarCall, _callback); return localVarCall; } /**