@@ -808,8 +808,10 @@ impl DORAMetricsAPI {
808808 pub async fn get_dora_deployment (
809809 & self ,
810810 deployment_id : String ,
811- ) -> Result < crate :: datadogV2:: model:: DORAFetchResponse , datadog:: Error < GetDORADeploymentError > >
812- {
811+ ) -> Result <
812+ crate :: datadogV2:: model:: DORADeploymentFetchResponse ,
813+ datadog:: Error < GetDORADeploymentError > ,
814+ > {
813815 match self . get_dora_deployment_with_http_info ( deployment_id) . await {
814816 Ok ( response_content) => {
815817 if let Some ( e) = response_content. entity {
@@ -829,7 +831,7 @@ impl DORAMetricsAPI {
829831 & self ,
830832 deployment_id : String ,
831833 ) -> Result <
832- datadog:: ResponseContent < crate :: datadogV2:: model:: DORAFetchResponse > ,
834+ datadog:: ResponseContent < crate :: datadogV2:: model:: DORADeploymentFetchResponse > ,
833835 datadog:: Error < GetDORADeploymentError > ,
834836 > {
835837 let local_configuration = & self . config ;
@@ -887,8 +889,9 @@ impl DORAMetricsAPI {
887889 log:: debug!( "response content: {}" , local_content) ;
888890
889891 if !local_status. is_client_error ( ) && !local_status. is_server_error ( ) {
890- match serde_json:: from_str :: < crate :: datadogV2:: model:: DORAFetchResponse > ( & local_content)
891- {
892+ match serde_json:: from_str :: < crate :: datadogV2:: model:: DORADeploymentFetchResponse > (
893+ & local_content,
894+ ) {
892895 Ok ( e) => {
893896 return Ok ( datadog:: ResponseContent {
894897 status : local_status,
@@ -914,8 +917,10 @@ impl DORAMetricsAPI {
914917 pub async fn get_dora_failure (
915918 & self ,
916919 failure_id : String ,
917- ) -> Result < crate :: datadogV2:: model:: DORAFetchResponse , datadog:: Error < GetDORAFailureError > >
918- {
920+ ) -> Result <
921+ crate :: datadogV2:: model:: DORAFailureFetchResponse ,
922+ datadog:: Error < GetDORAFailureError > ,
923+ > {
919924 match self . get_dora_failure_with_http_info ( failure_id) . await {
920925 Ok ( response_content) => {
921926 if let Some ( e) = response_content. entity {
@@ -935,7 +940,7 @@ impl DORAMetricsAPI {
935940 & self ,
936941 failure_id : String ,
937942 ) -> Result <
938- datadog:: ResponseContent < crate :: datadogV2:: model:: DORAFetchResponse > ,
943+ datadog:: ResponseContent < crate :: datadogV2:: model:: DORAFailureFetchResponse > ,
939944 datadog:: Error < GetDORAFailureError > ,
940945 > {
941946 let local_configuration = & self . config ;
@@ -993,8 +998,9 @@ impl DORAMetricsAPI {
993998 log:: debug!( "response content: {}" , local_content) ;
994999
9951000 if !local_status. is_client_error ( ) && !local_status. is_server_error ( ) {
996- match serde_json:: from_str :: < crate :: datadogV2:: model:: DORAFetchResponse > ( & local_content)
997- {
1001+ match serde_json:: from_str :: < crate :: datadogV2:: model:: DORAFailureFetchResponse > (
1002+ & local_content,
1003+ ) {
9981004 Ok ( e) => {
9991005 return Ok ( datadog:: ResponseContent {
10001006 status : local_status,
@@ -1020,8 +1026,10 @@ impl DORAMetricsAPI {
10201026 pub async fn list_dora_deployments (
10211027 & self ,
10221028 body : crate :: datadogV2:: model:: DORAListDeploymentsRequest ,
1023- ) -> Result < crate :: datadogV2:: model:: DORAListResponse , datadog:: Error < ListDORADeploymentsError > >
1024- {
1029+ ) -> Result <
1030+ crate :: datadogV2:: model:: DORADeploymentsListResponse ,
1031+ datadog:: Error < ListDORADeploymentsError > ,
1032+ > {
10251033 match self . list_dora_deployments_with_http_info ( body) . await {
10261034 Ok ( response_content) => {
10271035 if let Some ( e) = response_content. entity {
@@ -1041,7 +1049,7 @@ impl DORAMetricsAPI {
10411049 & self ,
10421050 body : crate :: datadogV2:: model:: DORAListDeploymentsRequest ,
10431051 ) -> Result <
1044- datadog:: ResponseContent < crate :: datadogV2:: model:: DORAListResponse > ,
1052+ datadog:: ResponseContent < crate :: datadogV2:: model:: DORADeploymentsListResponse > ,
10451053 datadog:: Error < ListDORADeploymentsError > ,
10461054 > {
10471055 let local_configuration = & self . config ;
@@ -1144,8 +1152,9 @@ impl DORAMetricsAPI {
11441152 log:: debug!( "response content: {}" , local_content) ;
11451153
11461154 if !local_status. is_client_error ( ) && !local_status. is_server_error ( ) {
1147- match serde_json:: from_str :: < crate :: datadogV2:: model:: DORAListResponse > ( & local_content)
1148- {
1155+ match serde_json:: from_str :: < crate :: datadogV2:: model:: DORADeploymentsListResponse > (
1156+ & local_content,
1157+ ) {
11491158 Ok ( e) => {
11501159 return Ok ( datadog:: ResponseContent {
11511160 status : local_status,
@@ -1171,8 +1180,10 @@ impl DORAMetricsAPI {
11711180 pub async fn list_dora_failures (
11721181 & self ,
11731182 body : crate :: datadogV2:: model:: DORAListFailuresRequest ,
1174- ) -> Result < crate :: datadogV2:: model:: DORAListResponse , datadog:: Error < ListDORAFailuresError > >
1175- {
1183+ ) -> Result <
1184+ crate :: datadogV2:: model:: DORAFailuresListResponse ,
1185+ datadog:: Error < ListDORAFailuresError > ,
1186+ > {
11761187 match self . list_dora_failures_with_http_info ( body) . await {
11771188 Ok ( response_content) => {
11781189 if let Some ( e) = response_content. entity {
@@ -1192,7 +1203,7 @@ impl DORAMetricsAPI {
11921203 & self ,
11931204 body : crate :: datadogV2:: model:: DORAListFailuresRequest ,
11941205 ) -> Result <
1195- datadog:: ResponseContent < crate :: datadogV2:: model:: DORAListResponse > ,
1206+ datadog:: ResponseContent < crate :: datadogV2:: model:: DORAFailuresListResponse > ,
11961207 datadog:: Error < ListDORAFailuresError > ,
11971208 > {
11981209 let local_configuration = & self . config ;
@@ -1295,8 +1306,9 @@ impl DORAMetricsAPI {
12951306 log:: debug!( "response content: {}" , local_content) ;
12961307
12971308 if !local_status. is_client_error ( ) && !local_status. is_server_error ( ) {
1298- match serde_json:: from_str :: < crate :: datadogV2:: model:: DORAListResponse > ( & local_content)
1299- {
1309+ match serde_json:: from_str :: < crate :: datadogV2:: model:: DORAFailuresListResponse > (
1310+ & local_content,
1311+ ) {
13001312 Ok ( e) => {
13011313 return Ok ( datadog:: ResponseContent {
13021314 status : local_status,
0 commit comments