Skip to content

v5.5.0 #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 2 additions & 0 deletions docs/Model/TemplateDetailsResponsePreassignedPerson.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
6 changes: 3 additions & 3 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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;
Expand Down
70 changes: 65 additions & 5 deletions src/Model/TemplateDetailsResponsePreassignedPerson.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ class TemplateDetailsResponsePreassignedPerson implements ModelInterface, ArrayA
*/
protected static $openAPITypes = [
'email' => 'string',
'type' => 'string'
'type' => 'string',
'placeholderName' => 'string',
'placeholderSource' => 'string'
];

/**
Expand All @@ -70,7 +72,9 @@ class TemplateDetailsResponsePreassignedPerson implements ModelInterface, ArrayA
*/
protected static $openAPIFormats = [
'email' => null,
'type' => null
'type' => null,
'placeholderName' => null,
'placeholderSource' => null
];

/**
Expand Down Expand Up @@ -101,7 +105,9 @@ public static function openAPIFormats()
*/
protected static $attributeMap = [
'email' => 'email',
'type' => 'type'
'type' => 'type',
'placeholderName' => 'placeholder_name',
'placeholderSource' => 'placeholder_source'
];

/**
Expand All @@ -111,7 +117,9 @@ public static function openAPIFormats()
*/
protected static $setters = [
'email' => 'setEmail',
'type' => 'setType'
'type' => 'setType',
'placeholderName' => 'setPlaceholderName',
'placeholderSource' => 'setPlaceholderSource'
];

/**
Expand All @@ -121,7 +129,9 @@ public static function openAPIFormats()
*/
protected static $getters = [
'email' => 'getEmail',
'type' => 'getType'
'type' => 'getType',
'placeholderName' => 'getPlaceholderName',
'placeholderSource' => 'getPlaceholderSource'
];

/**
Expand Down Expand Up @@ -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;
}

/**
Expand Down Expand Up @@ -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.
*
Expand Down