diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 4d62abaf5..0e0b198a8 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -2884,6 +2884,7 @@ components: - ci_pipelines - incident_analytics - product_analytics + - on_call_events example: logs type: string x-enum-varnames: @@ -2899,6 +2900,7 @@ components: - CI_PIPELINES - INCIDENT_ANALYTICS - PRODUCT_ANALYTICS + - ON_CALL_EVENTS FormulaAndFunctionMetricAggregation: description: The aggregation methods available for metrics queries. enum: diff --git a/src/datadogV1/model/model_formula_and_function_events_data_source.rs b/src/datadogV1/model/model_formula_and_function_events_data_source.rs index b2fe7291b..40325e63c 100644 --- a/src/datadogV1/model/model_formula_and_function_events_data_source.rs +++ b/src/datadogV1/model/model_formula_and_function_events_data_source.rs @@ -19,6 +19,7 @@ pub enum FormulaAndFunctionEventsDataSource { CI_PIPELINES, INCIDENT_ANALYTICS, PRODUCT_ANALYTICS, + ON_CALL_EVENTS, UnparsedObject(crate::datadog::UnparsedObject), } @@ -37,6 +38,7 @@ impl ToString for FormulaAndFunctionEventsDataSource { Self::CI_PIPELINES => String::from("ci_pipelines"), Self::INCIDENT_ANALYTICS => String::from("incident_analytics"), Self::PRODUCT_ANALYTICS => String::from("product_analytics"), + Self::ON_CALL_EVENTS => String::from("on_call_events"), Self::UnparsedObject(v) => v.value.to_string(), } } @@ -73,6 +75,7 @@ impl<'de> Deserialize<'de> for FormulaAndFunctionEventsDataSource { "ci_pipelines" => Self::CI_PIPELINES, "incident_analytics" => Self::INCIDENT_ANALYTICS, "product_analytics" => Self::PRODUCT_ANALYTICS, + "on_call_events" => Self::ON_CALL_EVENTS, _ => Self::UnparsedObject(crate::datadog::UnparsedObject { value: serde_json::Value::String(s.into()), }),