Skip to content

Commit

Permalink
Regenerate client from commit 66d9d069 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Nov 7, 2024
1 parent 1c28bf6 commit 037f3f8
Show file tree
Hide file tree
Showing 5 changed files with 148 additions and 4 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-11-07 20:43:55.394276",
"spec_repo_commit": "efa118f1"
"regenerated": "2024-11-07 21:30:03.834993",
"spec_repo_commit": "66d9d069"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-11-07 20:43:55.413281",
"spec_repo_commit": "efa118f1"
"regenerated": "2024-11-07 21:30:03.853594",
"spec_repo_commit": "66d9d069"
}
}
}
30 changes: 30 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19932,11 +19932,21 @@ components:
over all hours in the current date for all organizations.
format: int64
type: integer
error_tracking_error_events_sum:
description: Shows the sum of all Error Tracking error events over all hours
in the current date for the given org.
format: int64
type: integer
error_tracking_events_sum:
description: Shows the sum of all Error Tracking events over all hours in
the current date for the given org.
format: int64
type: integer
error_tracking_rum_error_events_sum:
description: Shows the sum of all Error Tracking RUM error events over all
hours in the current date for the given org.
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 @@ -20688,11 +20698,21 @@ components:
queries over all hours in the current month for the given org.
format: int64
type: integer
error_tracking_error_events_sum:
description: Shows the sum of all Error Tracking error events over all hours
in the current date for the given org.
format: int64
type: integer
error_tracking_events_sum:
description: Shows the sum of all Error Tracking events over all hours in
the current date for the given org.
format: int64
type: integer
error_tracking_rum_error_events_sum:
description: Shows the sum of all Error Tracking RUM error events over all
hours in the current date 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 @@ -21451,11 +21471,21 @@ components:
description: Shows the last date of usage in the current month for all organizations.
format: date-time
type: string
error_tracking_error_events_agg_sum:
description: Shows the sum of all Error Tracking error events over all hours
in the current month for all organizations.
format: int64
type: integer
error_tracking_events_agg_sum:
description: Shows the sum of all Error Tracking events over all hours in
the current months for all organizations.
format: int64
type: integer
error_tracking_rum_error_events_agg_sum:
description: Shows the sum of all Error Tracking RUM error events 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
38 changes: 38 additions & 0 deletions src/datadogV1/model/model_usage_summary_date.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,15 @@ pub struct UsageSummaryDate {
/// Shows the average of all normalized Database Monitoring queries over all hours in the current date for all organizations.
#[serde(rename = "dbm_queries_count_avg")]
pub dbm_queries_count_avg: Option<i64>,
/// Shows the sum of all Error Tracking error events over all hours in the current date for the given org.
#[serde(rename = "error_tracking_error_events_sum")]
pub error_tracking_error_events_sum: Option<i64>,
/// Shows the sum of all Error Tracking events over all hours in the current date for the given org.
#[serde(rename = "error_tracking_events_sum")]
pub error_tracking_events_sum: Option<i64>,
/// 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>,
/// 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 @@ -504,7 +510,9 @@ impl UsageSummaryDate {
date: None,
dbm_host_top99p: None,
dbm_queries_count_avg: None,
error_tracking_error_events_sum: None,
error_tracking_events_sum: None,
error_tracking_rum_error_events_sum: None,
fargate_tasks_count_avg: None,
fargate_tasks_count_hwm: None,
flex_logs_compute_large_avg: None,
Expand Down Expand Up @@ -931,12 +939,24 @@ impl UsageSummaryDate {
self
}

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

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

#[allow(deprecated)]
pub fn error_tracking_rum_error_events_sum(mut self, value: i64) -> Self {
self.error_tracking_rum_error_events_sum = 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 @@ -1500,7 +1520,9 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
let mut date: Option<chrono::DateTime<chrono::Utc>> = None;
let mut dbm_host_top99p: Option<i64> = None;
let mut dbm_queries_count_avg: Option<i64> = None;
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_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 @@ -1986,13 +2008,27 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
dbm_queries_count_avg =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"error_tracking_error_events_sum" => {
if v.is_null() {
continue;
}
error_tracking_error_events_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"error_tracking_events_sum" => {
if v.is_null() {
continue;
}
error_tracking_events_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"error_tracking_rum_error_events_sum" => {
if v.is_null() {
continue;
}
error_tracking_rum_error_events_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_tasks_count_avg" => {
if v.is_null() {
continue;
Expand Down Expand Up @@ -2612,7 +2648,9 @@ impl<'de> Deserialize<'de> for UsageSummaryDate {
date,
dbm_host_top99p,
dbm_queries_count_avg,
error_tracking_error_events_sum,
error_tracking_events_sum,
error_tracking_rum_error_events_sum,
fargate_tasks_count_avg,
fargate_tasks_count_hwm,
flex_logs_compute_large_avg,
Expand Down
38 changes: 38 additions & 0 deletions src/datadogV1/model/model_usage_summary_date_org.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,15 @@ pub struct UsageSummaryDateOrg {
/// Shows the average of all distinct Database Monitoring normalized queries over all hours in the current month for the given org.
#[serde(rename = "dbm_queries_avg_sum")]
pub dbm_queries_avg_sum: Option<i64>,
/// Shows the sum of all Error Tracking error events over all hours in the current date for the given org.
#[serde(rename = "error_tracking_error_events_sum")]
pub error_tracking_error_events_sum: Option<i64>,
/// Shows the sum of all Error Tracking events over all hours in the current date for the given org.
#[serde(rename = "error_tracking_events_sum")]
pub error_tracking_events_sum: Option<i64>,
/// 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 task count for Fargate.
#[serde(rename = "fargate_tasks_count_avg")]
pub fargate_tasks_count_avg: Option<i64>,
Expand Down Expand Up @@ -526,7 +532,9 @@ impl UsageSummaryDateOrg {
data_jobs_monitoring_host_hr_sum: None,
dbm_host_top99p_sum: None,
dbm_queries_avg_sum: None,
error_tracking_error_events_sum: None,
error_tracking_events_sum: None,
error_tracking_rum_error_events_sum: None,
fargate_tasks_count_avg: None,
fargate_tasks_count_hwm: None,
flex_logs_compute_large_avg: None,
Expand Down Expand Up @@ -974,12 +982,24 @@ impl UsageSummaryDateOrg {
self
}

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

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

#[allow(deprecated)]
pub fn error_tracking_rum_error_events_sum(mut self, value: i64) -> Self {
self.error_tracking_rum_error_events_sum = 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 @@ -1564,7 +1584,9 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
let mut data_jobs_monitoring_host_hr_sum: Option<i64> = None;
let mut dbm_host_top99p_sum: Option<i64> = None;
let mut dbm_queries_avg_sum: Option<i64> = None;
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_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 @@ -2075,13 +2097,27 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
dbm_queries_avg_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"error_tracking_error_events_sum" => {
if v.is_null() {
continue;
}
error_tracking_error_events_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"error_tracking_events_sum" => {
if v.is_null() {
continue;
}
error_tracking_events_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"error_tracking_rum_error_events_sum" => {
if v.is_null() {
continue;
}
error_tracking_rum_error_events_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_tasks_count_avg" => {
if v.is_null() {
continue;
Expand Down Expand Up @@ -2722,7 +2758,9 @@ impl<'de> Deserialize<'de> for UsageSummaryDateOrg {
data_jobs_monitoring_host_hr_sum,
dbm_host_top99p_sum,
dbm_queries_avg_sum,
error_tracking_error_events_sum,
error_tracking_events_sum,
error_tracking_rum_error_events_sum,
fargate_tasks_count_avg,
fargate_tasks_count_hwm,
flex_logs_compute_large_avg,
Expand Down
38 changes: 38 additions & 0 deletions src/datadogV1/model/model_usage_summary_response.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,15 @@ pub struct UsageSummaryResponse {
/// Shows the last date of usage in the current month for all organizations.
#[serde(rename = "end_date")]
pub end_date: Option<chrono::DateTime<chrono::Utc>>,
/// Shows the sum of all Error Tracking error events over all hours in the current month for all organizations.
#[serde(rename = "error_tracking_error_events_agg_sum")]
pub error_tracking_error_events_agg_sum: Option<i64>,
/// Shows the sum of all Error Tracking events over all hours in the current months for all organizations.
#[serde(rename = "error_tracking_events_agg_sum")]
pub error_tracking_events_agg_sum: Option<i64>,
/// Shows the sum of all Error Tracking RUM error events over all hours in the current month for all organizations.
#[serde(rename = "error_tracking_rum_error_events_agg_sum")]
pub error_tracking_rum_error_events_agg_sum: Option<i64>,
/// Shows the average of all Fargate tasks over all hours in the current month for all organizations.
#[serde(rename = "fargate_tasks_count_avg_sum")]
pub fargate_tasks_count_avg_sum: Option<i64>,
Expand Down Expand Up @@ -543,7 +549,9 @@ impl UsageSummaryResponse {
dbm_host_top99p_sum: None,
dbm_queries_avg_sum: None,
end_date: None,
error_tracking_error_events_agg_sum: None,
error_tracking_events_agg_sum: None,
error_tracking_rum_error_events_agg_sum: None,
fargate_tasks_count_avg_sum: None,
fargate_tasks_count_hwm_sum: None,
flex_logs_compute_large_avg_sum: None,
Expand Down Expand Up @@ -996,12 +1004,24 @@ impl UsageSummaryResponse {
self
}

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

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

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

#[allow(deprecated)]
pub fn fargate_tasks_count_avg_sum(mut self, value: i64) -> Self {
self.fargate_tasks_count_avg_sum = Some(value);
Expand Down Expand Up @@ -1616,7 +1636,9 @@ impl<'de> Deserialize<'de> for UsageSummaryResponse {
let mut dbm_host_top99p_sum: Option<i64> = None;
let mut dbm_queries_avg_sum: Option<i64> = None;
let mut end_date: Option<chrono::DateTime<chrono::Utc>> = None;
let mut error_tracking_error_events_agg_sum: Option<i64> = None;
let mut error_tracking_events_agg_sum: Option<i64> = None;
let mut error_tracking_rum_error_events_agg_sum: Option<i64> = None;
let mut fargate_tasks_count_avg_sum: Option<i64> = None;
let mut fargate_tasks_count_hwm_sum: Option<i64> = None;
let mut flex_logs_compute_large_avg_sum: Option<i64> = None;
Expand Down Expand Up @@ -2131,13 +2153,27 @@ impl<'de> Deserialize<'de> for UsageSummaryResponse {
}
end_date = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"error_tracking_error_events_agg_sum" => {
if v.is_null() {
continue;
}
error_tracking_error_events_agg_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"error_tracking_events_agg_sum" => {
if v.is_null() {
continue;
}
error_tracking_events_agg_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"error_tracking_rum_error_events_agg_sum" => {
if v.is_null() {
continue;
}
error_tracking_rum_error_events_agg_sum =
Some(serde_json::from_value(v).map_err(M::Error::custom)?);
}
"fargate_tasks_count_avg_sum" => {
if v.is_null() {
continue;
Expand Down Expand Up @@ -2815,7 +2851,9 @@ impl<'de> Deserialize<'de> for UsageSummaryResponse {
dbm_host_top99p_sum,
dbm_queries_avg_sum,
end_date,
error_tracking_error_events_agg_sum,
error_tracking_events_agg_sum,
error_tracking_rum_error_events_agg_sum,
fargate_tasks_count_avg_sum,
fargate_tasks_count_hwm_sum,
flex_logs_compute_large_avg_sum,
Expand Down

0 comments on commit 037f3f8

Please sign in to comment.