Skip to content

Commit af7c461

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Revert "Enable automerging for Fastly routes." (#2112)
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 c01d84b commit af7c461

File tree

4 files changed

+6
-33
lines changed

4 files changed

+6
-33
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-08-16 13:40:31.374500",
8-
"spec_repo_commit": "1b56c3ba"
7+
"regenerated": "2024-08-16 20:37:03.717440",
8+
"spec_repo_commit": "9c789d05"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-08-16 13:40:31.392812",
13-
"spec_repo_commit": "1b56c3ba"
12+
"regenerated": "2024-08-16 20:37:03.734852",
13+
"spec_repo_commit": "9c789d05"
1414
}
1515
}
1616
}

.generator/schemas/v2/openapi.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8075,10 +8075,6 @@ components:
80758075
FastlyAccounResponseAttributes:
80768076
description: Attributes object of a Fastly account.
80778077
properties:
8078-
api_key:
8079-
description: The FastlyAccounResponseAttributes api_key.
8080-
type: string
8081-
writeOnly: true
80828078
name:
80838079
description: The name of the Fastly account.
80848080
example: test-name
@@ -8176,9 +8172,6 @@ components:
81768172
description: The API key of the Fastly account.
81778173
example: ABCDEFG123
81788174
type: string
8179-
name:
8180-
description: The FastlyAccountUpdateRequestAttributes name.
8181-
type: string
81828175
type: object
81838176
FastlyAccountUpdateRequestData:
81848177
description: Data object for updating a Fastly account.

src/datadog_api_client/v2/model/fastly_accoun_response_attributes.py

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,38 +23,25 @@ def openapi_types(_):
2323
from datadog_api_client.v2.model.fastly_service import FastlyService
2424

2525
return {
26-
"api_key": (str,),
2726
"name": (str,),
2827
"services": ([FastlyService],),
2928
}
3029

3130
attribute_map = {
32-
"api_key": "api_key",
3331
"name": "name",
3432
"services": "services",
3533
}
3634

37-
def __init__(
38-
self_,
39-
name: str,
40-
api_key: Union[str, UnsetType] = unset,
41-
services: Union[List[FastlyService], UnsetType] = unset,
42-
**kwargs,
43-
):
35+
def __init__(self_, name: str, services: Union[List[FastlyService], UnsetType] = unset, **kwargs):
4436
"""
4537
Attributes object of a Fastly account.
4638
47-
:param api_key: The FastlyAccounResponseAttributes api_key.
48-
:type api_key: str, optional
49-
5039
:param name: The name of the Fastly account.
5140
:type name: str
5241
5342
:param services: A list of services belonging to the parent account.
5443
:type services: [FastlyService], optional
5544
"""
56-
if api_key is not unset:
57-
kwargs["api_key"] = api_key
5845
if services is not unset:
5946
kwargs["services"] = services
6047
super().__init__(kwargs)

src/datadog_api_client/v2/model/fastly_account_update_request_attributes.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,19 @@ class FastlyAccountUpdateRequestAttributes(ModelNormal):
1818
def openapi_types(_):
1919
return {
2020
"api_key": (str,),
21-
"name": (str,),
2221
}
2322

2423
attribute_map = {
2524
"api_key": "api_key",
26-
"name": "name",
2725
}
2826

29-
def __init__(self_, api_key: Union[str, UnsetType] = unset, name: Union[str, UnsetType] = unset, **kwargs):
27+
def __init__(self_, api_key: Union[str, UnsetType] = unset, **kwargs):
3028
"""
3129
Attributes object for updating a Fastly account.
3230
3331
:param api_key: The API key of the Fastly account.
3432
:type api_key: str, optional
35-
36-
:param name: The FastlyAccountUpdateRequestAttributes name.
37-
:type name: str, optional
3833
"""
3934
if api_key is not unset:
4035
kwargs["api_key"] = api_key
41-
if name is not unset:
42-
kwargs["name"] = name
4336
super().__init__(kwargs)

0 commit comments

Comments
 (0)