|
23 | 23 | PoliciesResourceWithStreamingResponse,
|
24 | 24 | AsyncPoliciesResourceWithStreamingResponse,
|
25 | 25 | )
|
| 26 | +from .settings import ( |
| 27 | + SettingsResource, |
| 28 | + AsyncSettingsResource, |
| 29 | + SettingsResourceWithRawResponse, |
| 30 | + AsyncSettingsResourceWithRawResponse, |
| 31 | + SettingsResourceWithStreamingResponse, |
| 32 | + AsyncSettingsResourceWithStreamingResponse, |
| 33 | +) |
26 | 34 | from ....._types import NOT_GIVEN, Body, Query, Headers, NotGiven
|
27 | 35 | from ....._utils import maybe_transform, async_maybe_transform
|
28 | 36 | from ....._compat import cached_property
|
@@ -90,6 +98,10 @@ def policies(self) -> PoliciesResource:
|
90 | 98 | def policy_tests(self) -> PolicyTestsResource:
|
91 | 99 | return PolicyTestsResource(self._client)
|
92 | 100 |
|
| 101 | + @cached_property |
| 102 | + def settings(self) -> SettingsResource: |
| 103 | + return SettingsResource(self._client) |
| 104 | + |
93 | 105 | @cached_property
|
94 | 106 | def with_raw_response(self) -> ApplicationsResourceWithRawResponse:
|
95 | 107 | """
|
@@ -2575,6 +2587,10 @@ def policies(self) -> AsyncPoliciesResource:
|
2575 | 2587 | def policy_tests(self) -> AsyncPolicyTestsResource:
|
2576 | 2588 | return AsyncPolicyTestsResource(self._client)
|
2577 | 2589 |
|
| 2590 | + @cached_property |
| 2591 | + def settings(self) -> AsyncSettingsResource: |
| 2592 | + return AsyncSettingsResource(self._client) |
| 2593 | + |
2578 | 2594 | @cached_property
|
2579 | 2595 | def with_raw_response(self) -> AsyncApplicationsResourceWithRawResponse:
|
2580 | 2596 | """
|
@@ -5082,6 +5098,10 @@ def policies(self) -> PoliciesResourceWithRawResponse:
|
5082 | 5098 | def policy_tests(self) -> PolicyTestsResourceWithRawResponse:
|
5083 | 5099 | return PolicyTestsResourceWithRawResponse(self._applications.policy_tests)
|
5084 | 5100 |
|
| 5101 | + @cached_property |
| 5102 | + def settings(self) -> SettingsResourceWithRawResponse: |
| 5103 | + return SettingsResourceWithRawResponse(self._applications.settings) |
| 5104 | + |
5085 | 5105 |
|
5086 | 5106 | class AsyncApplicationsResourceWithRawResponse:
|
5087 | 5107 | def __init__(self, applications: AsyncApplicationsResource) -> None:
|
@@ -5122,6 +5142,10 @@ def policies(self) -> AsyncPoliciesResourceWithRawResponse:
|
5122 | 5142 | def policy_tests(self) -> AsyncPolicyTestsResourceWithRawResponse:
|
5123 | 5143 | return AsyncPolicyTestsResourceWithRawResponse(self._applications.policy_tests)
|
5124 | 5144 |
|
| 5145 | + @cached_property |
| 5146 | + def settings(self) -> AsyncSettingsResourceWithRawResponse: |
| 5147 | + return AsyncSettingsResourceWithRawResponse(self._applications.settings) |
| 5148 | + |
5125 | 5149 |
|
5126 | 5150 | class ApplicationsResourceWithStreamingResponse:
|
5127 | 5151 | def __init__(self, applications: ApplicationsResource) -> None:
|
@@ -5162,6 +5186,10 @@ def policies(self) -> PoliciesResourceWithStreamingResponse:
|
5162 | 5186 | def policy_tests(self) -> PolicyTestsResourceWithStreamingResponse:
|
5163 | 5187 | return PolicyTestsResourceWithStreamingResponse(self._applications.policy_tests)
|
5164 | 5188 |
|
| 5189 | + @cached_property |
| 5190 | + def settings(self) -> SettingsResourceWithStreamingResponse: |
| 5191 | + return SettingsResourceWithStreamingResponse(self._applications.settings) |
| 5192 | + |
5165 | 5193 |
|
5166 | 5194 | class AsyncApplicationsResourceWithStreamingResponse:
|
5167 | 5195 | def __init__(self, applications: AsyncApplicationsResource) -> None:
|
@@ -5201,3 +5229,7 @@ def policies(self) -> AsyncPoliciesResourceWithStreamingResponse:
|
5201 | 5229 | @cached_property
|
5202 | 5230 | def policy_tests(self) -> AsyncPolicyTestsResourceWithStreamingResponse:
|
5203 | 5231 | return AsyncPolicyTestsResourceWithStreamingResponse(self._applications.policy_tests)
|
| 5232 | + |
| 5233 | + @cached_property |
| 5234 | + def settings(self) -> AsyncSettingsResourceWithStreamingResponse: |
| 5235 | + return AsyncSettingsResourceWithStreamingResponse(self._applications.settings) |
0 commit comments