Skip to content

Commit 90f88b0

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9de1804a of spec repo
1 parent 2c08ad5 commit 90f88b0

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

.apigentools-info

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-11-08 19:36:27.945748",
8-
"spec_repo_commit": "ae3b5463"
7+
"regenerated": "2024-11-11 17:25:20.073695",
8+
"spec_repo_commit": "9de1804a"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-11-08 19:36:27.964476",
13-
"spec_repo_commit": "ae3b5463"
12+
"regenerated": "2024-11-11 17:25:20.093231",
13+
"spec_repo_commit": "9de1804a"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -3040,6 +3040,8 @@ components:
30403040
enum:
30413041
- good_events
30423042
- bad_events
3043+
- good_minutes
3044+
- bad_minutes
30433045
- slo_status
30443046
- error_budget_remaining
30453047
- burn_rate
@@ -3049,6 +3051,8 @@ components:
30493051
x-enum-varnames:
30503052
- GOOD_EVENTS
30513053
- BAD_EVENTS
3054+
- GOOD_MINUTES
3055+
- BAD_MINUTES
30523056
- SLO_STATUS
30533057
- ERROR_BUDGET_REMAINING
30543058
- BURN_RATE

examples/v2_security-monitoring_ListHistoricalJobs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ use datadog_api_client::datadogV2::api_security_monitoring::SecurityMonitoringAP
77
async fn main() {
88
// there is a valid "historical_job" in the system
99
let mut configuration = datadog::Configuration::new();
10-
configuration.set_unstable_operation_enabled("v2.ListHistoricalJobs", true);
1110
configuration.set_unstable_operation_enabled("v2.RunHistoricalJob", true);
11+
configuration.set_unstable_operation_enabled("v2.ListHistoricalJobs", true);
1212
let api = SecurityMonitoringAPI::with_config(configuration);
1313
let resp = api
1414
.list_historical_jobs(

src/datadogV1/model/model_formula_and_function_slo_measure.rs

+6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ use serde::{Deserialize, Deserializer, Serialize, Serializer};
99
pub enum FormulaAndFunctionSLOMeasure {
1010
GOOD_EVENTS,
1111
BAD_EVENTS,
12+
GOOD_MINUTES,
13+
BAD_MINUTES,
1214
SLO_STATUS,
1315
ERROR_BUDGET_REMAINING,
1416
BURN_RATE,
@@ -21,6 +23,8 @@ impl ToString for FormulaAndFunctionSLOMeasure {
2123
match self {
2224
Self::GOOD_EVENTS => String::from("good_events"),
2325
Self::BAD_EVENTS => String::from("bad_events"),
26+
Self::GOOD_MINUTES => String::from("good_minutes"),
27+
Self::BAD_MINUTES => String::from("bad_minutes"),
2428
Self::SLO_STATUS => String::from("slo_status"),
2529
Self::ERROR_BUDGET_REMAINING => String::from("error_budget_remaining"),
2630
Self::BURN_RATE => String::from("burn_rate"),
@@ -51,6 +55,8 @@ impl<'de> Deserialize<'de> for FormulaAndFunctionSLOMeasure {
5155
Ok(match s.as_str() {
5256
"good_events" => Self::GOOD_EVENTS,
5357
"bad_events" => Self::BAD_EVENTS,
58+
"good_minutes" => Self::GOOD_MINUTES,
59+
"bad_minutes" => Self::BAD_MINUTES,
5460
"slo_status" => Self::SLO_STATUS,
5561
"error_budget_remaining" => Self::ERROR_BUDGET_REMAINING,
5662
"burn_rate" => Self::BURN_RATE,

0 commit comments

Comments
 (0)