18
18
)
19
19
from ....._wrappers import ResultWrapper
20
20
from ....._base_client import make_request_options
21
- from .custom_certificate import (
22
- CustomCertificateResource ,
23
- AsyncCustomCertificateResource ,
24
- CustomCertificateResourceWithRawResponse ,
25
- AsyncCustomCertificateResourceWithRawResponse ,
26
- CustomCertificateResourceWithStreamingResponse ,
27
- AsyncCustomCertificateResourceWithStreamingResponse ,
28
- )
29
21
from .....types .zero_trust .gateway import (
30
22
configuration_edit_params ,
31
23
configuration_update_params ,
39
31
40
32
41
33
class ConfigurationsResource (SyncAPIResource ):
42
- @cached_property
43
- def custom_certificate (self ) -> CustomCertificateResource :
44
- return CustomCertificateResource (self ._client )
45
-
46
34
@cached_property
47
35
def with_raw_response (self ) -> ConfigurationsResourceWithRawResponse :
48
36
"""
@@ -188,10 +176,6 @@ def get(
188
176
189
177
190
178
class AsyncConfigurationsResource (AsyncAPIResource ):
191
- @cached_property
192
- def custom_certificate (self ) -> AsyncCustomCertificateResource :
193
- return AsyncCustomCertificateResource (self ._client )
194
-
195
179
@cached_property
196
180
def with_raw_response (self ) -> AsyncConfigurationsResourceWithRawResponse :
197
181
"""
@@ -352,10 +336,6 @@ def __init__(self, configurations: ConfigurationsResource) -> None:
352
336
configurations .get ,
353
337
)
354
338
355
- @cached_property
356
- def custom_certificate (self ) -> CustomCertificateResourceWithRawResponse :
357
- return CustomCertificateResourceWithRawResponse (self ._configurations .custom_certificate )
358
-
359
339
360
340
class AsyncConfigurationsResourceWithRawResponse :
361
341
def __init__ (self , configurations : AsyncConfigurationsResource ) -> None :
@@ -371,10 +351,6 @@ def __init__(self, configurations: AsyncConfigurationsResource) -> None:
371
351
configurations .get ,
372
352
)
373
353
374
- @cached_property
375
- def custom_certificate (self ) -> AsyncCustomCertificateResourceWithRawResponse :
376
- return AsyncCustomCertificateResourceWithRawResponse (self ._configurations .custom_certificate )
377
-
378
354
379
355
class ConfigurationsResourceWithStreamingResponse :
380
356
def __init__ (self , configurations : ConfigurationsResource ) -> None :
@@ -390,10 +366,6 @@ def __init__(self, configurations: ConfigurationsResource) -> None:
390
366
configurations .get ,
391
367
)
392
368
393
- @cached_property
394
- def custom_certificate (self ) -> CustomCertificateResourceWithStreamingResponse :
395
- return CustomCertificateResourceWithStreamingResponse (self ._configurations .custom_certificate )
396
-
397
369
398
370
class AsyncConfigurationsResourceWithStreamingResponse :
399
371
def __init__ (self , configurations : AsyncConfigurationsResource ) -> None :
@@ -408,7 +380,3 @@ def __init__(self, configurations: AsyncConfigurationsResource) -> None:
408
380
self .get = async_to_streamed_response_wrapper (
409
381
configurations .get ,
410
382
)
411
-
412
- @cached_property
413
- def custom_certificate (self ) -> AsyncCustomCertificateResourceWithStreamingResponse :
414
- return AsyncCustomCertificateResourceWithStreamingResponse (self ._configurations .custom_certificate )
0 commit comments