1010from datadog_api_client .configuration import Configuration
1111from datadog_api_client .v2 .model .dora_deployment_response import DORADeploymentResponse
1212from datadog_api_client .v2 .model .dora_deployment_request import DORADeploymentRequest
13- from datadog_api_client .v2 .model .dora_list_response import DORAListResponse
13+ from datadog_api_client .v2 .model .dora_deployments_list_response import DORADeploymentsListResponse
1414from datadog_api_client .v2 .model .dora_list_deployments_request import DORAListDeploymentsRequest
15- from datadog_api_client .v2 .model .dora_fetch_response import DORAFetchResponse
15+ from datadog_api_client .v2 .model .dora_deployment_fetch_response import DORADeploymentFetchResponse
1616from datadog_api_client .v2 .model .dora_failure_response import DORAFailureResponse
1717from datadog_api_client .v2 .model .dora_failure_request import DORAFailureRequest
18+ from datadog_api_client .v2 .model .dora_failures_list_response import DORAFailuresListResponse
1819from datadog_api_client .v2 .model .dora_list_failures_request import DORAListFailuresRequest
20+ from datadog_api_client .v2 .model .dora_failure_fetch_response import DORAFailureFetchResponse
1921
2022
2123class DORAMetricsApi :
@@ -138,7 +140,7 @@ def __init__(self, api_client=None):
138140
139141 self ._get_dora_deployment_endpoint = _Endpoint (
140142 settings = {
141- "response_type" : (DORAFetchResponse ,),
143+ "response_type" : (DORADeploymentFetchResponse ,),
142144 "auth" : ["apiKeyAuth" , "appKeyAuth" ],
143145 "endpoint_path" : "/api/v2/dora/deployments/{deployment_id}" ,
144146 "operation_id" : "get_dora_deployment" ,
@@ -161,7 +163,7 @@ def __init__(self, api_client=None):
161163
162164 self ._get_dora_failure_endpoint = _Endpoint (
163165 settings = {
164- "response_type" : (DORAFetchResponse ,),
166+ "response_type" : (DORAFailureFetchResponse ,),
165167 "auth" : ["apiKeyAuth" , "appKeyAuth" ],
166168 "endpoint_path" : "/api/v2/dora/failures/{failure_id}" ,
167169 "operation_id" : "get_dora_failure" ,
@@ -184,7 +186,7 @@ def __init__(self, api_client=None):
184186
185187 self ._list_dora_deployments_endpoint = _Endpoint (
186188 settings = {
187- "response_type" : (DORAListResponse ,),
189+ "response_type" : (DORADeploymentsListResponse ,),
188190 "auth" : ["apiKeyAuth" , "appKeyAuth" ],
189191 "endpoint_path" : "/api/v2/dora/deployments" ,
190192 "operation_id" : "list_dora_deployments" ,
@@ -204,7 +206,7 @@ def __init__(self, api_client=None):
204206
205207 self ._list_dora_failures_endpoint = _Endpoint (
206208 settings = {
207- "response_type" : (DORAListResponse ,),
209+ "response_type" : (DORAFailuresListResponse ,),
208210 "auth" : ["apiKeyAuth" , "appKeyAuth" ],
209211 "endpoint_path" : "/api/v2/dora/failures" ,
210212 "operation_id" : "list_dora_failures" ,
@@ -326,14 +328,14 @@ def delete_dora_failure(
326328 def get_dora_deployment (
327329 self ,
328330 deployment_id : str ,
329- ) -> DORAFetchResponse :
331+ ) -> DORADeploymentFetchResponse :
330332 """Get a deployment event.
331333
332334 Use this API endpoint to get a deployment event.
333335
334336 :param deployment_id: The ID of the deployment event.
335337 :type deployment_id: str
336- :rtype: DORAFetchResponse
338+ :rtype: DORADeploymentFetchResponse
337339 """
338340 kwargs : Dict [str , Any ] = {}
339341 kwargs ["deployment_id" ] = deployment_id
@@ -343,14 +345,14 @@ def get_dora_deployment(
343345 def get_dora_failure (
344346 self ,
345347 failure_id : str ,
346- ) -> DORAFetchResponse :
348+ ) -> DORAFailureFetchResponse :
347349 """Get a failure event.
348350
349351 Use this API endpoint to get a failure event.
350352
351353 :param failure_id: The ID of the failure event.
352354 :type failure_id: str
353- :rtype: DORAFetchResponse
355+ :rtype: DORAFailureFetchResponse
354356 """
355357 kwargs : Dict [str , Any ] = {}
356358 kwargs ["failure_id" ] = failure_id
@@ -360,13 +362,13 @@ def get_dora_failure(
360362 def list_dora_deployments (
361363 self ,
362364 body : DORAListDeploymentsRequest ,
363- ) -> DORAListResponse :
365+ ) -> DORADeploymentsListResponse :
364366 """Get a list of deployment events.
365367
366368 Use this API endpoint to get a list of deployment events.
367369
368370 :type body: DORAListDeploymentsRequest
369- :rtype: DORAListResponse
371+ :rtype: DORADeploymentsListResponse
370372 """
371373 kwargs : Dict [str , Any ] = {}
372374 kwargs ["body" ] = body
@@ -376,13 +378,13 @@ def list_dora_deployments(
376378 def list_dora_failures (
377379 self ,
378380 body : DORAListFailuresRequest ,
379- ) -> DORAListResponse :
381+ ) -> DORAFailuresListResponse :
380382 """Get a list of failure events.
381383
382384 Use this API endpoint to get a list of failure events.
383385
384386 :type body: DORAListFailuresRequest
385- :rtype: DORAListResponse
387+ :rtype: DORAFailuresListResponse
386388 """
387389 kwargs : Dict [str , Any ] = {}
388390 kwargs ["body" ] = body
0 commit comments