Skip to content

Commit

Permalink
Generated v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jul 31, 2023
1 parent 38e6899 commit a63273d
Show file tree
Hide file tree
Showing 310 changed files with 6,031 additions and 11,738 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## [v4.0.0](https://github.com/fastly/fastly-py/releases/tag/release/v4.0.0) (2023-07-31)

**Breaking:**

The following restructures have helped resolve some issues with our OpenAPI schemas but as a side-effect this has resulted in a break to our API client interface as different types are now being generated.

- refactor: general restructure OpenAPI schemas.
- refactor(domain): remove explicit schema type for 'any'.

**Bug fixes:**

- fix: change response `version` type to string.
- fix(cache_settings): change response `stale_ttl` and `ttl` types to strings.
- fix(header): change response `ignore_if_set` and `priority` types to strings.
- fix(logging): change response `period` and `gzip_level` types to strings.
- fix(pool): change response `use_tls`, `max_conn_default`, `first_byte_timeout`, `quorum` and `tls_check_cert` types to strings.
- fix(request_settings): change response `bypass_busy_wait`, `force_miss`, `force_ssl`, `geo_headers`, `max_stale_age` and `timer_support` types to strings.
- fix(response_object): change response `status` type to string.

## [v3.0.2](https://github.com/fastly/fastly-py/releases/tag/release/v3.0.2) (2023-07-13)

**Bug fixes:**
Expand Down
2 changes: 1 addition & 1 deletion docs/AclEntryApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ with fastly.ApiClient(configuration) as api_client:
acl_id = "6tUXdegLTf5BCig0zGFrU3" # str | Alphanumeric string identifying a ACL.
bulk_update_acl_entries_request = BulkUpdateAclEntriesRequest(
entries=[
BulkUpdateAclEntry(None),
BulkUpdateAclEntry(),
],
) # BulkUpdateAclEntriesRequest | (optional)

Expand Down
4 changes: 2 additions & 2 deletions docs/CacheSetting.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ Name | Type | Description | Notes
**action** | **str, none_type** | 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** | **str, none_type** | Name of the cache condition controlling when this configuration applies. | [optional]
**name** | **str** | Name for the cache settings object. | [optional]
**stale_ttl** | **int** | 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** | **int** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional]
**stale_ttl** | **str** | 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** | **str** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional]
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
6 changes: 3 additions & 3 deletions docs/CacheSettingResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ Name | Type | Description | Notes
**action** | **str, none_type** | 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** | **str, none_type** | Name of the cache condition controlling when this configuration applies. | [optional]
**name** | **str** | Name for the cache settings object. | [optional]
**stale_ttl** | **int** | 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** | **int** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional]
**stale_ttl** | **str** | 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** | **str** | Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional]
**service_id** | **str** | | [optional] [readonly]
**version** | **int** | | [optional] [readonly]
**version** | **str** | | [optional] [readonly]
**created_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
**deleted_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
**updated_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
Expand Down
16 changes: 8 additions & 8 deletions docs/CacheSettingsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ with fastly.ApiClient(configuration) as api_client:
action = "pass" # str, none_type | 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 = "cache_condition_example" # str, none_type | Name of the cache condition controlling when this configuration applies. (optional)
name = "test-cache-setting" # str | Name for the cache settings object. (optional)
stale_ttl = 1 # int | 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 = 1 # int | Maximum time to consider the object fresh in the cache (the cache 'time to live'). (optional)
stale_ttl = "stale_ttl_example" # str | 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 = "ttl_example" # str | Maximum time to consider the object fresh in the cache (the cache 'time to live'). (optional)

# example passing only required values which don't have defaults set
try:
Expand Down Expand Up @@ -85,8 +85,8 @@ Name | Type | Description | Notes
**action** | **str, none_type**| 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** | **str, none_type**| Name of the cache condition controlling when this configuration applies. | [optional]
**name** | **str**| Name for the cache settings object. | [optional]
**stale_ttl** | **int**| 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** | **int**| Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional]
**stale_ttl** | **str**| 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** | **str**| Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional]

