Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Apr 22, 2024
1 parent 23e38ea commit df86b06
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 42 deletions.
12 changes: 6 additions & 6 deletions src/cloudflare/types/magic_transit/sites/lan_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"LANRoutedSubnet",
"LANRoutedSubnetNat",
"LANStaticAddressing",
"LANStaticAddressingDhcpRelay",
"LANStaticAddressingDhcpServer",
"LANStaticAddressingDHCPRelay",
"LANStaticAddressingDHCPServer",
]


Expand Down Expand Up @@ -44,12 +44,12 @@ class LANRoutedSubnet(TypedDict, total=False):
nat: LANRoutedSubnetNat


class LANStaticAddressingDhcpRelay(TypedDict, total=False):
class LANStaticAddressingDHCPRelay(TypedDict, total=False):
server_addresses: List[str]
"""List of DHCP server IPs."""


class LANStaticAddressingDhcpServer(TypedDict, total=False):
class LANStaticAddressingDHCPServer(TypedDict, total=False):
dhcp_pool_end: str
"""A valid IPv4 address."""

Expand All @@ -67,9 +67,9 @@ class LANStaticAddressing(TypedDict, total=False):
address: Required[str]
"""A valid CIDR notation representing an IP range."""

dhcp_relay: LANStaticAddressingDhcpRelay
dhcp_relay: LANStaticAddressingDHCPRelay

dhcp_server: LANStaticAddressingDhcpServer
dhcp_server: LANStaticAddressingDHCPServer

secondary_address: str
"""A valid CIDR notation representing an IP range."""
Expand Down
12 changes: 6 additions & 6 deletions src/cloudflare/types/magic_transit/sites/lan_create_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"LANRoutedSubnet",
"LANRoutedSubnetNat",
"LANStaticAddressing",
"LANStaticAddressingDhcpRelay",
"LANStaticAddressingDhcpServer",
"LANStaticAddressingDHCPRelay",
"LANStaticAddressingDHCPServer",
]


Expand All @@ -36,12 +36,12 @@ class LANRoutedSubnet(BaseModel):
nat: Optional[LANRoutedSubnetNat] = None


class LANStaticAddressingDhcpRelay(BaseModel):
class LANStaticAddressingDHCPRelay(BaseModel):
server_addresses: Optional[List[str]] = None
"""List of DHCP server IPs."""


class LANStaticAddressingDhcpServer(BaseModel):
class LANStaticAddressingDHCPServer(BaseModel):
dhcp_pool_end: Optional[str] = None
"""A valid IPv4 address."""

Expand All @@ -59,9 +59,9 @@ class LANStaticAddressing(BaseModel):
address: str
"""A valid CIDR notation representing an IP range."""

dhcp_relay: Optional[LANStaticAddressingDhcpRelay] = None
dhcp_relay: Optional[LANStaticAddressingDHCPRelay] = None

dhcp_server: Optional[LANStaticAddressingDhcpServer] = None
dhcp_server: Optional[LANStaticAddressingDHCPServer] = None

secondary_address: Optional[str] = None
"""A valid CIDR notation representing an IP range."""
Expand Down
12 changes: 6 additions & 6 deletions src/cloudflare/types/magic_transit/sites/lan_delete_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"DeletedLANRoutedSubnet",
"DeletedLANRoutedSubnetNat",
"DeletedLANStaticAddressing",
"DeletedLANStaticAddressingDhcpRelay",
"DeletedLANStaticAddressingDhcpServer",
"DeletedLANStaticAddressingDHCPRelay",
"DeletedLANStaticAddressingDHCPServer",
]


Expand All @@ -36,12 +36,12 @@ class DeletedLANRoutedSubnet(BaseModel):
nat: Optional[DeletedLANRoutedSubnetNat] = None


class DeletedLANStaticAddressingDhcpRelay(BaseModel):
class DeletedLANStaticAddressingDHCPRelay(BaseModel):
server_addresses: Optional[List[str]] = None
"""List of DHCP server IPs."""


class DeletedLANStaticAddressingDhcpServer(BaseModel):
class DeletedLANStaticAddressingDHCPServer(BaseModel):
dhcp_pool_end: Optional[str] = None
"""A valid IPv4 address."""

Expand All @@ -59,9 +59,9 @@ class DeletedLANStaticAddressing(BaseModel):
address: str
"""A valid CIDR notation representing an IP range."""

dhcp_relay: Optional[DeletedLANStaticAddressingDhcpRelay] = None
dhcp_relay: Optional[DeletedLANStaticAddressingDHCPRelay] = None

dhcp_server: Optional[DeletedLANStaticAddressingDhcpServer] = None
dhcp_server: Optional[DeletedLANStaticAddressingDHCPServer] = None

secondary_address: Optional[str] = None
"""A valid CIDR notation representing an IP range."""
Expand Down
12 changes: 6 additions & 6 deletions src/cloudflare/types/magic_transit/sites/lan_get_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"LANRoutedSubnet",
"LANRoutedSubnetNat",
"LANStaticAddressing",
"LANStaticAddressingDhcpRelay",
"LANStaticAddressingDhcpServer",
"LANStaticAddressingDHCPRelay",
"LANStaticAddressingDHCPServer",
]


Expand All @@ -36,12 +36,12 @@ class LANRoutedSubnet(BaseModel):
nat: Optional[LANRoutedSubnetNat] = None


