Skip to content

Commit cf972bb

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#1189)
1 parent 90ce238 commit cf972bb

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/cloudflare/types/zero_trust/gateway/location.py

+12-12
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,27 @@
88
__all__ = [
99
"Location",
1010
"Endpoints",
11-
"EndpointsDoh",
12-
"EndpointsDohNetwork",
13-
"EndpointsDot",
14-
"EndpointsDotNetwork",
11+
"EndpointsDOH",
12+
"EndpointsDOHNetwork",
13+
"EndpointsDOT",
14+
"EndpointsDOTNetwork",
1515
"EndpointsIPV4",
1616
"EndpointsIPV6",
1717
"EndpointsIPV6Network",
1818
"Network",
1919
]
2020

2121

22-
class EndpointsDohNetwork(BaseModel):
22+
class EndpointsDOHNetwork(BaseModel):
2323
network: str
2424
"""The IP address or IP CIDR."""
2525

2626

27-
class EndpointsDoh(BaseModel):
27+
class EndpointsDOH(BaseModel):
2828
enabled: Optional[bool] = None
2929
"""True if the endpoint is enabled for this location."""
3030

31-
networks: Optional[List[EndpointsDohNetwork]] = None
31+
networks: Optional[List[EndpointsDOHNetwork]] = None
3232
"""A list of allowed source IP network ranges for this endpoint.
3333
3434
When empty, all source IPs are allowed. A non-empty list is only effective if
@@ -43,16 +43,16 @@ class EndpointsDoh(BaseModel):
4343
"""
4444

4545

46-
class EndpointsDotNetwork(BaseModel):
46+
class EndpointsDOTNetwork(BaseModel):
4747
network: str
4848
"""The IP address or IP CIDR."""
4949

5050

51-
class EndpointsDot(BaseModel):
51+
class EndpointsDOT(BaseModel):
5252
enabled: Optional[bool] = None
5353
"""True if the endpoint is enabled for this location."""
5454

55-
networks: Optional[List[EndpointsDotNetwork]] = None
55+
networks: Optional[List[EndpointsDOTNetwork]] = None
5656
"""A list of allowed source IP network ranges for this endpoint.
5757
5858
When empty, all source IPs are allowed. A non-empty list is only effective if
@@ -83,9 +83,9 @@ class EndpointsIPV6(BaseModel):
8383

8484

8585
class Endpoints(BaseModel):
86-
doh: Optional[EndpointsDoh] = None
86+
doh: Optional[EndpointsDOH] = None
8787

88-
dot: Optional[EndpointsDot] = None
88+
dot: Optional[EndpointsDOT] = None
8989

9090
ipv4: Optional[EndpointsIPV4] = None
9191

0 commit comments

Comments
 (0)