Skip to content

Commit

Permalink
Generated v5.05
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 7, 2023
1 parent 249f24d commit 3878d01
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WebService::Fastly - an interface to most facets of the Fastly API (https://deve

# VERSION

5.04
5.05


# SYNOPSIS
Expand Down
10 changes: 7 additions & 3 deletions docs/ConfigStoreApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 ($@) {
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/WebService/Fastly.pm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package WebService::Fastly;

use strict;
use 5.008_005;
our $VERSION = '5.04';
our $VERSION = '5.05';

1;
__END__
Expand Down
11 changes: 11 additions & 0 deletions lib/WebService/Fastly/ConfigStoreApi.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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 )];
Expand Down
6 changes: 3 additions & 3 deletions lib/WebService/Fastly/Configuration.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -44,7 +44,7 @@ default: 180
String. custom UserAgent header
default: fastly-perl/5.04
default: fastly-perl/5.05
=item api_key: (optional)
Expand Down Expand Up @@ -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} //= {};
Expand Down
2 changes: 1 addition & 1 deletion sig.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"G": "33163c3c", "D": "2c30aac5"}
{"G": "5c91b697", "D": "e1e39f1b"}

0 comments on commit 3878d01

Please sign in to comment.