|
12 | 12 | import com.datadog.api.client.v2.model.AzureUCConfigPatchRequest; |
13 | 13 | import com.datadog.api.client.v2.model.AzureUCConfigPostRequest; |
14 | 14 | import com.datadog.api.client.v2.model.AzureUCConfigsResponse; |
15 | | -import com.datadog.api.client.v2.model.CloudCostActivityResponse; |
16 | 15 | import com.datadog.api.client.v2.model.CustomCostsFileGetResponse; |
17 | 16 | import com.datadog.api.client.v2.model.CustomCostsFileLineItem; |
18 | 17 | import com.datadog.api.client.v2.model.CustomCostsFileListResponse; |
@@ -736,126 +735,6 @@ public CompletableFuture<ApiResponse<Void>> deleteCustomCostsFileWithHttpInfoAsy |
736 | 735 | null); |
737 | 736 | } |
738 | 737 |
|
739 | | - /** |
740 | | - * Cloud Cost Enabled. |
741 | | - * |
742 | | - * <p>See {@link #getCloudCostActivityWithHttpInfo}. |
743 | | - * |
744 | | - * @return CloudCostActivityResponse |
745 | | - * @throws ApiException if fails to make API call |
746 | | - * @deprecated |
747 | | - */ |
748 | | - @Deprecated |
749 | | - public CloudCostActivityResponse getCloudCostActivity() throws ApiException { |
750 | | - return getCloudCostActivityWithHttpInfo().getData(); |
751 | | - } |
752 | | - |
753 | | - /** |
754 | | - * Cloud Cost Enabled. |
755 | | - * |
756 | | - * <p>See {@link #getCloudCostActivityWithHttpInfoAsync}. |
757 | | - * |
758 | | - * @return CompletableFuture<CloudCostActivityResponse> |
759 | | - * @deprecated |
760 | | - */ |
761 | | - @Deprecated |
762 | | - public CompletableFuture<CloudCostActivityResponse> getCloudCostActivityAsync() { |
763 | | - return getCloudCostActivityWithHttpInfoAsync() |
764 | | - .thenApply( |
765 | | - response -> { |
766 | | - return response.getData(); |
767 | | - }); |
768 | | - } |
769 | | - |
770 | | - /** |
771 | | - * Get the Cloud Cost Management activity. |
772 | | - * |
773 | | - * @return ApiResponse<CloudCostActivityResponse> |
774 | | - * @throws ApiException if fails to make API call |
775 | | - * @http.response.details |
776 | | - * <table border="1"> |
777 | | - * <caption>Response details</caption> |
778 | | - * <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr> |
779 | | - * <tr><td> 200 </td><td> OK </td><td> - </td></tr> |
780 | | - * <tr><td> 403 </td><td> Forbidden </td><td> - </td></tr> |
781 | | - * <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr> |
782 | | - * </table> |
783 | | - * |
784 | | - * @deprecated |
785 | | - */ |
786 | | - @Deprecated |
787 | | - public ApiResponse<CloudCostActivityResponse> getCloudCostActivityWithHttpInfo() |
788 | | - throws ApiException { |
789 | | - Object localVarPostBody = null; |
790 | | - // create path and map variables |
791 | | - String localVarPath = "/api/v2/cost/enabled"; |
792 | | - |
793 | | - Map<String, String> localVarHeaderParams = new HashMap<String, String>(); |
794 | | - |
795 | | - Invocation.Builder builder = |
796 | | - apiClient.createBuilder( |
797 | | - "v2.CloudCostManagementApi.getCloudCostActivity", |
798 | | - localVarPath, |
799 | | - new ArrayList<Pair>(), |
800 | | - localVarHeaderParams, |
801 | | - new HashMap<String, String>(), |
802 | | - new String[] {"application/json"}, |
803 | | - new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); |
804 | | - return apiClient.invokeAPI( |
805 | | - "GET", |
806 | | - builder, |
807 | | - localVarHeaderParams, |
808 | | - new String[] {}, |
809 | | - localVarPostBody, |
810 | | - new HashMap<String, Object>(), |
811 | | - false, |
812 | | - new GenericType<CloudCostActivityResponse>() {}); |
813 | | - } |
814 | | - |
815 | | - /** |
816 | | - * Cloud Cost Enabled. |
817 | | - * |
818 | | - * <p>See {@link #getCloudCostActivityWithHttpInfo}. |
819 | | - * |
820 | | - * @return CompletableFuture<ApiResponse<CloudCostActivityResponse>> |
821 | | - * @deprecated |
822 | | - */ |
823 | | - @Deprecated |
824 | | - public CompletableFuture<ApiResponse<CloudCostActivityResponse>> |
825 | | - getCloudCostActivityWithHttpInfoAsync() { |
826 | | - Object localVarPostBody = null; |
827 | | - // create path and map variables |
828 | | - String localVarPath = "/api/v2/cost/enabled"; |
829 | | - |
830 | | - Map<String, String> localVarHeaderParams = new HashMap<String, String>(); |
831 | | - |
832 | | - Invocation.Builder builder; |
833 | | - try { |
834 | | - builder = |
835 | | - apiClient.createBuilder( |
836 | | - "v2.CloudCostManagementApi.getCloudCostActivity", |
837 | | - localVarPath, |
838 | | - new ArrayList<Pair>(), |
839 | | - localVarHeaderParams, |
840 | | - new HashMap<String, String>(), |
841 | | - new String[] {"application/json"}, |
842 | | - new String[] {"AuthZ", "apiKeyAuth", "appKeyAuth"}); |
843 | | - } catch (ApiException ex) { |
844 | | - CompletableFuture<ApiResponse<CloudCostActivityResponse>> result = new CompletableFuture<>(); |
845 | | - result.completeExceptionally(ex); |
846 | | - return result; |
847 | | - } |
848 | | - return apiClient.invokeAPIAsync( |
849 | | - "GET", |
850 | | - builder, |
851 | | - localVarHeaderParams, |
852 | | - new String[] {}, |
853 | | - localVarPostBody, |
854 | | - new HashMap<String, Object>(), |
855 | | - false, |
856 | | - new GenericType<CloudCostActivityResponse>() {}); |
857 | | - } |
858 | | - |
859 | 738 | /** |
860 | 739 | * Get Custom Costs file. |
861 | 740 | * |
|
0 commit comments