From 067d6e928ce7c85c8cb7448463b1f4aa0980c6cd Mon Sep 17 00:00:00 2001 From: Dmytro Yakutkin Date: Tue, 13 Dec 2022 11:55:19 +0100 Subject: [PATCH] v5.5.0 --- README.md | 2 +- composer.json | 2 +- ...emplateDetailsResponsePreassignedPerson.md | 2 + src/Configuration.php | 6 +- ...mplateDetailsResponsePreassignedPerson.php | 70 +++++++++++++++++-- 5 files changed, 72 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 55e2621..d991593 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ or add the following to `composer.json`: ```json { "require": { - "pandadoc/php-client": "5.4.1" + "pandadoc/php-client": "5.5.0" } } ``` diff --git a/composer.json b/composer.json index be3cf8a..ba0b5b0 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "pandadoc/php-client", - "version": "5.4.1", + "version": "5.5.0", "description": "The Official PandaDoc PHP client SDK", "keywords": [ "openapi", diff --git a/docs/Model/TemplateDetailsResponsePreassignedPerson.md b/docs/Model/TemplateDetailsResponsePreassignedPerson.md index d195e9c..983f75f 100644 --- a/docs/Model/TemplateDetailsResponsePreassignedPerson.md +++ b/docs/Model/TemplateDetailsResponsePreassignedPerson.md @@ -6,5 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **email** | **string** | | [optional] **type** | **string** | | [optional] +**placeholderName** | **string** | | [optional] +**placeholderSource** | **string** | | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/src/Configuration.php b/src/Configuration.php index 972e92c..599fa35 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -88,7 +88,7 @@ class Configuration * * @var string */ - protected $userAgent = 'pandadoc_php_client/5.4.1'; + protected $userAgent = 'pandadoc_php_client/5.5.0'; /** * Debug switch (default set to false) @@ -396,8 +396,8 @@ public static function toDebugReport() $report = 'PHP SDK (PandaDoc\Client) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; - $report .= ' The version of the OpenAPI document: 5.4.1' . PHP_EOL; - $report .= ' SDK Package Version: 5.4.1' . PHP_EOL; + $report .= ' The version of the OpenAPI document: 5.5.0' . PHP_EOL; + $report .= ' SDK Package Version: 5.5.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/src/Model/TemplateDetailsResponsePreassignedPerson.php b/src/Model/TemplateDetailsResponsePreassignedPerson.php index 383d214..12bafdc 100644 --- a/src/Model/TemplateDetailsResponsePreassignedPerson.php +++ b/src/Model/TemplateDetailsResponsePreassignedPerson.php @@ -58,7 +58,9 @@ class TemplateDetailsResponsePreassignedPerson implements ModelInterface, ArrayA */ protected static $openAPITypes = [ 'email' => 'string', - 'type' => 'string' + 'type' => 'string', + 'placeholderName' => 'string', + 'placeholderSource' => 'string' ]; /** @@ -70,7 +72,9 @@ class TemplateDetailsResponsePreassignedPerson implements ModelInterface, ArrayA */ protected static $openAPIFormats = [ 'email' => null, - 'type' => null + 'type' => null, + 'placeholderName' => null, + 'placeholderSource' => null ]; /** @@ -101,7 +105,9 @@ public static function openAPIFormats() */ protected static $attributeMap = [ 'email' => 'email', - 'type' => 'type' + 'type' => 'type', + 'placeholderName' => 'placeholder_name', + 'placeholderSource' => 'placeholder_source' ]; /** @@ -111,7 +117,9 @@ public static function openAPIFormats() */ protected static $setters = [ 'email' => 'setEmail', - 'type' => 'setType' + 'type' => 'setType', + 'placeholderName' => 'setPlaceholderName', + 'placeholderSource' => 'setPlaceholderSource' ]; /** @@ -121,7 +129,9 @@ public static function openAPIFormats() */ protected static $getters = [ 'email' => 'getEmail', - 'type' => 'getType' + 'type' => 'getType', + 'placeholderName' => 'getPlaceholderName', + 'placeholderSource' => 'getPlaceholderSource' ]; /** @@ -183,6 +193,8 @@ public function __construct(array $data = null) { $this->container['email'] = $data['email'] ?? null; $this->container['type'] = $data['type'] ?? null; + $this->container['placeholderName'] = $data['placeholderName'] ?? null; + $this->container['placeholderSource'] = $data['placeholderSource'] ?? null; } /** @@ -256,6 +268,54 @@ public function setType($type) return $this; } + + /** + * Gets placeholderName + * + * @return string|null + */ + public function getPlaceholderName() + { + return $this->container['placeholderName']; + } + + /** + * Sets placeholderName + * + * @param string|null $placeholderName placeholderName + * + * @return self + */ + public function setPlaceholderName($placeholderName) + { + $this->container['placeholderName'] = $placeholderName; + + return $this; + } + + /** + * Gets placeholderSource + * + * @return string|null + */ + public function getPlaceholderSource() + { + return $this->container['placeholderSource']; + } + + /** + * Sets placeholderSource + * + * @param string|null $placeholderSource placeholderSource + * + * @return self + */ + public function setPlaceholderSource($placeholderSource) + { + $this->container['placeholderSource'] = $placeholderSource; + + return $this; + } /** * Returns true if offset exists. False otherwise. *