Skip to content

Commit 92f0b01

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Fix x-enum-varnames for CustomDestinationType (#1914)
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>
1 parent eb64c8e commit 92f0b01

9 files changed

+13
-13
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": "2024-03-18 14:38:44.270297",
8-
"spec_repo_commit": "0dc03d11"
7+
"regenerated": "2024-03-19 12:07:21.112622",
8+
"spec_repo_commit": "ef47ef5d"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-03-18 14:38:44.286564",
13-
"spec_repo_commit": "0dc03d11"
12+
"regenerated": "2024-03-19 12:07:21.136148",
13+
"spec_repo_commit": "ef47ef5d"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5885,7 +5885,7 @@ components:
58855885
example: custom_destination
58865886
type: string
58875887
x-enum-varnames:
5888-
- custom_destination
5888+
- CUSTOM_DESTINATION
58895889
CustomDestinationUpdateRequest:
58905890
description: The custom destination.
58915891
properties:

examples/v2/logs-custom-destinations/CreateLogsCustomDestination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
name="Nginx logs",
5151
query="source:nginx",
5252
),
53-
type=CustomDestinationType.custom_destination,
53+
type=CustomDestinationType.CUSTOM_DESTINATION,
5454
),
5555
)
5656

examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1091442807.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
name="Nginx logs",
5151
query="source:nginx",
5252
),
53-
type=CustomDestinationType.custom_destination,
53+
type=CustomDestinationType.CUSTOM_DESTINATION,
5454
),
5555
)
5656

examples/v2/logs-custom-destinations/CreateLogsCustomDestination_1288180912.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
name="Nginx logs",
4141
query="source:nginx",
4242
),
43-
type=CustomDestinationType.custom_destination,
43+
type=CustomDestinationType.CUSTOM_DESTINATION,
4444
),
4545
)
4646

examples/v2/logs-custom-destinations/CreateLogsCustomDestination_141236188.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
name="Nginx logs",
4949
query="source:nginx",
5050
),
51-
type=CustomDestinationType.custom_destination,
51+
type=CustomDestinationType.CUSTOM_DESTINATION,
5252
),
5353
)
5454

examples/v2/logs-custom-destinations/CreateLogsCustomDestination_2184123765.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
name="Nginx logs",
5151
query="source:nginx",
5252
),
53-
type=CustomDestinationType.custom_destination,
53+
type=CustomDestinationType.CUSTOM_DESTINATION,
5454
),
5555
)
5656

examples/v2/logs-custom-destinations/UpdateLogsCustomDestination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
attributes=CustomDestinationUpdateRequestAttributes(
2323
name="Nginx logs (Updated)",
2424
),
25-
type=CustomDestinationType.custom_destination,
25+
type=CustomDestinationType.CUSTOM_DESTINATION,
2626
id=CUSTOM_DESTINATION_DATA_ID,
2727
),
2828
)

src/datadog_api_client/v2/model/custom_destination_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class CustomDestinationType(ModelSimple):
2323
allowed_values = {
2424
"custom_destination",
2525
}
26-
custom_destination: ClassVar["CustomDestinationType"]
26+
CUSTOM_DESTINATION: ClassVar["CustomDestinationType"]
2727

2828
@cached_property
2929
def openapi_types(_):
@@ -32,4 +32,4 @@ def openapi_types(_):
3232
}
3333

3434

35-
CustomDestinationType.custom_destination = CustomDestinationType("custom_destination")
35+
CustomDestinationType.CUSTOM_DESTINATION = CustomDestinationType("custom_destination")

0 commit comments

Comments
 (0)