docs/CacheSettingsApi.md in fastly-6.0.2 vs docs/CacheSettingsApi.md in fastly-7.0.0

- old
+ new

@@ -33,12 +33,12 @@ service_id: 'service_id_example', # String | Alphanumeric string identifying the service. version_id: 56, # Integer | Integer identifying a service version. action: 'pass', # String | If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. cache_condition: 'cache_condition_example', # String | Name of the cache condition controlling when this configuration applies. name: 'name_example', # String | Name for the cache settings object. - stale_ttl: 56, # Integer | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). - ttl: 56, # Integer | Maximum time to consider the object fresh in the cache (the cache 'time to live'). + stale_ttl: 'stale_ttl_example', # String | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). + ttl: 'ttl_example', # String | Maximum time to consider the object fresh in the cache (the cache 'time to live'). } begin # Create a cache settings object result = api_instance.create_cache_settings(opts) @@ -55,12 +55,12 @@ | **service_id** | **String** | Alphanumeric string identifying the service. | | | **version_id** | **Integer** | Integer identifying a service version. | | | **action** | **String** | If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. | [optional] | | **cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional] | | **name** | **String** | Name for the cache settings object. | [optional] | -| **stale_ttl** | **Integer** | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). | [optional] | -| **ttl** | **Integer** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional] | +| **stale_ttl** | **String** | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). | [optional] | +| **ttl** | **String** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional] | ### Return type [**CacheSettingResponse**](CacheSettingResponse.md) @@ -204,12 +204,12 @@ version_id: 56, # Integer | Integer identifying a service version. cache_settings_name: 'cache_settings_name_example', # String | Name for the cache settings object. action: 'pass', # String | If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. cache_condition: 'cache_condition_example', # String | Name of the cache condition controlling when this configuration applies. name: 'name_example', # String | Name for the cache settings object. - stale_ttl: 56, # Integer | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). - ttl: 56, # Integer | Maximum time to consider the object fresh in the cache (the cache 'time to live'). + stale_ttl: 'stale_ttl_example', # String | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). + ttl: 'ttl_example', # String | Maximum time to consider the object fresh in the cache (the cache 'time to live'). } begin # Update a cache settings object result = api_instance.update_cache_settings(opts) @@ -227,11 +227,11 @@ | **version_id** | **Integer** | Integer identifying a service version. | | | **cache_settings_name** | **String** | Name for the cache settings object. | | | **action** | **String** | If set, will cause vcl_fetch to terminate after processing this rule with the return state specified. If not set, other configuration logic in vcl_fetch with a lower priority will run after this rule. | [optional] | | **cache_condition** | **String** | Name of the cache condition controlling when this configuration applies. | [optional] | | **name** | **String** | Name for the cache settings object. | [optional] | -| **stale_ttl** | **Integer** | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). | [optional] | -| **ttl** | **Integer** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional] | +| **stale_ttl** | **String** | Maximum time in seconds to continue to use a stale version of the object if future requests to your backend server fail (also known as 'stale if error'). | [optional] | +| **ttl** | **String** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional] | ### Return type [**CacheSettingResponse**](CacheSettingResponse.md)