Skip to content

Commit

Permalink
Regenerate client from commit 347bdae7 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Dec 13, 2024
1 parent 7c7141d commit 402499f
Show file tree
Hide file tree
Showing 5 changed files with 158 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-13 16:09:25.555961",
"spec_repo_commit": "936a5463"
"regenerated": "2024-12-13 19:45:19.171089",
"spec_repo_commit": "347bdae7"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-12-13 16:09:25.575458",
"spec_repo_commit": "936a5463"
"regenerated": "2024-12-13 19:45:19.189778",
"spec_repo_commit": "347bdae7"
}
}
}
40 changes: 36 additions & 4 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19697,7 +19697,8 @@ components:
format: int64
type: integer
avg_profiled_fargate_tasks:
description: The average profiled task count for Fargate Profiling.
description: The average total count for Fargate Container Profiler over
all hours in the current date for all organizations.
format: int64
type: integer
aws_host_top99p:
Expand Down Expand Up @@ -19971,6 +19972,16 @@ components:
hours in the current date for the given org.
format: int64
type: integer
fargate_container_profiler_profiling_fargate_avg:
description: The average number of Profiling Fargate tasks over all hours
in the current date for all organizations.
format: int64
type: integer
fargate_container_profiler_profiling_fargate_eks_avg:
description: The average number of Profiling Fargate Elastic Kubernetes
Service tasks over all hours in the current date for all organizations.
format: int64
type: integer
fargate_tasks_count_avg:
description: Shows the high-watermark of all Fargate tasks over all hours
in the current date for all organizations.
Expand Down Expand Up @@ -20468,7 +20479,8 @@ components:
format: int64
type: integer
avg_profiled_fargate_tasks:
description: The average profiled task count for Fargate Profiling.
description: The average total count for Fargate Container Profiler over
all hours in the current month for the given org.
format: int64
type: integer
aws_host_top99p:
Expand Down Expand Up @@ -20748,6 +20760,16 @@ components:
hours in the current date for the given org.
format: int64
type: integer
fargate_container_profiler_profiling_fargate_avg:
description: The average number of Profiling Fargate tasks over all hours
in the current month for the given org.
format: int64
type: integer
fargate_container_profiler_profiling_fargate_eks_avg:
description: The average number of Profiling Fargate Elastic Kubernetes
Service tasks over all hours in the current month for the given org.
format: int64
type: integer
fargate_tasks_count_avg:
description: The average task count for Fargate.
format: int64
Expand Down Expand Up @@ -21243,8 +21265,8 @@ components:
format: int64
type: integer
avg_profiled_fargate_tasks_sum:
description: Shows the average of all profiled Fargate tasks over all hours
in the current month for all organizations.
description: The average total count for Fargate Container Profiler over
all hours in the current month for all organizations.
format: int64
type: integer
aws_host_top99p_sum:
Expand Down Expand Up @@ -21532,6 +21554,16 @@ components:
hours in the current month for all organizations.
format: int64
type: integer
fargate_container_profiler_profiling_fargate_avg_sum:
description: The average number of Profiling Fargate tasks over all hours
in the current month for all organizations.
format: int64
type: integer
fargate_container_profiler_profiling_fargate_eks_avg_sum:
description: The average number of Profiling Fargate Elastic Kubernetes
Service tasks over all hours in the current month for all organizations.
format: int64
type: integer
fargate_tasks_count_avg_sum:
description: Shows the average of all Fargate tasks over all hours in the
current month for all organizations.
Expand Down
40 changes: 39 additions & 1 deletion src/datadogV1/model/model_usage_summary_date.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub struct UsageSummaryDate {
/// Shows the number of organizations that had Audit Trail enabled in the current date.
#[serde(rename = "audit_trail_enabled_hwm")]
pub audit_trail_enabled_hwm: Option<i64>,
/// The average profiled task count for Fargate Profiling.
/// The average total count for Fargate Container Profiler over all hours in the current date for all organizations.
#[serde(rename = "avg_profiled_fargate_tasks")]
pub avg_profiled_fargate_tasks: Option<i64>,
/// Shows the 99th percentile of all AWS hosts over all hours in the current date for all organizations.
Expand Down Expand Up @@ -200,6 +200,12 @@ pub struct UsageSummaryDate {
/// Shows the sum of all Error Tracking RUM error events over all hours in the current date for the given org.
#[serde(rename = "error_tracking_rum_error_events_sum")]
pub error_tracking_rum_error_events_sum: Option<i64>,
/// The average number of Profiling Fargate tasks over all hours in the current date for all organizations.
#[serde(rename = "fargate_container_profiler_profiling_fargate_avg")]
pub fargate_container_profiler_profiling_fargate_avg: Option<i64>,
/// The average number of Profiling Fargate Elastic Kubernetes Service tasks over all hours in the current date for all organizations.
#[serde(rename = "fargate_container_profiler_profiling_fargate_eks_avg")]
pub fargate_container_profiler_profiling_fargate_eks_avg: Option<i64>,
/// Shows the high-watermark of all Fargate tasks over all hours in the current date for all organizations.
#[serde(rename = "fargate_tasks_count_avg")]
pub fargate_tasks_count_avg: Option<i64>,
Expand Down Expand Up @@ -521,6 +527,8 @@ impl UsageSummaryDate {
error_tracking_error_events_sum: None,
error_tracking_events_sum: None,
error_tracking_rum_error_events_sum: None,
fargate_container_profiler_profiling_fargate_avg: None,
fargate_container_profiler_profiling_fargate_eks_avg: None,
fargate_tasks_count_avg: None,
fargate_tasks_count_hwm: None,
flex_logs_compute_large_avg: None,
Expand Down Expand Up @@ -977,6 +985,18 @@ impl UsageSummaryDate {
self
}

#[allow(deprecated)]
pub fn fargate_container_profiler_profiling_fargate_avg(mut self, value: i64) -> Self {
self.fargate_container_profiler_profiling_fargate_avg = Some(value);
self
}

#[allow(deprecated)]
pub fn fargate_container_profiler_profiling_fargate_eks_avg(mut self, value: i64) -> Self {
self.fargate_container_profiler_profiling_fargate_eks_avg = Some(value);
self
}

#[allow(deprecated)]
pub fn fargate_tasks_count_avg(mut self, value: i64) -> Self {
self.fargate_tasks_count_avg = Some(value);
Expand Down Expand Up @@ -1545,6 +1565,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
let mut error_tracking_error_events_sum: Option<i64> = None;
let mut error_tracking_events_sum: Option<i64> = None;
let mut error_tracking_rum_error_events_sum: Option<i64> = None;
let mut fargate_container_profiler_profiling_fargate_avg: Option<i64> = None;
let mut fargate_container_profiler_profiling_fargate_eks_avg: Option<i64> = None;
let mut fargate_tasks_count_avg: Option<i64> = None;
let mut fargate_tasks_count_hwm: Option<i64> = None;
let mut flex_logs_compute_large_avg: Option<i64> = None;
Expand Down Expand Up @@ -2065,6 +2087,20 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
error_tracking_rum_error_events_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_container_profiler_profiling_fargate_avg" => {
if v.is_null() {
continue;
}
fargate_container_profiler_profiling_fargate_avg =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_container_profiler_profiling_fargate_eks_avg" => {
if v.is_null() {
continue;
}
fargate_container_profiler_profiling_fargate_eks_avg =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_tasks_count_avg" => {
if v.is_null() {
continue;
Expand Down Expand Up @@ -2689,6 +2725,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
error_tracking_error_events_sum,
error_tracking_events_sum,
error_tracking_rum_error_events_sum,
fargate_container_profiler_profiling_fargate_avg,
fargate_container_profiler_profiling_fargate_eks_avg,
fargate_tasks_count_avg,
fargate_tasks_count_hwm,
flex_logs_compute_large_avg,
Expand Down
40 changes: 39 additions & 1 deletion src/datadogV1/model/model_usage_summary_date_org.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ pub struct UsageSummaryDateOrg {
/// Shows whether Audit Trail is enabled for the current date for the given org.
#[serde(rename = "audit_trail_enabled_hwm")]
pub audit_trail_enabled_hwm: Option<i64>,
/// The average profiled task count for Fargate Profiling.
/// The average total count for Fargate Container Profiler over all hours in the current month for the given org.
#[serde(rename = "avg_profiled_fargate_tasks")]
pub avg_profiled_fargate_tasks: Option<i64>,
/// Shows the 99th percentile of all AWS hosts over all hours in the current date for the given org.
Expand Down Expand Up @@ -209,6 +209,12 @@ pub struct UsageSummaryDateOrg {
/// Shows the sum of all Error Tracking RUM error events over all hours in the current date for the given org.
#[serde(rename = "error_tracking_rum_error_events_sum")]
pub error_tracking_rum_error_events_sum: Option<i64>,
/// The average number of Profiling Fargate tasks over all hours in the current month for the given org.
#[serde(rename = "fargate_container_profiler_profiling_fargate_avg")]
pub fargate_container_profiler_profiling_fargate_avg: Option<i64>,
/// The average number of Profiling Fargate Elastic Kubernetes Service tasks over all hours in the current month for the given org.
#[serde(rename = "fargate_container_profiler_profiling_fargate_eks_avg")]
pub fargate_container_profiler_profiling_fargate_eks_avg: Option<i64>,
/// The average task count for Fargate.
#[serde(rename = "fargate_tasks_count_avg")]
pub fargate_tasks_count_avg: Option<i64>,
Expand Down Expand Up @@ -543,6 +549,8 @@ impl UsageSummaryDateOrg {
error_tracking_error_events_sum: None,
error_tracking_events_sum: None,
error_tracking_rum_error_events_sum: None,
fargate_container_profiler_profiling_fargate_avg: None,
fargate_container_profiler_profiling_fargate_eks_avg: None,
fargate_tasks_count_avg: None,
fargate_tasks_count_hwm: None,
flex_logs_compute_large_avg: None,
Expand Down Expand Up @@ -1020,6 +1028,18 @@ impl UsageSummaryDateOrg {
self
}

#[allow(deprecated)]
pub fn fargate_container_profiler_profiling_fargate_avg(mut self, value: i64) -> Self {
self.fargate_container_profiler_profiling_fargate_avg = Some(value);
self
}

#[allow(deprecated)]
pub fn fargate_container_profiler_profiling_fargate_eks_avg(mut self, value: i64) -> Self {
self.fargate_container_profiler_profiling_fargate_eks_avg = Some(value);
self
}

#[allow(deprecated)]
pub fn fargate_tasks_count_avg(mut self, value: i64) -> Self {
self.fargate_tasks_count_avg = Some(value);
Expand Down Expand Up @@ -1609,6 +1629,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
let mut error_tracking_error_events_sum: Option<i64> = None;
let mut error_tracking_events_sum: Option<i64> = None;
let mut error_tracking_rum_error_events_sum: Option<i64> = None;
let mut fargate_container_profiler_profiling_fargate_avg: Option<i64> = None;
let mut fargate_container_profiler_profiling_fargate_eks_avg: Option<i64> = None;
let mut fargate_tasks_count_avg: Option<i64> = None;
let mut fargate_tasks_count_hwm: Option<i64> = None;
let mut flex_logs_compute_large_avg: Option<i64> = None;
Expand Down Expand Up @@ -2154,6 +2176,20 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
error_tracking_rum_error_events_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_container_profiler_profiling_fargate_avg" => {
if v.is_null() {
continue;
}
fargate_container_profiler_profiling_fargate_avg =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_container_profiler_profiling_fargate_eks_avg" => {
if v.is_null() {
continue;
}
fargate_container_profiler_profiling_fargate_eks_avg =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_tasks_count_avg" => {
if v.is_null() {
continue;
Expand Down Expand Up @@ -2799,6 +2835,8 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
error_tracking_error_events_sum,
error_tracking_events_sum,
error_tracking_rum_error_events_sum,
fargate_container_profiler_profiling_fargate_avg,
fargate_container_profiler_profiling_fargate_eks_avg,
fargate_tasks_count_avg,
fargate_tasks_count_hwm,
flex_logs_compute_large_avg,
Expand Down
Loading

0 comments on commit 402499f

Please sign in to comment.