|
42 | 42 | repositories, |
43 | 43 | benchmark_jobs, |
44 | 44 | benchmark_runs, |
| 45 | + gateway_configs, |
45 | 46 | network_policies, |
46 | 47 | ) |
47 | 48 | from .resources.agents import AgentsResource, AsyncAgentsResource |
|
52 | 53 | from .resources.repositories import RepositoriesResource, AsyncRepositoriesResource |
53 | 54 | from .resources.benchmark_jobs import BenchmarkJobsResource, AsyncBenchmarkJobsResource |
54 | 55 | from .resources.benchmark_runs import BenchmarkRunsResource, AsyncBenchmarkRunsResource |
| 56 | + from .resources.gateway_configs import GatewayConfigsResource, AsyncGatewayConfigsResource |
55 | 57 | from .resources.network_policies import NetworkPoliciesResource, AsyncNetworkPoliciesResource |
56 | 58 | from .resources.devboxes.devboxes import DevboxesResource, AsyncDevboxesResource |
57 | 59 | from .resources.scenarios.scenarios import ScenariosResource, AsyncScenariosResource |
@@ -182,6 +184,12 @@ def network_policies(self) -> NetworkPoliciesResource: |
182 | 184 |
|
183 | 185 | return NetworkPoliciesResource(self) |
184 | 186 |
|
| 187 | + @cached_property |
| 188 | + def gateway_configs(self) -> GatewayConfigsResource: |
| 189 | + from .resources.gateway_configs import GatewayConfigsResource |
| 190 | + |
| 191 | + return GatewayConfigsResource(self) |
| 192 | + |
185 | 193 | @cached_property |
186 | 194 | def with_raw_response(self) -> RunloopWithRawResponse: |
187 | 195 | return RunloopWithRawResponse(self) |
@@ -418,6 +426,12 @@ def network_policies(self) -> AsyncNetworkPoliciesResource: |
418 | 426 |
|
419 | 427 | return AsyncNetworkPoliciesResource(self) |
420 | 428 |
|
| 429 | + @cached_property |
| 430 | + def gateway_configs(self) -> AsyncGatewayConfigsResource: |
| 431 | + from .resources.gateway_configs import AsyncGatewayConfigsResource |
| 432 | + |
| 433 | + return AsyncGatewayConfigsResource(self) |
| 434 | + |
421 | 435 | @cached_property |
422 | 436 | def with_raw_response(self) -> AsyncRunloopWithRawResponse: |
423 | 437 | return AsyncRunloopWithRawResponse(self) |
@@ -603,6 +617,12 @@ def network_policies(self) -> network_policies.NetworkPoliciesResourceWithRawRes |
603 | 617 |
|
604 | 618 | return NetworkPoliciesResourceWithRawResponse(self._client.network_policies) |
605 | 619 |
|
| 620 | + @cached_property |
| 621 | + def gateway_configs(self) -> gateway_configs.GatewayConfigsResourceWithRawResponse: |
| 622 | + from .resources.gateway_configs import GatewayConfigsResourceWithRawResponse |
| 623 | + |
| 624 | + return GatewayConfigsResourceWithRawResponse(self._client.gateway_configs) |
| 625 | + |
606 | 626 |
|
607 | 627 | class AsyncRunloopWithRawResponse: |
608 | 628 | _client: AsyncRunloop |
@@ -676,6 +696,12 @@ def network_policies(self) -> network_policies.AsyncNetworkPoliciesResourceWithR |
676 | 696 |
|
677 | 697 | return AsyncNetworkPoliciesResourceWithRawResponse(self._client.network_policies) |
678 | 698 |
|
| 699 | + @cached_property |
| 700 | + def gateway_configs(self) -> gateway_configs.AsyncGatewayConfigsResourceWithRawResponse: |
| 701 | + from .resources.gateway_configs import AsyncGatewayConfigsResourceWithRawResponse |
| 702 | + |
| 703 | + return AsyncGatewayConfigsResourceWithRawResponse(self._client.gateway_configs) |
| 704 | + |
679 | 705 |
|
680 | 706 | class RunloopWithStreamedResponse: |
681 | 707 | _client: Runloop |
@@ -749,6 +775,12 @@ def network_policies(self) -> network_policies.NetworkPoliciesResourceWithStream |
749 | 775 |
|
750 | 776 | return NetworkPoliciesResourceWithStreamingResponse(self._client.network_policies) |
751 | 777 |
|
| 778 | + @cached_property |
| 779 | + def gateway_configs(self) -> gateway_configs.GatewayConfigsResourceWithStreamingResponse: |
| 780 | + from .resources.gateway_configs import GatewayConfigsResourceWithStreamingResponse |
| 781 | + |
| 782 | + return GatewayConfigsResourceWithStreamingResponse(self._client.gateway_configs) |
| 783 | + |
752 | 784 |
|
753 | 785 | class AsyncRunloopWithStreamedResponse: |
754 | 786 | _client: AsyncRunloop |
@@ -822,6 +854,12 @@ def network_policies(self) -> network_policies.AsyncNetworkPoliciesResourceWithS |
822 | 854 |
|
823 | 855 | return AsyncNetworkPoliciesResourceWithStreamingResponse(self._client.network_policies) |
824 | 856 |
|
| 857 | + @cached_property |
| 858 | + def gateway_configs(self) -> gateway_configs.AsyncGatewayConfigsResourceWithStreamingResponse: |
| 859 | + from .resources.gateway_configs import AsyncGatewayConfigsResourceWithStreamingResponse |
| 860 | + |
| 861 | + return AsyncGatewayConfigsResourceWithStreamingResponse(self._client.gateway_configs) |
| 862 | + |
825 | 863 |
|
826 | 864 | Client = Runloop |
827 | 865 |
|
|
0 commit comments