Skip to content

Commit fa43851

Browse files
chore(api): Fix edge IPs variant names
1 parent 6130ecc commit fa43851

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1752
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-3ec7dc85894973c05f7bc869cf3f80978851e1efab4fb49dff32d4fd2cc1a3b9.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9f37df7a19bf5a50192a41b60608659c6d1a9ab2af79f8fad2b2029fb29fa5b6.yml
33
openapi_spec_hash: 7b7a68f4188a62131322959b4120e6b3
4-
config_hash: 66558d0f13fdc190716cc14af827c879
4+
config_hash: 59bbe27e5d5e9093b7e6d08edd9ed508

src/cloudflare/types/spectrum/edge_ips.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
from ..._models import BaseModel
77

8-
__all__ = ["EdgeIPs", "UnionMember0", "UnionMember1"]
8+
__all__ = ["EdgeIPs", "Dynamic", "Static"]
99

1010

11-
class UnionMember0(BaseModel):
11+
class Dynamic(BaseModel):
1212
connectivity: Optional[Literal["all", "ipv4", "ipv6"]] = None
1313
"""The IP versions supported for inbound connections on Spectrum anycast IPs."""
1414

@@ -20,7 +20,7 @@ class UnionMember0(BaseModel):
2020
"""
2121

2222

23-
class UnionMember1(BaseModel):
23+
class Static(BaseModel):
2424
ips: Optional[List[str]] = None
2525
"""
2626
The array of customer owned IPs we broadcast via anycast for this hostname and
@@ -35,4 +35,4 @@ class UnionMember1(BaseModel):
3535
"""
3636

3737

38-
EdgeIPs: TypeAlias = Union[UnionMember0, UnionMember1]
38+
EdgeIPs: TypeAlias = Union[Dynamic, Static]

src/cloudflare/types/spectrum/edge_ips_param.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
from typing import List, Union
66
from typing_extensions import Literal, TypeAlias, TypedDict
77

8-
__all__ = ["EdgeIPsParam", "UnionMember0", "UnionMember1"]
8+
__all__ = ["EdgeIPsParam", "Dynamic", "Static"]
99

1010

11-
class UnionMember0(TypedDict, total=False):
11+
class Dynamic(TypedDict, total=False):
1212
connectivity: Literal["all", "ipv4", "ipv6"]
1313
"""The IP versions supported for inbound connections on Spectrum anycast IPs."""
1414

@@ -20,7 +20,7 @@ class UnionMember0(TypedDict, total=False):
2020
"""
2121

2222

23-
class UnionMember1(TypedDict, total=False):
23+
class Static(TypedDict, total=False):
2424
ips: List[str]
2525
"""
2626
The array of customer owned IPs we broadcast via anycast for this hostname and
@@ -35,4 +35,4 @@ class UnionMember1(TypedDict, total=False):
3535
"""
3636

3737

38-
EdgeIPsParam: TypeAlias = Union[UnionMember0, UnionMember1]
38+
EdgeIPsParam: TypeAlias = Union[Dynamic, Static]

0 commit comments

Comments
 (0)