From 7adb9a5dcea28dd7fa1be33e61f5abfd0c087b29 Mon Sep 17 00:00:00 2001 From: github-actions Date: Thu, 13 Jul 2023 10:08:11 +0000 Subject: [PATCH] Generated v3.0.3 --- CHANGELOG.md | 8 +++++ docs/Api/LoggingGcsApi.md | 8 ++--- docs/Api/TlsSubscriptionsApi.md | 4 +-- docs/Model/LoggingGcs.md | 2 +- docs/Model/LoggingGcsAllOf.md | 2 +- docs/Model/LoggingGcsResponse.md | 2 +- docs/Model/OriginInspectorHistoricalData.md | 2 +- lib/Api/LoggingGcsApi.php | 24 +++++++------- lib/Api/TlsSubscriptionsApi.php | 36 ++++++++++----------- lib/Configuration.php | 4 +-- lib/Model/LoggingGcs.php | 4 +-- lib/Model/LoggingGcsAllOf.php | 4 +-- lib/Model/LoggingGcsResponse.php | 4 +-- lib/Model/OriginInspectorHistoricalData.php | 6 ++-- sig.json | 2 +- 15 files changed, 60 insertions(+), 52 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a192fc50..90ddde75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## [v3.0.3](https://github.com/fastly/fastly-php/releases/tag/release/v3.0.3) (2023-07-13) + +**Bug fixes:** + +- fix(logging_gcs): set expected default value for 'path'. +- fix(origin_inspector_historical): use correct type for 'values'. +- fix(tls_subscriptions): fix argument order for deleting globalsign email challenge. + ## [v3.0.2](https://github.com/fastly/fastly-php/releases/tag/release/v3.0.2) (2023-07-12) **Bug fixes:** diff --git a/docs/Api/LoggingGcsApi.md b/docs/Api/LoggingGcsApi.md index 4180b3cc..d411596d 100644 --- a/docs/Api/LoggingGcsApi.md +++ b/docs/Api/LoggingGcsApi.md @@ -47,7 +47,7 @@ $options['user'] = 'user_example'; // string | Your Google Cloud Platform servic $options['secret_key'] = 'secret_key_example'; // string | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. $options['account_name'] = 'account_name_example'; // string | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. $options['bucket_name'] = 'bucket_name_example'; // string | The name of the GCS bucket. -$options['path'] = 'path_example'; // string | The path to upload logs to. +$options['path'] = '/'; // string $options['public_key'] = 'null'; // string | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. $options['project_id'] = 'project_id_example'; // string | Your Google Cloud Platform project ID. Required @@ -80,7 +80,7 @@ Name | Type | Description | Notes **secret_key** | **string** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **string** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional] **bucket_name** | **string** | The name of the GCS bucket. | [optional] -**path** | **string** | The path to upload logs to. | [optional] +**path** | **string** | | [optional] [defaults to '/'] **public_key** | **string** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **project_id** | **string** | Your Google Cloud Platform project ID. Required | [optional] @@ -230,7 +230,7 @@ $options['user'] = 'user_example'; // string | Your Google Cloud Platform servic $options['secret_key'] = 'secret_key_example'; // string | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. $options['account_name'] = 'account_name_example'; // string | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. $options['bucket_name'] = 'bucket_name_example'; // string | The name of the GCS bucket. -$options['path'] = 'path_example'; // string | The path to upload logs to. +$options['path'] = '/'; // string $options['public_key'] = 'null'; // string | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. $options['project_id'] = 'project_id_example'; // string | Your Google Cloud Platform project ID. Required @@ -264,7 +264,7 @@ Name | Type | Description | Notes **secret_key** | **string** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **string** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional] **bucket_name** | **string** | The name of the GCS bucket. | [optional] -**path** | **string** | The path to upload logs to. | [optional] +**path** | **string** | | [optional] [defaults to '/'] **public_key** | **string** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **project_id** | **string** | Your Google Cloud Platform project ID. Required | [optional] diff --git a/docs/Api/TlsSubscriptionsApi.md b/docs/Api/TlsSubscriptionsApi.md index 44c668f3..4185926b 100644 --- a/docs/Api/TlsSubscriptionsApi.md +++ b/docs/Api/TlsSubscriptionsApi.md @@ -108,8 +108,8 @@ Deletes a GlobalSign email challenge. After a GlobalSign email challenge is dele ### Example ```php $options['tls_subscription_id'] = 'tls_subscription_id_example'; // string | Alphanumeric string identifying a TLS subscription. -$options['globalsign_email_challenge_id'] = gU3guUGZzb2W9Euo4Mo0r; // string | Alphanumeric string identifying a GlobalSign email challenge. $options['tls_authorization_id'] = 'tls_authorization_id_example'; // string | Alphanumeric string identifying a TLS subscription. +$options['globalsign_email_challenge_id'] = gU3guUGZzb2W9Euo4Mo0r; // string | Alphanumeric string identifying a GlobalSign email challenge. try { $apiInstance->deleteGlobalsignEmailChallenge($options); @@ -125,8 +125,8 @@ Note: the input parameter is an associative array with the keys listed below. Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **tls_subscription_id** | **string** | Alphanumeric string identifying a TLS subscription. | -**globalsign_email_challenge_id** | **string** | Alphanumeric string identifying a GlobalSign email challenge. | **tls_authorization_id** | **string** | Alphanumeric string identifying a TLS subscription. | +**globalsign_email_challenge_id** | **string** | Alphanumeric string identifying a GlobalSign email challenge. | ### Return type diff --git a/docs/Model/LoggingGcs.md b/docs/Model/LoggingGcs.md index 2be8ec0a..fb0bbb35 100644 --- a/docs/Model/LoggingGcs.md +++ b/docs/Model/LoggingGcs.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes **secret_key** | **string** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **string** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional] **bucket_name** | **string** | The name of the GCS bucket. | [optional] -**path** | **string** | The path to upload logs to. | [optional] +**path** | **string** | | [optional] [defaults to '/'] **public_key** | **string** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **project_id** | **string** | Your Google Cloud Platform project ID. Required | [optional] diff --git a/docs/Model/LoggingGcsAllOf.md b/docs/Model/LoggingGcsAllOf.md index 2657cb8d..f1fec0fc 100644 --- a/docs/Model/LoggingGcsAllOf.md +++ b/docs/Model/LoggingGcsAllOf.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bucket_name** | **string** | The name of the GCS bucket. | [optional] -**path** | **string** | The path to upload logs to. | [optional] +**path** | **string** | | [optional] [defaults to '/'] **public_key** | **string** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **project_id** | **string** | Your Google Cloud Platform project ID. Required | [optional] diff --git a/docs/Model/LoggingGcsResponse.md b/docs/Model/LoggingGcsResponse.md index 375495e5..4ec93d43 100644 --- a/docs/Model/LoggingGcsResponse.md +++ b/docs/Model/LoggingGcsResponse.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes **secret_key** | **string** | Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. | [optional] **account_name** | **string** | The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. | [optional] **bucket_name** | **string** | The name of the GCS bucket. | [optional] -**path** | **string** | The path to upload logs to. | [optional] +**path** | **string** | | [optional] [defaults to '/'] **public_key** | **string** | A PGP public key that Fastly will use to encrypt your log files before writing them to disk. | [optional] [defaults to 'null'] **project_id** | **string** | Your Google Cloud Platform project ID. Required | [optional] **created_at** | **\DateTime** | Date and time in ISO 8601 format. | [optional] [readonly] diff --git a/docs/Model/OriginInspectorHistoricalData.md b/docs/Model/OriginInspectorHistoricalData.md index 38d1b3ca..0faee69c 100644 --- a/docs/Model/OriginInspectorHistoricalData.md +++ b/docs/Model/OriginInspectorHistoricalData.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **dimensions** | [**\Fastly\Model\OriginInspectorDimensions**](OriginInspectorDimensions.md) | | [optional] -**values** | [**\Fastly\Model\Values**](Values.md) | | [optional] +**values** | [**\Fastly\Model\OriginInspectorValues[]**](OriginInspectorValues.md) | An array of values representing the metric values at each point in time. Note that this dataset is sparse: only the keys with non-zero values will be included in the record. | [optional] [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/lib/Api/LoggingGcsApi.php b/lib/Api/LoggingGcsApi.php index 7e119214..1768f3a2 100644 --- a/lib/Api/LoggingGcsApi.php +++ b/lib/Api/LoggingGcsApi.php @@ -135,7 +135,7 @@ public function getConfig() * @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional) * @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional) * @param string $bucket_name The name of the GCS bucket. (optional) - * @param string $path The path to upload logs to. (optional) + * @param string $path path (optional, default to '/') * @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null') * @param string $project_id Your Google Cloud Platform project ID. Required (optional) * @@ -175,7 +175,7 @@ public function createLogGcs($options) * @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional) * @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional) * @param string $bucket_name The name of the GCS bucket. (optional) - * @param string $path The path to upload logs to. (optional) + * @param string $path (optional, default to '/') * @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null') * @param string $project_id Your Google Cloud Platform project ID. Required (optional) * @@ -303,7 +303,7 @@ public function createLogGcsWithHttpInfo($options) * @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional) * @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional) * @param string $bucket_name The name of the GCS bucket. (optional) - * @param string $path The path to upload logs to. (optional) + * @param string $path (optional, default to '/') * @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null') * @param string $project_id Your Google Cloud Platform project ID. Required (optional) * @@ -346,7 +346,7 @@ function ($response) { * @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional) * @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional) * @param string $bucket_name The name of the GCS bucket. (optional) - * @param string $path The path to upload logs to. (optional) + * @param string $path (optional, default to '/') * @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null') * @param string $project_id Your Google Cloud Platform project ID. Required (optional) * @@ -415,7 +415,7 @@ function ($exception) { * @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional) * @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional) * @param string $bucket_name The name of the GCS bucket. (optional) - * @param string $path The path to upload logs to. (optional) + * @param string $path (optional, default to '/') * @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null') * @param string $project_id Your Google Cloud Platform project ID. Required (optional) * @@ -441,7 +441,7 @@ public function createLogGcsRequest($options) $secret_key = array_key_exists('secret_key', $options) ? $options['secret_key'] : null; $account_name = array_key_exists('account_name', $options) ? $options['account_name'] : null; $bucket_name = array_key_exists('bucket_name', $options) ? $options['bucket_name'] : null; - $path = array_key_exists('path', $options) ? $options['path'] : null; + $path = array_key_exists('path', $options) ? $options['path'] : '/'; $public_key = array_key_exists('public_key', $options) ? $options['public_key'] : 'null'; $project_id = array_key_exists('project_id', $options) ? $options['project_id'] : null; @@ -1714,7 +1714,7 @@ public function listLogGcsRequest($options) * @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional) * @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional) * @param string $bucket_name The name of the GCS bucket. (optional) - * @param string $path The path to upload logs to. (optional) + * @param string $path path (optional, default to '/') * @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null') * @param string $project_id Your Google Cloud Platform project ID. Required (optional) * @@ -1755,7 +1755,7 @@ public function updateLogGcs($options) * @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional) * @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional) * @param string $bucket_name The name of the GCS bucket. (optional) - * @param string $path The path to upload logs to. (optional) + * @param string $path (optional, default to '/') * @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null') * @param string $project_id Your Google Cloud Platform project ID. Required (optional) * @@ -1884,7 +1884,7 @@ public function updateLogGcsWithHttpInfo($options) * @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional) * @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional) * @param string $bucket_name The name of the GCS bucket. (optional) - * @param string $path The path to upload logs to. (optional) + * @param string $path (optional, default to '/') * @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null') * @param string $project_id Your Google Cloud Platform project ID. Required (optional) * @@ -1928,7 +1928,7 @@ function ($response) { * @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional) * @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional) * @param string $bucket_name The name of the GCS bucket. (optional) - * @param string $path The path to upload logs to. (optional) + * @param string $path (optional, default to '/') * @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null') * @param string $project_id Your Google Cloud Platform project ID. Required (optional) * @@ -1998,7 +1998,7 @@ function ($exception) { * @param string $secret_key Your Google Cloud Platform account secret key. The `private_key` field in your service account authentication JSON. Not required if `account_name` is specified. (optional) * @param string $account_name The name of the Google Cloud Platform service account associated with the target log collection service. Not required if `user` and `secret_key` are provided. (optional) * @param string $bucket_name The name of the GCS bucket. (optional) - * @param string $path The path to upload logs to. (optional) + * @param string $path (optional, default to '/') * @param string $public_key A PGP public key that Fastly will use to encrypt your log files before writing them to disk. (optional, default to 'null') * @param string $project_id Your Google Cloud Platform project ID. Required (optional) * @@ -2025,7 +2025,7 @@ public function updateLogGcsRequest($options) $secret_key = array_key_exists('secret_key', $options) ? $options['secret_key'] : null; $account_name = array_key_exists('account_name', $options) ? $options['account_name'] : null; $bucket_name = array_key_exists('bucket_name', $options) ? $options['bucket_name'] : null; - $path = array_key_exists('path', $options) ? $options['path'] : null; + $path = array_key_exists('path', $options) ? $options['path'] : '/'; $public_key = array_key_exists('public_key', $options) ? $options['public_key'] : 'null'; $project_id = array_key_exists('project_id', $options) ? $options['project_id'] : null; diff --git a/lib/Api/TlsSubscriptionsApi.php b/lib/Api/TlsSubscriptionsApi.php index ba3076c3..4a2efcea 100644 --- a/lib/Api/TlsSubscriptionsApi.php +++ b/lib/Api/TlsSubscriptionsApi.php @@ -801,8 +801,8 @@ public function createTlsSubRequest($options) * URL: https://api.fastly.com * * @param string $tls_subscription_id Alphanumeric string identifying a TLS subscription. (required) - * @param string $globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required) * @param string $tls_authorization_id Alphanumeric string identifying a TLS subscription. (required) + * @param string $globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required) * * @throws \Fastly\ApiException on non-2xx response * @throws \InvalidArgumentException @@ -824,8 +824,8 @@ public function deleteGlobalsignEmailChallenge($options) * URL: https://api.fastly.com * * @param string $tls_subscription_id Alphanumeric string identifying a TLS subscription. (required) - * @param string $globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required) * @param string $tls_authorization_id Alphanumeric string identifying a TLS subscription. (required) + * @param string $globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required) * * @throws \Fastly\ApiException on non-2xx response * @throws \InvalidArgumentException @@ -902,8 +902,8 @@ public function deleteGlobalsignEmailChallengeWithHttpInfo($options) * URL: https://api.fastly.com * * @param string $tls_subscription_id Alphanumeric string identifying a TLS subscription. (required) - * @param string $globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required) * @param string $tls_authorization_id Alphanumeric string identifying a TLS subscription. (required) + * @param string $globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface @@ -929,8 +929,8 @@ function ($response) { * URL: https://api.fastly.com * * @param string $tls_subscription_id Alphanumeric string identifying a TLS subscription. (required) - * @param string $globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required) * @param string $tls_authorization_id Alphanumeric string identifying a TLS subscription. (required) + * @param string $globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface @@ -972,8 +972,8 @@ function ($exception) { * URL: https://api.fastly.com * * @param string $tls_subscription_id Alphanumeric string identifying a TLS subscription. (required) - * @param string $globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required) * @param string $tls_authorization_id Alphanumeric string identifying a TLS subscription. (required) + * @param string $globalsign_email_challenge_id Alphanumeric string identifying a GlobalSign email challenge. (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request @@ -982,8 +982,8 @@ public function deleteGlobalsignEmailChallengeRequest($options) { // unbox the parameters from the associative array $tls_subscription_id = array_key_exists('tls_subscription_id', $options) ? $options['tls_subscription_id'] : null; - $globalsign_email_challenge_id = array_key_exists('globalsign_email_challenge_id', $options) ? $options['globalsign_email_challenge_id'] : null; $tls_authorization_id = array_key_exists('tls_authorization_id', $options) ? $options['tls_authorization_id'] : null; + $globalsign_email_challenge_id = array_key_exists('globalsign_email_challenge_id', $options) ? $options['globalsign_email_challenge_id'] : null; // verify the required parameter 'tls_subscription_id' is set if ($tls_subscription_id === null || (is_array($tls_subscription_id) && count($tls_subscription_id) === 0)) { @@ -991,18 +991,18 @@ public function deleteGlobalsignEmailChallengeRequest($options) 'Missing the required parameter $tls_subscription_id when calling deleteGlobalsignEmailChallenge' ); } - // verify the required parameter 'globalsign_email_challenge_id' is set - if ($globalsign_email_challenge_id === null || (is_array($globalsign_email_challenge_id) && count($globalsign_email_challenge_id) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $globalsign_email_challenge_id when calling deleteGlobalsignEmailChallenge' - ); - } // verify the required parameter 'tls_authorization_id' is set if ($tls_authorization_id === null || (is_array($tls_authorization_id) && count($tls_authorization_id) === 0)) { throw new \InvalidArgumentException( 'Missing the required parameter $tls_authorization_id when calling deleteGlobalsignEmailChallenge' ); } + // verify the required parameter 'globalsign_email_challenge_id' is set + if ($globalsign_email_challenge_id === null || (is_array($globalsign_email_challenge_id) && count($globalsign_email_challenge_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $globalsign_email_challenge_id when calling deleteGlobalsignEmailChallenge' + ); + } $resourcePath = '/tls/subscriptions/{tls_subscription_id}/authorizations/{tls_authorization_id}/globalsign_email_challenges/{globalsign_email_challenge_id}'; $formParams = []; @@ -1022,18 +1022,18 @@ public function deleteGlobalsignEmailChallengeRequest($options) ); } // path params - if ($globalsign_email_challenge_id !== null) { + if ($tls_authorization_id !== null) { $resourcePath = str_replace( - '{' . 'globalsign_email_challenge_id' . '}', - ObjectSerializer::toPathValue($globalsign_email_challenge_id), + '{' . 'tls_authorization_id' . '}', + ObjectSerializer::toPathValue($tls_authorization_id), $resourcePath ); } // path params - if ($tls_authorization_id !== null) { + if ($globalsign_email_challenge_id !== null) { $resourcePath = str_replace( - '{' . 'tls_authorization_id' . '}', - ObjectSerializer::toPathValue($tls_authorization_id), + '{' . 'globalsign_email_challenge_id' . '}', + ObjectSerializer::toPathValue($globalsign_email_challenge_id), $resourcePath ); } diff --git a/lib/Configuration.php b/lib/Configuration.php index d8301391..6da6f4f1 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -89,7 +89,7 @@ class Configuration * * @var string */ - protected $userAgent = 'fastly-php/3.0.2'; + protected $userAgent = 'fastly-php/3.0.3'; /** * Debug switch (default set to false) @@ -453,7 +453,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' The version of the schema document: 1.0.0' . PHP_EOL; - $report .= ' SDK Package Version: 3.0.2' . PHP_EOL; + $report .= ' SDK Package Version: 3.0.3' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/Model/LoggingGcs.php b/lib/Model/LoggingGcs.php index 7aade5f8..975fc7e4 100644 --- a/lib/Model/LoggingGcs.php +++ b/lib/Model/LoggingGcs.php @@ -334,7 +334,7 @@ public function __construct(array $data = null) $this->container['secret_key'] = $data['secret_key'] ?? null; $this->container['account_name'] = $data['account_name'] ?? null; $this->container['bucket_name'] = $data['bucket_name'] ?? null; - $this->container['path'] = $data['path'] ?? null; + $this->container['path'] = $data['path'] ?? '/'; $this->container['public_key'] = $data['public_key'] ?? 'null'; $this->container['project_id'] = $data['project_id'] ?? null; } @@ -788,7 +788,7 @@ public function getPath() /** * Sets path * - * @param string|null $path The path to upload logs to. + * @param string|null $path path * * @return self */ diff --git a/lib/Model/LoggingGcsAllOf.php b/lib/Model/LoggingGcsAllOf.php index 11506116..23366d64 100644 --- a/lib/Model/LoggingGcsAllOf.php +++ b/lib/Model/LoggingGcsAllOf.php @@ -188,7 +188,7 @@ public function getModelName() public function __construct(array $data = null) { $this->container['bucket_name'] = $data['bucket_name'] ?? null; - $this->container['path'] = $data['path'] ?? null; + $this->container['path'] = $data['path'] ?? '/'; $this->container['public_key'] = $data['public_key'] ?? 'null'; $this->container['project_id'] = $data['project_id'] ?? null; } @@ -254,7 +254,7 @@ public function getPath() /** * Sets path * - * @param string|null $path The path to upload logs to. + * @param string|null $path path * * @return self */ diff --git a/lib/Model/LoggingGcsResponse.php b/lib/Model/LoggingGcsResponse.php index 8639bac0..a8cfac49 100644 --- a/lib/Model/LoggingGcsResponse.php +++ b/lib/Model/LoggingGcsResponse.php @@ -359,7 +359,7 @@ public function __construct(array $data = null) $this->container['secret_key'] = $data['secret_key'] ?? null; $this->container['account_name'] = $data['account_name'] ?? null; $this->container['bucket_name'] = $data['bucket_name'] ?? null; - $this->container['path'] = $data['path'] ?? null; + $this->container['path'] = $data['path'] ?? '/'; $this->container['public_key'] = $data['public_key'] ?? 'null'; $this->container['project_id'] = $data['project_id'] ?? null; $this->container['created_at'] = $data['created_at'] ?? null; @@ -818,7 +818,7 @@ public function getPath() /** * Sets path * - * @param string|null $path The path to upload logs to. + * @param string|null $path path * * @return self */ diff --git a/lib/Model/OriginInspectorHistoricalData.php b/lib/Model/OriginInspectorHistoricalData.php index 53586bb3..308f8c81 100644 --- a/lib/Model/OriginInspectorHistoricalData.php +++ b/lib/Model/OriginInspectorHistoricalData.php @@ -54,7 +54,7 @@ class OriginInspectorHistoricalData implements ModelInterface, ArrayAccess, \Jso */ protected static $fastlyTypes = [ 'dimensions' => '\Fastly\Model\OriginInspectorDimensions', - 'values' => '\Fastly\Model\Values' + 'values' => '\Fastly\Model\OriginInspectorValues[]' ]; /** @@ -232,7 +232,7 @@ public function setDimensions($dimensions) /** * Gets values * - * @return \Fastly\Model\Values|null + * @return \Fastly\Model\OriginInspectorValues[]|null */ public function getValues() { @@ -242,7 +242,7 @@ public function getValues() /** * Sets values * - * @param \Fastly\Model\Values|null $values values + * @param \Fastly\Model\OriginInspectorValues[]|null $values An array of values representing the metric values at each point in time. Note that this dataset is sparse: only the keys with non-zero values will be included in the record. * * @return self */ diff --git a/sig.json b/sig.json index 7c8b4b8d..50cf831f 100644 --- a/sig.json +++ b/sig.json @@ -1 +1 @@ -{"G": "fd9c0491", "D": "f16293ec"} +{"G": "59fc714d", "D": "3bd4fb97"}