From 1f9ca274c7eba51a797c7961d4faef19a1507d88 Mon Sep 17 00:00:00 2001 From: "api-clients-generation-pipeline[bot]" <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> Date: Tue, 5 Apr 2022 11:11:44 +0000 Subject: [PATCH] Regenerate client from commit 9a0922b9 of spec repo (#1427) Co-authored-by: ci.datadog-api-spec Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com> --- .apigentools-info | 8 ++++---- .generator/schemas/v2/openapi.yaml | 4 ++++ api/v2/datadog/model_logs_aggregation_function.go | 2 ++ api/v2/datadog/model_rum_aggregation_function.go | 2 ++ 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.apigentools-info b/.apigentools-info index d192b4e1ddd..8008c17e2f4 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.2", - "regenerated": "2022-04-04 17:26:15.709747", - "spec_repo_commit": "7e16a5c4" + "regenerated": "2022-04-05 10:17:39.328437", + "spec_repo_commit": "9a0922b9" }, "v2": { "apigentools_version": "1.6.2", - "regenerated": "2022-04-04 17:26:15.722075", - "spec_repo_commit": "7e16a5c4" + "regenerated": "2022-04-05 10:17:39.341191", + "spec_repo_commit": "9a0922b9" } } } \ No newline at end of file diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index 66ad8c2a5b3..cd0eec79a63 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -2743,6 +2743,7 @@ components: - min - max - avg + - median example: pc90 type: string x-enum-varnames: @@ -2757,6 +2758,7 @@ components: - MIN - MAX - AVG + - MEDIAN LogsArchive: description: The logs archive. properties: @@ -4606,6 +4608,7 @@ components: - min - max - avg + - median example: pc90 type: string x-enum-varnames: @@ -4620,6 +4623,7 @@ components: - MIN - MAX - AVG + - MEDIAN RUMAnalyticsAggregateResponse: description: The response object for the RUM events aggregate API endpoint. properties: diff --git a/api/v2/datadog/model_logs_aggregation_function.go b/api/v2/datadog/model_logs_aggregation_function.go index 6463620d411..9912e82384d 100644 --- a/api/v2/datadog/model_logs_aggregation_function.go +++ b/api/v2/datadog/model_logs_aggregation_function.go @@ -27,6 +27,7 @@ const ( LOGSAGGREGATIONFUNCTION_MIN LogsAggregationFunction = "min" LOGSAGGREGATIONFUNCTION_MAX LogsAggregationFunction = "max" LOGSAGGREGATIONFUNCTION_AVG LogsAggregationFunction = "avg" + LOGSAGGREGATIONFUNCTION_MEDIAN LogsAggregationFunction = "median" ) var allowedLogsAggregationFunctionEnumValues = []LogsAggregationFunction{ @@ -41,6 +42,7 @@ var allowedLogsAggregationFunctionEnumValues = []LogsAggregationFunction{ LOGSAGGREGATIONFUNCTION_MIN, LOGSAGGREGATIONFUNCTION_MAX, LOGSAGGREGATIONFUNCTION_AVG, + LOGSAGGREGATIONFUNCTION_MEDIAN, } func (w *LogsAggregationFunction) GetAllowedValues() []LogsAggregationFunction { diff --git a/api/v2/datadog/model_rum_aggregation_function.go b/api/v2/datadog/model_rum_aggregation_function.go index b9710009c0f..075b6e8acfa 100644 --- a/api/v2/datadog/model_rum_aggregation_function.go +++ b/api/v2/datadog/model_rum_aggregation_function.go @@ -27,6 +27,7 @@ const ( RUMAGGREGATIONFUNCTION_MIN RUMAggregationFunction = "min" RUMAGGREGATIONFUNCTION_MAX RUMAggregationFunction = "max" RUMAGGREGATIONFUNCTION_AVG RUMAggregationFunction = "avg" + RUMAGGREGATIONFUNCTION_MEDIAN RUMAggregationFunction = "median" ) var allowedRUMAggregationFunctionEnumValues = []RUMAggregationFunction{ @@ -41,6 +42,7 @@ var allowedRUMAggregationFunctionEnumValues = []RUMAggregationFunction{ RUMAGGREGATIONFUNCTION_MIN, RUMAGGREGATIONFUNCTION_MAX, RUMAGGREGATIONFUNCTION_AVG, + RUMAGGREGATIONFUNCTION_MEDIAN, } func (w *RUMAggregationFunction) GetAllowedValues() []RUMAggregationFunction {