Skip to content

Commit

Permalink
Regenerate client from commit 6ca80f8 of spec repo (#487)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec authored Sep 10, 2021
1 parent 5216f2b commit cc17cae
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 11 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.4.1.dev11",
"regenerated": "2021-09-09 15:50:45.245724",
"spec_repo_commit": "965e51f"
"regenerated": "2021-09-10 08:47:48.020690",
"spec_repo_commit": "6ca80f8"
},
"v2": {
"apigentools_version": "1.4.1.dev11",
"regenerated": "2021-09-09 15:51:29.684747",
"spec_repo_commit": "965e51f"
"regenerated": "2021-09-10 08:48:35.471552",
"spec_repo_commit": "6ca80f8"
}
}
}
1 change: 0 additions & 1 deletion data/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7447,7 +7447,6 @@ components:
- count
- sum
- values
- metadata
type: object
SLOHistoryMetricsSeriesMetadataUnit:
description: An Object of metric units.
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/SLOHistoryMetricsSeries.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **count** | **Integer** | Count of submitted metrics. | |
| **metadata** | [**SLOHistoryMetricsSeriesMetadata**](SLOHistoryMetricsSeriesMetadata.md) | | |
| **metadata** | [**SLOHistoryMetricsSeriesMetadata**](SLOHistoryMetricsSeriesMetadata.md) | | [optional] |
| **sum** | **Float** | Total sum of the query. | |
| **values** | **Array&lt;Float&gt;** | The query values for each metric. | |

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,6 @@ def list_invalid_properties
invalid_properties.push('invalid value for "count", count cannot be nil.')
end

if @metadata.nil?
invalid_properties.push('invalid value for "metadata", metadata cannot be nil.')
end

if @sum.nil?
invalid_properties.push('invalid value for "sum", sum cannot be nil.')
end
Expand All @@ -125,7 +121,6 @@ def list_invalid_properties
# @return true if the model is valid
def valid?
return false if @count.nil?
return false if @metadata.nil?
return false if @sum.nil?
return false if @values.nil?
true
Expand Down

0 comments on commit cc17cae

Please sign in to comment.