Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#224)
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 dfa9884 commit e06ef4e
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 8 deletions.
12 changes: 8 additions & 4 deletions src/cloudflare/resources/magic_transit/ipsec_tunnels.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ def create(
name: The name of the IPsec tunnel. The name cannot share a name with other tunnels.
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel.
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. Not required,
but must be set for proactive traceroutes to work.
description: An optional description forthe IPsec tunnel.
Expand Down Expand Up @@ -167,7 +168,8 @@ def update(
name: The name of the IPsec tunnel. The name cannot share a name with other tunnels.
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel.
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. Not required,
but must be set for proactive traceroutes to work.
description: An optional description forthe IPsec tunnel.
Expand Down Expand Up @@ -440,7 +442,8 @@ async def create(
name: The name of the IPsec tunnel. The name cannot share a name with other tunnels.
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel.
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. Not required,
but must be set for proactive traceroutes to work.
description: An optional description forthe IPsec tunnel.
Expand Down Expand Up @@ -523,7 +526,8 @@ async def update(
name: The name of the IPsec tunnel. The name cannot share a name with other tunnels.
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel.
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. Not required,
but must be set for proactive traceroutes to work.
description: An optional description forthe IPsec tunnel.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ class IPSECTunnelCreateParams(TypedDict, total=False):
"""The name of the IPsec tunnel. The name cannot share a name with other tunnels."""

customer_endpoint: str
"""The IP address assigned to the customer side of the IPsec tunnel."""
"""The IP address assigned to the customer side of the IPsec tunnel.
Not required, but must be set for proactive traceroutes to work.
"""

description: str
"""An optional description forthe IPsec tunnel."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ class IPSECTunnel(BaseModel):
"""The date and time the tunnel was created."""

customer_endpoint: Optional[str] = None
"""The IP address assigned to the customer side of the IPsec tunnel."""
"""The IP address assigned to the customer side of the IPsec tunnel.
Not required, but must be set for proactive traceroutes to work.
"""

description: Optional[str] = None
"""An optional description forthe IPsec tunnel."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,10 @@ class IPSECTunnel(BaseModel):
"""The date and time the tunnel was created."""

customer_endpoint: Optional[str] = None
"""The IP address assigned to the customer side of the IPsec tunnel."""
"""The IP address assigned to the customer side of the IPsec tunnel.
Not required, but must be set for proactive traceroutes to work.
"""

description: Optional[str] = None
"""An optional description forthe IPsec tunnel."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ class IPSECTunnelUpdateParams(TypedDict, total=False):
"""The name of the IPsec tunnel. The name cannot share a name with other tunnels."""

customer_endpoint: str
"""The IP address assigned to the customer side of the IPsec tunnel."""
"""The IP address assigned to the customer side of the IPsec tunnel.
Not required, but must be set for proactive traceroutes to work.
"""

description: str
"""An optional description forthe IPsec tunnel."""
Expand Down

0 comments on commit e06ef4e

Please sign in to comment.