From 3878d019ff934aae9a3c0b60af8297830ff521aa Mon Sep 17 00:00:00 2001 From: github-actions Date: Tue, 7 Nov 2023 14:31:51 +0000 Subject: [PATCH] Generated v5.05 --- README.md | 2 +- docs/ConfigStoreApi.md | 10 +++++++--- lib/WebService/Fastly.pm | 2 +- lib/WebService/Fastly/ConfigStoreApi.pm | 11 +++++++++++ lib/WebService/Fastly/Configuration.pm | 6 +++--- sig.json | 2 +- 6 files changed, 24 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index b03ba3a2..542b651f 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ WebService::Fastly - an interface to most facets of the Fastly API (https://deve # VERSION -5.04 +5.05 # SYNOPSIS diff --git a/docs/ConfigStoreApi.md b/docs/ConfigStoreApi.md index b06237b9..c64288ef 100644 --- a/docs/ConfigStoreApi.md +++ b/docs/ConfigStoreApi.md @@ -274,7 +274,7 @@ Name | Type | Description | Notes [[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) # **list_config_stores** -> ARRAY[ConfigStoreResponse] list_config_stores() +> ARRAY[ConfigStoreResponse] list_config_stores(name => $name) List config stores @@ -292,9 +292,10 @@ my $api_instance = WebService::Fastly::ConfigStoreApi->new( #api_key_prefix => {'Fastly-Key' => 'Bearer'}, ); +my $name = "name_example"; # string | Returns a one-element array containing the details for the named config store. eval { - my $result = $api_instance->list_config_stores(); + my $result = $api_instance->list_config_stores(name => $name); print Dumper($result); }; if ($@) { @@ -303,7 +304,10 @@ if ($@) { ``` ### Parameters -This endpoint does not need any parameter. + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **name** | **string**| Returns a one-element array containing the details for the named config store. | [optional] ### Return type diff --git a/lib/WebService/Fastly.pm b/lib/WebService/Fastly.pm index ff7b6236..46259418 100644 --- a/lib/WebService/Fastly.pm +++ b/lib/WebService/Fastly.pm @@ -2,7 +2,7 @@ package WebService::Fastly; use strict; use 5.008_005; -our $VERSION = '5.04'; +our $VERSION = '5.05'; 1; __END__ diff --git a/lib/WebService/Fastly/ConfigStoreApi.pm b/lib/WebService/Fastly/ConfigStoreApi.pm index c2b39ea8..c1b43ebf 100644 --- a/lib/WebService/Fastly/ConfigStoreApi.pm +++ b/lib/WebService/Fastly/ConfigStoreApi.pm @@ -379,8 +379,14 @@ sub list_config_store_services { # # List config stores # +# @param string $name Returns a one-element array containing the details for the named config store. (optional) { my $params = { + 'name' => { + data_type => 'string', + description => 'Returns a one-element array containing the details for the named config store.', + required => '0', + }, }; __PACKAGE__->method_documentation->{ 'list_config_stores' } = { summary => 'List config stores', @@ -408,6 +414,11 @@ sub list_config_stores { } $header_params->{'Content-Type'} = $self->{api_client}->select_header_content_type(); + # query params + if ( exists $args{'name'}) { + $query_params->{'name'} = $self->{api_client}->to_query_value($args{'name'}); + } + my $_body_data; # authentication setting, if any my $auth_settings = [qw(token )]; diff --git a/lib/WebService/Fastly/Configuration.pm b/lib/WebService/Fastly/Configuration.pm index 2e8e112e..7883e098 100644 --- a/lib/WebService/Fastly/Configuration.pm +++ b/lib/WebService/Fastly/Configuration.pm @@ -24,7 +24,7 @@ use utf8; use Log::Any qw($log); use Carp; -use constant VERSION => '5.04'; +use constant VERSION => '5.05'; =head1 Name @@ -44,7 +44,7 @@ default: 180 String. custom UserAgent header -default: fastly-perl/5.04 +default: fastly-perl/5.05 =item api_key: (optional) @@ -93,7 +93,7 @@ sub new { # class/static variables $p{http_timeout} //= 180; - $p{http_user_agent} //= 'fastly-perl/5.04'; + $p{http_user_agent} //= 'fastly-perl/5.05'; # authentication setting $p{api_key} //= {}; diff --git a/sig.json b/sig.json index d30a8fd7..b6ec9143 100644 --- a/sig.json +++ b/sig.json @@ -1 +1 @@ -{"G": "33163c3c", "D": "2c30aac5"} +{"G": "5c91b697", "D": "e1e39f1b"}