Skip to content

Commit

Permalink
Regenerate client from commit 9a0922b9 of spec repo (#1427)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <[email protected]>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Apr 5, 2022
1 parent e546a44 commit 1f9ca27
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
}
4 changes: 4 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2743,6 +2743,7 @@ components:
- min
- max
- avg
- median
example: pc90
type: string
x-enum-varnames:
Expand All @@ -2757,6 +2758,7 @@ components:
- MIN
- MAX
- AVG
- MEDIAN
LogsArchive:
description: The logs archive.
properties:
Expand Down Expand Up @@ -4606,6 +4608,7 @@ components:
- min
- max
- avg
- median
example: pc90
type: string
x-enum-varnames:
Expand All @@ -4620,6 +4623,7 @@ components:
- MIN
- MAX
- AVG
- MEDIAN
RUMAnalyticsAggregateResponse:
description: The response object for the RUM events aggregate API endpoint.
properties:
Expand Down
2 changes: 2 additions & 0 deletions api/v2/datadog/model_logs_aggregation_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const (
LOGSAGGREGATIONFUNCTION_MIN LogsAggregationFunction = "min"
LOGSAGGREGATIONFUNCTION_MAX LogsAggregationFunction = "max"
LOGSAGGREGATIONFUNCTION_AVG LogsAggregationFunction = "avg"
LOGSAGGREGATIONFUNCTION_MEDIAN LogsAggregationFunction = "median"
)

var allowedLogsAggregationFunctionEnumValues = []LogsAggregationFunction{
Expand All @@ -41,6 +42,7 @@ var allowedLogsAggregationFunctionEnumValues = []LogsAggregationFunction{
LOGSAGGREGATIONFUNCTION_MIN,
LOGSAGGREGATIONFUNCTION_MAX,
LOGSAGGREGATIONFUNCTION_AVG,
LOGSAGGREGATIONFUNCTION_MEDIAN,
}

func (w *LogsAggregationFunction) GetAllowedValues() []LogsAggregationFunction {
Expand Down
2 changes: 2 additions & 0 deletions api/v2/datadog/model_rum_aggregation_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const (
RUMAGGREGATIONFUNCTION_MIN RUMAggregationFunction = "min"
RUMAGGREGATIONFUNCTION_MAX RUMAggregationFunction = "max"
RUMAGGREGATIONFUNCTION_AVG RUMAggregationFunction = "avg"
RUMAGGREGATIONFUNCTION_MEDIAN RUMAggregationFunction = "median"
)

var allowedRUMAggregationFunctionEnumValues = []RUMAggregationFunction{
Expand All @@ -41,6 +42,7 @@ var allowedRUMAggregationFunctionEnumValues = []RUMAggregationFunction{
RUMAGGREGATIONFUNCTION_MIN,
RUMAGGREGATIONFUNCTION_MAX,
RUMAGGREGATIONFUNCTION_AVG,
RUMAGGREGATIONFUNCTION_MEDIAN,
}

func (w *RUMAggregationFunction) GetAllowedValues() []RUMAggregationFunction {
Expand Down

0 comments on commit 1f9ca27

Please sign in to comment.