diff --git a/.apigentools-info b/.apigentools-info index 375fc08390..1da337300d 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-07-16 18:49:24.415199", - "spec_repo_commit": "a669b93e" + "regenerated": "2024-07-17 08:36:08.394705", + "spec_repo_commit": "f77e7cb2" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-07-16 18:49:24.431970", - "spec_repo_commit": "a669b93e" + "regenerated": "2024-07-17 08:36:08.412103", + "spec_repo_commit": "f77e7cb2" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 4e5dd7abac..84367ca5a3 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -3087,10 +3087,12 @@ components: description: Name of the query for use in formulas. enum: - metric + - time_slice example: metric type: string x-enum-varnames: - METRIC + - TIME_SLICE FormulaType: description: Set the sort type to formula. enum: 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 1dc79ea9e9..5d78a74cff 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,14 +16,16 @@ class FormulaAndFunctionSLOQueryType(ModelSimple): """ Name of the query for use in formulas. - :param value: If omitted defaults to "metric". Must be one of ["metric"]. + :param value: Must be one of ["metric", "time_slice"]. :type value: str """ allowed_values = { "metric", + "time_slice", } METRIC: ClassVar["FormulaAndFunctionSLOQueryType"] + TIME_SLICE: ClassVar["FormulaAndFunctionSLOQueryType"] @cached_property def openapi_types(_): @@ -33,3 +35,4 @@ def openapi_types(_): FormulaAndFunctionSLOQueryType.METRIC = FormulaAndFunctionSLOQueryType("metric") +FormulaAndFunctionSLOQueryType.TIME_SLICE = FormulaAndFunctionSLOQueryType("time_slice")