mirror of
https://github.com/cloudflare/cloudflare-python.git
synced 2026-01-16 23:01:03 +00:00
feat(api): update via SDK Studio (#142)
This commit is contained in:
parent
5b4db0ac10
commit
39cae018df
5 changed files with 26 additions and 25 deletions
|
|
@ -10,8 +10,8 @@ __all__ = [
|
|||
"DNS",
|
||||
"OriginDNS",
|
||||
"EdgeIPs",
|
||||
"EdgeIPsSpectrumEdgeIPEyeballIPsVariable",
|
||||
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable",
|
||||
"EdgeIPsSpectrumEdgeIPEyeballIPs",
|
||||
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPs",
|
||||
]
|
||||
|
||||
|
||||
|
|
@ -98,7 +98,7 @@ class OriginDNS(TypedDict, total=False):
|
|||
"""
|
||||
|
||||
|
||||
class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(TypedDict, total=False):
|
||||
class EdgeIPsSpectrumEdgeIPEyeballIPs(TypedDict, total=False):
|
||||
connectivity: Literal["all", "ipv4", "ipv6"]
|
||||
"""The IP versions supported for inbound connections on Spectrum anycast IPs."""
|
||||
|
||||
|
|
@ -110,7 +110,7 @@ class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(TypedDict, total=False):
|
|||
"""
|
||||
|
||||
|
||||
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(TypedDict, total=False):
|
||||
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPs(TypedDict, total=False):
|
||||
ips: List[str]
|
||||
"""
|
||||
The array of customer owned IPs we broadcast via anycast for this hostname and
|
||||
|
|
@ -125,4 +125,4 @@ class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(TypedDict, total=False):
|
|||
"""
|
||||
|
||||
|
||||
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPsVariable, EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable]
|
||||
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPs, EdgeIPsSpectrumEdgeIPCustomerOwnedIPs]
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ __all__ = [
|
|||
"AppCreateResponse",
|
||||
"DNS",
|
||||
"EdgeIPs",
|
||||
"EdgeIPsSpectrumEdgeIPEyeballIPsVariable",
|
||||
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable",
|
||||
"EdgeIPsSpectrumEdgeIPEyeballIPs",
|
||||
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPs",
|
||||
"OriginDNS",
|
||||
]
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ class DNS(BaseModel):
|
|||
"""The type of DNS record associated with the application."""
|
||||
|
||||
|
||||
class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(BaseModel):
|
||||
class EdgeIPsSpectrumEdgeIPEyeballIPs(BaseModel):
|
||||
connectivity: Optional[Literal["all", "ipv4", "ipv6"]] = None
|
||||
"""The IP versions supported for inbound connections on Spectrum anycast IPs."""
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(BaseModel):
|
|||
"""
|
||||
|
||||
|
||||
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(BaseModel):
|
||||
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPs(BaseModel):
|
||||
ips: Optional[List[str]] = None
|
||||
"""
|
||||
The array of customer owned IPs we broadcast via anycast for this hostname and
|
||||
|
|
@ -51,7 +51,7 @@ class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(BaseModel):
|
|||
"""
|
||||
|
||||
|
||||
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPsVariable, EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable]
|
||||
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPs, EdgeIPsSpectrumEdgeIPCustomerOwnedIPs]
|
||||
|
||||
|
||||
class OriginDNS(BaseModel):
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ __all__ = [
|
|||
"DNS",
|
||||
"OriginDNS",
|
||||
"EdgeIPs",
|
||||
"EdgeIPsSpectrumEdgeIPEyeballIPsVariable",
|
||||
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable",
|
||||
"EdgeIPsSpectrumEdgeIPEyeballIPs",
|
||||
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPs",
|
||||
]
|
||||
|
||||
|
||||
|
|
@ -101,7 +101,7 @@ class OriginDNS(TypedDict, total=False):
|
|||
"""
|
||||
|
||||
|
||||
class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(TypedDict, total=False):
|
||||
class EdgeIPsSpectrumEdgeIPEyeballIPs(TypedDict, total=False):
|
||||
connectivity: Literal["all", "ipv4", "ipv6"]
|
||||
"""The IP versions supported for inbound connections on Spectrum anycast IPs."""
|
||||
|
||||
|
|
@ -113,7 +113,7 @@ class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(TypedDict, total=False):
|
|||
"""
|
||||
|
||||
|
||||
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(TypedDict, total=False):
|
||||
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPs(TypedDict, total=False):
|
||||
ips: List[str]
|
||||
"""
|
||||
The array of customer owned IPs we broadcast via anycast for this hostname and
|
||||
|
|
@ -128,4 +128,4 @@ class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(TypedDict, total=False):
|
|||
"""
|
||||
|
||||
|
||||
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPsVariable, EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable]
|
||||
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPs, EdgeIPsSpectrumEdgeIPCustomerOwnedIPs]
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ __all__ = [
|
|||
"AppUpdateResponse",
|
||||
"DNS",
|
||||
"EdgeIPs",
|
||||
"EdgeIPsSpectrumEdgeIPEyeballIPsVariable",
|
||||
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable",
|
||||
"EdgeIPsSpectrumEdgeIPEyeballIPs",
|
||||
"EdgeIPsSpectrumEdgeIPCustomerOwnedIPs",
|
||||
"OriginDNS",
|
||||
]
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ class DNS(BaseModel):
|
|||
"""The type of DNS record associated with the application."""
|
||||
|
||||
|
||||
class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(BaseModel):
|
||||
class EdgeIPsSpectrumEdgeIPEyeballIPs(BaseModel):
|
||||
connectivity: Optional[Literal["all", "ipv4", "ipv6"]] = None
|
||||
"""The IP versions supported for inbound connections on Spectrum anycast IPs."""
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ class EdgeIPsSpectrumEdgeIPEyeballIPsVariable(BaseModel):
|
|||
"""
|
||||
|
||||
|
||||
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(BaseModel):
|
||||
class EdgeIPsSpectrumEdgeIPCustomerOwnedIPs(BaseModel):
|
||||
ips: Optional[List[str]] = None
|
||||
"""
|
||||
The array of customer owned IPs we broadcast via anycast for this hostname and
|
||||
|
|
@ -51,7 +51,7 @@ class EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable(BaseModel):
|
|||
"""
|
||||
|
||||
|
||||
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPsVariable, EdgeIPsSpectrumEdgeIPCustomerOwnedIPsVariable]
|
||||
EdgeIPs = Union[EdgeIPsSpectrumEdgeIPEyeballIPs, EdgeIPsSpectrumEdgeIPCustomerOwnedIPs]
|
||||
|
||||
|
||||
class OriginDNS(BaseModel):
|
||||
|
|
|
|||
|
|
@ -15,7 +15,8 @@ __all__ = [
|
|||
"BodySentenceSimilarity",
|
||||
"BodyTextEmbeddings",
|
||||
"BodyAudio",
|
||||
"BodyImage",
|
||||
"BodyWorkersAIImageClassification",
|
||||
"BodyWorkersAIBodyDetection",
|
||||
"BodyUnionMember10",
|
||||
"BodyUnionMember11",
|
||||
"BodyUnionMember11Message",
|
||||
|
|
@ -63,11 +64,11 @@ class BodyAudio(TypedDict, total=False):
|
|||
audio: Iterable[float]
|
||||
|
||||
|
||||
class BodyImage(TypedDict, total=False):
|
||||
class BodyWorkersAIImageClassification(TypedDict, total=False):
|
||||
image: Iterable[float]
|
||||
|
||||
|
||||
class BodyImage(TypedDict, total=False):
|
||||
class BodyWorkersAIBodyDetection(TypedDict, total=False):
|
||||
image: Iterable[float]
|
||||
|
||||
|
||||
|
|
@ -125,9 +126,9 @@ Body = Union[
|
|||
FileTypes,
|
||||
BodyAudio,
|
||||
FileTypes,
|
||||
BodyImage,
|
||||
BodyWorkersAIImageClassification,
|
||||
FileTypes,
|
||||
BodyImage,
|
||||
BodyWorkersAIBodyDetection,
|
||||
BodyUnionMember10,
|
||||
BodyUnionMember11,
|
||||
BodyTranslation,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue