Skip to content

Commit

Permalink
Regenerate client from commit 160f7db of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Jun 2, 2021
1 parent 0c71f30 commit 8c9d8a6
Show file tree
Hide file tree
Showing 4 changed files with 26 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.4.1.dev8",
"regenerated": "2021-05-28 09:09:08.991765",
"spec_repo_commit": "2a54e42"
"regenerated": "2021-06-02 22:09:46.274735",
"spec_repo_commit": "160f7db"
},
"v2": {
"apigentools_version": "1.4.1.dev8",
"regenerated": "2021-05-28 09:09:36.666979",
"spec_repo_commit": "2a54e42"
"regenerated": "2021-06-02 22:10:09.896588",
"spec_repo_commit": "160f7db"
}
}
}
2 changes: 2 additions & 0 deletions docs/v1/MetricsQueryMetadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ Name | Type | Description | Notes
**length** | **int** | Number of data samples. | [optional] [readonly]
**metric** | **str** | Metric name. | [optional] [readonly]
**pointlist** | [**[Point]**](Point.md) | List of points of the time series. | [optional] [readonly]
**query_index** | **int** | The index of the series' query within the request. | [optional] [readonly]
**scope** | **str** | Metric scope, comma separated list of tags. | [optional] [readonly]
**start** | **int** | Start of the time window, milliseconds since Unix epoch. | [optional] [readonly]
**tag_set** | **[str]** | Unique tags identifying this series. | [optional] [readonly]
**unit** | [**[MetricsQueryUnit]**](MetricsQueryUnit.md) | Detailed information about the metric unit. First element describes the \"primary unit\" (for example, `bytes` in `bytes per second`), second describes the \"per unit\" (for example, `second` in `bytes per second`). | [optional] [readonly]

[[Back to Model list]](README.md#documentation-for-models) [[Back to API list]](README.md#documentation-for-api-endpoints) [[Back to README]](README.md)
Expand Down
7 changes: 7 additions & 0 deletions src/datadog_api_client/v1/model/metrics_query_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class MetricsQueryMetadata(ModelNormal):
allowed_values = {}

validations = {
("tag_set",): {},
("unit",): {
"max_items": 2,
"min_items": 2,
Expand Down Expand Up @@ -87,8 +88,10 @@ def openapi_types():
"length": (int,), # noqa: E501
"metric": (str,), # noqa: E501
"pointlist": ([Point],), # noqa: E501
"query_index": (int,), # noqa: E501
"scope": (str,), # noqa: E501
"start": (int,), # noqa: E501
"tag_set": ([str],), # noqa: E501
"unit": ([MetricsQueryUnit],), # noqa: E501
}

Expand All @@ -105,8 +108,10 @@ def discriminator():
"length": "length", # noqa: E501
"metric": "metric", # noqa: E501
"pointlist": "pointlist", # noqa: E501
"query_index": "query_index", # noqa: E501
"scope": "scope", # noqa: E501
"start": "start", # noqa: E501
"tag_set": "tag_set", # noqa: E501
"unit": "unit", # noqa: E501
}

Expand Down Expand Up @@ -166,8 +171,10 @@ def __init__(self, *args, **kwargs): # noqa: E501
length (int): Number of data samples.. [optional] # noqa: E501
metric (str): Metric name.. [optional] # noqa: E501
pointlist ([Point]): List of points of the time series.. [optional] # noqa: E501
query_index (int): The index of the series' query within the request.. [optional] # noqa: E501
scope (str): Metric scope, comma separated list of tags.. [optional] # noqa: E501
start (int): Start of the time window, milliseconds since Unix epoch.. [optional] # noqa: E501
tag_set ([str]): Unique tags identifying this series.. [optional] # noqa: E501
unit ([MetricsQueryUnit]): Detailed information about the metric unit. First element describes the \"primary unit\" (for example, `bytes` in `bytes per second`), second describes the \"per unit\" (for example, `second` in `bytes per second`).. [optional] # noqa: E501
"""

Expand Down
13 changes: 13 additions & 0 deletions src/datadog_api_client/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4718,6 +4718,11 @@ components:
$ref: '#/components/schemas/Point'
readOnly: true
type: array
query_index:
description: The index of the series' query within the request.
format: int64
readOnly: true
type: integer
scope:
description: Metric scope, comma separated list of tags.
example: host:foo,env:test
Expand All @@ -4728,6 +4733,14 @@ components:
format: int64
readOnly: true
type: integer
tag_set:
description: Unique tags identifying this series.
items:
description: Unique tags identifying this series.
type: string
readOnly: true
type: array
uniqueItems: true
unit:
description: 'Detailed information about the metric unit.

Expand Down

0 comments on commit 8c9d8a6

Please sign in to comment.