File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
src/cloudflare/types/spectrum Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 11configured_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
33openapi_spec_hash : 7b7a68f4188a62131322959b4120e6b3
4- config_hash : 66558d0f13fdc190716cc14af827c879
4+ config_hash : 59bbe27e5d5e9093b7e6d08edd9ed508
Original file line number Diff line number Diff line change 55
66from ..._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 ]
Original file line number Diff line number Diff line change 55from typing import List , Union
66from 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 ]
You can’t perform that action at this time.
0 commit comments