Skip to content

Commit 948ad84

Browse files
author
github-actions
committed
Generated v6.01
1 parent 45f3b51 commit 948ad84

13 files changed

+312
-20
lines changed

Changes

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
Revision history for https://metacpan.org/dist/WebService-Fastly
22

3+
6.01 2024-02-19
4+
* fix(response_object): strongly type response_object create_update requests
5+
* fix(tls_configurations): fix `tls_protocols` field to be a string array type
6+
37
6.00 2023-11-29
48
* breaking(historical): restructure OpenAPI schema to avoid duplicated data rendering.
59
* fix: no longer display Markdown syntax in code comments.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ WebService::Fastly - an interface to most facets of the Fastly API (https://deve
44

55
# VERSION
66

7-
6.00
7+
6.01
88

99

1010
# SYNOPSIS

docs/CreateResponseObjectRequest.md

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# WebService::Fastly::Object::CreateResponseObjectRequest
2+
3+
## Load the model package
4+
```perl
5+
use WebService::Fastly::Object::CreateResponseObjectRequest;
6+
```
7+
8+
## Properties
9+
Name | Type | Description | Notes
10+
------------ | ------------- | ------------- | -------------
11+
**name** | **string** | The name of the response object to create. | [optional]
12+
**status** | **string** | The status code the response will have. Defaults to 200. | [optional]
13+
**response** | **string** | The status text the response will have. Defaults to 'OK'. | [optional]
14+
**content** | **string** | The content the response will deliver. | [optional]
15+
**content_type** | **string** | The MIME type of your response content. | [optional]
16+
**request_condition** | **string** | Condition which, if met, will select this configuration during a request. Optional. | [optional]
17+
**cache_condition** | **string** | Name of the cache condition controlling when this configuration applies. | [optional]
18+
19+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
20+
21+

docs/ResponseObjectApi.md

+10-6
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Method | HTTP request | Description
1717

1818

1919
# **create_response_object**
20-
> ResponseObjectResponse create_response_object(service_id => $service_id, version_id => $version_id)
20+
> ResponseObjectResponse create_response_object(service_id => $service_id, version_id => $version_id, create_response_object_request => $create_response_object_request)
2121
2222
Create a Response object
2323

@@ -37,9 +37,10 @@ my $api_instance = WebService::Fastly::ResponseObjectApi->new(
3737

3838
my $service_id = "service_id_example"; # string | Alphanumeric string identifying the service.
3939
my $version_id = 56; # int | Integer identifying a service version.
40+
my $create_response_object_request = WebService::Fastly::Object::CreateResponseObjectRequest->new(); # CreateResponseObjectRequest |
4041

4142
eval {
42-
my $result = $api_instance->create_response_object(service_id => $service_id, version_id => $version_id);
43+
my $result = $api_instance->create_response_object(service_id => $service_id, version_id => $version_id, create_response_object_request => $create_response_object_request);
4344
print Dumper($result);
4445
};
4546
if ($@) {
@@ -53,6 +54,7 @@ Name | Type | Description | Notes
5354
------------- | ------------- | ------------- | -------------
5455
**service_id** | **string**| Alphanumeric string identifying the service. |
5556
**version_id** | **int**| Integer identifying a service version. |
57+
**create_response_object_request** | [**CreateResponseObjectRequest**](CreateResponseObjectRequest.md)| | [optional]
5658

5759
### Return type
5860

@@ -64,7 +66,7 @@ Name | Type | Description | Notes
6466

6567
### HTTP request headers
6668

67-
- **Content-Type**: application/x-www-form-urlencoded
69+
- **Content-Type**: application/json
6870
- **Accept**: application/json
6971

7072
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
@@ -233,7 +235,7 @@ Name | Type | Description | Notes
233235
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
234236

235237
# **update_response_object**
236-
> ResponseObjectResponse update_response_object(service_id => $service_id, version_id => $version_id, response_object_name => $response_object_name)
238+
> ResponseObjectResponse update_response_object(service_id => $service_id, version_id => $version_id, response_object_name => $response_object_name, create_response_object_request => $create_response_object_request)
237239
238240
Update a Response object
239241

@@ -254,9 +256,10 @@ my $api_instance = WebService::Fastly::ResponseObjectApi->new(
254256
my $service_id = "service_id_example"; # string | Alphanumeric string identifying the service.
255257
my $version_id = 56; # int | Integer identifying a service version.
256258
my $response_object_name = "response_object_name_example"; # string | Name for the request settings.
259+
my $create_response_object_request = WebService::Fastly::Object::CreateResponseObjectRequest->new(); # CreateResponseObjectRequest |
257260

258261
eval {
259-
my $result = $api_instance->update_response_object(service_id => $service_id, version_id => $version_id, response_object_name => $response_object_name);
262+
my $result = $api_instance->update_response_object(service_id => $service_id, version_id => $version_id, response_object_name => $response_object_name, create_response_object_request => $create_response_object_request);
260263
print Dumper($result);
261264
};
262265
if ($@) {
@@ -271,6 +274,7 @@ Name | Type | Description | Notes
271274
**service_id** | **string**| Alphanumeric string identifying the service. |
272275
**version_id** | **int**| Integer identifying a service version. |
273276
**response_object_name** | **string**| Name for the request settings. |
277+
**create_response_object_request** | [**CreateResponseObjectRequest**](CreateResponseObjectRequest.md)| | [optional]
274278

275279
### Return type
276280

@@ -282,7 +286,7 @@ Name | Type | Description | Notes
282286

283287
### HTTP request headers
284288

285-
- **Content-Type**: application/x-www-form-urlencoded
289+
- **Content-Type**: application/json
286290
- **Accept**: application/json
287291

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

docs/TlsConfigurationResponseAttributes.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Name | Type | Description | Notes
1313
**updated_at** | **DateTime** | Date and time in ISO 8601 format. | [optional] [readonly]
1414
**default** | **boolean** | Signifies whether or not Fastly will use this configuration as a default when creating a new [TLS Activation](/reference/api/tls/custom-certs/activations/). | [optional] [readonly]
1515
**http_protocols** | **ARRAY[string]** | HTTP protocols available on your configuration. | [optional] [readonly]
16-
**tls_protocols** | **ARRAY[double]** | TLS protocols available on your configuration. | [optional] [readonly]
16+
**tls_protocols** | **ARRAY[string]** | TLS protocols available on your configuration. | [optional] [readonly]
1717
**bulk** | **boolean** | Signifies whether the configuration is used for Platform TLS or not. | [optional] [readonly]
1818

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

docs/TlsConfigurationResponseAttributesAllOf.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Name | Type | Description | Notes
1010
------------ | ------------- | ------------- | -------------
1111
**default** | **boolean** | Signifies whether or not Fastly will use this configuration as a default when creating a new [TLS Activation](/reference/api/tls/custom-certs/activations/). | [optional] [readonly]
1212
**http_protocols** | **ARRAY[string]** | HTTP protocols available on your configuration. | [optional] [readonly]
13-
**tls_protocols** | **ARRAY[double]** | TLS protocols available on your configuration. | [optional] [readonly]
13+
**tls_protocols** | **ARRAY[string]** | TLS protocols available on your configuration. | [optional] [readonly]
1414
**bulk** | **boolean** | Signifies whether the configuration is used for Platform TLS or not. | [optional] [readonly]
1515

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

lib/WebService/Fastly.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package WebService::Fastly;
22

33
use strict;
44
use 5.008_005;
5-
our $VERSION = '6.00';
5+
our $VERSION = '6.01';
66

77
1;
88
__END__

lib/WebService/Fastly/Configuration.pm

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use utf8;
2424
use Log::Any qw($log);
2525
use Carp;
2626

27-
use constant VERSION => '6.00';
27+
use constant VERSION => '6.01';
2828

2929
=head1 Name
3030
@@ -44,7 +44,7 @@ default: 180
4444
4545
String. custom UserAgent header
4646
47-
default: fastly-perl/6.00
47+
default: fastly-perl/6.01
4848
4949
=item api_key: (optional)
5050
@@ -93,7 +93,7 @@ sub new {
9393

9494
# class/static variables
9595
$p{http_timeout} //= 180;
96-
$p{http_user_agent} //= 'fastly-perl/6.00';
96+
$p{http_user_agent} //= 'fastly-perl/6.01';
9797

9898
# authentication setting
9999
$p{api_key} //= {};

0 commit comments

Comments
 (0)