Skip to content

Commit

Permalink
feat: update via SDK Studio (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Mar 16, 2024
1 parent e084298 commit 100de96
Show file tree
Hide file tree
Showing 13 changed files with 184 additions and 184 deletions.
14 changes: 7 additions & 7 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1290,23 +1290,23 @@ Methods:
- <code title="get /zones/{zone_id}/cache/cache_reserve">client.cache.cache_reserve.<a href="./src/cloudflare/resources/cache/cache_reserve.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/cache_reserve_get_response.py">CacheReserveGetResponse</a></code>
- <code title="get /zones/{zone_id}/cache/cache_reserve_clear">client.cache.cache_reserve.<a href="./src/cloudflare/resources/cache/cache_reserve.py">status</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/cache_reserve_status_response.py">CacheReserveStatusResponse</a></code>

## SmartTieredCached
## SmartTieredCache

Types:

```python
from cloudflare.types.cache import (
SmartTieredCachedDeleteResponse,
SmartTieredCachedEditResponse,
SmartTieredCachedGetResponse,
SmartTieredCacheDeleteResponse,
SmartTieredCacheEditResponse,
SmartTieredCacheGetResponse,
)
```

Methods:

- <code title="delete /zones/{zone_id}/cache/tiered_cache_smart_topology_enable">client.cache.smart_tiered_cached.<a href="./src/cloudflare/resources/cache/smart_tiered_cached.py">delete</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/smart_tiered_cached_delete_response.py">SmartTieredCachedDeleteResponse</a></code>
- <code title="patch /zones/{zone_id}/cache/tiered_cache_smart_topology_enable">client.cache.smart_tiered_cached.<a href="./src/cloudflare/resources/cache/smart_tiered_cached.py">edit</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/cache/smart_tiered_cached_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/cache/smart_tiered_cached_edit_response.py">SmartTieredCachedEditResponse</a></code>
- <code title="get /zones/{zone_id}/cache/tiered_cache_smart_topology_enable">client.cache.smart_tiered_cached.<a href="./src/cloudflare/resources/cache/smart_tiered_cached.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/smart_tiered_cached_get_response.py">SmartTieredCachedGetResponse</a></code>
- <code title="delete /zones/{zone_id}/cache/tiered_cache_smart_topology_enable">client.cache.smart_tiered_cache.<a href="./src/cloudflare/resources/cache/smart_tiered_cache.py">delete</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/smart_tiered_cache_delete_response.py">SmartTieredCacheDeleteResponse</a></code>
- <code title="patch /zones/{zone_id}/cache/tiered_cache_smart_topology_enable">client.cache.smart_tiered_cache.<a href="./src/cloudflare/resources/cache/smart_tiered_cache.py">edit</a>(\*, zone_id, \*\*<a href="src/cloudflare/types/cache/smart_tiered_cache_edit_params.py">params</a>) -> <a href="./src/cloudflare/types/cache/smart_tiered_cache_edit_response.py">SmartTieredCacheEditResponse</a></code>
- <code title="get /zones/{zone_id}/cache/tiered_cache_smart_topology_enable">client.cache.smart_tiered_cache.<a href="./src/cloudflare/resources/cache/smart_tiered_cache.py">get</a>(\*, zone_id) -> <a href="./src/cloudflare/types/cache/smart_tiered_cache_get_response.py">SmartTieredCacheGetResponse</a></code>

## Variants

Expand Down
26 changes: 13 additions & 13 deletions src/cloudflare/resources/cache/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
CacheReserveWithStreamingResponse,
AsyncCacheReserveWithStreamingResponse,
)
from .smart_tiered_cached import (
SmartTieredCached,
AsyncSmartTieredCached,
SmartTieredCachedWithRawResponse,
AsyncSmartTieredCachedWithRawResponse,
SmartTieredCachedWithStreamingResponse,
AsyncSmartTieredCachedWithStreamingResponse,
from .smart_tiered_cache import (
SmartTieredCache,
AsyncSmartTieredCache,
SmartTieredCacheWithRawResponse,
AsyncSmartTieredCacheWithRawResponse,
SmartTieredCacheWithStreamingResponse,
AsyncSmartTieredCacheWithStreamingResponse,
)
from .regional_tiered_cache import (
RegionalTieredCache,
Expand All @@ -48,12 +48,12 @@
"AsyncCacheReserveWithRawResponse",
"CacheReserveWithStreamingResponse",
"AsyncCacheReserveWithStreamingResponse",
"SmartTieredCached",
"AsyncSmartTieredCached",
"SmartTieredCachedWithRawResponse",
"AsyncSmartTieredCachedWithRawResponse",
"SmartTieredCachedWithStreamingResponse",
"AsyncSmartTieredCachedWithStreamingResponse",
"SmartTieredCache",
"AsyncSmartTieredCache",
"SmartTieredCacheWithRawResponse",
"AsyncSmartTieredCacheWithRawResponse",
"SmartTieredCacheWithStreamingResponse",
"AsyncSmartTieredCacheWithStreamingResponse",
"Variants",
"AsyncVariants",
"VariantsWithRawResponse",
Expand Down
38 changes: 19 additions & 19 deletions src/cloudflare/resources/cache/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@
from ..._base_client import (
make_request_options,
)
from .smart_tiered_cached import (
SmartTieredCached,
AsyncSmartTieredCached,
SmartTieredCachedWithRawResponse,
AsyncSmartTieredCachedWithRawResponse,
SmartTieredCachedWithStreamingResponse,
AsyncSmartTieredCachedWithStreamingResponse,
from .smart_tiered_cache import (
SmartTieredCache,
AsyncSmartTieredCache,
SmartTieredCacheWithRawResponse,
AsyncSmartTieredCacheWithRawResponse,
SmartTieredCacheWithStreamingResponse,
AsyncSmartTieredCacheWithStreamingResponse,
)
from .regional_tiered_cache import (
RegionalTieredCache,
Expand All @@ -66,8 +66,8 @@ def cache_reserve(self) -> CacheReserve:
return CacheReserve(self._client)

@cached_property
def smart_tiered_cached(self) -> SmartTieredCached:
return SmartTieredCached(self._client)
def smart_tiered_cache(self) -> SmartTieredCache:
return SmartTieredCache(self._client)

@cached_property
def variants(self) -> Variants:
Expand Down Expand Up @@ -172,8 +172,8 @@ def cache_reserve(self) -> AsyncCacheReserve:
return AsyncCacheReserve(self._client)

@cached_property
def smart_tiered_cached(self) -> AsyncSmartTieredCached:
return AsyncSmartTieredCached(self._client)
def smart_tiered_cache(self) -> AsyncSmartTieredCache:
return AsyncSmartTieredCache(self._client)

@cached_property
def variants(self) -> AsyncVariants:
Expand Down Expand Up @@ -285,8 +285,8 @@ def cache_reserve(self) -> CacheReserveWithRawResponse:
return CacheReserveWithRawResponse(self._cache.cache_reserve)

@cached_property
def smart_tiered_cached(self) -> SmartTieredCachedWithRawResponse:
return SmartTieredCachedWithRawResponse(self._cache.smart_tiered_cached)
def smart_tiered_cache(self) -> SmartTieredCacheWithRawResponse:
return SmartTieredCacheWithRawResponse(self._cache.smart_tiered_cache)

@cached_property
def variants(self) -> VariantsWithRawResponse:
Expand All @@ -310,8 +310,8 @@ def cache_reserve(self) -> AsyncCacheReserveWithRawResponse:
return AsyncCacheReserveWithRawResponse(self._cache.cache_reserve)

@cached_property
def smart_tiered_cached(self) -> AsyncSmartTieredCachedWithRawResponse:
return AsyncSmartTieredCachedWithRawResponse(self._cache.smart_tiered_cached)
def smart_tiered_cache(self) -> AsyncSmartTieredCacheWithRawResponse:
return AsyncSmartTieredCacheWithRawResponse(self._cache.smart_tiered_cache)

@cached_property
def variants(self) -> AsyncVariantsWithRawResponse:
Expand All @@ -335,8 +335,8 @@ def cache_reserve(self) -> CacheReserveWithStreamingResponse:
return CacheReserveWithStreamingResponse(self._cache.cache_reserve)

@cached_property
def smart_tiered_cached(self) -> SmartTieredCachedWithStreamingResponse:
return SmartTieredCachedWithStreamingResponse(self._cache.smart_tiered_cached)
def smart_tiered_cache(self) -> SmartTieredCacheWithStreamingResponse:
return SmartTieredCacheWithStreamingResponse(self._cache.smart_tiered_cache)

@cached_property
def variants(self) -> VariantsWithStreamingResponse:
Expand All @@ -360,8 +360,8 @@ def cache_reserve(self) -> AsyncCacheReserveWithStreamingResponse:
return AsyncCacheReserveWithStreamingResponse(self._cache.cache_reserve)

@cached_property
def smart_tiered_cached(self) -> AsyncSmartTieredCachedWithStreamingResponse:
return AsyncSmartTieredCachedWithStreamingResponse(self._cache.smart_tiered_cached)
def smart_tiered_cache(self) -> AsyncSmartTieredCacheWithStreamingResponse:
return AsyncSmartTieredCacheWithStreamingResponse(self._cache.smart_tiered_cache)

@cached_property
def variants(self) -> AsyncVariantsWithStreamingResponse:
Expand Down
Loading

0 comments on commit 100de96

Please sign in to comment.