Skip to content

Commit 91f8628

Browse files
feat(api): api update (#3837)
1 parent 139c407 commit 91f8628

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1493
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-5e32fa5d8d6040e3c40095cc73f64d0a3b7a88824f57f5a2667663297a9f3113.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-623d5dbee9e55ad6d5225ac6ef4179daffbd4c309abdd1095857747a0b46ec13.yml

zero_trust/devicepolicy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ type SettingsPolicy struct {
8989
AllowUpdates bool `json:"allow_updates"`
9090
// Whether to allow devices to leave the organization.
9191
AllowedToLeave bool `json:"allowed_to_leave"`
92-
// The amount of time in minutes to reconnect after having been disabled.
92+
// The amount of time in seconds to reconnect after having been disabled.
9393
AutoConnect float64 `json:"auto_connect"`
9494
// Turn on the captive portal after the specified amount of time.
9595
CaptivePortal float64 `json:"captive_portal"`

zero_trust/devicepolicycustom.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ type DevicePolicyCustomNewParams struct {
166166
AllowUpdates param.Field[bool] `json:"allow_updates"`
167167
// Whether to allow devices to leave the organization.
168168
AllowedToLeave param.Field[bool] `json:"allowed_to_leave"`
169-
// The amount of time in minutes to reconnect after having been disabled.
169+
// The amount of time in seconds to reconnect after having been disabled.
170170
AutoConnect param.Field[float64] `json:"auto_connect"`
171171
// Turn on the captive portal after the specified amount of time.
172172
CaptivePortal param.Field[float64] `json:"captive_portal"`
@@ -348,7 +348,7 @@ type DevicePolicyCustomEditParams struct {
348348
AllowUpdates param.Field[bool] `json:"allow_updates"`
349349
// Whether to allow devices to leave the organization.
350350
AllowedToLeave param.Field[bool] `json:"allowed_to_leave"`
351-
// The amount of time in minutes to reconnect after having been disabled.
351+
// The amount of time in seconds to reconnect after having been disabled.
352352
AutoConnect param.Field[float64] `json:"auto_connect"`
353353
// Turn on the captive portal after the specified amount of time.
354354
CaptivePortal param.Field[float64] `json:"captive_portal"`

zero_trust/devicepolicydefault.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ type DevicePolicyDefaultEditResponse struct {
8484
AllowUpdates bool `json:"allow_updates"`
8585
// Whether to allow devices to leave the organization.
8686
AllowedToLeave bool `json:"allowed_to_leave"`
87-
// The amount of time in minutes to reconnect after having been disabled.
87+
// The amount of time in seconds to reconnect after having been disabled.
8888
AutoConnect float64 `json:"auto_connect"`
8989
// Turn on the captive portal after the specified amount of time.
9090
CaptivePortal float64 `json:"captive_portal"`
@@ -177,7 +177,7 @@ type DevicePolicyDefaultGetResponse struct {
177177
AllowUpdates bool `json:"allow_updates"`
178178
// Whether to allow devices to leave the organization.
179179
AllowedToLeave bool `json:"allowed_to_leave"`
180-
// The amount of time in minutes to reconnect after having been disabled.
180+
// The amount of time in seconds to reconnect after having been disabled.
181181
AutoConnect float64 `json:"auto_connect"`
182182
// Turn on the captive portal after the specified amount of time.
183183
CaptivePortal float64 `json:"captive_portal"`
@@ -271,7 +271,7 @@ type DevicePolicyDefaultEditParams struct {
271271
AllowUpdates param.Field[bool] `json:"allow_updates"`
272272
// Whether to allow devices to leave the organization.
273273
AllowedToLeave param.Field[bool] `json:"allowed_to_leave"`
274-
// The amount of time in minutes to reconnect after having been disabled.
274+
// The amount of time in seconds to reconnect after having been disabled.
275275
AutoConnect param.Field[float64] `json:"auto_connect"`
276276
// Turn on the captive portal after the specified amount of time.
277277
CaptivePortal param.Field[float64] `json:"captive_portal"`

0 commit comments

Comments
 (0)