Skip to content

Commit eee2f14

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#247)
1 parent 3ea7393 commit eee2f14

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

api.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1745,7 +1745,7 @@ from cloudflare.types.firewall import (
17451745
Lockdown,
17461746
LockdownCIDRConfiguration,
17471747
LockdownIPConfiguration,
1748-
URLs,
1748+
LockdownURL,
17491749
LockdownDeleteResponse,
17501750
)
17511751
```
@@ -1830,8 +1830,8 @@ Types:
18301830
```python
18311831
from cloudflare.types.firewall.waf import (
18321832
Override,
1833+
OverrideURL,
18331834
RewriteAction,
1834-
URLs,
18351835
WAFRule,
18361836
OverrideDeleteResponse,
18371837
)

src/cloudflare/types/firewall/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
from __future__ import annotations
44

5-
from .urls import URLs as URLs
65
from .lockdown import Lockdown as Lockdown
76
from .products import Products as Products
7+
from .lockdown_url import LockdownURL as LockdownURL
88
from .configuration import Configuration as Configuration
99
from .firewall_rule import FirewallRule as FirewallRule
1010
from .deleted_filter import DeletedFilter as DeletedFilter

src/cloudflare/types/firewall/lockdown.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
from typing import List
44
from datetime import datetime
55

6-
from .urls import URLs
76
from ..._models import BaseModel
7+
from .lockdown_url import LockdownURL
88
from .configuration import Configuration
99

1010
__all__ = ["Lockdown"]
@@ -33,7 +33,7 @@ class Lockdown(BaseModel):
3333
paused: bool
3434
"""When true, indicates that the rule is currently paused."""
3535

36-
urls: List[URLs]
36+
urls: List[LockdownURL]
3737
"""The URLs to include in the rule definition.
3838
3939
You can use wildcards. Each entered URL will be escaped before use, which means
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33

4-
__all__ = ["URLs"]
4+
__all__ = ["LockdownURL"]
55

6-
URLs = str
6+
LockdownURL = str

src/cloudflare/types/firewall/waf/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
from __future__ import annotations
44

5-
from .urls import URLs as URLs
65
from .override import Override as Override
76
from .waf_rule import WAFRule as WAFRule
7+
from .override_url import OverrideURL as OverrideURL
88
from .rewrite_action import RewriteAction as RewriteAction
99
from .package_list_params import PackageListParams as PackageListParams
1010
from .override_list_params import OverrideListParams as OverrideListParams

src/cloudflare/types/firewall/waf/override.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
from typing import Dict, List, Optional
44

5-
from .urls import URLs
65
from .waf_rule import WAFRule
76
from ...._models import BaseModel
7+
from .override_url import OverrideURL
88
from .rewrite_action import RewriteAction
99

1010
__all__ = ["Override"]
@@ -51,7 +51,7 @@ class Override(BaseModel):
5151
override, you must provide a `groups` object or a `rules` object.
5252
"""
5353

54-
urls: Optional[List[URLs]] = None
54+
urls: Optional[List[OverrideURL]] = None
5555
"""The URLs to include in the current WAF override.
5656
5757
You can use wildcards. Each entered URL will be escaped before use, which means
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33

4-
__all__ = ["URLs"]
4+
__all__ = ["OverrideURL"]
55

6-
URLs = str
6+
OverrideURL = str

0 commit comments

Comments
 (0)