| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b9d7b79 commit fb51578
12 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - configured_endpoints: 2328 | ||
| 2 | - openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare/cloudflare-8f20ff18bc6b099ac6a3bf68ff72f7c1ee76fe8d94ffdb868021bd760e756b2d.yml | ||
| 1 | + configured_endpoints: 2329 | ||
| 2 | + openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare/cloudflare-884b4b7d2d826afd303115f717021363d35e76d0819f4822e9faf6c577ea66ca.yml | ||
| 3 | 3 | openapi_spec_hash: 4fc7ac1b97d37c76f38db408ab2ed0cd | |
| 4 | - config_hash: 2a121dbc935ddd79ad2e7667bd9cfbcb | ||
| 4 | + config_hash: 1fe0cc702fafe448e633d379a5633326 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1192,6 +1192,20 @@ Methods: | |||
| 1192 | 1192 | - <code title="delete /accounts/{account_id}/dex/rules/{rule_id}">client.zero_trust.dex.rules.<a href="./src/cloudflare/resources/zero_trust/dex/rules.py">delete</a>(rule_id, \*, account_id) -> <a href="./src/cloudflare/types/zero_trust/dex/rule_delete_response.py">Optional[RuleDeleteResponse]</a></code> | |
| 1193 | 1193 | - <code title="get /accounts/{account_id}/dex/rules/{rule_id}">client.zero_trust.dex.rules.<a href="./src/cloudflare/resources/zero_trust/dex/rules.py">get</a>(rule_id, \*, account_id) -> <a href="./src/cloudflare/types/zero_trust/dex/rule_get_response.py">Optional[RuleGetResponse]</a></code> | |
| 1194 | 1194 | ||
| 1195 | + ### Devices | ||
| 1196 | + | ||
| 1197 | + #### ISPs | ||
| 1198 | + | ||
| 1199 | + Types: | ||
| 1200 | + | ||
| 1201 | + ```python | ||
| 1202 | + from cloudflare.types.zero_trust.dex.devices import ISPs | ||
| 1203 | + ``` | ||
| 1204 | + | ||
| 1205 | + Methods: | ||
| 1206 | + | ||
| 1207 | + - <code title="get /accounts/{account_id}/dex/devices/{device_id}/isps">client.zero_trust.dex.devices.isps.<a href="./src/cloudflare/resources/zero_trust/dex/devices/isps.py">list</a>(device_id, \*, account_id, \*\*<a href="src/cloudflare/types/zero_trust/dex/devices/isp_list_params.py">params</a>) -> <a href="./src/cloudflare/types/zero_trust/dex/devices/isps.py">SyncV4PagePagination[Optional[ISPs]]</a></code> | ||
| 1208 | + | ||
| 1195 | 1209 | ## Tunnels | |
| 1196 | 1210 | ||
| 1197 | 1211 | Types: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -32,6 +32,14 @@ | |||
| 32 | 32 | TestsResourceWithStreamingResponse, | |
| 33 | 33 | AsyncTestsResourceWithStreamingResponse, | |
| 34 | 34 | ) | |
| 35 | + from .devices import ( | ||
| 36 | + DevicesResource, | ||
| 37 | + AsyncDevicesResource, | ||
| 38 | + DevicesResourceWithRawResponse, | ||
| 39 | + AsyncDevicesResourceWithRawResponse, | ||
| 40 | + DevicesResourceWithStreamingResponse, | ||
| 41 | + AsyncDevicesResourceWithStreamingResponse, | ||
| 42 | + ) | ||
| 35 | 43 | from .commands import ( | |
| 36 | 44 | CommandsResource, | |
| 37 | 45 | AsyncCommandsResource, | |
@@ -136,6 +144,12 @@ | |||
| 136 | 144 | "AsyncRulesResourceWithRawResponse", | |
| 137 | 145 | "RulesResourceWithStreamingResponse", | |
| 138 | 146 | "AsyncRulesResourceWithStreamingResponse", | |
| 147 | + "DevicesResource", | ||
| 148 | + "AsyncDevicesResource", | ||
| 149 | + "DevicesResourceWithRawResponse", | ||
| 150 | + "AsyncDevicesResourceWithRawResponse", | ||
| 151 | + "DevicesResourceWithStreamingResponse", | ||
| 152 | + "AsyncDevicesResourceWithStreamingResponse", | ||
| 139 | 153 | "DEXResource", | |
| 140 | 154 | "AsyncDEXResource", | |
| 141 | 155 | "DEXResourceWithRawResponse", | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,33 @@ | |||
| 1 | + # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
| 2 | + | ||
| 3 | + from .isps import ( | ||
| 4 | + ISPsResource, | ||
| 5 | + AsyncISPsResource, | ||
| 6 | + ISPsResourceWithRawResponse, | ||
| 7 | + AsyncISPsResourceWithRawResponse, | ||
| 8 | + ISPsResourceWithStreamingResponse, | ||
| 9 | + AsyncISPsResourceWithStreamingResponse, | ||
| 10 | + ) | ||
| 11 | + from .devices import ( | ||
| 12 | + DevicesResource, | ||
| 13 | + AsyncDevicesResource, | ||
| 14 | + DevicesResourceWithRawResponse, | ||
| 15 | + AsyncDevicesResourceWithRawResponse, | ||
| 16 | + DevicesResourceWithStreamingResponse, | ||
| 17 | + AsyncDevicesResourceWithStreamingResponse, | ||
| 18 | + ) | ||
| 19 | + | ||
| 20 | + __all__ = [ | ||
| 21 | + "ISPsResource", | ||
| 22 | + "AsyncISPsResource", | ||
| 23 | + "ISPsResourceWithRawResponse", | ||
| 24 | + "AsyncISPsResourceWithRawResponse", | ||
| 25 | + "ISPsResourceWithStreamingResponse", | ||
| 26 | + "AsyncISPsResourceWithStreamingResponse", | ||
| 27 | + "DevicesResource", | ||
| 28 | + "AsyncDevicesResource", | ||
| 29 | + "DevicesResourceWithRawResponse", | ||
| 30 | + "AsyncDevicesResourceWithRawResponse", | ||
| 31 | + "DevicesResourceWithStreamingResponse", | ||
| 32 | + "AsyncDevicesResourceWithStreamingResponse", | ||
| 33 | + ] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,102 @@ | |||
| 1 | + # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
| 2 | + | ||
| 3 | + from __future__ import annotations | ||
| 4 | + | ||
| 5 | + from .isps import ( | ||
| 6 | + ISPsResource, | ||
| 7 | + AsyncISPsResource, | ||
| 8 | + ISPsResourceWithRawResponse, | ||
| 9 | + AsyncISPsResourceWithRawResponse, | ||
| 10 | + ISPsResourceWithStreamingResponse, | ||
| 11 | + AsyncISPsResourceWithStreamingResponse, | ||
| 12 | + ) | ||
| 13 | + from ....._compat import cached_property | ||
| 14 | + from ....._resource import SyncAPIResource, AsyncAPIResource | ||
| 15 | + | ||
| 16 | + __all__ = ["DevicesResource", "AsyncDevicesResource"] | ||
| 17 | + | ||
| 18 | + | ||
| 19 | + class DevicesResource(SyncAPIResource): | ||
| 20 | + @cached_property | ||
| 21 | + def isps(self) -> ISPsResource: | ||
| 22 | + return ISPsResource(self._client) | ||
| 23 | + | ||
| 24 | + @cached_property | ||
| 25 | + def with_raw_response(self) -> DevicesResourceWithRawResponse: | ||
| 26 | + """ | ||
| 27 | + This property can be used as a prefix for any HTTP method call to return | ||
| 28 | + the raw response object instead of the parsed content. | ||
| 29 | + | ||
| 30 | + For more information, see https://www.github.com/cloudflare/cloudflare-python#accessing-raw-response-data-eg-headers | ||
| 31 | + """ | ||
| 32 | + return DevicesResourceWithRawResponse(self) | ||
| 33 | + | ||
| 34 | + @cached_property | ||
| 35 | + def with_streaming_response(self) -> DevicesResourceWithStreamingResponse: | ||
| 36 | + """ | ||
| 37 | + An alternative to `.with_raw_response` that doesn't eagerly read the response body. | ||
| 38 | + | ||
| 39 | + For more information, see https://www.github.com/cloudflare/cloudflare-python#with_streaming_response | ||
| 40 | + """ | ||
| 41 | + return DevicesResourceWithStreamingResponse(self) | ||
| 42 | + | ||
| 43 | + | ||
| 44 | + class AsyncDevicesResource(AsyncAPIResource): | ||
| 45 | + @cached_property | ||
| 46 | + def isps(self) -> AsyncISPsResource: | ||
| 47 | + return AsyncISPsResource(self._client) | ||
| 48 | + | ||
| 49 | + @cached_property | ||
| 50 | + def with_raw_response(self) -> AsyncDevicesResourceWithRawResponse: | ||
| 51 | + """ | ||
| 52 | + This property can be used as a prefix for any HTTP method call to return | ||
| 53 | + the raw response object instead of the parsed content. | ||
| 54 | + | ||
| 55 | + For more information, see https://www.github.com/cloudflare/cloudflare-python#accessing-raw-response-data-eg-headers | ||
| 56 | + """ | ||
| 57 | + return AsyncDevicesResourceWithRawResponse(self) | ||
| 58 | + | ||
| 59 | + @cached_property | ||
| 60 | + def with_streaming_response(self) -> AsyncDevicesResourceWithStreamingResponse: | ||
| 61 | + """ | ||
| 62 | + An alternative to `.with_raw_response` that doesn't eagerly read the response body. | ||
| 63 | + | ||
| 64 | + For more information, see https://www.github.com/cloudflare/cloudflare-python#with_streaming_response | ||
| 65 | + """ | ||
| 66 | + return AsyncDevicesResourceWithStreamingResponse(self) | ||
| 67 | + | ||
| 68 | + | ||
| 69 | + class DevicesResourceWithRawResponse: | ||
| 70 | + def __init__(self, devices: DevicesResource) -> None: | ||
| 71 | + self._devices = devices | ||
| 72 | + | ||
| 73 | + @cached_property | ||
| 74 | + def isps(self) -> ISPsResourceWithRawResponse: | ||
| 75 | + return ISPsResourceWithRawResponse(self._devices.isps) | ||
| 76 | + | ||
| 77 | + | ||
| 78 | + class AsyncDevicesResourceWithRawResponse: | ||
| 79 | + def __init__(self, devices: AsyncDevicesResource) -> None: | ||
| 80 | + self._devices = devices | ||
| 81 | + | ||
| 82 | + @cached_property | ||
| 83 | + def isps(self) -> AsyncISPsResourceWithRawResponse: | ||
| 84 | + return AsyncISPsResourceWithRawResponse(self._devices.isps) | ||
| 85 | + | ||
| 86 | + | ||
| 87 | + class DevicesResourceWithStreamingResponse: | ||
| 88 | + def __init__(self, devices: DevicesResource) -> None: | ||
| 89 | + self._devices = devices | ||
| 90 | + | ||
| 91 | + @cached_property | ||
| 92 | + def isps(self) -> ISPsResourceWithStreamingResponse: | ||
| 93 | + return ISPsResourceWithStreamingResponse(self._devices.isps) | ||
| 94 | + | ||
| 95 | + | ||
| 96 | + class AsyncDevicesResourceWithStreamingResponse: | ||
| 97 | + def __init__(self, devices: AsyncDevicesResource) -> None: | ||
| 98 | + self._devices = devices | ||
| 99 | + | ||
| 100 | + @cached_property | ||
| 101 | + def isps(self) -> AsyncISPsResourceWithStreamingResponse: | ||
| 102 | + return AsyncISPsResourceWithStreamingResponse(self._devices.isps) | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments