Skip to content

Commit 2f47e3c

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit df95b91b of spec repo
1 parent 81cb2f6 commit 2f47e3c

File tree

6 files changed

+16
-10
lines changed

6 files changed

+16
-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.6",
7-
"regenerated": "2025-01-28 14:57:16.722951",
8-
"spec_repo_commit": "f832f43e"
7+
"regenerated": "2025-01-28 19:47:55.520587",
8+
"spec_repo_commit": "df95b91b"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-01-28 14:57:16.737270",
13-
"spec_repo_commit": "f832f43e"
12+
"regenerated": "2025-01-28 19:47:55.536158",
13+
"spec_repo_commit": "df95b91b"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5363,8 +5363,7 @@ components:
53635363
- USER
53645364
- SYSTEM
53655365
ChangeEventCustomAttributesChangedResource:
5366-
description: Object representing a uniquely identified resource. Only the resource
5367-
type `feature_flag` is supported.
5366+
description: Object representing a uniquely identified resource.
53685367
properties:
53695368
name:
53705369
description: Resource's name.
@@ -5380,10 +5379,12 @@ components:
53805379
description: Resource's type.
53815380
enum:
53825381
- feature_flag
5382+
- configuration
53835383
example: feature_flag
53845384
type: string
53855385
x-enum-varnames:
53865386
- FEATURE_FLAG
5387+
- CONFIGURATION
53875388
ChangeEventCustomAttributesImpactedResourcesItems:
53885389
description: Object representing a uniquely identified resource. Only the resource
53895390
type `service` is supported.

src/datadog_api_client/v2/model/change_event_custom_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ def __init__(
120120
:param change_metadata: Free form object with information related to the ``change`` event. Can be arbitrarily nested and contain any valid JSON.
121121
:type change_metadata: {str: (bool, date, datetime, dict, float, int, list, str, UUID, none_type,)}, optional
122122
123-
:param changed_resource: Object representing a uniquely identified resource. Only the resource type ``feature_flag`` is supported.
123+
:param changed_resource: Object representing a uniquely identified resource.
124124
:type changed_resource: ChangeEventCustomAttributesChangedResource
125125
126126
:param impacted_resources: A list of resources impacted by this change. It is recommended to provide an impacted resource to display

src/datadog_api_client/v2/model/change_event_custom_attributes_changed_resource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def openapi_types(_):
3636

3737
def __init__(self_, name: str, type: ChangeEventCustomAttributesChangedResourceType, **kwargs):
3838
"""
39-
Object representing a uniquely identified resource. Only the resource type ``feature_flag`` is supported.
39+
Object representing a uniquely identified resource.
4040
4141
:param name: Resource's name.
4242
:type name: str

src/datadog_api_client/v2/model/change_event_custom_attributes_changed_resource_type.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,16 @@ class ChangeEventCustomAttributesChangedResourceType(ModelSimple):
1616
"""
1717
Resource's type.
1818
19-
:param value: If omitted defaults to "feature_flag". Must be one of ["feature_flag"].
19+
:param value: Must be one of ["feature_flag", "configuration"].
2020
:type value: str
2121
"""
2222

2323
allowed_values = {
2424
"feature_flag",
25+
"configuration",
2526
}
2627
FEATURE_FLAG: ClassVar["ChangeEventCustomAttributesChangedResourceType"]
28+
CONFIGURATION: ClassVar["ChangeEventCustomAttributesChangedResourceType"]
2729

2830
@cached_property
2931
def openapi_types(_):
@@ -35,3 +37,6 @@ def openapi_types(_):
3537
ChangeEventCustomAttributesChangedResourceType.FEATURE_FLAG = ChangeEventCustomAttributesChangedResourceType(
3638
"feature_flag"
3739
)
40+
ChangeEventCustomAttributesChangedResourceType.CONFIGURATION = ChangeEventCustomAttributesChangedResourceType(
41+
"configuration"
42+
)

src/datadog_api_client/v2/model/event_payload_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def __init__(self, **kwargs):
2121
:param change_metadata: Free form object with information related to the `change` event. Can be arbitrarily nested and contain any valid JSON.
2222
:type change_metadata: {str: (bool, date, datetime, dict, float, int, list, str, UUID, none_type,)}, optional
2323
24-
:param changed_resource: Object representing a uniquely identified resource. Only the resource type `feature_flag` is supported.
24+
:param changed_resource: Object representing a uniquely identified resource.
2525
:type changed_resource: ChangeEventCustomAttributesChangedResource
2626
2727
:param impacted_resources: A list of resources impacted by this change. It is recommended to provide an impacted resource to display

0 commit comments

Comments
 (0)