diff --git a/.apigentools-info b/.apigentools-info index 55364622ca..241896b184 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2025-04-07 18:49:41.536548", - "spec_repo_commit": "d0287df0" + "regenerated": "2025-04-08 14:37:44.703187", + "spec_repo_commit": "642b7d0b" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2025-04-07 18:49:41.551076", - "spec_repo_commit": "d0287df0" + "regenerated": "2025-04-08 14:37:44.802514", + "spec_repo_commit": "642b7d0b" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index a0c142ac78..c71e9b24e2 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3094,11 +3094,13 @@ components: description: Name of the query for use in formulas. enum: - metric + - monitor - time_slice example: metric type: string x-enum-varnames: - METRIC + - MONITOR - TIME_SLICE FormulaType: description: Set the sort type to formula. diff --git a/src/datadog_api_client/v1/model/formula_and_function_slo_query_type.py b/src/datadog_api_client/v1/model/formula_and_function_slo_query_type.py index 5d78a74cff..7e3a7be0bd 100644 --- a/src/datadog_api_client/v1/model/formula_and_function_slo_query_type.py +++ b/src/datadog_api_client/v1/model/formula_and_function_slo_query_type.py @@ -16,15 +16,17 @@ class FormulaAndFunctionSLOQueryType(ModelSimple): """ Name of the query for use in formulas. - :param value: Must be one of ["metric", "time_slice"]. + :param value: Must be one of ["metric", "monitor", "time_slice"]. :type value: str """ allowed_values = { "metric", + "monitor", "time_slice", } METRIC: ClassVar["FormulaAndFunctionSLOQueryType"] + MONITOR: ClassVar["FormulaAndFunctionSLOQueryType"] TIME_SLICE: ClassVar["FormulaAndFunctionSLOQueryType"] @cached_property @@ -35,4 +37,5 @@ def openapi_types(_): FormulaAndFunctionSLOQueryType.METRIC = FormulaAndFunctionSLOQueryType("metric") +FormulaAndFunctionSLOQueryType.MONITOR = FormulaAndFunctionSLOQueryType("monitor") FormulaAndFunctionSLOQueryType.TIME_SLICE = FormulaAndFunctionSLOQueryType("time_slice")