Skip to content

Commit d07c2b6

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9dc6b6ea of spec repo
1 parent d2641e9 commit d07c2b6

File tree

4 files changed

+24
-10
lines changed

4 files changed

+24
-10
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.5",
7-
"regenerated": "2023-07-21 15:02:55.156864",
8-
"spec_repo_commit": "1b0797fc"
7+
"regenerated": "2023-07-24 15:27:27.939479",
8+
"spec_repo_commit": "9dc6b6ea"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-07-21 15:02:55.169012",
13-
"spec_repo_commit": "1b0797fc"
12+
"regenerated": "2023-07-24 15:27:27.953761",
13+
"spec_repo_commit": "9dc6b6ea"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1498,6 +1498,10 @@ components:
14981498
type: string
14991499
tags:
15001500
$ref: '#/components/schemas/TagsEventAttribute'
1501+
test_level:
1502+
description: The event test level.
1503+
example: session
1504+
type: string
15011505
timestamp:
15021506
$ref: '#/components/schemas/TimestampEventAttribute'
15031507
type: object
@@ -2500,7 +2504,7 @@ components:
25002504
links:
25012505
$ref: '#/components/schemas/CIAppResponseLinks'
25022506
meta:
2503-
$ref: '#/components/schemas/CIAppResponseMetadata'
2507+
$ref: '#/components/schemas/CIAppResponseMetadataWithPagination'
25042508
type: object
25052509
CIAppTestsBucketResponse:
25062510
description: Bucket values.

src/datadog_api_client/v2/model/ci_app_event_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,15 @@ def openapi_types(_):
4343
),
4444
"service": (str,),
4545
"tags": (TagsEventAttribute,),
46+
"test_level": (str,),
4647
"timestamp": (datetime,),
4748
}
4849

4950
attribute_map = {
5051
"attributes": "attributes",
5152
"service": "service",
5253
"tags": "tags",
54+
"test_level": "test_level",
5355
"timestamp": "timestamp",
5456
}
5557

@@ -58,6 +60,7 @@ def __init__(
5860
attributes: Union[Dict[str, Any], UnsetType] = unset,
5961
service: Union[str, UnsetType] = unset,
6062
tags: Union[TagsEventAttribute, UnsetType] = unset,
63+
test_level: Union[str, UnsetType] = unset,
6164
timestamp: Union[datetime, UnsetType] = unset,
6265
**kwargs,
6366
):
@@ -75,6 +78,9 @@ def __init__(
7578
:param tags: Array of tags associated with your event.
7679
:type tags: TagsEventAttribute, optional
7780
81+
:param test_level: The event test level.
82+
:type test_level: str, optional
83+
7884
:param timestamp: Timestamp of your event.
7985
:type timestamp: datetime, optional
8086
"""
@@ -84,6 +90,8 @@ def __init__(
8490
kwargs["service"] = service
8591
if tags is not unset:
8692
kwargs["tags"] = tags
93+
if test_level is not unset:
94+
kwargs["test_level"] = test_level
8795
if timestamp is not unset:
8896
kwargs["timestamp"] = timestamp
8997
super().__init__(kwargs)

src/datadog_api_client/v2/model/ci_app_tests_analytics_aggregate_response.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
CIAppTestsAggregationBucketsResponse,
1919
)
2020
from datadog_api_client.v2.model.ci_app_response_links import CIAppResponseLinks
21-
from datadog_api_client.v2.model.ci_app_response_metadata import CIAppResponseMetadata
21+
from datadog_api_client.v2.model.ci_app_response_metadata_with_pagination import CIAppResponseMetadataWithPagination
2222

2323

2424
class CIAppTestsAnalyticsAggregateResponse(ModelNormal):
@@ -28,12 +28,14 @@ def openapi_types(_):
2828
CIAppTestsAggregationBucketsResponse,
2929
)
3030
from datadog_api_client.v2.model.ci_app_response_links import CIAppResponseLinks
31-
from datadog_api_client.v2.model.ci_app_response_metadata import CIAppResponseMetadata
31+
from datadog_api_client.v2.model.ci_app_response_metadata_with_pagination import (
32+
CIAppResponseMetadataWithPagination,
33+
)
3234

3335
return {
3436
"data": (CIAppTestsAggregationBucketsResponse,),
3537
"links": (CIAppResponseLinks,),
36-
"meta": (CIAppResponseMetadata,),
38+
"meta": (CIAppResponseMetadataWithPagination,),
3739
}
3840

3941
attribute_map = {
@@ -46,7 +48,7 @@ def __init__(
4648
self_,
4749
data: Union[CIAppTestsAggregationBucketsResponse, UnsetType] = unset,
4850
links: Union[CIAppResponseLinks, UnsetType] = unset,
49-
meta: Union[CIAppResponseMetadata, UnsetType] = unset,
51+
meta: Union[CIAppResponseMetadataWithPagination, UnsetType] = unset,
5052
**kwargs,
5153
):
5254
"""
@@ -59,7 +61,7 @@ def __init__(
5961
:type links: CIAppResponseLinks, optional
6062
6163
:param meta: The metadata associated with a request.
62-
:type meta: CIAppResponseMetadata, optional
64+
:type meta: CIAppResponseMetadataWithPagination, optional
6365
"""
6466
if data is not unset:
6567
kwargs["data"] = data

0 commit comments

Comments
 (0)