Skip to content

Commit

Permalink
feat(api): api update (#2370)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 29, 2025
1 parent 4688009 commit ecf263d
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1493
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5e32fa5d8d6040e3c40095cc73f64d0a3b7a88824f57f5a2667663297a9f3113.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-623d5dbee9e55ad6d5225ac6ef4179daffbd4c309abdd1095857747a0b46ec13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def create(
allowed_to_leave: Whether to allow devices to leave the organization.
auto_connect: The amount of time in minutes to reconnect after having been disabled.
auto_connect: The amount of time in seconds to reconnect after having been disabled.
captive_portal: Turn on the captive portal after the specified amount of time.
Expand Down Expand Up @@ -324,7 +324,7 @@ def edit(
allowed_to_leave: Whether to allow devices to leave the organization.
auto_connect: The amount of time in minutes to reconnect after having been disabled.
auto_connect: The amount of time in seconds to reconnect after having been disabled.
captive_portal: Turn on the captive portal after the specified amount of time.
Expand Down Expand Up @@ -519,7 +519,7 @@ async def create(
allowed_to_leave: Whether to allow devices to leave the organization.
auto_connect: The amount of time in minutes to reconnect after having been disabled.
auto_connect: The amount of time in seconds to reconnect after having been disabled.
captive_portal: Turn on the captive portal after the specified amount of time.
Expand Down Expand Up @@ -710,7 +710,7 @@ async def edit(
allowed_to_leave: Whether to allow devices to leave the organization.
auto_connect: The amount of time in minutes to reconnect after having been disabled.
auto_connect: The amount of time in seconds to reconnect after having been disabled.
captive_portal: Turn on the captive portal after the specified amount of time.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def edit(
allowed_to_leave: Whether to allow devices to leave the organization.
auto_connect: The amount of time in minutes to reconnect after having been disabled.
auto_connect: The amount of time in seconds to reconnect after having been disabled.
captive_portal: Turn on the captive portal after the specified amount of time.
Expand Down Expand Up @@ -290,7 +290,7 @@ async def edit(
allowed_to_leave: Whether to allow devices to leave the organization.
auto_connect: The amount of time in minutes to reconnect after having been disabled.
auto_connect: The amount of time in seconds to reconnect after having been disabled.
captive_portal: Turn on the captive portal after the specified amount of time.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class CustomCreateParams(TypedDict, total=False):
"""Whether to allow devices to leave the organization."""

auto_connect: float
"""The amount of time in minutes to reconnect after having been disabled."""
"""The amount of time in seconds to reconnect after having been disabled."""

captive_portal: float
"""Turn on the captive portal after the specified amount of time."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class CustomEditParams(TypedDict, total=False):
"""Whether to allow devices to leave the organization."""

auto_connect: float
"""The amount of time in minutes to reconnect after having been disabled."""
"""The amount of time in seconds to reconnect after having been disabled."""

captive_portal: float
"""Turn on the captive portal after the specified amount of time."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class DefaultEditParams(TypedDict, total=False):
"""Whether to allow devices to leave the organization."""

auto_connect: float
"""The amount of time in minutes to reconnect after having been disabled."""
"""The amount of time in seconds to reconnect after having been disabled."""

captive_portal: float
"""Turn on the captive portal after the specified amount of time."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class DefaultEditResponse(BaseModel):
"""Whether to allow devices to leave the organization."""

auto_connect: Optional[float] = None
"""The amount of time in minutes to reconnect after having been disabled."""
"""The amount of time in seconds to reconnect after having been disabled."""

captive_portal: Optional[float] = None
"""Turn on the captive portal after the specified amount of time."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class DefaultGetResponse(BaseModel):
"""Whether to allow devices to leave the organization."""

auto_connect: Optional[float] = None
"""The amount of time in minutes to reconnect after having been disabled."""
"""The amount of time in seconds to reconnect after having been disabled."""

captive_portal: Optional[float] = None
"""Turn on the captive portal after the specified amount of time."""
Expand Down
2 changes: 1 addition & 1 deletion src/cloudflare/types/zero_trust/devices/settings_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class SettingsPolicy(BaseModel):
"""Whether to allow devices to leave the organization."""

auto_connect: Optional[float] = None
"""The amount of time in minutes to reconnect after having been disabled."""
"""The amount of time in seconds to reconnect after having been disabled."""

captive_portal: Optional[float] = None
"""Turn on the captive portal after the specified amount of time."""
Expand Down

0 comments on commit ecf263d

Please sign in to comment.