From 9d999db8f756d3fa34f81d417d1968376092eb98 Mon Sep 17 00:00:00 2001 From: "ci.datadog-api-spec" Date: Mon, 21 Oct 2024 16:07:40 +0000 Subject: [PATCH] Regenerate client from commit 85355ab0 of spec repo --- .apigentools-info | 8 +-- .generator/schemas/v1/openapi.yaml | 28 -------- ...del_hourly_usage_attribution_usage_type.rs | 6 -- ...hly_usage_attribution_supported_metrics.rs | 16 ----- .../model_monthly_usage_attribution_values.rs | 72 ------------------- 5 files changed, 4 insertions(+), 126 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index 5baea7a12..7478134c4 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-10-18 21:00:47.999804", - "spec_repo_commit": "37070fd4" + "regenerated": "2024-10-21 16:02:31.296301", + "spec_repo_commit": "85355ab0" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-10-18 21:00:48.018128", - "spec_repo_commit": "37070fd4" + "regenerated": "2024-10-21 16:02:31.314529", + "spec_repo_commit": "85355ab0" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 0ec2691c5..00a1d42ae 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -4195,9 +4195,7 @@ components: - error_tracking_usage - error_tracking_percentage - estimated_indexed_logs_usage - - estimated_indexed_spans_usage - estimated_ingested_logs_usage - - estimated_ingested_spans_usage - estimated_rum_sessions_usage - fargate_usage - functions_usage @@ -4270,9 +4268,7 @@ components: - ERROR_TRACKING_USAGE - ERROR_TRACKING_PERCENTAGE - ESTIMATED_INDEXED_LOGS_USAGE - - ESTIMATED_INDEXED_SPANS_USAGE - ESTIMATED_INGESTED_LOGS_USAGE - - ESTIMATED_INGESTED_SPANS_USAGE - ESTIMATED_RUM_SESSIONS_USAGE - FARGATE_USAGE - FUNCTIONS_USAGE @@ -7961,10 +7957,6 @@ components: - estimated_indexed_logs_percentage - estimated_ingested_logs_usage - estimated_ingested_logs_percentage - - estimated_indexed_spans_usage - - estimated_indexed_spans_percentage - - estimated_ingested_spans_usage - - estimated_ingested_spans_percentage - fargate_usage - fargate_percentage - functions_usage @@ -8106,10 +8098,6 @@ components: - ESTIMATED_INDEXED_LOGS_PERCENTAGE - ESTIMATED_INGESTED_LOGS_USAGE - ESTIMATED_INGESTED_LOGS_PERCENTAGE - - ESTIMATED_INDEXED_SPANS_USAGE - - ESTIMATED_INDEXED_SPANS_PERCENTAGE - - ESTIMATED_INGESTED_SPANS_USAGE - - ESTIMATED_INGESTED_SPANS_PERCENTAGE - FARGATE_USAGE - FARGATE_PERCENTAGE - FUNCTIONS_USAGE @@ -8423,14 +8411,6 @@ components: description: The estimated live indexed logs usage by tag(s). format: double type: number - estimated_indexed_spans_percentage: - description: The percentage of estimated indexed spans usage by tag(s). - format: double - type: number - estimated_indexed_spans_usage: - description: The estimated indexed spans usage by tag(s). - format: double - type: number estimated_ingested_logs_percentage: description: The percentage of estimated live ingested logs usage by tag(s). format: double @@ -8439,14 +8419,6 @@ components: description: The estimated live ingested logs usage by tag(s). format: double type: number - estimated_ingested_spans_percentage: - description: The percentage of estimated ingested spans usage by tag(s). - format: double - type: number - estimated_ingested_spans_usage: - description: The estimated ingested spans usage by tag(s). - format: double - type: number estimated_rum_sessions_percentage: description: The percentage of estimated rum sessions usage by tag(s). format: double diff --git a/src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs b/src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs index 61f1a516c..32a4bdd64 100644 --- a/src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs +++ b/src/datadogV1/model/model_hourly_usage_attribution_usage_type.rs @@ -36,9 +36,7 @@ pub enum HourlyUsageAttributionUsageType { ERROR_TRACKING_USAGE, ERROR_TRACKING_PERCENTAGE, ESTIMATED_INDEXED_LOGS_USAGE, - ESTIMATED_INDEXED_SPANS_USAGE, ESTIMATED_INGESTED_LOGS_USAGE, - ESTIMATED_INGESTED_SPANS_USAGE, ESTIMATED_RUM_SESSIONS_USAGE, FARGATE_USAGE, FUNCTIONS_USAGE, @@ -123,9 +121,7 @@ impl ToString for HourlyUsageAttributionUsageType { Self::ERROR_TRACKING_USAGE => String::from("error_tracking_usage"), Self::ERROR_TRACKING_PERCENTAGE => String::from("error_tracking_percentage"), Self::ESTIMATED_INDEXED_LOGS_USAGE => String::from("estimated_indexed_logs_usage"), - Self::ESTIMATED_INDEXED_SPANS_USAGE => String::from("estimated_indexed_spans_usage"), Self::ESTIMATED_INGESTED_LOGS_USAGE => String::from("estimated_ingested_logs_usage"), - Self::ESTIMATED_INGESTED_SPANS_USAGE => String::from("estimated_ingested_spans_usage"), Self::ESTIMATED_RUM_SESSIONS_USAGE => String::from("estimated_rum_sessions_usage"), Self::FARGATE_USAGE => String::from("fargate_usage"), Self::FUNCTIONS_USAGE => String::from("functions_usage"), @@ -236,9 +232,7 @@ impl<'de> Deserialize<'de> for HourlyUsageAttributionUsageType { "error_tracking_usage" => Self::ERROR_TRACKING_USAGE, "error_tracking_percentage" => Self::ERROR_TRACKING_PERCENTAGE, "estimated_indexed_logs_usage" => Self::ESTIMATED_INDEXED_LOGS_USAGE, - "estimated_indexed_spans_usage" => Self::ESTIMATED_INDEXED_SPANS_USAGE, "estimated_ingested_logs_usage" => Self::ESTIMATED_INGESTED_LOGS_USAGE, - "estimated_ingested_spans_usage" => Self::ESTIMATED_INGESTED_SPANS_USAGE, "estimated_rum_sessions_usage" => Self::ESTIMATED_RUM_SESSIONS_USAGE, "fargate_usage" => Self::FARGATE_USAGE, "functions_usage" => Self::FUNCTIONS_USAGE, diff --git a/src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs b/src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs index cee8c7265..2bb552c10 100644 --- a/src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs +++ b/src/datadogV1/model/model_monthly_usage_attribution_supported_metrics.rs @@ -57,10 +57,6 @@ pub enum MonthlyUsageAttributionSupportedMetrics { ESTIMATED_INDEXED_LOGS_PERCENTAGE, ESTIMATED_INGESTED_LOGS_USAGE, ESTIMATED_INGESTED_LOGS_PERCENTAGE, - ESTIMATED_INDEXED_SPANS_USAGE, - ESTIMATED_INDEXED_SPANS_PERCENTAGE, - ESTIMATED_INGESTED_SPANS_USAGE, - ESTIMATED_INGESTED_SPANS_PERCENTAGE, FARGATE_USAGE, FARGATE_PERCENTAGE, FUNCTIONS_USAGE, @@ -224,14 +220,6 @@ impl ToString for MonthlyUsageAttributionSupportedMetrics { Self::ESTIMATED_INGESTED_LOGS_PERCENTAGE => { String::from("estimated_ingested_logs_percentage") } - Self::ESTIMATED_INDEXED_SPANS_USAGE => String::from("estimated_indexed_spans_usage"), - Self::ESTIMATED_INDEXED_SPANS_PERCENTAGE => { - String::from("estimated_indexed_spans_percentage") - } - Self::ESTIMATED_INGESTED_SPANS_USAGE => String::from("estimated_ingested_spans_usage"), - Self::ESTIMATED_INGESTED_SPANS_PERCENTAGE => { - String::from("estimated_ingested_spans_percentage") - } Self::FARGATE_USAGE => String::from("fargate_usage"), Self::FARGATE_PERCENTAGE => String::from("fargate_percentage"), Self::FUNCTIONS_USAGE => String::from("functions_usage"), @@ -435,10 +423,6 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionSupportedMetrics { "estimated_indexed_logs_percentage" => Self::ESTIMATED_INDEXED_LOGS_PERCENTAGE, "estimated_ingested_logs_usage" => Self::ESTIMATED_INGESTED_LOGS_USAGE, "estimated_ingested_logs_percentage" => Self::ESTIMATED_INGESTED_LOGS_PERCENTAGE, - "estimated_indexed_spans_usage" => Self::ESTIMATED_INDEXED_SPANS_USAGE, - "estimated_indexed_spans_percentage" => Self::ESTIMATED_INDEXED_SPANS_PERCENTAGE, - "estimated_ingested_spans_usage" => Self::ESTIMATED_INGESTED_SPANS_USAGE, - "estimated_ingested_spans_percentage" => Self::ESTIMATED_INGESTED_SPANS_PERCENTAGE, "fargate_usage" => Self::FARGATE_USAGE, "fargate_percentage" => Self::FARGATE_PERCENTAGE, "functions_usage" => Self::FUNCTIONS_USAGE, diff --git a/src/datadogV1/model/model_monthly_usage_attribution_values.rs b/src/datadogV1/model/model_monthly_usage_attribution_values.rs index 51d34a751..effe1606a 100644 --- a/src/datadogV1/model/model_monthly_usage_attribution_values.rs +++ b/src/datadogV1/model/model_monthly_usage_attribution_values.rs @@ -167,24 +167,12 @@ pub struct MonthlyUsageAttributionValues { /// The estimated live indexed logs usage by tag(s). #[serde(rename = "estimated_indexed_logs_usage")] pub estimated_indexed_logs_usage: Option, - /// The percentage of estimated indexed spans usage by tag(s). - #[serde(rename = "estimated_indexed_spans_percentage")] - pub estimated_indexed_spans_percentage: Option, - /// The estimated indexed spans usage by tag(s). - #[serde(rename = "estimated_indexed_spans_usage")] - pub estimated_indexed_spans_usage: Option, /// The percentage of estimated live ingested logs usage by tag(s). #[serde(rename = "estimated_ingested_logs_percentage")] pub estimated_ingested_logs_percentage: Option, /// The estimated live ingested logs usage by tag(s). #[serde(rename = "estimated_ingested_logs_usage")] pub estimated_ingested_logs_usage: Option, - /// The percentage of estimated ingested spans usage by tag(s). - #[serde(rename = "estimated_ingested_spans_percentage")] - pub estimated_ingested_spans_percentage: Option, - /// The estimated ingested spans usage by tag(s). - #[serde(rename = "estimated_ingested_spans_usage")] - pub estimated_ingested_spans_usage: Option, /// The percentage of estimated rum sessions usage by tag(s). #[serde(rename = "estimated_rum_sessions_percentage")] pub estimated_rum_sessions_percentage: Option, @@ -493,12 +481,8 @@ impl MonthlyUsageAttributionValues { error_tracking_usage: None, estimated_indexed_logs_percentage: None, estimated_indexed_logs_usage: None, - estimated_indexed_spans_percentage: None, - estimated_indexed_spans_usage: None, estimated_ingested_logs_percentage: None, estimated_ingested_logs_usage: None, - estimated_ingested_spans_percentage: None, - estimated_ingested_spans_usage: None, estimated_rum_sessions_percentage: None, estimated_rum_sessions_usage: None, fargate_percentage: None, @@ -846,16 +830,6 @@ impl MonthlyUsageAttributionValues { self } - pub fn estimated_indexed_spans_percentage(mut self, value: f64) -> Self { - self.estimated_indexed_spans_percentage = Some(value); - self - } - - pub fn estimated_indexed_spans_usage(mut self, value: f64) -> Self { - self.estimated_indexed_spans_usage = Some(value); - self - } - pub fn estimated_ingested_logs_percentage(mut self, value: f64) -> Self { self.estimated_ingested_logs_percentage = Some(value); self @@ -866,16 +840,6 @@ impl MonthlyUsageAttributionValues { self } - pub fn estimated_ingested_spans_percentage(mut self, value: f64) -> Self { - self.estimated_ingested_spans_percentage = Some(value); - self - } - - pub fn estimated_ingested_spans_usage(mut self, value: f64) -> Self { - self.estimated_ingested_spans_usage = Some(value); - self - } - pub fn estimated_rum_sessions_percentage(mut self, value: f64) -> Self { self.estimated_rum_sessions_percentage = Some(value); self @@ -1370,12 +1334,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues { let mut error_tracking_usage: Option = None; let mut estimated_indexed_logs_percentage: Option = None; let mut estimated_indexed_logs_usage: Option = None; - let mut estimated_indexed_spans_percentage: Option = None; - let mut estimated_indexed_spans_usage: Option = None; let mut estimated_ingested_logs_percentage: Option = None; let mut estimated_ingested_logs_usage: Option = None; - let mut estimated_ingested_spans_percentage: Option = None; - let mut estimated_ingested_spans_usage: Option = None; let mut estimated_rum_sessions_percentage: Option = None; let mut estimated_rum_sessions_usage: Option = None; let mut fargate_percentage: Option = None; @@ -1829,20 +1789,6 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues { estimated_indexed_logs_usage = Some(serde_json::from_value(v).map_err(M::Error::custom)?); } - "estimated_indexed_spans_percentage" => { - if v.is_null() { - continue; - } - estimated_indexed_spans_percentage = - Some(serde_json::from_value(v).map_err(M::Error::custom)?); - } - "estimated_indexed_spans_usage" => { - if v.is_null() { - continue; - } - estimated_indexed_spans_usage = - Some(serde_json::from_value(v).map_err(M::Error::custom)?); - } "estimated_ingested_logs_percentage" => { if v.is_null() { continue; @@ -1857,20 +1803,6 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues { estimated_ingested_logs_usage = Some(serde_json::from_value(v).map_err(M::Error::custom)?); } - "estimated_ingested_spans_percentage" => { - if v.is_null() { - continue; - } - estimated_ingested_spans_percentage = - Some(serde_json::from_value(v).map_err(M::Error::custom)?); - } - "estimated_ingested_spans_usage" => { - if v.is_null() { - continue; - } - estimated_ingested_spans_usage = - Some(serde_json::from_value(v).map_err(M::Error::custom)?); - } "estimated_rum_sessions_percentage" => { if v.is_null() { continue; @@ -2505,12 +2437,8 @@ impl<'de> Deserialize<'de> for MonthlyUsageAttributionValues { error_tracking_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, - estimated_indexed_spans_percentage, - estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, - estimated_ingested_spans_percentage, - estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, fargate_percentage,