class LANStaticAddressingDhcpRelay(BaseModel):
class LANStaticAddressingDHCPRelay(BaseModel):
server_addresses: Optional[List[str]] = None
"""List of DHCP server IPs."""


class LANStaticAddressingDhcpServer(BaseModel):
class LANStaticAddressingDHCPServer(BaseModel):
dhcp_pool_end: Optional[str] = None
"""A valid IPv4 address."""

Expand All @@ -59,9 +59,9 @@ class LANStaticAddressing(BaseModel):
address: str
"""A valid CIDR notation representing an IP range."""

dhcp_relay: Optional[LANStaticAddressingDhcpRelay] = None
dhcp_relay: Optional[LANStaticAddressingDHCPRelay] = None

dhcp_server: Optional[LANStaticAddressingDhcpServer] = None
dhcp_server: Optional[LANStaticAddressingDHCPServer] = None

secondary_address: Optional[str] = None
"""A valid CIDR notation representing an IP range."""
Expand Down
12 changes: 6 additions & 6 deletions src/cloudflare/types/magic_transit/sites/lan_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"LANRoutedSubnet",
"LANRoutedSubnetNat",
"LANStaticAddressing",
"LANStaticAddressingDhcpRelay",
"LANStaticAddressingDhcpServer",
"LANStaticAddressingDHCPRelay",
"LANStaticAddressingDHCPServer",
]


Expand All @@ -36,12 +36,12 @@ class LANRoutedSubnet(BaseModel):
nat: Optional[LANRoutedSubnetNat] = None


class LANStaticAddressingDhcpRelay(BaseModel):
class LANStaticAddressingDHCPRelay(BaseModel):
server_addresses: Optional[List[str]] = None
"""List of DHCP server IPs."""


class LANStaticAddressingDhcpServer(BaseModel):
class LANStaticAddressingDHCPServer(BaseModel):
dhcp_pool_end: Optional[str] = None
"""A valid IPv4 address."""

Expand All @@ -59,9 +59,9 @@ class LANStaticAddressing(BaseModel):
address: str
"""A valid CIDR notation representing an IP range."""

dhcp_relay: Optional[LANStaticAddressingDhcpRelay] = None
dhcp_relay: Optional[LANStaticAddressingDHCPRelay] = None

dhcp_server: Optional[LANStaticAddressingDhcpServer] = None
dhcp_server: Optional[LANStaticAddressingDHCPServer] = None

secondary_address: Optional[str] = None
"""A valid CIDR notation representing an IP range."""
Expand Down
12 changes: 6 additions & 6 deletions src/cloudflare/types/magic_transit/sites/lan_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"LANRoutedSubnet",
"LANRoutedSubnetNat",
"LANStaticAddressing",
"LANStaticAddressingDhcpRelay",
"LANStaticAddressingDhcpServer",
"LANStaticAddressingDHCPRelay",
"LANStaticAddressingDHCPServer",
]


Expand Down Expand Up @@ -47,12 +47,12 @@ class LANRoutedSubnet(TypedDict, total=False):
nat: LANRoutedSubnetNat


class LANStaticAddressingDhcpRelay(TypedDict, total=False):
class LANStaticAddressingDHCPRelay(TypedDict, total=False):
server_addresses: List[str]
"""List of DHCP server IPs."""


class LANStaticAddressingDhcpServer(TypedDict, total=False):
class LANStaticAddressingDHCPServer(TypedDict, total=False):
dhcp_pool_end: str
"""A valid IPv4 address."""

Expand All @@ -70,9 +70,9 @@ class LANStaticAddressing(TypedDict, total=False):
address: Required[str]
"""A valid CIDR notation representing an IP range."""

dhcp_relay: LANStaticAddressingDhcpRelay
dhcp_relay: LANStaticAddressingDHCPRelay

dhcp_server: LANStaticAddressingDhcpServer
dhcp_server: LANStaticAddressingDHCPServer

secondary_address: str
"""A valid CIDR notation representing an IP range."""
Expand Down
12 changes: 6 additions & 6 deletions src/cloudflare/types/magic_transit/sites/lan_update_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"LANRoutedSubnet",
"LANRoutedSubnetNat",
"LANStaticAddressing",
"LANStaticAddressingDhcpRelay",
"LANStaticAddressingDhcpServer",
"LANStaticAddressingDHCPRelay",
"LANStaticAddressingDHCPServer",
]


Expand All @@ -36,12 +36,12 @@ class LANRoutedSubnet(BaseModel):
nat: Optional[LANRoutedSubnetNat] = None


class LANStaticAddressingDhcpRelay(BaseModel):
class LANStaticAddressingDHCPRelay(BaseModel):
server_addresses: Optional[List[str]] = None
"""List of DHCP server IPs."""


class LANStaticAddressingDhcpServer(BaseModel):
class LANStaticAddressingDHCPServer(BaseModel):
dhcp_pool_end: Optional[str] = None
"""A valid IPv4 address."""

Expand All @@ -59,9 +59,9 @@ class LANStaticAddressing(BaseModel):
address: str
"""A valid CIDR notation representing an IP range."""

dhcp_relay: Optional[LANStaticAddressingDhcpRelay] = None
dhcp_relay: Optional[LANStaticAddressingDHCPRelay] = None

dhcp_server: Optional[LANStaticAddressingDhcpServer] = None
dhcp_server: Optional[LANStaticAddressingDHCPServer] = None

secondary_address: Optional[str] = None
"""A valid CIDR notation representing an IP range."""
Expand Down

0 comments on commit df86b06

Please sign in to comment.