### Return type

Expand Down Expand Up @@ -398,8 +398,8 @@ with fastly.ApiClient(configuration) as api_client:
action = "pass" # str, none_type | 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 = "cache_condition_example" # str, none_type | Name of the cache condition controlling when this configuration applies. (optional)
name = "test-cache-setting" # str | Name for the cache settings object. (optional)
stale_ttl = 1 # int | 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 = 1 # int | Maximum time to consider the object fresh in the cache (the cache 'time to live'). (optional)
stale_ttl = "stale_ttl_example" # str | 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 = "ttl_example" # str | Maximum time to consider the object fresh in the cache (the cache 'time to live'). (optional)

# example passing only required values which don't have defaults set
try:
Expand Down Expand Up @@ -430,8 +430,8 @@ Name | Type | Description | Notes
**action** | **str, none_type**| 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** | **str, none_type**| Name of the cache condition controlling when this configuration applies. | [optional]
**name** | **str**| Name for the cache settings object. | [optional]
**stale_ttl** | **int**| 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** | **int**| Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional]
**stale_ttl** | **str**| 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** | **str**| Maximum time to consider the object fresh in the cache (the cache 'time to live'). | [optional]

### Return type

Expand Down
2 changes: 1 addition & 1 deletion docs/ConfigStoreItemApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ with fastly.ApiClient(configuration) as api_client:
config_store_id = "7Lsb7Y76rChV9hSrv3KgFl" # str | An alphanumeric string identifying the config store.
bulk_update_config_store_list_request = BulkUpdateConfigStoreListRequest(
items=[
BulkUpdateConfigStoreItem(None),
BulkUpdateConfigStoreItem(),
],
) # BulkUpdateConfigStoreListRequest | (optional)

Expand Down
2 changes: 1 addition & 1 deletion docs/DictionaryItemApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ with fastly.ApiClient(configuration) as api_client:
dictionary_id = "3vjTN8v1O7nOAY7aNDGOL" # str | Alphanumeric string identifying a Dictionary.
bulk_update_dictionary_list_request = BulkUpdateDictionaryListRequest(
items=[
BulkUpdateDictionaryItem(None),
BulkUpdateDictionaryItem(),
],
) # BulkUpdateDictionaryListRequest | (optional)

Expand Down
2 changes: 1 addition & 1 deletion docs/DomainCheckResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**value** | [**[DomainCheckItem]**](DomainCheckItem.md) | |
**value** | **[bool, date, datetime, dict, float, int, list, str, none_type]** | |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/GzipResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**extensions** | **str, none_type** | Space-separated list of file extensions to compress. If you omit this field a default list will be used. | [optional]
**name** | **str** | Name of the gzip configuration. | [optional]
**service_id** | **str** | | [optional] [readonly]
**version** | **int** | | [optional] [readonly]
**version** | **str** | | [optional] [readonly]
**created_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
**deleted_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
**updated_at** | **datetime, none_type** | Date and time in ISO 8601 format. | [optional] [readonly]
Expand Down
2 changes: 0 additions & 2 deletions docs/Header.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ Name | Type | Description | Notes
**action** | **str** | Accepts a string value. | [optional]
**cache_condition** | **str, none_type** | Name of the cache condition controlling when this configuration applies. | [optional]
**dst** | **str** | Header to set. | [optional]
**ignore_if_set** | **int** | Don't add the header if it is added already. Only applies to 'set' action. | [optional]
**name** | **str** | A handle to refer to this Header object. | [optional]
**priority** | **int** | Priority determines execution order. Lower numbers execute first. | [optional] if omitted the server will use the default value of 100
**regex** | **str, none_type** | Regular expression to use. Only applies to `regex` and `regex_repeat` actions. | [optional]
**request_condition** | **str, none_type** | Condition which, if met, will select this configuration during a request. Optional. | [optional]
**response_condition** | **str, none_type** | Optional name of a response condition to apply. | [optional]
Expand Down
Loading

0 comments on commit a63273d

Please sign in to comment.