Skip to content

Commit

Permalink
Revert "Enable automerging for cloudflare routes." (#2113)
Browse files Browse the repository at this point in the history
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
Co-authored-by: api-clients-generation-pipeline[bot] <54105614+api-clients-generation-pipeline[bot]@users.noreply.github.com>
  • Loading branch information
api-clients-generation-pipeline[bot] and ci.datadog-api-spec committed Aug 19, 2024
1 parent af7c461 commit 41e4f87
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 27 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.6.6",
"regenerated": "2024-08-16 20:37:03.717440",
"spec_repo_commit": "9c789d05"
"regenerated": "2024-08-19 14:31:51.463182",
"spec_repo_commit": "a4585fac"
},
"v2": {
"apigentools_version": "1.6.6",
"regenerated": "2024-08-16 20:37:03.734852",
"spec_repo_commit": "9c789d05"
"regenerated": "2024-08-19 14:31:51.483205",
"spec_repo_commit": "a4585fac"
}
}
}
7 changes: 0 additions & 7 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4426,10 +4426,6 @@ components:
CloudflareAccountResponseAttributes:
description: Attributes object of a Cloudflare account.
properties:
api_key:
description: The CloudflareAccountResponseAttributes api_key.
type: string
writeOnly: true
email:
description: The email associated with the Cloudflare account.
example: test-email@example.com
Expand Down Expand Up @@ -4502,9 +4498,6 @@ components:
key is provided (and not a token), this field is also required.
example: test-email@example.com
type: string
name:
description: The CloudflareAccountUpdateRequestAttributes name.
type: string
resources:
description: An allowlist of resources to restrict pulling metrics for.
example:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,13 @@ class CloudflareAccountResponseAttributes(ModelNormal):
@cached_property
def openapi_types(_):
return {
"api_key": (str,),
"email": (str,),
"name": (str,),
"resources": ([str],),
"zones": ([str],),
}

attribute_map = {
"api_key": "api_key",
"email": "email",
"name": "name",
"resources": "resources",
Expand All @@ -35,7 +33,6 @@ def openapi_types(_):
def __init__(
self_,
name: str,
api_key: Union[str, UnsetType] = unset,
email: Union[str, UnsetType] = unset,
resources: Union[List[str], UnsetType] = unset,
zones: Union[List[str], UnsetType] = unset,
Expand All @@ -44,9 +41,6 @@ def __init__(
"""
Attributes object of a Cloudflare account.
:param api_key: The CloudflareAccountResponseAttributes api_key.
:type api_key: str, optional
:param email: The email associated with the Cloudflare account.
:type email: str, optional
Expand All @@ -59,8 +53,6 @@ def __init__(
:param zones: An allowlist of zones to restrict pulling metrics for.
:type zones: [str], optional
"""
if api_key is not unset:
kwargs["api_key"] = api_key
if email is not unset:
kwargs["email"] = email
if resources is not unset:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,13 @@ def openapi_types(_):
return {
"api_key": (str,),
"email": (str,),
"name": (str,),
"resources": ([str],),
"zones": ([str],),
}

attribute_map = {
"api_key": "api_key",
"email": "email",
"name": "name",
"resources": "resources",
"zones": "zones",
}
Expand All @@ -36,7 +34,6 @@ def __init__(
self_,
api_key: str,
email: Union[str, UnsetType] = unset,
name: Union[str, UnsetType] = unset,
resources: Union[List[str], UnsetType] = unset,
zones: Union[List[str], UnsetType] = unset,
**kwargs,
Expand All @@ -50,9 +47,6 @@ def __init__(
:param email: The email associated with the Cloudflare account. If an API key is provided (and not a token), this field is also required.
:type email: str, optional
:param name: The CloudflareAccountUpdateRequestAttributes name.
:type name: str, optional
:param resources: An allowlist of resources to restrict pulling metrics for.
:type resources: [str], optional
Expand All @@ -61,8 +55,6 @@ def __init__(
"""
if email is not unset:
kwargs["email"] = email
if name is not unset:
kwargs["name"] = name
if resources is not unset:
kwargs["resources"] = resources
if zones is not unset:
Expand Down

0 comments on commit 41e4f87

Please sign in to comment.