diff --git a/CHANGELOG.md b/CHANGELOG.md
index 3c31046c..56031162 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,27 @@
All notable changes to this project will be documented in this file.
See [DocuSign Support Center](https://support.docusign.com/en/releasenotes/) for Product Release Notes.
+
+## [5.3.0] - eSignature API v2.1-20.2.00 - 2020-07-09
+### Changed
+
+* Added support for version v2.1-20.2.00 of the DocuSign eSignature API.
+* Updated the SDK release version.
+
+### Fixed
+
+* Fixed read member function issue in object serializer [#102](https://github.com/docusign/docusign-php-client/issues/102)
+
+## [5.2.0] - eSignature API v2.1-20.1.02 - 2020-05-15
+### Changed
+
+* Added support for version v2.1-20.1.02 of the DocuSign eSignature API.
+* Updated the SDK release version.
+
+### Fixed
+
+* Date serialization issues [#97](https://github.com/docusign/docusign-php-client/issues/97)
+
## [5.1.0] - eSignature API v2.1-20.1.00 - 2020-03-30
### Changed
diff --git a/src/Api/AccountsApi.php b/src/Api/AccountsApi.php
index a1c000ae..e1ecee09 100644
--- a/src/Api/AccountsApi.php
+++ b/src/Api/AccountsApi.php
@@ -1343,6 +1343,107 @@ public function createPermissionProfileWithHttpInfo($account_id, $permission_pro
}
}
+ /**
+ * Operation createReportInProductCreate
+ *
+ * Creates a customized report
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param \DocuSign\eSign\Model\ReportInProductRunRequest $report_in_product_run_request (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return \DocuSign\eSign\Model\ReportInProductSaveResponse
+ */
+ public function createReportInProductCreate($account_id, $report_in_product_run_request = null)
+ {
+ list($response) = $this->createReportInProductCreateWithHttpInfo($account_id, $report_in_product_run_request);
+ return $response;
+ }
+
+ /**
+ * Operation createReportInProductCreateWithHttpInfo
+ *
+ * Creates a customized report
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param \DocuSign\eSign\Model\ReportInProductRunRequest $report_in_product_run_request (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of \DocuSign\eSign\Model\ReportInProductSaveResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function createReportInProductCreateWithHttpInfo($account_id, $report_in_product_run_request = null)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling createReportInProductCreate');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/reports";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+ // body params
+ $_tempBody = null;
+ if (isset($report_in_product_run_request)) {
+ $_tempBody = $report_in_product_run_request;
+ }
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'POST',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ '\DocuSign\eSign\Model\ReportInProductSaveResponse',
+ '/v2.1/accounts/{accountId}/reports'
+ );
+
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\ReportInProductSaveResponse', $httpHeader), $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 201:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ReportInProductSaveResponse', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
/**
* Operation delete
*
@@ -2189,6 +2290,114 @@ public function deletePermissionProfileWithHttpInfo($account_id, $permission_pro
}
}
+ /**
+ * Operation deleteReportInProduct
+ *
+ * Removes a customized report
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $id
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return \DocuSign\eSign\Model\ReportInProductSaveResponse
+ */
+ public function deleteReportInProduct($account_id, $id)
+ {
+ list($response) = $this->deleteReportInProductWithHttpInfo($account_id, $id);
+ return $response;
+ }
+
+ /**
+ * Operation deleteReportInProductWithHttpInfo
+ *
+ * Removes a customized report
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $id
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of \DocuSign\eSign\Model\ReportInProductSaveResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function deleteReportInProductWithHttpInfo($account_id, $id)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling deleteReportInProduct');
+ }
+ // verify the required parameter 'id' is set
+ if ($id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $id when calling deleteReportInProduct');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/reports/{id}";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // path params
+ if ($id !== null) {
+ $resourcePath = str_replace(
+ "{" . "id" . "}",
+ $this->apiClient->getSerializer()->toPathValue($id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'DELETE',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ '\DocuSign\eSign\Model\ReportInProductSaveResponse',
+ '/v2.1/accounts/{accountId}/reports/{id}'
+ );
+
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\ReportInProductSaveResponse', $httpHeader), $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ReportInProductSaveResponse', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
/**
* Operation getAccountIdentityVerification
*
@@ -4228,37 +4437,43 @@ public function getProvisioningWithHttpInfo()
}
/**
- * Operation getSupportedLanguages
+ * Operation getReportInProduct
*
- * Gets list of supported languages for recipient language setting.
+ * Gets the specified report
*
* @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $id
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
- * @return \DocuSign\eSign\Model\SupportedLanguages
+ * @return \DocuSign\eSign\Model\ReportInProductGet
*/
- public function getSupportedLanguages($account_id)
+ public function getReportInProduct($account_id, $id)
{
- list($response) = $this->getSupportedLanguagesWithHttpInfo($account_id);
+ list($response) = $this->getReportInProductWithHttpInfo($account_id, $id);
return $response;
}
/**
- * Operation getSupportedLanguagesWithHttpInfo
+ * Operation getReportInProductWithHttpInfo
*
- * Gets list of supported languages for recipient language setting.
+ * Gets the specified report
*
* @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $id
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
- * @return array of \DocuSign\eSign\Model\SupportedLanguages, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \DocuSign\eSign\Model\ReportInProductGet, HTTP status code, HTTP response headers (array of strings)
*/
- public function getSupportedLanguagesWithHttpInfo($account_id)
+ public function getReportInProductWithHttpInfo($account_id, $id)
{
// verify the required parameter 'account_id' is set
if ($account_id === null) {
- throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getSupportedLanguages');
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getReportInProduct');
+ }
+ // verify the required parameter 'id' is set
+ if ($id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $id when calling getReportInProduct');
}
// parse inputs
- $resourcePath = "/v2.1/accounts/{accountId}/supported_languages";
+ $resourcePath = "/v2.1/accounts/{accountId}/reports/{id}";
$httpBody = '';
$queryParams = [];
$headerParams = [];
@@ -4278,6 +4493,14 @@ public function getSupportedLanguagesWithHttpInfo($account_id)
$resourcePath
);
}
+ // path params
+ if ($id !== null) {
+ $resourcePath = str_replace(
+ "{" . "id" . "}",
+ $this->apiClient->getSerializer()->toPathValue($id),
+ $resourcePath
+ );
+ }
// default format to json
$resourcePath = str_replace("{format}", "json", $resourcePath);
@@ -4300,15 +4523,15 @@ public function getSupportedLanguagesWithHttpInfo($account_id)
$queryParams,
$httpBody,
$headerParams,
- '\DocuSign\eSign\Model\SupportedLanguages',
- '/v2.1/accounts/{accountId}/supported_languages'
+ '\DocuSign\eSign\Model\ReportInProductGet',
+ '/v2.1/accounts/{accountId}/reports/{id}'
);
- return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\SupportedLanguages', $httpHeader), $statusCode, $httpHeader];
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\ReportInProductGet', $httpHeader), $statusCode, $httpHeader];
} catch (ApiException $e) {
switch ($e->getCode()) {
case 200:
- $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\SupportedLanguages', $e->getResponseHeaders());
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ReportInProductGet', $e->getResponseHeaders());
$e->setResponseObject($data);
break;
case 400:
@@ -4322,37 +4545,37 @@ public function getSupportedLanguagesWithHttpInfo($account_id)
}
/**
- * Operation getWatermark
+ * Operation getReportInProductList
*
- * Get watermark information.
+ * Gets the descriptors for all of an account's active reports (for listings)
*
* @param string $account_id The external account number (int) or account ID Guid.
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
- * @return \DocuSign\eSign\Model\Watermark
+ * @return \DocuSign\eSign\Model\ReportInProductList
*/
- public function getWatermark($account_id)
+ public function getReportInProductList($account_id)
{
- list($response) = $this->getWatermarkWithHttpInfo($account_id);
+ list($response) = $this->getReportInProductListWithHttpInfo($account_id);
return $response;
}
/**
- * Operation getWatermarkWithHttpInfo
+ * Operation getReportInProductListWithHttpInfo
*
- * Get watermark information.
+ * Gets the descriptors for all of an account's active reports (for listings)
*
* @param string $account_id The external account number (int) or account ID Guid.
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
- * @return array of \DocuSign\eSign\Model\Watermark, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \DocuSign\eSign\Model\ReportInProductList, HTTP status code, HTTP response headers (array of strings)
*/
- public function getWatermarkWithHttpInfo($account_id)
+ public function getReportInProductListWithHttpInfo($account_id)
{
// verify the required parameter 'account_id' is set
if ($account_id === null) {
- throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getWatermark');
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getReportInProductList');
}
// parse inputs
- $resourcePath = "/v2.1/accounts/{accountId}/watermark";
+ $resourcePath = "/v2.1/accounts/{accountId}/reports";
$httpBody = '';
$queryParams = [];
$headerParams = [];
@@ -4394,15 +4617,15 @@ public function getWatermarkWithHttpInfo($account_id)
$queryParams,
$httpBody,
$headerParams,
- '\DocuSign\eSign\Model\Watermark',
- '/v2.1/accounts/{accountId}/watermark'
+ '\DocuSign\eSign\Model\ReportInProductList',
+ '/v2.1/accounts/{accountId}/reports'
);
- return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\Watermark', $httpHeader), $statusCode, $httpHeader];
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\ReportInProductList', $httpHeader), $statusCode, $httpHeader];
} catch (ApiException $e) {
switch ($e->getCode()) {
case 200:
- $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\Watermark', $e->getResponseHeaders());
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ReportInProductList', $e->getResponseHeaders());
$e->setResponseObject($data);
break;
case 400:
@@ -4416,39 +4639,37 @@ public function getWatermarkWithHttpInfo($account_id)
}
/**
- * Operation getWatermarkPreview
+ * Operation getSupportedLanguages
*
- * Get watermark preview.
+ * Gets list of supported languages for recipient language setting.
*
* @param string $account_id The external account number (int) or account ID Guid.
- * @param \DocuSign\eSign\Model\Watermark $watermark (optional)
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
- * @return \DocuSign\eSign\Model\Watermark
+ * @return \DocuSign\eSign\Model\SupportedLanguages
*/
- public function getWatermarkPreview($account_id, $watermark = null)
+ public function getSupportedLanguages($account_id)
{
- list($response) = $this->getWatermarkPreviewWithHttpInfo($account_id, $watermark);
+ list($response) = $this->getSupportedLanguagesWithHttpInfo($account_id);
return $response;
}
/**
- * Operation getWatermarkPreviewWithHttpInfo
+ * Operation getSupportedLanguagesWithHttpInfo
*
- * Get watermark preview.
+ * Gets list of supported languages for recipient language setting.
*
* @param string $account_id The external account number (int) or account ID Guid.
- * @param \DocuSign\eSign\Model\Watermark $watermark (optional)
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
- * @return array of \DocuSign\eSign\Model\Watermark, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \DocuSign\eSign\Model\SupportedLanguages, HTTP status code, HTTP response headers (array of strings)
*/
- public function getWatermarkPreviewWithHttpInfo($account_id, $watermark = null)
+ public function getSupportedLanguagesWithHttpInfo($account_id)
{
// verify the required parameter 'account_id' is set
if ($account_id === null) {
- throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getWatermarkPreview');
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getSupportedLanguages');
}
// parse inputs
- $resourcePath = "/v2.1/accounts/{accountId}/watermark/preview";
+ $resourcePath = "/v2.1/accounts/{accountId}/supported_languages";
$httpBody = '';
$queryParams = [];
$headerParams = [];
@@ -4471,12 +4692,7 @@ public function getWatermarkPreviewWithHttpInfo($account_id, $watermark = null)
// default format to json
$resourcePath = str_replace("{format}", "json", $resourcePath);
- // body params
- $_tempBody = null;
- if (isset($watermark)) {
- $_tempBody = $watermark;
- }
-
+
// for model (json/xml)
if (isset($_tempBody)) {
$httpBody = $_tempBody; // $_tempBody is the method argument, if present
@@ -4491,19 +4707,19 @@ public function getWatermarkPreviewWithHttpInfo($account_id, $watermark = null)
try {
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
$resourcePath,
- 'PUT',
+ 'GET',
$queryParams,
$httpBody,
$headerParams,
- '\DocuSign\eSign\Model\Watermark',
- '/v2.1/accounts/{accountId}/watermark/preview'
+ '\DocuSign\eSign\Model\SupportedLanguages',
+ '/v2.1/accounts/{accountId}/supported_languages'
);
- return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\Watermark', $httpHeader), $statusCode, $httpHeader];
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\SupportedLanguages', $httpHeader), $statusCode, $httpHeader];
} catch (ApiException $e) {
switch ($e->getCode()) {
case 200:
- $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\Watermark', $e->getResponseHeaders());
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\SupportedLanguages', $e->getResponseHeaders());
$e->setResponseObject($data);
break;
case 400:
@@ -4517,23 +4733,218 @@ public function getWatermarkPreviewWithHttpInfo($account_id, $watermark = null)
}
/**
- * Operation listBrands
+ * Operation getWatermark
*
- * Gets a list of brand profiles.
+ * Get watermark information.
*
* @param string $account_id The external account number (int) or account ID Guid.
- * @param $options Options for modifying the behavior of the function. (optional)
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
- * @return \DocuSign\eSign\Model\BrandsResponse
+ * @return \DocuSign\eSign\Model\Watermark
*/
- public function listBrands($account_id, AccountsApi\ListBrandsOptions $options = null)
+ public function getWatermark($account_id)
{
- list($response) = $this->listBrandsWithHttpInfo($account_id, $options);
+ list($response) = $this->getWatermarkWithHttpInfo($account_id);
return $response;
}
/**
- * Operation listBrandsWithHttpInfo
+ * Operation getWatermarkWithHttpInfo
+ *
+ * Get watermark information.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of \DocuSign\eSign\Model\Watermark, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function getWatermarkWithHttpInfo($account_id)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getWatermark');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/watermark";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'GET',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ '\DocuSign\eSign\Model\Watermark',
+ '/v2.1/accounts/{accountId}/watermark'
+ );
+
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\Watermark', $httpHeader), $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\Watermark', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation getWatermarkPreview
+ *
+ * Get watermark preview.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param \DocuSign\eSign\Model\Watermark $watermark (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return \DocuSign\eSign\Model\Watermark
+ */
+ public function getWatermarkPreview($account_id, $watermark = null)
+ {
+ list($response) = $this->getWatermarkPreviewWithHttpInfo($account_id, $watermark);
+ return $response;
+ }
+
+ /**
+ * Operation getWatermarkPreviewWithHttpInfo
+ *
+ * Get watermark preview.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param \DocuSign\eSign\Model\Watermark $watermark (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of \DocuSign\eSign\Model\Watermark, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function getWatermarkPreviewWithHttpInfo($account_id, $watermark = null)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getWatermarkPreview');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/watermark/preview";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+ // body params
+ $_tempBody = null;
+ if (isset($watermark)) {
+ $_tempBody = $watermark;
+ }
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'PUT',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ '\DocuSign\eSign\Model\Watermark',
+ '/v2.1/accounts/{accountId}/watermark/preview'
+ );
+
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\Watermark', $httpHeader), $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\Watermark', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation listBrands
+ *
+ * Gets a list of brand profiles.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param $options Options for modifying the behavior of the function. (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return \DocuSign\eSign\Model\BrandsResponse
+ */
+ public function listBrands($account_id, AccountsApi\ListBrandsOptions $options = null)
+ {
+ list($response) = $this->listBrandsWithHttpInfo($account_id, $options);
+ return $response;
+ }
+
+ /**
+ * Operation listBrandsWithHttpInfo
*
* Gets a list of brand profiles.
*
@@ -6788,6 +7199,319 @@ public function updatePermissionProfileWithHttpInfo($account_id, $permission_pro
}
}
+ /**
+ * Operation updateReportInProductRunResults
+ *
+ * Returns the result set from running the specified report
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param \DocuSign\eSign\Model\ReportInProductRunRequest $report_in_product_run_request (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return \DocuSign\eSign\Model\ReportInProductRunResponse
+ */
+ public function updateReportInProductRunResults($account_id, $report_in_product_run_request = null)
+ {
+ list($response) = $this->updateReportInProductRunResultsWithHttpInfo($account_id, $report_in_product_run_request);
+ return $response;
+ }
+
+ /**
+ * Operation updateReportInProductRunResultsWithHttpInfo
+ *
+ * Returns the result set from running the specified report
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param \DocuSign\eSign\Model\ReportInProductRunRequest $report_in_product_run_request (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of \DocuSign\eSign\Model\ReportInProductRunResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function updateReportInProductRunResultsWithHttpInfo($account_id, $report_in_product_run_request = null)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling updateReportInProductRunResults');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/reports/report_results";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+ // body params
+ $_tempBody = null;
+ if (isset($report_in_product_run_request)) {
+ $_tempBody = $report_in_product_run_request;
+ }
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'PUT',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ '\DocuSign\eSign\Model\ReportInProductRunResponse',
+ '/v2.1/accounts/{accountId}/reports/report_results'
+ );
+
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\ReportInProductRunResponse', $httpHeader), $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ReportInProductRunResponse', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation updateReportInProductSave
+ *
+ * Saves a customized report
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $id
+ * @param \DocuSign\eSign\Model\ReportInProductRunRequest $report_in_product_run_request (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return \DocuSign\eSign\Model\ReportInProductSaveResponse
+ */
+ public function updateReportInProductSave($account_id, $id, $report_in_product_run_request = null)
+ {
+ list($response) = $this->updateReportInProductSaveWithHttpInfo($account_id, $id, $report_in_product_run_request);
+ return $response;
+ }
+
+ /**
+ * Operation updateReportInProductSaveWithHttpInfo
+ *
+ * Saves a customized report
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $id
+ * @param \DocuSign\eSign\Model\ReportInProductRunRequest $report_in_product_run_request (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of \DocuSign\eSign\Model\ReportInProductSaveResponse, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function updateReportInProductSaveWithHttpInfo($account_id, $id, $report_in_product_run_request = null)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling updateReportInProductSave');
+ }
+ // verify the required parameter 'id' is set
+ if ($id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $id when calling updateReportInProductSave');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/reports/{id}";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // path params
+ if ($id !== null) {
+ $resourcePath = str_replace(
+ "{" . "id" . "}",
+ $this->apiClient->getSerializer()->toPathValue($id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+ // body params
+ $_tempBody = null;
+ if (isset($report_in_product_run_request)) {
+ $_tempBody = $report_in_product_run_request;
+ }
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'PUT',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ '\DocuSign\eSign\Model\ReportInProductSaveResponse',
+ '/v2.1/accounts/{accountId}/reports/{id}'
+ );
+
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\ReportInProductSaveResponse', $httpHeader), $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ReportInProductSaveResponse', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation updateReportResultsCsv
+ *
+ * Returns the specified report as a CSV string
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param \DocuSign\eSign\Model\ReportInProductCsvRunRequest $report_in_product_csv_run_request (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return void
+ */
+ public function updateReportResultsCsv($account_id, $report_in_product_csv_run_request = null)
+ {
+ list($response) = $this->updateReportResultsCsvWithHttpInfo($account_id, $report_in_product_csv_run_request);
+ return $response;
+ }
+
+ /**
+ * Operation updateReportResultsCsvWithHttpInfo
+ *
+ * Returns the specified report as a CSV string
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param \DocuSign\eSign\Model\ReportInProductCsvRunRequest $report_in_product_csv_run_request (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of null, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function updateReportResultsCsvWithHttpInfo($account_id, $report_in_product_csv_run_request = null)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling updateReportResultsCsv');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/reports/report_results_csv";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+ // body params
+ $_tempBody = null;
+ if (isset($report_in_product_csv_run_request)) {
+ $_tempBody = $report_in_product_csv_run_request;
+ }
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'PUT',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ null,
+ '/v2.1/accounts/{accountId}/reports/report_results_csv'
+ );
+
+ return [null, $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
/**
* Operation updateSettings
*
diff --git a/src/Api/BulkEnvelopesApi.php b/src/Api/BulkEnvelopesApi.php
index 333b891e..601a2c6f 100644
--- a/src/Api/BulkEnvelopesApi.php
+++ b/src/Api/BulkEnvelopesApi.php
@@ -55,31 +55,6 @@ public function setCount($count)
$this->count = $count;
return $this;
}
- /**
- * $include
- * @var string
- */
- protected $include;
-
- /**
- * Gets include
- * @return string
- */
- public function getInclude()
- {
- return $this->include;
- }
-
- /**
- * Sets include
- * @param string $include
- * @return $this
- */
- public function setInclude($include)
- {
- $this->include = $include;
- return $this;
- }
/**
* $start_position The position of the bulk envelope items in the response. This is used for repeated calls, when the number of bulk envelopes returned is too large for one return. The default value is 0.
* @var string
@@ -184,6 +159,109 @@ public function setStartPosition($start_position)
return $this;
}
}
+class GetBulkSendBatchesOptions
+{
+ /**
+ * $batch_ids
+ * @var string
+ */
+ protected $batch_ids;
+
+ /**
+ * Gets batch_ids
+ * @return string
+ */
+ public function getBatchIds()
+ {
+ return $this->batch_ids;
+ }
+
+ /**
+ * Sets batch_ids
+ * @param string $batch_ids
+ * @return $this
+ */
+ public function setBatchIds($batch_ids)
+ {
+ $this->batch_ids = $batch_ids;
+ return $this;
+ }
+ /**
+ * $count
+ * @var string
+ */
+ protected $count;
+
+ /**
+ * Gets count
+ * @return string
+ */
+ public function getCount()
+ {
+ return $this->count;
+ }
+
+ /**
+ * Sets count
+ * @param string $count
+ * @return $this
+ */
+ public function setCount($count)
+ {
+ $this->count = $count;
+ return $this;
+ }
+ /**
+ * $start_position
+ * @var string
+ */
+ protected $start_position;
+
+ /**
+ * Gets start_position
+ * @return string
+ */
+ public function getStartPosition()
+ {
+ return $this->start_position;
+ }
+
+ /**
+ * Sets start_position
+ * @param string $start_position
+ * @return $this
+ */
+ public function setStartPosition($start_position)
+ {
+ $this->start_position = $start_position;
+ return $this;
+ }
+ /**
+ * $status
+ * @var string
+ */
+ protected $status;
+
+ /**
+ * Gets status
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->status;
+ }
+
+ /**
+ * Sets status
+ * @param string $status
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->status = $status;
+ return $this;
+ }
+}
class GetRecipientsOptions
{
/**
@@ -352,10 +430,6 @@ public function callListWithHttpInfo($account_id, BulkEnvelopesApi\ListOptions $
$queryParams['count'] = $this->apiClient->getSerializer()->toQueryValue($options->getCount());
}
// query params
- if ($options->getInclude() !== null) {
- $queryParams['include'] = $this->apiClient->getSerializer()->toQueryValue($options->getInclude());
- }
- // query params
if ($options->getStartPosition() !== null) {
$queryParams['start_position'] = $this->apiClient->getSerializer()->toQueryValue($options->getStartPosition());
}
@@ -1099,6 +1173,230 @@ public function getWithHttpInfo($account_id, $batch_id, BulkEnvelopesApi\GetOpti
}
}
+ /**
+ * Operation getBulkSendBatchStatus
+ *
+ * Gets a specific bulk send batch status
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $bulk_send_batch_id
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return \DocuSign\eSign\Model\BulkSendBatchStatus
+ */
+ public function getBulkSendBatchStatus($account_id, $bulk_send_batch_id)
+ {
+ list($response) = $this->getBulkSendBatchStatusWithHttpInfo($account_id, $bulk_send_batch_id);
+ return $response;
+ }
+
+ /**
+ * Operation getBulkSendBatchStatusWithHttpInfo
+ *
+ * Gets a specific bulk send batch status
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $bulk_send_batch_id
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of \DocuSign\eSign\Model\BulkSendBatchStatus, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function getBulkSendBatchStatusWithHttpInfo($account_id, $bulk_send_batch_id)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getBulkSendBatchStatus');
+ }
+ // verify the required parameter 'bulk_send_batch_id' is set
+ if ($bulk_send_batch_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $bulk_send_batch_id when calling getBulkSendBatchStatus');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/bulk_send_batch/{bulkSendBatchId}";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // path params
+ if ($bulk_send_batch_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "bulkSendBatchId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($bulk_send_batch_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'GET',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ '\DocuSign\eSign\Model\BulkSendBatchStatus',
+ '/v2.1/accounts/{accountId}/bulk_send_batch/{bulkSendBatchId}'
+ );
+
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\BulkSendBatchStatus', $httpHeader), $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\BulkSendBatchStatus', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation getBulkSendBatches
+ *
+ * Returns a list of bulk send batch satuses initiated by account.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param $options Options for modifying the behavior of the function. (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return \DocuSign\eSign\Model\BulkSendBatchSummaries
+ */
+ public function getBulkSendBatches($account_id, BulkEnvelopesApi\GetBulkSendBatchesOptions $options = null)
+ {
+ list($response) = $this->getBulkSendBatchesWithHttpInfo($account_id, $options);
+ return $response;
+ }
+
+ /**
+ * Operation getBulkSendBatchesWithHttpInfo
+ *
+ * Returns a list of bulk send batch satuses initiated by account.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param $options Options for modifying the behavior of the function. (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of \DocuSign\eSign\Model\BulkSendBatchSummaries, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function getBulkSendBatchesWithHttpInfo($account_id, BulkEnvelopesApi\GetBulkSendBatchesOptions $options = null)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getBulkSendBatches');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/bulk_send_batch";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+ if ($options != null)
+ {
+ // query params
+ // query params
+ if ($options->getBatchIds() !== null) {
+ $queryParams['batch_ids'] = $this->apiClient->getSerializer()->toQueryValue($options->getBatchIds());
+ }
+ // query params
+ if ($options->getCount() !== null) {
+ $queryParams['count'] = $this->apiClient->getSerializer()->toQueryValue($options->getCount());
+ }
+ // query params
+ if ($options->getStartPosition() !== null) {
+ $queryParams['start_position'] = $this->apiClient->getSerializer()->toQueryValue($options->getStartPosition());
+ }
+ // query params
+ if ($options->getStatus() !== null) {
+ $queryParams['status'] = $this->apiClient->getSerializer()->toQueryValue($options->getStatus());
+ }
+ }
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'GET',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ '\DocuSign\eSign\Model\BulkSendBatchSummaries',
+ '/v2.1/accounts/{accountId}/bulk_send_batch'
+ );
+
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\BulkSendBatchSummaries', $httpHeader), $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\BulkSendBatchSummaries', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
/**
* Operation getBulkSendList
*
diff --git a/src/Api/EnvelopesApi.php b/src/Api/EnvelopesApi.php
index a6262bf0..1ce93f17 100644
--- a/src/Api/EnvelopesApi.php
+++ b/src/Api/EnvelopesApi.php
@@ -6607,6 +6607,110 @@ public function deleteEnvelopeTransferRulesWithHttpInfo($account_id, $envelope_t
}
}
+ /**
+ * Operation deleteEnvelopeWorkflowDefinition
+ *
+ * Delete the workflow definition for an envelope.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $envelope_id The envelopeId Guid of the envelope being accessed.
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return void
+ */
+ public function deleteEnvelopeWorkflowDefinition($account_id, $envelope_id)
+ {
+ list($response) = $this->deleteEnvelopeWorkflowDefinitionWithHttpInfo($account_id, $envelope_id);
+ return $response;
+ }
+
+ /**
+ * Operation deleteEnvelopeWorkflowDefinitionWithHttpInfo
+ *
+ * Delete the workflow definition for an envelope.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $envelope_id The envelopeId Guid of the envelope being accessed.
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of null, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function deleteEnvelopeWorkflowDefinitionWithHttpInfo($account_id, $envelope_id)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling deleteEnvelopeWorkflowDefinition');
+ }
+ // verify the required parameter 'envelope_id' is set
+ if ($envelope_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling deleteEnvelopeWorkflowDefinition');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // path params
+ if ($envelope_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "envelopeId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($envelope_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'DELETE',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ null,
+ '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow'
+ );
+
+ return [null, $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
/**
* Operation deleteLock
*
@@ -7081,6 +7185,110 @@ public function deleteTabsWithHttpInfo($account_id, $envelope_id, $recipient_id,
}
}
+ /**
+ * Operation deleteTemplateWorkflowDefinition
+ *
+ * Delete the workflow definition for a template.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $template_id The ID of the template being accessed.
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return void
+ */
+ public function deleteTemplateWorkflowDefinition($account_id, $template_id)
+ {
+ list($response) = $this->deleteTemplateWorkflowDefinitionWithHttpInfo($account_id, $template_id);
+ return $response;
+ }
+
+ /**
+ * Operation deleteTemplateWorkflowDefinitionWithHttpInfo
+ *
+ * Delete the workflow definition for a template.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $template_id The ID of the template being accessed.
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of null, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function deleteTemplateWorkflowDefinitionWithHttpInfo($account_id, $template_id)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling deleteTemplateWorkflowDefinition');
+ }
+ // verify the required parameter 'template_id' is set
+ if ($template_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $template_id when calling deleteTemplateWorkflowDefinition');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // path params
+ if ($template_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "templateId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($template_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'DELETE',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ null,
+ '/v2.1/accounts/{accountId}/templates/{templateId}/workflow'
+ );
+
+ return [null, $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
/**
* Operation deleteTemplatesFromDocument
*
@@ -8975,6 +9183,114 @@ public function getEnvelopeTransferRulesWithHttpInfo($account_id, EnvelopesApi\G
}
}
+ /**
+ * Operation getEnvelopeWorkflowDefinition
+ *
+ * Returns the workflow definition for an envelope.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $envelope_id The envelopeId Guid of the envelope being accessed.
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return \DocuSign\eSign\Model\Workflow
+ */
+ public function getEnvelopeWorkflowDefinition($account_id, $envelope_id)
+ {
+ list($response) = $this->getEnvelopeWorkflowDefinitionWithHttpInfo($account_id, $envelope_id);
+ return $response;
+ }
+
+ /**
+ * Operation getEnvelopeWorkflowDefinitionWithHttpInfo
+ *
+ * Returns the workflow definition for an envelope.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $envelope_id The envelopeId Guid of the envelope being accessed.
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of \DocuSign\eSign\Model\Workflow, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function getEnvelopeWorkflowDefinitionWithHttpInfo($account_id, $envelope_id)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getEnvelopeWorkflowDefinition');
+ }
+ // verify the required parameter 'envelope_id' is set
+ if ($envelope_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getEnvelopeWorkflowDefinition');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // path params
+ if ($envelope_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "envelopeId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($envelope_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'GET',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ '\DocuSign\eSign\Model\Workflow',
+ '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow'
+ );
+
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\Workflow', $httpHeader), $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\Workflow', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
/**
* Operation getFormData
*
@@ -10131,12 +10447,122 @@ public function getTabsBlobWithHttpInfo($account_id, $envelope_id)
if ($account_id === null) {
throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getTabsBlob');
}
- // verify the required parameter 'envelope_id' is set
- if ($envelope_id === null) {
- throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getTabsBlob');
+ // verify the required parameter 'envelope_id' is set
+ if ($envelope_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling getTabsBlob');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/tabs_blob";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // path params
+ if ($envelope_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "envelopeId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($envelope_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'GET',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ null,
+ '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/tabs_blob'
+ );
+
+ return [null, $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
+ /**
+ * Operation getTemplateRecipientDocumentVisibility
+ *
+ * Returns document visibility for the recipients
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $recipient_id The ID of the recipient being accessed.
+ * @param string $template_id The ID of the template being accessed.
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return \DocuSign\eSign\Model\DocumentVisibilityList
+ */
+ public function getTemplateRecipientDocumentVisibility($account_id, $recipient_id, $template_id)
+ {
+ list($response) = $this->getTemplateRecipientDocumentVisibilityWithHttpInfo($account_id, $recipient_id, $template_id);
+ return $response;
+ }
+
+ /**
+ * Operation getTemplateRecipientDocumentVisibilityWithHttpInfo
+ *
+ * Returns document visibility for the recipients
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $recipient_id The ID of the recipient being accessed.
+ * @param string $template_id The ID of the template being accessed.
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of \DocuSign\eSign\Model\DocumentVisibilityList, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function getTemplateRecipientDocumentVisibilityWithHttpInfo($account_id, $recipient_id, $template_id)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getTemplateRecipientDocumentVisibility');
+ }
+ // verify the required parameter 'recipient_id' is set
+ if ($recipient_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $recipient_id when calling getTemplateRecipientDocumentVisibility');
+ }
+ // verify the required parameter 'template_id' is set
+ if ($template_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $template_id when calling getTemplateRecipientDocumentVisibility');
}
// parse inputs
- $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/tabs_blob";
+ $resourcePath = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility";
$httpBody = '';
$queryParams = [];
$headerParams = [];
@@ -10157,10 +10583,18 @@ public function getTabsBlobWithHttpInfo($account_id, $envelope_id)
);
}
// path params
- if ($envelope_id !== null) {
+ if ($recipient_id !== null) {
$resourcePath = str_replace(
- "{" . "envelopeId" . "}",
- $this->apiClient->getSerializer()->toPathValue($envelope_id),
+ "{" . "recipientId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($recipient_id),
+ $resourcePath
+ );
+ }
+ // path params
+ if ($template_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "templateId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($template_id),
$resourcePath
);
}
@@ -10186,13 +10620,17 @@ public function getTabsBlobWithHttpInfo($account_id, $envelope_id)
$queryParams,
$httpBody,
$headerParams,
- null,
- '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/tabs_blob'
+ '\DocuSign\eSign\Model\DocumentVisibilityList',
+ '/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility'
);
- return [null, $statusCode, $httpHeader];
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\DocumentVisibilityList', $httpHeader), $statusCode, $httpHeader];
} catch (ApiException $e) {
switch ($e->getCode()) {
+ case 200:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\DocumentVisibilityList', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
case 400:
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
$e->setResponseObject($data);
@@ -10204,49 +10642,43 @@ public function getTabsBlobWithHttpInfo($account_id, $envelope_id)
}
/**
- * Operation getTemplateRecipientDocumentVisibility
+ * Operation getTemplateWorkflowDefinition
*
- * Returns document visibility for the recipients
+ * Returns the workflow definition for a template.
*
* @param string $account_id The external account number (int) or account ID Guid.
- * @param string $recipient_id The ID of the recipient being accessed.
* @param string $template_id The ID of the template being accessed.
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
- * @return \DocuSign\eSign\Model\DocumentVisibilityList
+ * @return \DocuSign\eSign\Model\Workflow
*/
- public function getTemplateRecipientDocumentVisibility($account_id, $recipient_id, $template_id)
+ public function getTemplateWorkflowDefinition($account_id, $template_id)
{
- list($response) = $this->getTemplateRecipientDocumentVisibilityWithHttpInfo($account_id, $recipient_id, $template_id);
+ list($response) = $this->getTemplateWorkflowDefinitionWithHttpInfo($account_id, $template_id);
return $response;
}
/**
- * Operation getTemplateRecipientDocumentVisibilityWithHttpInfo
+ * Operation getTemplateWorkflowDefinitionWithHttpInfo
*
- * Returns document visibility for the recipients
+ * Returns the workflow definition for a template.
*
* @param string $account_id The external account number (int) or account ID Guid.
- * @param string $recipient_id The ID of the recipient being accessed.
* @param string $template_id The ID of the template being accessed.
* @throws \DocuSign\eSign\Client\ApiException on non-2xx response
- * @return array of \DocuSign\eSign\Model\DocumentVisibilityList, HTTP status code, HTTP response headers (array of strings)
+ * @return array of \DocuSign\eSign\Model\Workflow, HTTP status code, HTTP response headers (array of strings)
*/
- public function getTemplateRecipientDocumentVisibilityWithHttpInfo($account_id, $recipient_id, $template_id)
+ public function getTemplateWorkflowDefinitionWithHttpInfo($account_id, $template_id)
{
// verify the required parameter 'account_id' is set
if ($account_id === null) {
- throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getTemplateRecipientDocumentVisibility');
- }
- // verify the required parameter 'recipient_id' is set
- if ($recipient_id === null) {
- throw new \InvalidArgumentException('Missing the required parameter $recipient_id when calling getTemplateRecipientDocumentVisibility');
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling getTemplateWorkflowDefinition');
}
// verify the required parameter 'template_id' is set
if ($template_id === null) {
- throw new \InvalidArgumentException('Missing the required parameter $template_id when calling getTemplateRecipientDocumentVisibility');
+ throw new \InvalidArgumentException('Missing the required parameter $template_id when calling getTemplateWorkflowDefinition');
}
// parse inputs
- $resourcePath = "/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility";
+ $resourcePath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow";
$httpBody = '';
$queryParams = [];
$headerParams = [];
@@ -10267,14 +10699,6 @@ public function getTemplateRecipientDocumentVisibilityWithHttpInfo($account_id,
);
}
// path params
- if ($recipient_id !== null) {
- $resourcePath = str_replace(
- "{" . "recipientId" . "}",
- $this->apiClient->getSerializer()->toPathValue($recipient_id),
- $resourcePath
- );
- }
- // path params
if ($template_id !== null) {
$resourcePath = str_replace(
"{" . "templateId" . "}",
@@ -10304,15 +10728,15 @@ public function getTemplateRecipientDocumentVisibilityWithHttpInfo($account_id,
$queryParams,
$httpBody,
$headerParams,
- '\DocuSign\eSign\Model\DocumentVisibilityList',
- '/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/document_visibility'
+ '\DocuSign\eSign\Model\Workflow',
+ '/v2.1/accounts/{accountId}/templates/{templateId}/workflow'
);
- return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\DocumentVisibilityList', $httpHeader), $statusCode, $httpHeader];
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\Workflow', $httpHeader), $statusCode, $httpHeader];
} catch (ApiException $e) {
switch ($e->getCode()) {
case 200:
- $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\DocumentVisibilityList', $e->getResponseHeaders());
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\Workflow', $e->getResponseHeaders());
$e->setResponseObject($data);
break;
case 400:
@@ -13392,6 +13816,121 @@ public function updateEnvelopeTransferRulesWithHttpInfo($account_id, $envelope_t
}
}
+ /**
+ * Operation updateEnvelopeWorkflowDefinition
+ *
+ * Updates the envelope workflow definition for an envelope.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $envelope_id The envelopeId Guid of the envelope being accessed.
+ * @param \DocuSign\eSign\Model\Workflow $workflow (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return \DocuSign\eSign\Model\Workflow
+ */
+ public function updateEnvelopeWorkflowDefinition($account_id, $envelope_id, $workflow = null)
+ {
+ list($response) = $this->updateEnvelopeWorkflowDefinitionWithHttpInfo($account_id, $envelope_id, $workflow);
+ return $response;
+ }
+
+ /**
+ * Operation updateEnvelopeWorkflowDefinitionWithHttpInfo
+ *
+ * Updates the envelope workflow definition for an envelope.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $envelope_id The envelopeId Guid of the envelope being accessed.
+ * @param \DocuSign\eSign\Model\Workflow $workflow (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of \DocuSign\eSign\Model\Workflow, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function updateEnvelopeWorkflowDefinitionWithHttpInfo($account_id, $envelope_id, $workflow = null)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling updateEnvelopeWorkflowDefinition');
+ }
+ // verify the required parameter 'envelope_id' is set
+ if ($envelope_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $envelope_id when calling updateEnvelopeWorkflowDefinition');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // path params
+ if ($envelope_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "envelopeId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($envelope_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+ // body params
+ $_tempBody = null;
+ if (isset($workflow)) {
+ $_tempBody = $workflow;
+ }
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'PUT',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ '\DocuSign\eSign\Model\Workflow',
+ '/v2.1/accounts/{accountId}/envelopes/{envelopeId}/workflow'
+ );
+
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\Workflow', $httpHeader), $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\Workflow', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
+
/**
* Operation updateLock
*
@@ -14711,4 +15250,119 @@ public function updateTemplateRecipientsDocumentVisibilityWithHttpInfo($account_
throw $e;
}
}
+
+ /**
+ * Operation updateTemplateWorkflowDefinition
+ *
+ * Updates the workflow definition for a template.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $template_id The ID of the template being accessed.
+ * @param \DocuSign\eSign\Model\Workflow $workflow (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return \DocuSign\eSign\Model\Workflow
+ */
+ public function updateTemplateWorkflowDefinition($account_id, $template_id, $workflow = null)
+ {
+ list($response) = $this->updateTemplateWorkflowDefinitionWithHttpInfo($account_id, $template_id, $workflow);
+ return $response;
+ }
+
+ /**
+ * Operation updateTemplateWorkflowDefinitionWithHttpInfo
+ *
+ * Updates the workflow definition for a template.
+ *
+ * @param string $account_id The external account number (int) or account ID Guid.
+ * @param string $template_id The ID of the template being accessed.
+ * @param \DocuSign\eSign\Model\Workflow $workflow (optional)
+ * @throws \DocuSign\eSign\Client\ApiException on non-2xx response
+ * @return array of \DocuSign\eSign\Model\Workflow, HTTP status code, HTTP response headers (array of strings)
+ */
+ public function updateTemplateWorkflowDefinitionWithHttpInfo($account_id, $template_id, $workflow = null)
+ {
+ // verify the required parameter 'account_id' is set
+ if ($account_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $account_id when calling updateTemplateWorkflowDefinition');
+ }
+ // verify the required parameter 'template_id' is set
+ if ($template_id === null) {
+ throw new \InvalidArgumentException('Missing the required parameter $template_id when calling updateTemplateWorkflowDefinition');
+ }
+ // parse inputs
+ $resourcePath = "/v2.1/accounts/{accountId}/templates/{templateId}/workflow";
+ $httpBody = '';
+ $queryParams = [];
+ $headerParams = [];
+ $formParams = [];
+ $_header_accept = $this->apiClient->selectHeaderAccept(['application/json']);
+ if (!is_null($_header_accept)) {
+ $headerParams['Accept'] = $_header_accept;
+ }
+ $headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType([]);
+
+
+ // path params
+ if ($account_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "accountId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($account_id),
+ $resourcePath
+ );
+ }
+ // path params
+ if ($template_id !== null) {
+ $resourcePath = str_replace(
+ "{" . "templateId" . "}",
+ $this->apiClient->getSerializer()->toPathValue($template_id),
+ $resourcePath
+ );
+ }
+ // default format to json
+ $resourcePath = str_replace("{format}", "json", $resourcePath);
+
+ // body params
+ $_tempBody = null;
+ if (isset($workflow)) {
+ $_tempBody = $workflow;
+ }
+
+ // for model (json/xml)
+ if (isset($_tempBody)) {
+ $httpBody = $_tempBody; // $_tempBody is the method argument, if present
+ } elseif (count($formParams) > 0) {
+ $httpBody = $formParams; // for HTTP post (form)
+ }
+ // this endpoint requires OAuth (access token)
+ if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
+ $headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
+ }
+ // make the API Call
+ try {
+ list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
+ $resourcePath,
+ 'PUT',
+ $queryParams,
+ $httpBody,
+ $headerParams,
+ '\DocuSign\eSign\Model\Workflow',
+ '/v2.1/accounts/{accountId}/templates/{templateId}/workflow'
+ );
+
+ return [$this->apiClient->getSerializer()->deserialize($response, '\DocuSign\eSign\Model\Workflow', $httpHeader), $statusCode, $httpHeader];
+ } catch (ApiException $e) {
+ switch ($e->getCode()) {
+ case 200:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\Workflow', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ case 400:
+ $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\DocuSign\eSign\Model\ErrorDetails', $e->getResponseHeaders());
+ $e->setResponseObject($data);
+ break;
+ }
+
+ throw $e;
+ }
+ }
}
diff --git a/src/Model/AccountSettingsInformation.php b/src/Model/AccountSettingsInformation.php
index 99b80fa6..6f18a0e1 100644
--- a/src/Model/AccountSettingsInformation.php
+++ b/src/Model/AccountSettingsInformation.php
@@ -92,6 +92,7 @@ class AccountSettingsInformation implements ModelInterface, ArrayAccess
'allow_connect_http_listener_configs' => 'string',
'allow_connect_send_finish_later' => 'string',
'allow_connect_send_finish_later_metadata' => '\DocuSign\eSign\Model\SettingsMetadata',
+ 'allow_connect_unified_payload_ui' => 'string',
'allow_consumer_disclosure_override' => 'string',
'allow_consumer_disclosure_override_metadata' => '\DocuSign\eSign\Model\SettingsMetadata',
'allow_data_download' => 'string',
@@ -614,6 +615,7 @@ class AccountSettingsInformation implements ModelInterface, ArrayAccess
'allow_connect_http_listener_configs' => null,
'allow_connect_send_finish_later' => null,
'allow_connect_send_finish_later_metadata' => null,
+ 'allow_connect_unified_payload_ui' => null,
'allow_consumer_disclosure_override' => null,
'allow_consumer_disclosure_override_metadata' => null,
'allow_data_download' => null,
@@ -1157,6 +1159,7 @@ public static function swaggerFormats()
'allow_connect_http_listener_configs' => 'allowConnectHttpListenerConfigs',
'allow_connect_send_finish_later' => 'allowConnectSendFinishLater',
'allow_connect_send_finish_later_metadata' => 'allowConnectSendFinishLaterMetadata',
+ 'allow_connect_unified_payload_ui' => 'allowConnectUnifiedPayloadUI',
'allow_consumer_disclosure_override' => 'allowConsumerDisclosureOverride',
'allow_consumer_disclosure_override_metadata' => 'allowConsumerDisclosureOverrideMetadata',
'allow_data_download' => 'allowDataDownload',
@@ -1679,6 +1682,7 @@ public static function swaggerFormats()
'allow_connect_http_listener_configs' => 'setAllowConnectHttpListenerConfigs',
'allow_connect_send_finish_later' => 'setAllowConnectSendFinishLater',
'allow_connect_send_finish_later_metadata' => 'setAllowConnectSendFinishLaterMetadata',
+ 'allow_connect_unified_payload_ui' => 'setAllowConnectUnifiedPayloadUi',
'allow_consumer_disclosure_override' => 'setAllowConsumerDisclosureOverride',
'allow_consumer_disclosure_override_metadata' => 'setAllowConsumerDisclosureOverrideMetadata',
'allow_data_download' => 'setAllowDataDownload',
@@ -2201,6 +2205,7 @@ public static function swaggerFormats()
'allow_connect_http_listener_configs' => 'getAllowConnectHttpListenerConfigs',
'allow_connect_send_finish_later' => 'getAllowConnectSendFinishLater',
'allow_connect_send_finish_later_metadata' => 'getAllowConnectSendFinishLaterMetadata',
+ 'allow_connect_unified_payload_ui' => 'getAllowConnectUnifiedPayloadUi',
'allow_consumer_disclosure_override' => 'getAllowConsumerDisclosureOverride',
'allow_consumer_disclosure_override_metadata' => 'getAllowConsumerDisclosureOverrideMetadata',
'allow_data_download' => 'getAllowDataDownload',
@@ -2777,6 +2782,7 @@ public function __construct(array $data = null)
$this->container['allow_connect_http_listener_configs'] = isset($data['allow_connect_http_listener_configs']) ? $data['allow_connect_http_listener_configs'] : null;
$this->container['allow_connect_send_finish_later'] = isset($data['allow_connect_send_finish_later']) ? $data['allow_connect_send_finish_later'] : null;
$this->container['allow_connect_send_finish_later_metadata'] = isset($data['allow_connect_send_finish_later_metadata']) ? $data['allow_connect_send_finish_later_metadata'] : null;
+ $this->container['allow_connect_unified_payload_ui'] = isset($data['allow_connect_unified_payload_ui']) ? $data['allow_connect_unified_payload_ui'] : null;
$this->container['allow_consumer_disclosure_override'] = isset($data['allow_consumer_disclosure_override']) ? $data['allow_consumer_disclosure_override'] : null;
$this->container['allow_consumer_disclosure_override_metadata'] = isset($data['allow_consumer_disclosure_override_metadata']) ? $data['allow_consumer_disclosure_override_metadata'] : null;
$this->container['allow_data_download'] = isset($data['allow_data_download']) ? $data['allow_data_download'] : null;
@@ -4099,6 +4105,30 @@ public function setAllowConnectSendFinishLaterMetadata($allow_connect_send_finis
return $this;
}
+ /**
+ * Gets allow_connect_unified_payload_ui
+ *
+ * @return string
+ */
+ public function getAllowConnectUnifiedPayloadUi()
+ {
+ return $this->container['allow_connect_unified_payload_ui'];
+ }
+
+ /**
+ * Sets allow_connect_unified_payload_ui
+ *
+ * @param string $allow_connect_unified_payload_ui
+ *
+ * @return $this
+ */
+ public function setAllowConnectUnifiedPayloadUi($allow_connect_unified_payload_ui)
+ {
+ $this->container['allow_connect_unified_payload_ui'] = $allow_connect_unified_payload_ui;
+
+ return $this;
+ }
+
/**
* Gets allow_consumer_disclosure_override
*
diff --git a/src/Model/BulkSendBatchStatus.php b/src/Model/BulkSendBatchStatus.php
new file mode 100644
index 00000000..c0314ddb
--- /dev/null
+++ b/src/Model/BulkSendBatchStatus.php
@@ -0,0 +1,600 @@
+ 'string',
+ 'batch_name' => 'string',
+ 'batch_size' => 'string',
+ 'bulk_errors' => '\DocuSign\eSign\Model\BulkSendErrorStatus[]',
+ 'envelope_id_or_template_id' => 'string',
+ 'envelopes_uri' => 'string',
+ 'failed' => 'string',
+ 'mailing_list_id' => 'string',
+ 'queued' => 'string',
+ 'sent' => 'string',
+ 'submitted_date' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'batch_id' => null,
+ 'batch_name' => null,
+ 'batch_size' => null,
+ 'bulk_errors' => null,
+ 'envelope_id_or_template_id' => null,
+ 'envelopes_uri' => null,
+ 'failed' => null,
+ 'mailing_list_id' => null,
+ 'queued' => null,
+ 'sent' => null,
+ 'submitted_date' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'batch_id' => 'batchId',
+ 'batch_name' => 'batchName',
+ 'batch_size' => 'batchSize',
+ 'bulk_errors' => 'bulkErrors',
+ 'envelope_id_or_template_id' => 'envelopeIdOrTemplateId',
+ 'envelopes_uri' => 'envelopesUri',
+ 'failed' => 'failed',
+ 'mailing_list_id' => 'mailingListId',
+ 'queued' => 'queued',
+ 'sent' => 'sent',
+ 'submitted_date' => 'submittedDate'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'batch_id' => 'setBatchId',
+ 'batch_name' => 'setBatchName',
+ 'batch_size' => 'setBatchSize',
+ 'bulk_errors' => 'setBulkErrors',
+ 'envelope_id_or_template_id' => 'setEnvelopeIdOrTemplateId',
+ 'envelopes_uri' => 'setEnvelopesUri',
+ 'failed' => 'setFailed',
+ 'mailing_list_id' => 'setMailingListId',
+ 'queued' => 'setQueued',
+ 'sent' => 'setSent',
+ 'submitted_date' => 'setSubmittedDate'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'batch_id' => 'getBatchId',
+ 'batch_name' => 'getBatchName',
+ 'batch_size' => 'getBatchSize',
+ 'bulk_errors' => 'getBulkErrors',
+ 'envelope_id_or_template_id' => 'getEnvelopeIdOrTemplateId',
+ 'envelopes_uri' => 'getEnvelopesUri',
+ 'failed' => 'getFailed',
+ 'mailing_list_id' => 'getMailingListId',
+ 'queued' => 'getQueued',
+ 'sent' => 'getSent',
+ 'submitted_date' => 'getSubmittedDate'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['batch_id'] = isset($data['batch_id']) ? $data['batch_id'] : null;
+ $this->container['batch_name'] = isset($data['batch_name']) ? $data['batch_name'] : null;
+ $this->container['batch_size'] = isset($data['batch_size']) ? $data['batch_size'] : null;
+ $this->container['bulk_errors'] = isset($data['bulk_errors']) ? $data['bulk_errors'] : null;
+ $this->container['envelope_id_or_template_id'] = isset($data['envelope_id_or_template_id']) ? $data['envelope_id_or_template_id'] : null;
+ $this->container['envelopes_uri'] = isset($data['envelopes_uri']) ? $data['envelopes_uri'] : null;
+ $this->container['failed'] = isset($data['failed']) ? $data['failed'] : null;
+ $this->container['mailing_list_id'] = isset($data['mailing_list_id']) ? $data['mailing_list_id'] : null;
+ $this->container['queued'] = isset($data['queued']) ? $data['queued'] : null;
+ $this->container['sent'] = isset($data['sent']) ? $data['sent'] : null;
+ $this->container['submitted_date'] = isset($data['submitted_date']) ? $data['submitted_date'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets batch_id
+ *
+ * @return string
+ */
+ public function getBatchId()
+ {
+ return $this->container['batch_id'];
+ }
+
+ /**
+ * Sets batch_id
+ *
+ * @param string $batch_id
+ *
+ * @return $this
+ */
+ public function setBatchId($batch_id)
+ {
+ $this->container['batch_id'] = $batch_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets batch_name
+ *
+ * @return string
+ */
+ public function getBatchName()
+ {
+ return $this->container['batch_name'];
+ }
+
+ /**
+ * Sets batch_name
+ *
+ * @param string $batch_name
+ *
+ * @return $this
+ */
+ public function setBatchName($batch_name)
+ {
+ $this->container['batch_name'] = $batch_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets batch_size
+ *
+ * @return string
+ */
+ public function getBatchSize()
+ {
+ return $this->container['batch_size'];
+ }
+
+ /**
+ * Sets batch_size
+ *
+ * @param string $batch_size
+ *
+ * @return $this
+ */
+ public function setBatchSize($batch_size)
+ {
+ $this->container['batch_size'] = $batch_size;
+
+ return $this;
+ }
+
+ /**
+ * Gets bulk_errors
+ *
+ * @return \DocuSign\eSign\Model\BulkSendErrorStatus[]
+ */
+ public function getBulkErrors()
+ {
+ return $this->container['bulk_errors'];
+ }
+
+ /**
+ * Sets bulk_errors
+ *
+ * @param \DocuSign\eSign\Model\BulkSendErrorStatus[] $bulk_errors
+ *
+ * @return $this
+ */
+ public function setBulkErrors($bulk_errors)
+ {
+ $this->container['bulk_errors'] = $bulk_errors;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_id_or_template_id
+ *
+ * @return string
+ */
+ public function getEnvelopeIdOrTemplateId()
+ {
+ return $this->container['envelope_id_or_template_id'];
+ }
+
+ /**
+ * Sets envelope_id_or_template_id
+ *
+ * @param string $envelope_id_or_template_id
+ *
+ * @return $this
+ */
+ public function setEnvelopeIdOrTemplateId($envelope_id_or_template_id)
+ {
+ $this->container['envelope_id_or_template_id'] = $envelope_id_or_template_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelopes_uri
+ *
+ * @return string
+ */
+ public function getEnvelopesUri()
+ {
+ return $this->container['envelopes_uri'];
+ }
+
+ /**
+ * Sets envelopes_uri
+ *
+ * @param string $envelopes_uri
+ *
+ * @return $this
+ */
+ public function setEnvelopesUri($envelopes_uri)
+ {
+ $this->container['envelopes_uri'] = $envelopes_uri;
+
+ return $this;
+ }
+
+ /**
+ * Gets failed
+ *
+ * @return string
+ */
+ public function getFailed()
+ {
+ return $this->container['failed'];
+ }
+
+ /**
+ * Sets failed
+ *
+ * @param string $failed
+ *
+ * @return $this
+ */
+ public function setFailed($failed)
+ {
+ $this->container['failed'] = $failed;
+
+ return $this;
+ }
+
+ /**
+ * Gets mailing_list_id
+ *
+ * @return string
+ */
+ public function getMailingListId()
+ {
+ return $this->container['mailing_list_id'];
+ }
+
+ /**
+ * Sets mailing_list_id
+ *
+ * @param string $mailing_list_id
+ *
+ * @return $this
+ */
+ public function setMailingListId($mailing_list_id)
+ {
+ $this->container['mailing_list_id'] = $mailing_list_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets queued
+ *
+ * @return string
+ */
+ public function getQueued()
+ {
+ return $this->container['queued'];
+ }
+
+ /**
+ * Sets queued
+ *
+ * @param string $queued
+ *
+ * @return $this
+ */
+ public function setQueued($queued)
+ {
+ $this->container['queued'] = $queued;
+
+ return $this;
+ }
+
+ /**
+ * Gets sent
+ *
+ * @return string
+ */
+ public function getSent()
+ {
+ return $this->container['sent'];
+ }
+
+ /**
+ * Sets sent
+ *
+ * @param string $sent
+ *
+ * @return $this
+ */
+ public function setSent($sent)
+ {
+ $this->container['sent'] = $sent;
+
+ return $this;
+ }
+
+ /**
+ * Gets submitted_date
+ *
+ * @return string
+ */
+ public function getSubmittedDate()
+ {
+ return $this->container['submitted_date'];
+ }
+
+ /**
+ * Sets submitted_date
+ *
+ * @param string $submitted_date
+ *
+ * @return $this
+ */
+ public function setSubmittedDate($submitted_date)
+ {
+ $this->container['submitted_date'] = $submitted_date;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/BulkSendBatchSummaries.php b/src/Model/BulkSendBatchSummaries.php
new file mode 100644
index 00000000..0a725faf
--- /dev/null
+++ b/src/Model/BulkSendBatchSummaries.php
@@ -0,0 +1,570 @@
+ 'string',
+ 'bulk_batch_summaries' => '\DocuSign\eSign\Model\BulkSendBatchSummary[]',
+ 'end_position' => 'string',
+ 'next_uri' => 'string',
+ 'previous_uri' => 'string',
+ 'queue_limit' => 'string',
+ 'result_set_size' => 'string',
+ 'start_position' => 'string',
+ 'total_queued' => 'string',
+ 'total_set_size' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'batch_size_limit' => null,
+ 'bulk_batch_summaries' => null,
+ 'end_position' => null,
+ 'next_uri' => null,
+ 'previous_uri' => null,
+ 'queue_limit' => null,
+ 'result_set_size' => null,
+ 'start_position' => null,
+ 'total_queued' => null,
+ 'total_set_size' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'batch_size_limit' => 'batchSizeLimit',
+ 'bulk_batch_summaries' => 'bulkBatchSummaries',
+ 'end_position' => 'endPosition',
+ 'next_uri' => 'nextUri',
+ 'previous_uri' => 'previousUri',
+ 'queue_limit' => 'queueLimit',
+ 'result_set_size' => 'resultSetSize',
+ 'start_position' => 'startPosition',
+ 'total_queued' => 'totalQueued',
+ 'total_set_size' => 'totalSetSize'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'batch_size_limit' => 'setBatchSizeLimit',
+ 'bulk_batch_summaries' => 'setBulkBatchSummaries',
+ 'end_position' => 'setEndPosition',
+ 'next_uri' => 'setNextUri',
+ 'previous_uri' => 'setPreviousUri',
+ 'queue_limit' => 'setQueueLimit',
+ 'result_set_size' => 'setResultSetSize',
+ 'start_position' => 'setStartPosition',
+ 'total_queued' => 'setTotalQueued',
+ 'total_set_size' => 'setTotalSetSize'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'batch_size_limit' => 'getBatchSizeLimit',
+ 'bulk_batch_summaries' => 'getBulkBatchSummaries',
+ 'end_position' => 'getEndPosition',
+ 'next_uri' => 'getNextUri',
+ 'previous_uri' => 'getPreviousUri',
+ 'queue_limit' => 'getQueueLimit',
+ 'result_set_size' => 'getResultSetSize',
+ 'start_position' => 'getStartPosition',
+ 'total_queued' => 'getTotalQueued',
+ 'total_set_size' => 'getTotalSetSize'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['batch_size_limit'] = isset($data['batch_size_limit']) ? $data['batch_size_limit'] : null;
+ $this->container['bulk_batch_summaries'] = isset($data['bulk_batch_summaries']) ? $data['bulk_batch_summaries'] : null;
+ $this->container['end_position'] = isset($data['end_position']) ? $data['end_position'] : null;
+ $this->container['next_uri'] = isset($data['next_uri']) ? $data['next_uri'] : null;
+ $this->container['previous_uri'] = isset($data['previous_uri']) ? $data['previous_uri'] : null;
+ $this->container['queue_limit'] = isset($data['queue_limit']) ? $data['queue_limit'] : null;
+ $this->container['result_set_size'] = isset($data['result_set_size']) ? $data['result_set_size'] : null;
+ $this->container['start_position'] = isset($data['start_position']) ? $data['start_position'] : null;
+ $this->container['total_queued'] = isset($data['total_queued']) ? $data['total_queued'] : null;
+ $this->container['total_set_size'] = isset($data['total_set_size']) ? $data['total_set_size'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets batch_size_limit
+ *
+ * @return string
+ */
+ public function getBatchSizeLimit()
+ {
+ return $this->container['batch_size_limit'];
+ }
+
+ /**
+ * Sets batch_size_limit
+ *
+ * @param string $batch_size_limit
+ *
+ * @return $this
+ */
+ public function setBatchSizeLimit($batch_size_limit)
+ {
+ $this->container['batch_size_limit'] = $batch_size_limit;
+
+ return $this;
+ }
+
+ /**
+ * Gets bulk_batch_summaries
+ *
+ * @return \DocuSign\eSign\Model\BulkSendBatchSummary[]
+ */
+ public function getBulkBatchSummaries()
+ {
+ return $this->container['bulk_batch_summaries'];
+ }
+
+ /**
+ * Sets bulk_batch_summaries
+ *
+ * @param \DocuSign\eSign\Model\BulkSendBatchSummary[] $bulk_batch_summaries
+ *
+ * @return $this
+ */
+ public function setBulkBatchSummaries($bulk_batch_summaries)
+ {
+ $this->container['bulk_batch_summaries'] = $bulk_batch_summaries;
+
+ return $this;
+ }
+
+ /**
+ * Gets end_position
+ *
+ * @return string
+ */
+ public function getEndPosition()
+ {
+ return $this->container['end_position'];
+ }
+
+ /**
+ * Sets end_position
+ *
+ * @param string $end_position The last position in the result set.
+ *
+ * @return $this
+ */
+ public function setEndPosition($end_position)
+ {
+ $this->container['end_position'] = $end_position;
+
+ return $this;
+ }
+
+ /**
+ * Gets next_uri
+ *
+ * @return string
+ */
+ public function getNextUri()
+ {
+ return $this->container['next_uri'];
+ }
+
+ /**
+ * Sets next_uri
+ *
+ * @param string $next_uri The URI to the next chunk of records based on the search request. If the endPosition is the entire results of the search, this is null.
+ *
+ * @return $this
+ */
+ public function setNextUri($next_uri)
+ {
+ $this->container['next_uri'] = $next_uri;
+
+ return $this;
+ }
+
+ /**
+ * Gets previous_uri
+ *
+ * @return string
+ */
+ public function getPreviousUri()
+ {
+ return $this->container['previous_uri'];
+ }
+
+ /**
+ * Sets previous_uri
+ *
+ * @param string $previous_uri The postal code for the billing address.
+ *
+ * @return $this
+ */
+ public function setPreviousUri($previous_uri)
+ {
+ $this->container['previous_uri'] = $previous_uri;
+
+ return $this;
+ }
+
+ /**
+ * Gets queue_limit
+ *
+ * @return string
+ */
+ public function getQueueLimit()
+ {
+ return $this->container['queue_limit'];
+ }
+
+ /**
+ * Sets queue_limit
+ *
+ * @param string $queue_limit
+ *
+ * @return $this
+ */
+ public function setQueueLimit($queue_limit)
+ {
+ $this->container['queue_limit'] = $queue_limit;
+
+ return $this;
+ }
+
+ /**
+ * Gets result_set_size
+ *
+ * @return string
+ */
+ public function getResultSetSize()
+ {
+ return $this->container['result_set_size'];
+ }
+
+ /**
+ * Sets result_set_size
+ *
+ * @param string $result_set_size The number of results returned in this response.
+ *
+ * @return $this
+ */
+ public function setResultSetSize($result_set_size)
+ {
+ $this->container['result_set_size'] = $result_set_size;
+
+ return $this;
+ }
+
+ /**
+ * Gets start_position
+ *
+ * @return string
+ */
+ public function getStartPosition()
+ {
+ return $this->container['start_position'];
+ }
+
+ /**
+ * Sets start_position
+ *
+ * @param string $start_position Starting position of the current result set.
+ *
+ * @return $this
+ */
+ public function setStartPosition($start_position)
+ {
+ $this->container['start_position'] = $start_position;
+
+ return $this;
+ }
+
+ /**
+ * Gets total_queued
+ *
+ * @return string
+ */
+ public function getTotalQueued()
+ {
+ return $this->container['total_queued'];
+ }
+
+ /**
+ * Sets total_queued
+ *
+ * @param string $total_queued
+ *
+ * @return $this
+ */
+ public function setTotalQueued($total_queued)
+ {
+ $this->container['total_queued'] = $total_queued;
+
+ return $this;
+ }
+
+ /**
+ * Gets total_set_size
+ *
+ * @return string
+ */
+ public function getTotalSetSize()
+ {
+ return $this->container['total_set_size'];
+ }
+
+ /**
+ * Sets total_set_size
+ *
+ * @param string $total_set_size The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.
+ *
+ * @return $this
+ */
+ public function setTotalSetSize($total_set_size)
+ {
+ $this->container['total_set_size'] = $total_set_size;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/BulkSendBatchSummary.php b/src/Model/BulkSendBatchSummary.php
new file mode 100644
index 00000000..a511ff41
--- /dev/null
+++ b/src/Model/BulkSendBatchSummary.php
@@ -0,0 +1,510 @@
+ 'string',
+ 'batch_name' => 'string',
+ 'batch_size' => 'string',
+ 'batch_uri' => 'string',
+ 'failed' => 'string',
+ 'queued' => 'string',
+ 'sent' => 'string',
+ 'submitted_date' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'batch_id' => null,
+ 'batch_name' => null,
+ 'batch_size' => null,
+ 'batch_uri' => null,
+ 'failed' => null,
+ 'queued' => null,
+ 'sent' => null,
+ 'submitted_date' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'batch_id' => 'batchId',
+ 'batch_name' => 'batchName',
+ 'batch_size' => 'batchSize',
+ 'batch_uri' => 'batchUri',
+ 'failed' => 'failed',
+ 'queued' => 'queued',
+ 'sent' => 'sent',
+ 'submitted_date' => 'submittedDate'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'batch_id' => 'setBatchId',
+ 'batch_name' => 'setBatchName',
+ 'batch_size' => 'setBatchSize',
+ 'batch_uri' => 'setBatchUri',
+ 'failed' => 'setFailed',
+ 'queued' => 'setQueued',
+ 'sent' => 'setSent',
+ 'submitted_date' => 'setSubmittedDate'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'batch_id' => 'getBatchId',
+ 'batch_name' => 'getBatchName',
+ 'batch_size' => 'getBatchSize',
+ 'batch_uri' => 'getBatchUri',
+ 'failed' => 'getFailed',
+ 'queued' => 'getQueued',
+ 'sent' => 'getSent',
+ 'submitted_date' => 'getSubmittedDate'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['batch_id'] = isset($data['batch_id']) ? $data['batch_id'] : null;
+ $this->container['batch_name'] = isset($data['batch_name']) ? $data['batch_name'] : null;
+ $this->container['batch_size'] = isset($data['batch_size']) ? $data['batch_size'] : null;
+ $this->container['batch_uri'] = isset($data['batch_uri']) ? $data['batch_uri'] : null;
+ $this->container['failed'] = isset($data['failed']) ? $data['failed'] : null;
+ $this->container['queued'] = isset($data['queued']) ? $data['queued'] : null;
+ $this->container['sent'] = isset($data['sent']) ? $data['sent'] : null;
+ $this->container['submitted_date'] = isset($data['submitted_date']) ? $data['submitted_date'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets batch_id
+ *
+ * @return string
+ */
+ public function getBatchId()
+ {
+ return $this->container['batch_id'];
+ }
+
+ /**
+ * Sets batch_id
+ *
+ * @param string $batch_id
+ *
+ * @return $this
+ */
+ public function setBatchId($batch_id)
+ {
+ $this->container['batch_id'] = $batch_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets batch_name
+ *
+ * @return string
+ */
+ public function getBatchName()
+ {
+ return $this->container['batch_name'];
+ }
+
+ /**
+ * Sets batch_name
+ *
+ * @param string $batch_name
+ *
+ * @return $this
+ */
+ public function setBatchName($batch_name)
+ {
+ $this->container['batch_name'] = $batch_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets batch_size
+ *
+ * @return string
+ */
+ public function getBatchSize()
+ {
+ return $this->container['batch_size'];
+ }
+
+ /**
+ * Sets batch_size
+ *
+ * @param string $batch_size
+ *
+ * @return $this
+ */
+ public function setBatchSize($batch_size)
+ {
+ $this->container['batch_size'] = $batch_size;
+
+ return $this;
+ }
+
+ /**
+ * Gets batch_uri
+ *
+ * @return string
+ */
+ public function getBatchUri()
+ {
+ return $this->container['batch_uri'];
+ }
+
+ /**
+ * Sets batch_uri
+ *
+ * @param string $batch_uri
+ *
+ * @return $this
+ */
+ public function setBatchUri($batch_uri)
+ {
+ $this->container['batch_uri'] = $batch_uri;
+
+ return $this;
+ }
+
+ /**
+ * Gets failed
+ *
+ * @return string
+ */
+ public function getFailed()
+ {
+ return $this->container['failed'];
+ }
+
+ /**
+ * Sets failed
+ *
+ * @param string $failed
+ *
+ * @return $this
+ */
+ public function setFailed($failed)
+ {
+ $this->container['failed'] = $failed;
+
+ return $this;
+ }
+
+ /**
+ * Gets queued
+ *
+ * @return string
+ */
+ public function getQueued()
+ {
+ return $this->container['queued'];
+ }
+
+ /**
+ * Sets queued
+ *
+ * @param string $queued
+ *
+ * @return $this
+ */
+ public function setQueued($queued)
+ {
+ $this->container['queued'] = $queued;
+
+ return $this;
+ }
+
+ /**
+ * Gets sent
+ *
+ * @return string
+ */
+ public function getSent()
+ {
+ return $this->container['sent'];
+ }
+
+ /**
+ * Sets sent
+ *
+ * @param string $sent
+ *
+ * @return $this
+ */
+ public function setSent($sent)
+ {
+ $this->container['sent'] = $sent;
+
+ return $this;
+ }
+
+ /**
+ * Gets submitted_date
+ *
+ * @return string
+ */
+ public function getSubmittedDate()
+ {
+ return $this->container['submitted_date'];
+ }
+
+ /**
+ * Sets submitted_date
+ *
+ * @param string $submitted_date
+ *
+ * @return $this
+ */
+ public function setSubmittedDate($submitted_date)
+ {
+ $this->container['submitted_date'] = $submitted_date;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/BulkSendErrorStatus.php b/src/Model/BulkSendErrorStatus.php
new file mode 100644
index 00000000..6049af49
--- /dev/null
+++ b/src/Model/BulkSendErrorStatus.php
@@ -0,0 +1,360 @@
+ 'string',
+ 'error_message' => 'string',
+ 'recipient_emails' => 'string[]'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'created' => null,
+ 'error_message' => null,
+ 'recipient_emails' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'created' => 'created',
+ 'error_message' => 'errorMessage',
+ 'recipient_emails' => 'recipientEmails'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'created' => 'setCreated',
+ 'error_message' => 'setErrorMessage',
+ 'recipient_emails' => 'setRecipientEmails'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'created' => 'getCreated',
+ 'error_message' => 'getErrorMessage',
+ 'recipient_emails' => 'getRecipientEmails'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['created'] = isset($data['created']) ? $data['created'] : null;
+ $this->container['error_message'] = isset($data['error_message']) ? $data['error_message'] : null;
+ $this->container['recipient_emails'] = isset($data['recipient_emails']) ? $data['recipient_emails'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets created
+ *
+ * @return string
+ */
+ public function getCreated()
+ {
+ return $this->container['created'];
+ }
+
+ /**
+ * Sets created
+ *
+ * @param string $created
+ *
+ * @return $this
+ */
+ public function setCreated($created)
+ {
+ $this->container['created'] = $created;
+
+ return $this;
+ }
+
+ /**
+ * Gets error_message
+ *
+ * @return string
+ */
+ public function getErrorMessage()
+ {
+ return $this->container['error_message'];
+ }
+
+ /**
+ * Sets error_message
+ *
+ * @param string $error_message
+ *
+ * @return $this
+ */
+ public function setErrorMessage($error_message)
+ {
+ $this->container['error_message'] = $error_message;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_emails
+ *
+ * @return string[]
+ */
+ public function getRecipientEmails()
+ {
+ return $this->container['recipient_emails'];
+ }
+
+ /**
+ * Sets recipient_emails
+ *
+ * @param string[] $recipient_emails
+ *
+ * @return $this
+ */
+ public function setRecipientEmails($recipient_emails)
+ {
+ $this->container['recipient_emails'] = $recipient_emails;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ConditionalRecipientRule.php b/src/Model/ConditionalRecipientRule.php
new file mode 100644
index 00000000..de0e5e4d
--- /dev/null
+++ b/src/Model/ConditionalRecipientRule.php
@@ -0,0 +1,390 @@
+ '\DocuSign\eSign\Model\ConditionalRecipientRuleCondition[]',
+ 'order' => 'string',
+ 'recipient_group' => '\DocuSign\eSign\Model\RecipientGroup',
+ 'recipient_id' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'conditions' => null,
+ 'order' => null,
+ 'recipient_group' => null,
+ 'recipient_id' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'conditions' => 'conditions',
+ 'order' => 'order',
+ 'recipient_group' => 'recipientGroup',
+ 'recipient_id' => 'recipientId'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'conditions' => 'setConditions',
+ 'order' => 'setOrder',
+ 'recipient_group' => 'setRecipientGroup',
+ 'recipient_id' => 'setRecipientId'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'conditions' => 'getConditions',
+ 'order' => 'getOrder',
+ 'recipient_group' => 'getRecipientGroup',
+ 'recipient_id' => 'getRecipientId'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['conditions'] = isset($data['conditions']) ? $data['conditions'] : null;
+ $this->container['order'] = isset($data['order']) ? $data['order'] : null;
+ $this->container['recipient_group'] = isset($data['recipient_group']) ? $data['recipient_group'] : null;
+ $this->container['recipient_id'] = isset($data['recipient_id']) ? $data['recipient_id'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets conditions
+ *
+ * @return \DocuSign\eSign\Model\ConditionalRecipientRuleCondition[]
+ */
+ public function getConditions()
+ {
+ return $this->container['conditions'];
+ }
+
+ /**
+ * Sets conditions
+ *
+ * @param \DocuSign\eSign\Model\ConditionalRecipientRuleCondition[] $conditions
+ *
+ * @return $this
+ */
+ public function setConditions($conditions)
+ {
+ $this->container['conditions'] = $conditions;
+
+ return $this;
+ }
+
+ /**
+ * Gets order
+ *
+ * @return string
+ */
+ public function getOrder()
+ {
+ return $this->container['order'];
+ }
+
+ /**
+ * Sets order
+ *
+ * @param string $order
+ *
+ * @return $this
+ */
+ public function setOrder($order)
+ {
+ $this->container['order'] = $order;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_group
+ *
+ * @return \DocuSign\eSign\Model\RecipientGroup
+ */
+ public function getRecipientGroup()
+ {
+ return $this->container['recipient_group'];
+ }
+
+ /**
+ * Sets recipient_group
+ *
+ * @param \DocuSign\eSign\Model\RecipientGroup $recipient_group recipient_group
+ *
+ * @return $this
+ */
+ public function setRecipientGroup($recipient_group)
+ {
+ $this->container['recipient_group'] = $recipient_group;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_id
+ *
+ * @return string
+ */
+ public function getRecipientId()
+ {
+ return $this->container['recipient_id'];
+ }
+
+ /**
+ * Sets recipient_id
+ *
+ * @param string $recipient_id Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.
+ *
+ * @return $this
+ */
+ public function setRecipientId($recipient_id)
+ {
+ $this->container['recipient_id'] = $recipient_id;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ConditionalRecipientRuleCondition.php b/src/Model/ConditionalRecipientRuleCondition.php
new file mode 100644
index 00000000..88c3fe65
--- /dev/null
+++ b/src/Model/ConditionalRecipientRuleCondition.php
@@ -0,0 +1,360 @@
+ '\DocuSign\eSign\Model\ConditionalRecipientRuleFilter[]',
+ 'order' => 'string',
+ 'recipient_label' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'filters' => null,
+ 'order' => null,
+ 'recipient_label' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'filters' => 'filters',
+ 'order' => 'order',
+ 'recipient_label' => 'recipientLabel'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'filters' => 'setFilters',
+ 'order' => 'setOrder',
+ 'recipient_label' => 'setRecipientLabel'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'filters' => 'getFilters',
+ 'order' => 'getOrder',
+ 'recipient_label' => 'getRecipientLabel'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['filters'] = isset($data['filters']) ? $data['filters'] : null;
+ $this->container['order'] = isset($data['order']) ? $data['order'] : null;
+ $this->container['recipient_label'] = isset($data['recipient_label']) ? $data['recipient_label'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets filters
+ *
+ * @return \DocuSign\eSign\Model\ConditionalRecipientRuleFilter[]
+ */
+ public function getFilters()
+ {
+ return $this->container['filters'];
+ }
+
+ /**
+ * Sets filters
+ *
+ * @param \DocuSign\eSign\Model\ConditionalRecipientRuleFilter[] $filters
+ *
+ * @return $this
+ */
+ public function setFilters($filters)
+ {
+ $this->container['filters'] = $filters;
+
+ return $this;
+ }
+
+ /**
+ * Gets order
+ *
+ * @return string
+ */
+ public function getOrder()
+ {
+ return $this->container['order'];
+ }
+
+ /**
+ * Sets order
+ *
+ * @param string $order
+ *
+ * @return $this
+ */
+ public function setOrder($order)
+ {
+ $this->container['order'] = $order;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_label
+ *
+ * @return string
+ */
+ public function getRecipientLabel()
+ {
+ return $this->container['recipient_label'];
+ }
+
+ /**
+ * Sets recipient_label
+ *
+ * @param string $recipient_label
+ *
+ * @return $this
+ */
+ public function setRecipientLabel($recipient_label)
+ {
+ $this->container['recipient_label'] = $recipient_label;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ConditionalRecipientRuleFilter.php b/src/Model/ConditionalRecipientRuleFilter.php
new file mode 100644
index 00000000..1fa1bf99
--- /dev/null
+++ b/src/Model/ConditionalRecipientRuleFilter.php
@@ -0,0 +1,450 @@
+ 'string',
+ 'recipient_id' => 'string',
+ 'scope' => 'string',
+ 'tab_id' => 'string',
+ 'tab_label' => 'string',
+ 'value' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'operator' => null,
+ 'recipient_id' => null,
+ 'scope' => null,
+ 'tab_id' => null,
+ 'tab_label' => null,
+ 'value' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'operator' => 'operator',
+ 'recipient_id' => 'recipientId',
+ 'scope' => 'scope',
+ 'tab_id' => 'tabId',
+ 'tab_label' => 'tabLabel',
+ 'value' => 'value'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'operator' => 'setOperator',
+ 'recipient_id' => 'setRecipientId',
+ 'scope' => 'setScope',
+ 'tab_id' => 'setTabId',
+ 'tab_label' => 'setTabLabel',
+ 'value' => 'setValue'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'operator' => 'getOperator',
+ 'recipient_id' => 'getRecipientId',
+ 'scope' => 'getScope',
+ 'tab_id' => 'getTabId',
+ 'tab_label' => 'getTabLabel',
+ 'value' => 'getValue'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['operator'] = isset($data['operator']) ? $data['operator'] : null;
+ $this->container['recipient_id'] = isset($data['recipient_id']) ? $data['recipient_id'] : null;
+ $this->container['scope'] = isset($data['scope']) ? $data['scope'] : null;
+ $this->container['tab_id'] = isset($data['tab_id']) ? $data['tab_id'] : null;
+ $this->container['tab_label'] = isset($data['tab_label']) ? $data['tab_label'] : null;
+ $this->container['value'] = isset($data['value']) ? $data['value'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets operator
+ *
+ * @return string
+ */
+ public function getOperator()
+ {
+ return $this->container['operator'];
+ }
+
+ /**
+ * Sets operator
+ *
+ * @param string $operator
+ *
+ * @return $this
+ */
+ public function setOperator($operator)
+ {
+ $this->container['operator'] = $operator;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_id
+ *
+ * @return string
+ */
+ public function getRecipientId()
+ {
+ return $this->container['recipient_id'];
+ }
+
+ /**
+ * Sets recipient_id
+ *
+ * @param string $recipient_id Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.
+ *
+ * @return $this
+ */
+ public function setRecipientId($recipient_id)
+ {
+ $this->container['recipient_id'] = $recipient_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets scope
+ *
+ * @return string
+ */
+ public function getScope()
+ {
+ return $this->container['scope'];
+ }
+
+ /**
+ * Sets scope
+ *
+ * @param string $scope
+ *
+ * @return $this
+ */
+ public function setScope($scope)
+ {
+ $this->container['scope'] = $scope;
+
+ return $this;
+ }
+
+ /**
+ * Gets tab_id
+ *
+ * @return string
+ */
+ public function getTabId()
+ {
+ return $this->container['tab_id'];
+ }
+
+ /**
+ * Sets tab_id
+ *
+ * @param string $tab_id The unique identifier for the tab. The tabid can be retrieved with the [ML:GET call].
+ *
+ * @return $this
+ */
+ public function setTabId($tab_id)
+ {
+ $this->container['tab_id'] = $tab_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets tab_label
+ *
+ * @return string
+ */
+ public function getTabLabel()
+ {
+ return $this->container['tab_label'];
+ }
+
+ /**
+ * Sets tab_label
+ *
+ * @param string $tab_label The label string associated with the tab.
+ *
+ * @return $this
+ */
+ public function setTabLabel($tab_label)
+ {
+ $this->container['tab_label'] = $tab_label;
+
+ return $this;
+ }
+
+ /**
+ * Gets value
+ *
+ * @return string
+ */
+ public function getValue()
+ {
+ return $this->container['value'];
+ }
+
+ /**
+ * Sets value
+ *
+ * @param string $value Specifies the value of the tab.
+ *
+ * @return $this
+ */
+ public function setValue($value)
+ {
+ $this->container['value'] = $value;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ENoteConfiguration.php b/src/Model/ENoteConfiguration.php
index e48ce7a2..a810a2ba 100644
--- a/src/Model/ENoteConfiguration.php
+++ b/src/Model/ENoteConfiguration.php
@@ -57,6 +57,7 @@ class ENoteConfiguration implements ModelInterface, ArrayAccess
* @var string[]
*/
protected static $swaggerTypes = [
+ 'api_key' => 'string',
'connect_configured' => 'string',
'e_note_configured' => 'string',
'organization' => 'string',
@@ -70,6 +71,7 @@ class ENoteConfiguration implements ModelInterface, ArrayAccess
* @var string[]
*/
protected static $swaggerFormats = [
+ 'api_key' => null,
'connect_configured' => null,
'e_note_configured' => null,
'organization' => null,
@@ -104,6 +106,7 @@ public static function swaggerFormats()
* @var string[]
*/
protected static $attributeMap = [
+ 'api_key' => 'apiKey',
'connect_configured' => 'connectConfigured',
'e_note_configured' => 'eNoteConfigured',
'organization' => 'organization',
@@ -117,6 +120,7 @@ public static function swaggerFormats()
* @var string[]
*/
protected static $setters = [
+ 'api_key' => 'setApiKey',
'connect_configured' => 'setConnectConfigured',
'e_note_configured' => 'setENoteConfigured',
'organization' => 'setOrganization',
@@ -130,6 +134,7 @@ public static function swaggerFormats()
* @var string[]
*/
protected static $getters = [
+ 'api_key' => 'getApiKey',
'connect_configured' => 'getConnectConfigured',
'e_note_configured' => 'getENoteConfigured',
'organization' => 'getOrganization',
@@ -197,6 +202,7 @@ public function getModelName()
*/
public function __construct(array $data = null)
{
+ $this->container['api_key'] = isset($data['api_key']) ? $data['api_key'] : null;
$this->container['connect_configured'] = isset($data['connect_configured']) ? $data['connect_configured'] : null;
$this->container['e_note_configured'] = isset($data['e_note_configured']) ? $data['e_note_configured'] : null;
$this->container['organization'] = isset($data['organization']) ? $data['organization'] : null;
@@ -228,6 +234,30 @@ public function valid()
}
+ /**
+ * Gets api_key
+ *
+ * @return string
+ */
+ public function getApiKey()
+ {
+ return $this->container['api_key'];
+ }
+
+ /**
+ * Sets api_key
+ *
+ * @param string $api_key
+ *
+ * @return $this
+ */
+ public function setApiKey($api_key)
+ {
+ $this->container['api_key'] = $api_key;
+
+ return $this;
+ }
+
/**
* Gets connect_configured
*
diff --git a/src/Model/Envelope.php b/src/Model/Envelope.php
index 13555746..868bd13a 100644
--- a/src/Model/Envelope.php
+++ b/src/Model/Envelope.php
@@ -131,7 +131,8 @@ class Envelope implements ModelInterface, ArrayAccess
'transaction_id' => 'string',
'use_disclosure' => 'string',
'voided_date_time' => 'string',
- 'voided_reason' => 'string'
+ 'voided_reason' => 'string',
+ 'workflow' => '\DocuSign\eSign\Model\Workflow'
];
/**
@@ -214,7 +215,8 @@ class Envelope implements ModelInterface, ArrayAccess
'transaction_id' => null,
'use_disclosure' => null,
'voided_date_time' => null,
- 'voided_reason' => null
+ 'voided_reason' => null,
+ 'workflow' => null
];
/**
@@ -318,7 +320,8 @@ public static function swaggerFormats()
'transaction_id' => 'transactionId',
'use_disclosure' => 'useDisclosure',
'voided_date_time' => 'voidedDateTime',
- 'voided_reason' => 'voidedReason'
+ 'voided_reason' => 'voidedReason',
+ 'workflow' => 'workflow'
];
/**
@@ -401,7 +404,8 @@ public static function swaggerFormats()
'transaction_id' => 'setTransactionId',
'use_disclosure' => 'setUseDisclosure',
'voided_date_time' => 'setVoidedDateTime',
- 'voided_reason' => 'setVoidedReason'
+ 'voided_reason' => 'setVoidedReason',
+ 'workflow' => 'setWorkflow'
];
/**
@@ -484,7 +488,8 @@ public static function swaggerFormats()
'transaction_id' => 'getTransactionId',
'use_disclosure' => 'getUseDisclosure',
'voided_date_time' => 'getVoidedDateTime',
- 'voided_reason' => 'getVoidedReason'
+ 'voided_reason' => 'getVoidedReason',
+ 'workflow' => 'getWorkflow'
];
/**
@@ -622,6 +627,7 @@ public function __construct(array $data = null)
$this->container['use_disclosure'] = isset($data['use_disclosure']) ? $data['use_disclosure'] : null;
$this->container['voided_date_time'] = isset($data['voided_date_time']) ? $data['voided_date_time'] : null;
$this->container['voided_reason'] = isset($data['voided_reason']) ? $data['voided_reason'] : null;
+ $this->container['workflow'] = isset($data['workflow']) ? $data['workflow'] : null;
}
/**
@@ -2447,6 +2453,30 @@ public function setVoidedReason($voided_reason)
return $this;
}
+
+ /**
+ * Gets workflow
+ *
+ * @return \DocuSign\eSign\Model\Workflow
+ */
+ public function getWorkflow()
+ {
+ return $this->container['workflow'];
+ }
+
+ /**
+ * Sets workflow
+ *
+ * @param \DocuSign\eSign\Model\Workflow $workflow workflow
+ *
+ * @return $this
+ */
+ public function setWorkflow($workflow)
+ {
+ $this->container['workflow'] = $workflow;
+
+ return $this;
+ }
/**
* Returns true if offset exists. False otherwise.
*
diff --git a/src/Model/EnvelopeDefinition.php b/src/Model/EnvelopeDefinition.php
index fd65b54f..84726670 100644
--- a/src/Model/EnvelopeDefinition.php
+++ b/src/Model/EnvelopeDefinition.php
@@ -141,7 +141,8 @@ class EnvelopeDefinition implements ModelInterface, ArrayAccess
'transaction_id' => 'string',
'use_disclosure' => 'string',
'voided_date_time' => 'string',
- 'voided_reason' => 'string'
+ 'voided_reason' => 'string',
+ 'workflow' => '\DocuSign\eSign\Model\Workflow'
];
/**
@@ -234,7 +235,8 @@ class EnvelopeDefinition implements ModelInterface, ArrayAccess
'transaction_id' => null,
'use_disclosure' => null,
'voided_date_time' => null,
- 'voided_reason' => null
+ 'voided_reason' => null,
+ 'workflow' => null
];
/**
@@ -348,7 +350,8 @@ public static function swaggerFormats()
'transaction_id' => 'transactionId',
'use_disclosure' => 'useDisclosure',
'voided_date_time' => 'voidedDateTime',
- 'voided_reason' => 'voidedReason'
+ 'voided_reason' => 'voidedReason',
+ 'workflow' => 'workflow'
];
/**
@@ -441,7 +444,8 @@ public static function swaggerFormats()
'transaction_id' => 'setTransactionId',
'use_disclosure' => 'setUseDisclosure',
'voided_date_time' => 'setVoidedDateTime',
- 'voided_reason' => 'setVoidedReason'
+ 'voided_reason' => 'setVoidedReason',
+ 'workflow' => 'setWorkflow'
];
/**
@@ -534,7 +538,8 @@ public static function swaggerFormats()
'transaction_id' => 'getTransactionId',
'use_disclosure' => 'getUseDisclosure',
'voided_date_time' => 'getVoidedDateTime',
- 'voided_reason' => 'getVoidedReason'
+ 'voided_reason' => 'getVoidedReason',
+ 'workflow' => 'getWorkflow'
];
/**
@@ -682,6 +687,7 @@ public function __construct(array $data = null)
$this->container['use_disclosure'] = isset($data['use_disclosure']) ? $data['use_disclosure'] : null;
$this->container['voided_date_time'] = isset($data['voided_date_time']) ? $data['voided_date_time'] : null;
$this->container['voided_reason'] = isset($data['voided_reason']) ? $data['voided_reason'] : null;
+ $this->container['workflow'] = isset($data['workflow']) ? $data['workflow'] : null;
}
/**
@@ -2747,6 +2753,30 @@ public function setVoidedReason($voided_reason)
return $this;
}
+
+ /**
+ * Gets workflow
+ *
+ * @return \DocuSign\eSign\Model\Workflow
+ */
+ public function getWorkflow()
+ {
+ return $this->container['workflow'];
+ }
+
+ /**
+ * Sets workflow
+ *
+ * @param \DocuSign\eSign\Model\Workflow $workflow workflow
+ *
+ * @return $this
+ */
+ public function setWorkflow($workflow)
+ {
+ $this->container['workflow'] = $workflow;
+
+ return $this;
+ }
/**
* Returns true if offset exists. False otherwise.
*
diff --git a/src/Model/EnvelopeTemplate.php b/src/Model/EnvelopeTemplate.php
index 58ffebf6..d22980e1 100644
--- a/src/Model/EnvelopeTemplate.php
+++ b/src/Model/EnvelopeTemplate.php
@@ -153,7 +153,8 @@ class EnvelopeTemplate implements ModelInterface, ArrayAccess
'uri' => 'string',
'use_disclosure' => 'string',
'voided_date_time' => 'string',
- 'voided_reason' => 'string'
+ 'voided_reason' => 'string',
+ 'workflow' => '\DocuSign\eSign\Model\Workflow'
];
/**
@@ -258,7 +259,8 @@ class EnvelopeTemplate implements ModelInterface, ArrayAccess
'uri' => null,
'use_disclosure' => null,
'voided_date_time' => null,
- 'voided_reason' => null
+ 'voided_reason' => null,
+ 'workflow' => null
];
/**
@@ -384,7 +386,8 @@ public static function swaggerFormats()
'uri' => 'uri',
'use_disclosure' => 'useDisclosure',
'voided_date_time' => 'voidedDateTime',
- 'voided_reason' => 'voidedReason'
+ 'voided_reason' => 'voidedReason',
+ 'workflow' => 'workflow'
];
/**
@@ -489,7 +492,8 @@ public static function swaggerFormats()
'uri' => 'setUri',
'use_disclosure' => 'setUseDisclosure',
'voided_date_time' => 'setVoidedDateTime',
- 'voided_reason' => 'setVoidedReason'
+ 'voided_reason' => 'setVoidedReason',
+ 'workflow' => 'setWorkflow'
];
/**
@@ -594,7 +598,8 @@ public static function swaggerFormats()
'uri' => 'getUri',
'use_disclosure' => 'getUseDisclosure',
'voided_date_time' => 'getVoidedDateTime',
- 'voided_reason' => 'getVoidedReason'
+ 'voided_reason' => 'getVoidedReason',
+ 'workflow' => 'getWorkflow'
];
/**
@@ -754,6 +759,7 @@ public function __construct(array $data = null)
$this->container['use_disclosure'] = isset($data['use_disclosure']) ? $data['use_disclosure'] : null;
$this->container['voided_date_time'] = isset($data['voided_date_time']) ? $data['voided_date_time'] : null;
$this->container['voided_reason'] = isset($data['voided_reason']) ? $data['voided_reason'] : null;
+ $this->container['workflow'] = isset($data['workflow']) ? $data['workflow'] : null;
}
/**
@@ -3107,6 +3113,30 @@ public function setVoidedReason($voided_reason)
return $this;
}
+
+ /**
+ * Gets workflow
+ *
+ * @return \DocuSign\eSign\Model\Workflow
+ */
+ public function getWorkflow()
+ {
+ return $this->container['workflow'];
+ }
+
+ /**
+ * Sets workflow
+ *
+ * @param \DocuSign\eSign\Model\Workflow $workflow workflow
+ *
+ * @return $this
+ */
+ public function setWorkflow($workflow)
+ {
+ $this->container['workflow'] = $workflow;
+
+ return $this;
+ }
/**
* Returns true if offset exists. False otherwise.
*
diff --git a/src/Model/NewUser.php b/src/Model/NewUser.php
index 8ebcc769..eefc5f01 100644
--- a/src/Model/NewUser.php
+++ b/src/Model/NewUser.php
@@ -61,6 +61,7 @@ class NewUser implements ModelInterface, ArrayAccess
'created_date_time' => 'string',
'email' => 'string',
'error_details' => '\DocuSign\eSign\Model\ErrorDetails',
+ 'membership_id' => 'string',
'permission_profile_id' => 'string',
'permission_profile_name' => 'string',
'uri' => 'string',
@@ -79,6 +80,7 @@ class NewUser implements ModelInterface, ArrayAccess
'created_date_time' => null,
'email' => null,
'error_details' => null,
+ 'membership_id' => null,
'permission_profile_id' => null,
'permission_profile_name' => null,
'uri' => null,
@@ -118,6 +120,7 @@ public static function swaggerFormats()
'created_date_time' => 'createdDateTime',
'email' => 'email',
'error_details' => 'errorDetails',
+ 'membership_id' => 'membershipId',
'permission_profile_id' => 'permissionProfileId',
'permission_profile_name' => 'permissionProfileName',
'uri' => 'uri',
@@ -136,6 +139,7 @@ public static function swaggerFormats()
'created_date_time' => 'setCreatedDateTime',
'email' => 'setEmail',
'error_details' => 'setErrorDetails',
+ 'membership_id' => 'setMembershipId',
'permission_profile_id' => 'setPermissionProfileId',
'permission_profile_name' => 'setPermissionProfileName',
'uri' => 'setUri',
@@ -154,6 +158,7 @@ public static function swaggerFormats()
'created_date_time' => 'getCreatedDateTime',
'email' => 'getEmail',
'error_details' => 'getErrorDetails',
+ 'membership_id' => 'getMembershipId',
'permission_profile_id' => 'getPermissionProfileId',
'permission_profile_name' => 'getPermissionProfileName',
'uri' => 'getUri',
@@ -226,6 +231,7 @@ public function __construct(array $data = null)
$this->container['created_date_time'] = isset($data['created_date_time']) ? $data['created_date_time'] : null;
$this->container['email'] = isset($data['email']) ? $data['email'] : null;
$this->container['error_details'] = isset($data['error_details']) ? $data['error_details'] : null;
+ $this->container['membership_id'] = isset($data['membership_id']) ? $data['membership_id'] : null;
$this->container['permission_profile_id'] = isset($data['permission_profile_id']) ? $data['permission_profile_id'] : null;
$this->container['permission_profile_name'] = isset($data['permission_profile_name']) ? $data['permission_profile_name'] : null;
$this->container['uri'] = isset($data['uri']) ? $data['uri'] : null;
@@ -354,6 +360,30 @@ public function setErrorDetails($error_details)
return $this;
}
+ /**
+ * Gets membership_id
+ *
+ * @return string
+ */
+ public function getMembershipId()
+ {
+ return $this->container['membership_id'];
+ }
+
+ /**
+ * Sets membership_id
+ *
+ * @param string $membership_id
+ *
+ * @return $this
+ */
+ public function setMembershipId($membership_id)
+ {
+ $this->container['membership_id'] = $membership_id;
+
+ return $this;
+ }
+
/**
* Gets permission_profile_id
*
diff --git a/src/Model/ProofServiceResourceToken.php b/src/Model/ProofServiceResourceToken.php
index dc1e349d..4697a431 100644
--- a/src/Model/ProofServiceResourceToken.php
+++ b/src/Model/ProofServiceResourceToken.php
@@ -57,6 +57,7 @@ class ProofServiceResourceToken implements ModelInterface, ArrayAccess
* @var string[]
*/
protected static $swaggerTypes = [
+ 'proof_base_uri' => 'string',
'resource_token' => 'string'
];
@@ -66,6 +67,7 @@ class ProofServiceResourceToken implements ModelInterface, ArrayAccess
* @var string[]
*/
protected static $swaggerFormats = [
+ 'proof_base_uri' => null,
'resource_token' => null
];
@@ -96,7 +98,8 @@ public static function swaggerFormats()
* @var string[]
*/
protected static $attributeMap = [
- 'resource_token' => 'ResourceToken'
+ 'proof_base_uri' => 'proofBaseURI',
+ 'resource_token' => 'resourceToken'
];
/**
@@ -105,6 +108,7 @@ public static function swaggerFormats()
* @var string[]
*/
protected static $setters = [
+ 'proof_base_uri' => 'setProofBaseUri',
'resource_token' => 'setResourceToken'
];
@@ -114,6 +118,7 @@ public static function swaggerFormats()
* @var string[]
*/
protected static $getters = [
+ 'proof_base_uri' => 'getProofBaseUri',
'resource_token' => 'getResourceToken'
];
@@ -177,6 +182,7 @@ public function getModelName()
*/
public function __construct(array $data = null)
{
+ $this->container['proof_base_uri'] = isset($data['proof_base_uri']) ? $data['proof_base_uri'] : null;
$this->container['resource_token'] = isset($data['resource_token']) ? $data['resource_token'] : null;
}
@@ -204,6 +210,30 @@ public function valid()
}
+ /**
+ * Gets proof_base_uri
+ *
+ * @return string
+ */
+ public function getProofBaseUri()
+ {
+ return $this->container['proof_base_uri'];
+ }
+
+ /**
+ * Sets proof_base_uri
+ *
+ * @param string $proof_base_uri
+ *
+ * @return $this
+ */
+ public function setProofBaseUri($proof_base_uri)
+ {
+ $this->container['proof_base_uri'] = $proof_base_uri;
+
+ return $this;
+ }
+
/**
* Gets resource_token
*
diff --git a/src/Model/RecipientAdditionalNotification.php b/src/Model/RecipientAdditionalNotification.php
index 6d3bff1a..e8946911 100644
--- a/src/Model/RecipientAdditionalNotification.php
+++ b/src/Model/RecipientAdditionalNotification.php
@@ -59,7 +59,8 @@ class RecipientAdditionalNotification implements ModelInterface, ArrayAccess
protected static $swaggerTypes = [
'phone_number' => '\DocuSign\eSign\Model\RecipientPhoneNumber',
'secondary_delivery_method' => 'string',
- 'secondary_delivery_method_metadata' => '\DocuSign\eSign\Model\PropertyMetadata'
+ 'secondary_delivery_method_metadata' => '\DocuSign\eSign\Model\PropertyMetadata',
+ 'secondary_delivery_status' => 'string'
];
/**
@@ -70,7 +71,8 @@ class RecipientAdditionalNotification implements ModelInterface, ArrayAccess
protected static $swaggerFormats = [
'phone_number' => null,
'secondary_delivery_method' => null,
- 'secondary_delivery_method_metadata' => null
+ 'secondary_delivery_method_metadata' => null,
+ 'secondary_delivery_status' => null
];
/**
@@ -102,7 +104,8 @@ public static function swaggerFormats()
protected static $attributeMap = [
'phone_number' => 'phoneNumber',
'secondary_delivery_method' => 'secondaryDeliveryMethod',
- 'secondary_delivery_method_metadata' => 'secondaryDeliveryMethodMetadata'
+ 'secondary_delivery_method_metadata' => 'secondaryDeliveryMethodMetadata',
+ 'secondary_delivery_status' => 'secondaryDeliveryStatus'
];
/**
@@ -113,7 +116,8 @@ public static function swaggerFormats()
protected static $setters = [
'phone_number' => 'setPhoneNumber',
'secondary_delivery_method' => 'setSecondaryDeliveryMethod',
- 'secondary_delivery_method_metadata' => 'setSecondaryDeliveryMethodMetadata'
+ 'secondary_delivery_method_metadata' => 'setSecondaryDeliveryMethodMetadata',
+ 'secondary_delivery_status' => 'setSecondaryDeliveryStatus'
];
/**
@@ -124,7 +128,8 @@ public static function swaggerFormats()
protected static $getters = [
'phone_number' => 'getPhoneNumber',
'secondary_delivery_method' => 'getSecondaryDeliveryMethod',
- 'secondary_delivery_method_metadata' => 'getSecondaryDeliveryMethodMetadata'
+ 'secondary_delivery_method_metadata' => 'getSecondaryDeliveryMethodMetadata',
+ 'secondary_delivery_status' => 'getSecondaryDeliveryStatus'
];
/**
@@ -190,6 +195,7 @@ public function __construct(array $data = null)
$this->container['phone_number'] = isset($data['phone_number']) ? $data['phone_number'] : null;
$this->container['secondary_delivery_method'] = isset($data['secondary_delivery_method']) ? $data['secondary_delivery_method'] : null;
$this->container['secondary_delivery_method_metadata'] = isset($data['secondary_delivery_method_metadata']) ? $data['secondary_delivery_method_metadata'] : null;
+ $this->container['secondary_delivery_status'] = isset($data['secondary_delivery_status']) ? $data['secondary_delivery_status'] : null;
}
/**
@@ -287,6 +293,30 @@ public function setSecondaryDeliveryMethodMetadata($secondary_delivery_method_me
return $this;
}
+
+ /**
+ * Gets secondary_delivery_status
+ *
+ * @return string
+ */
+ public function getSecondaryDeliveryStatus()
+ {
+ return $this->container['secondary_delivery_status'];
+ }
+
+ /**
+ * Sets secondary_delivery_status
+ *
+ * @param string $secondary_delivery_status
+ *
+ * @return $this
+ */
+ public function setSecondaryDeliveryStatus($secondary_delivery_status)
+ {
+ $this->container['secondary_delivery_status'] = $secondary_delivery_status;
+
+ return $this;
+ }
/**
* Returns true if offset exists. False otherwise.
*
diff --git a/src/Model/RecipientGroup.php b/src/Model/RecipientGroup.php
new file mode 100644
index 00000000..ad6c5809
--- /dev/null
+++ b/src/Model/RecipientGroup.php
@@ -0,0 +1,360 @@
+ 'string',
+ 'group_name' => 'string',
+ 'recipients' => '\DocuSign\eSign\Model\RecipientOption[]'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'group_message' => null,
+ 'group_name' => null,
+ 'recipients' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'group_message' => 'groupMessage',
+ 'group_name' => 'groupName',
+ 'recipients' => 'recipients'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'group_message' => 'setGroupMessage',
+ 'group_name' => 'setGroupName',
+ 'recipients' => 'setRecipients'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'group_message' => 'getGroupMessage',
+ 'group_name' => 'getGroupName',
+ 'recipients' => 'getRecipients'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['group_message'] = isset($data['group_message']) ? $data['group_message'] : null;
+ $this->container['group_name'] = isset($data['group_name']) ? $data['group_name'] : null;
+ $this->container['recipients'] = isset($data['recipients']) ? $data['recipients'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets group_message
+ *
+ * @return string
+ */
+ public function getGroupMessage()
+ {
+ return $this->container['group_message'];
+ }
+
+ /**
+ * Sets group_message
+ *
+ * @param string $group_message
+ *
+ * @return $this
+ */
+ public function setGroupMessage($group_message)
+ {
+ $this->container['group_message'] = $group_message;
+
+ return $this;
+ }
+
+ /**
+ * Gets group_name
+ *
+ * @return string
+ */
+ public function getGroupName()
+ {
+ return $this->container['group_name'];
+ }
+
+ /**
+ * Sets group_name
+ *
+ * @param string $group_name The name of the group.
+ *
+ * @return $this
+ */
+ public function setGroupName($group_name)
+ {
+ $this->container['group_name'] = $group_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipients
+ *
+ * @return \DocuSign\eSign\Model\RecipientOption[]
+ */
+ public function getRecipients()
+ {
+ return $this->container['recipients'];
+ }
+
+ /**
+ * Sets recipients
+ *
+ * @param \DocuSign\eSign\Model\RecipientOption[] $recipients An array of powerform recipients.
+ *
+ * @return $this
+ */
+ public function setRecipients($recipients)
+ {
+ $this->container['recipients'] = $recipients;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/RecipientOption.php b/src/Model/RecipientOption.php
new file mode 100644
index 00000000..a4c04299
--- /dev/null
+++ b/src/Model/RecipientOption.php
@@ -0,0 +1,420 @@
+ 'string',
+ 'name' => 'string',
+ 'recipient_label' => 'string',
+ 'role_name' => 'string',
+ 'signing_group_id' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'email' => null,
+ 'name' => null,
+ 'recipient_label' => null,
+ 'role_name' => null,
+ 'signing_group_id' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'email' => 'email',
+ 'name' => 'name',
+ 'recipient_label' => 'recipientLabel',
+ 'role_name' => 'roleName',
+ 'signing_group_id' => 'signingGroupId'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'email' => 'setEmail',
+ 'name' => 'setName',
+ 'recipient_label' => 'setRecipientLabel',
+ 'role_name' => 'setRoleName',
+ 'signing_group_id' => 'setSigningGroupId'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'email' => 'getEmail',
+ 'name' => 'getName',
+ 'recipient_label' => 'getRecipientLabel',
+ 'role_name' => 'getRoleName',
+ 'signing_group_id' => 'getSigningGroupId'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['email'] = isset($data['email']) ? $data['email'] : null;
+ $this->container['name'] = isset($data['name']) ? $data['name'] : null;
+ $this->container['recipient_label'] = isset($data['recipient_label']) ? $data['recipient_label'] : null;
+ $this->container['role_name'] = isset($data['role_name']) ? $data['role_name'] : null;
+ $this->container['signing_group_id'] = isset($data['signing_group_id']) ? $data['signing_group_id'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets email
+ *
+ * @return string
+ */
+ public function getEmail()
+ {
+ return $this->container['email'];
+ }
+
+ /**
+ * Sets email
+ *
+ * @param string $email
+ *
+ * @return $this
+ */
+ public function setEmail($email)
+ {
+ $this->container['email'] = $email;
+
+ return $this;
+ }
+
+ /**
+ * Gets name
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->container['name'];
+ }
+
+ /**
+ * Sets name
+ *
+ * @param string $name
+ *
+ * @return $this
+ */
+ public function setName($name)
+ {
+ $this->container['name'] = $name;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_label
+ *
+ * @return string
+ */
+ public function getRecipientLabel()
+ {
+ return $this->container['recipient_label'];
+ }
+
+ /**
+ * Sets recipient_label
+ *
+ * @param string $recipient_label
+ *
+ * @return $this
+ */
+ public function setRecipientLabel($recipient_label)
+ {
+ $this->container['recipient_label'] = $recipient_label;
+
+ return $this;
+ }
+
+ /**
+ * Gets role_name
+ *
+ * @return string
+ */
+ public function getRoleName()
+ {
+ return $this->container['role_name'];
+ }
+
+ /**
+ * Sets role_name
+ *
+ * @param string $role_name Optional element. Specifies the role name associated with the recipient.
This is required when working with template recipients.
+ *
+ * @return $this
+ */
+ public function setRoleName($role_name)
+ {
+ $this->container['role_name'] = $role_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets signing_group_id
+ *
+ * @return string
+ */
+ public function getSigningGroupId()
+ {
+ return $this->container['signing_group_id'];
+ }
+
+ /**
+ * Sets signing_group_id
+ *
+ * @param string $signing_group_id When set to **true** and the feature is enabled in the sender's account, the signing recipient is required to draw signatures and initials at each signature/initial tab ( instead of adopting a signature/initial style or only drawing a signature/initial once).
+ *
+ * @return $this
+ */
+ public function setSigningGroupId($signing_group_id)
+ {
+ $this->container['signing_group_id'] = $signing_group_id;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/RecipientRouting.php b/src/Model/RecipientRouting.php
new file mode 100644
index 00000000..d7bbedb1
--- /dev/null
+++ b/src/Model/RecipientRouting.php
@@ -0,0 +1,300 @@
+ '\DocuSign\eSign\Model\RecipientRules'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'rules' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'rules' => 'rules'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'rules' => 'setRules'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'rules' => 'getRules'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['rules'] = isset($data['rules']) ? $data['rules'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets rules
+ *
+ * @return \DocuSign\eSign\Model\RecipientRules
+ */
+ public function getRules()
+ {
+ return $this->container['rules'];
+ }
+
+ /**
+ * Sets rules
+ *
+ * @param \DocuSign\eSign\Model\RecipientRules $rules rules
+ *
+ * @return $this
+ */
+ public function setRules($rules)
+ {
+ $this->container['rules'] = $rules;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/RecipientRules.php b/src/Model/RecipientRules.php
new file mode 100644
index 00000000..c94a79f0
--- /dev/null
+++ b/src/Model/RecipientRules.php
@@ -0,0 +1,300 @@
+ '\DocuSign\eSign\Model\ConditionalRecipientRule[]'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'conditional_recipients' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'conditional_recipients' => 'conditionalRecipients'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'conditional_recipients' => 'setConditionalRecipients'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'conditional_recipients' => 'getConditionalRecipients'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['conditional_recipients'] = isset($data['conditional_recipients']) ? $data['conditional_recipients'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets conditional_recipients
+ *
+ * @return \DocuSign\eSign\Model\ConditionalRecipientRule[]
+ */
+ public function getConditionalRecipients()
+ {
+ return $this->container['conditional_recipients'];
+ }
+
+ /**
+ * Sets conditional_recipients
+ *
+ * @param \DocuSign\eSign\Model\ConditionalRecipientRule[] $conditional_recipients
+ *
+ * @return $this
+ */
+ public function setConditionalRecipients($conditional_recipients)
+ {
+ $this->container['conditional_recipients'] = $conditional_recipients;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ReportInProductCsvRunRequest.php b/src/Model/ReportInProductCsvRunRequest.php
new file mode 100644
index 00000000..39a1780e
--- /dev/null
+++ b/src/Model/ReportInProductCsvRunRequest.php
@@ -0,0 +1,1050 @@
+ 'string',
+ 'date_range_custom_from_date' => 'string',
+ 'date_range_custom_to_date' => 'string',
+ 'date_range_filter' => 'string',
+ 'envelope_date_type_filter' => 'string',
+ 'envelope_recipient_name_contains_filter' => 'string',
+ 'envelope_status_filter' => 'string',
+ 'envelope_subject_contains_filter' => 'string',
+ 'fields' => '\DocuSign\eSign\Model\ReportInProductField[]',
+ 'for_download' => 'string',
+ 'is_dashboard' => 'string',
+ 'new_line' => 'string',
+ 'override_timezone_key' => 'string',
+ 'period_length_filter' => 'string',
+ 'quote' => 'string',
+ 'report_customized_id' => 'string',
+ 'report_description' => 'string',
+ 'report_id' => 'string',
+ 'report_invocation_type' => 'string',
+ 'report_name' => 'string',
+ 'sent_by_filter' => 'string',
+ 'sent_by_ids' => 'string',
+ 'separator' => 'string',
+ 'sort_direction' => 'string',
+ 'sort_field' => 'string',
+ 'start_position' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'custom_field_filter' => null,
+ 'date_range_custom_from_date' => null,
+ 'date_range_custom_to_date' => null,
+ 'date_range_filter' => null,
+ 'envelope_date_type_filter' => null,
+ 'envelope_recipient_name_contains_filter' => null,
+ 'envelope_status_filter' => null,
+ 'envelope_subject_contains_filter' => null,
+ 'fields' => null,
+ 'for_download' => null,
+ 'is_dashboard' => null,
+ 'new_line' => null,
+ 'override_timezone_key' => null,
+ 'period_length_filter' => null,
+ 'quote' => null,
+ 'report_customized_id' => null,
+ 'report_description' => null,
+ 'report_id' => null,
+ 'report_invocation_type' => null,
+ 'report_name' => null,
+ 'sent_by_filter' => null,
+ 'sent_by_ids' => null,
+ 'separator' => null,
+ 'sort_direction' => null,
+ 'sort_field' => null,
+ 'start_position' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'custom_field_filter' => 'customFieldFilter',
+ 'date_range_custom_from_date' => 'dateRangeCustomFromDate',
+ 'date_range_custom_to_date' => 'dateRangeCustomToDate',
+ 'date_range_filter' => 'dateRangeFilter',
+ 'envelope_date_type_filter' => 'envelopeDateTypeFilter',
+ 'envelope_recipient_name_contains_filter' => 'envelopeRecipientNameContainsFilter',
+ 'envelope_status_filter' => 'envelopeStatusFilter',
+ 'envelope_subject_contains_filter' => 'envelopeSubjectContainsFilter',
+ 'fields' => 'fields',
+ 'for_download' => 'forDownload',
+ 'is_dashboard' => 'isDashboard',
+ 'new_line' => 'newLine',
+ 'override_timezone_key' => 'overrideTimezoneKey',
+ 'period_length_filter' => 'periodLengthFilter',
+ 'quote' => 'quote',
+ 'report_customized_id' => 'reportCustomizedId',
+ 'report_description' => 'reportDescription',
+ 'report_id' => 'reportId',
+ 'report_invocation_type' => 'reportInvocationType',
+ 'report_name' => 'reportName',
+ 'sent_by_filter' => 'sentByFilter',
+ 'sent_by_ids' => 'sentByIds',
+ 'separator' => 'separator',
+ 'sort_direction' => 'sortDirection',
+ 'sort_field' => 'sortField',
+ 'start_position' => 'startPosition'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'custom_field_filter' => 'setCustomFieldFilter',
+ 'date_range_custom_from_date' => 'setDateRangeCustomFromDate',
+ 'date_range_custom_to_date' => 'setDateRangeCustomToDate',
+ 'date_range_filter' => 'setDateRangeFilter',
+ 'envelope_date_type_filter' => 'setEnvelopeDateTypeFilter',
+ 'envelope_recipient_name_contains_filter' => 'setEnvelopeRecipientNameContainsFilter',
+ 'envelope_status_filter' => 'setEnvelopeStatusFilter',
+ 'envelope_subject_contains_filter' => 'setEnvelopeSubjectContainsFilter',
+ 'fields' => 'setFields',
+ 'for_download' => 'setForDownload',
+ 'is_dashboard' => 'setIsDashboard',
+ 'new_line' => 'setNewLine',
+ 'override_timezone_key' => 'setOverrideTimezoneKey',
+ 'period_length_filter' => 'setPeriodLengthFilter',
+ 'quote' => 'setQuote',
+ 'report_customized_id' => 'setReportCustomizedId',
+ 'report_description' => 'setReportDescription',
+ 'report_id' => 'setReportId',
+ 'report_invocation_type' => 'setReportInvocationType',
+ 'report_name' => 'setReportName',
+ 'sent_by_filter' => 'setSentByFilter',
+ 'sent_by_ids' => 'setSentByIds',
+ 'separator' => 'setSeparator',
+ 'sort_direction' => 'setSortDirection',
+ 'sort_field' => 'setSortField',
+ 'start_position' => 'setStartPosition'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'custom_field_filter' => 'getCustomFieldFilter',
+ 'date_range_custom_from_date' => 'getDateRangeCustomFromDate',
+ 'date_range_custom_to_date' => 'getDateRangeCustomToDate',
+ 'date_range_filter' => 'getDateRangeFilter',
+ 'envelope_date_type_filter' => 'getEnvelopeDateTypeFilter',
+ 'envelope_recipient_name_contains_filter' => 'getEnvelopeRecipientNameContainsFilter',
+ 'envelope_status_filter' => 'getEnvelopeStatusFilter',
+ 'envelope_subject_contains_filter' => 'getEnvelopeSubjectContainsFilter',
+ 'fields' => 'getFields',
+ 'for_download' => 'getForDownload',
+ 'is_dashboard' => 'getIsDashboard',
+ 'new_line' => 'getNewLine',
+ 'override_timezone_key' => 'getOverrideTimezoneKey',
+ 'period_length_filter' => 'getPeriodLengthFilter',
+ 'quote' => 'getQuote',
+ 'report_customized_id' => 'getReportCustomizedId',
+ 'report_description' => 'getReportDescription',
+ 'report_id' => 'getReportId',
+ 'report_invocation_type' => 'getReportInvocationType',
+ 'report_name' => 'getReportName',
+ 'sent_by_filter' => 'getSentByFilter',
+ 'sent_by_ids' => 'getSentByIds',
+ 'separator' => 'getSeparator',
+ 'sort_direction' => 'getSortDirection',
+ 'sort_field' => 'getSortField',
+ 'start_position' => 'getStartPosition'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['custom_field_filter'] = isset($data['custom_field_filter']) ? $data['custom_field_filter'] : null;
+ $this->container['date_range_custom_from_date'] = isset($data['date_range_custom_from_date']) ? $data['date_range_custom_from_date'] : null;
+ $this->container['date_range_custom_to_date'] = isset($data['date_range_custom_to_date']) ? $data['date_range_custom_to_date'] : null;
+ $this->container['date_range_filter'] = isset($data['date_range_filter']) ? $data['date_range_filter'] : null;
+ $this->container['envelope_date_type_filter'] = isset($data['envelope_date_type_filter']) ? $data['envelope_date_type_filter'] : null;
+ $this->container['envelope_recipient_name_contains_filter'] = isset($data['envelope_recipient_name_contains_filter']) ? $data['envelope_recipient_name_contains_filter'] : null;
+ $this->container['envelope_status_filter'] = isset($data['envelope_status_filter']) ? $data['envelope_status_filter'] : null;
+ $this->container['envelope_subject_contains_filter'] = isset($data['envelope_subject_contains_filter']) ? $data['envelope_subject_contains_filter'] : null;
+ $this->container['fields'] = isset($data['fields']) ? $data['fields'] : null;
+ $this->container['for_download'] = isset($data['for_download']) ? $data['for_download'] : null;
+ $this->container['is_dashboard'] = isset($data['is_dashboard']) ? $data['is_dashboard'] : null;
+ $this->container['new_line'] = isset($data['new_line']) ? $data['new_line'] : null;
+ $this->container['override_timezone_key'] = isset($data['override_timezone_key']) ? $data['override_timezone_key'] : null;
+ $this->container['period_length_filter'] = isset($data['period_length_filter']) ? $data['period_length_filter'] : null;
+ $this->container['quote'] = isset($data['quote']) ? $data['quote'] : null;
+ $this->container['report_customized_id'] = isset($data['report_customized_id']) ? $data['report_customized_id'] : null;
+ $this->container['report_description'] = isset($data['report_description']) ? $data['report_description'] : null;
+ $this->container['report_id'] = isset($data['report_id']) ? $data['report_id'] : null;
+ $this->container['report_invocation_type'] = isset($data['report_invocation_type']) ? $data['report_invocation_type'] : null;
+ $this->container['report_name'] = isset($data['report_name']) ? $data['report_name'] : null;
+ $this->container['sent_by_filter'] = isset($data['sent_by_filter']) ? $data['sent_by_filter'] : null;
+ $this->container['sent_by_ids'] = isset($data['sent_by_ids']) ? $data['sent_by_ids'] : null;
+ $this->container['separator'] = isset($data['separator']) ? $data['separator'] : null;
+ $this->container['sort_direction'] = isset($data['sort_direction']) ? $data['sort_direction'] : null;
+ $this->container['sort_field'] = isset($data['sort_field']) ? $data['sort_field'] : null;
+ $this->container['start_position'] = isset($data['start_position']) ? $data['start_position'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets custom_field_filter
+ *
+ * @return string
+ */
+ public function getCustomFieldFilter()
+ {
+ return $this->container['custom_field_filter'];
+ }
+
+ /**
+ * Sets custom_field_filter
+ *
+ * @param string $custom_field_filter
+ *
+ * @return $this
+ */
+ public function setCustomFieldFilter($custom_field_filter)
+ {
+ $this->container['custom_field_filter'] = $custom_field_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets date_range_custom_from_date
+ *
+ * @return string
+ */
+ public function getDateRangeCustomFromDate()
+ {
+ return $this->container['date_range_custom_from_date'];
+ }
+
+ /**
+ * Sets date_range_custom_from_date
+ *
+ * @param string $date_range_custom_from_date
+ *
+ * @return $this
+ */
+ public function setDateRangeCustomFromDate($date_range_custom_from_date)
+ {
+ $this->container['date_range_custom_from_date'] = $date_range_custom_from_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets date_range_custom_to_date
+ *
+ * @return string
+ */
+ public function getDateRangeCustomToDate()
+ {
+ return $this->container['date_range_custom_to_date'];
+ }
+
+ /**
+ * Sets date_range_custom_to_date
+ *
+ * @param string $date_range_custom_to_date
+ *
+ * @return $this
+ */
+ public function setDateRangeCustomToDate($date_range_custom_to_date)
+ {
+ $this->container['date_range_custom_to_date'] = $date_range_custom_to_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets date_range_filter
+ *
+ * @return string
+ */
+ public function getDateRangeFilter()
+ {
+ return $this->container['date_range_filter'];
+ }
+
+ /**
+ * Sets date_range_filter
+ *
+ * @param string $date_range_filter
+ *
+ * @return $this
+ */
+ public function setDateRangeFilter($date_range_filter)
+ {
+ $this->container['date_range_filter'] = $date_range_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_date_type_filter
+ *
+ * @return string
+ */
+ public function getEnvelopeDateTypeFilter()
+ {
+ return $this->container['envelope_date_type_filter'];
+ }
+
+ /**
+ * Sets envelope_date_type_filter
+ *
+ * @param string $envelope_date_type_filter
+ *
+ * @return $this
+ */
+ public function setEnvelopeDateTypeFilter($envelope_date_type_filter)
+ {
+ $this->container['envelope_date_type_filter'] = $envelope_date_type_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_recipient_name_contains_filter
+ *
+ * @return string
+ */
+ public function getEnvelopeRecipientNameContainsFilter()
+ {
+ return $this->container['envelope_recipient_name_contains_filter'];
+ }
+
+ /**
+ * Sets envelope_recipient_name_contains_filter
+ *
+ * @param string $envelope_recipient_name_contains_filter
+ *
+ * @return $this
+ */
+ public function setEnvelopeRecipientNameContainsFilter($envelope_recipient_name_contains_filter)
+ {
+ $this->container['envelope_recipient_name_contains_filter'] = $envelope_recipient_name_contains_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_status_filter
+ *
+ * @return string
+ */
+ public function getEnvelopeStatusFilter()
+ {
+ return $this->container['envelope_status_filter'];
+ }
+
+ /**
+ * Sets envelope_status_filter
+ *
+ * @param string $envelope_status_filter
+ *
+ * @return $this
+ */
+ public function setEnvelopeStatusFilter($envelope_status_filter)
+ {
+ $this->container['envelope_status_filter'] = $envelope_status_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_subject_contains_filter
+ *
+ * @return string
+ */
+ public function getEnvelopeSubjectContainsFilter()
+ {
+ return $this->container['envelope_subject_contains_filter'];
+ }
+
+ /**
+ * Sets envelope_subject_contains_filter
+ *
+ * @param string $envelope_subject_contains_filter
+ *
+ * @return $this
+ */
+ public function setEnvelopeSubjectContainsFilter($envelope_subject_contains_filter)
+ {
+ $this->container['envelope_subject_contains_filter'] = $envelope_subject_contains_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets fields
+ *
+ * @return \DocuSign\eSign\Model\ReportInProductField[]
+ */
+ public function getFields()
+ {
+ return $this->container['fields'];
+ }
+
+ /**
+ * Sets fields
+ *
+ * @param \DocuSign\eSign\Model\ReportInProductField[] $fields
+ *
+ * @return $this
+ */
+ public function setFields($fields)
+ {
+ $this->container['fields'] = $fields;
+
+ return $this;
+ }
+
+ /**
+ * Gets for_download
+ *
+ * @return string
+ */
+ public function getForDownload()
+ {
+ return $this->container['for_download'];
+ }
+
+ /**
+ * Sets for_download
+ *
+ * @param string $for_download
+ *
+ * @return $this
+ */
+ public function setForDownload($for_download)
+ {
+ $this->container['for_download'] = $for_download;
+
+ return $this;
+ }
+
+ /**
+ * Gets is_dashboard
+ *
+ * @return string
+ */
+ public function getIsDashboard()
+ {
+ return $this->container['is_dashboard'];
+ }
+
+ /**
+ * Sets is_dashboard
+ *
+ * @param string $is_dashboard
+ *
+ * @return $this
+ */
+ public function setIsDashboard($is_dashboard)
+ {
+ $this->container['is_dashboard'] = $is_dashboard;
+
+ return $this;
+ }
+
+ /**
+ * Gets new_line
+ *
+ * @return string
+ */
+ public function getNewLine()
+ {
+ return $this->container['new_line'];
+ }
+
+ /**
+ * Sets new_line
+ *
+ * @param string $new_line
+ *
+ * @return $this
+ */
+ public function setNewLine($new_line)
+ {
+ $this->container['new_line'] = $new_line;
+
+ return $this;
+ }
+
+ /**
+ * Gets override_timezone_key
+ *
+ * @return string
+ */
+ public function getOverrideTimezoneKey()
+ {
+ return $this->container['override_timezone_key'];
+ }
+
+ /**
+ * Sets override_timezone_key
+ *
+ * @param string $override_timezone_key
+ *
+ * @return $this
+ */
+ public function setOverrideTimezoneKey($override_timezone_key)
+ {
+ $this->container['override_timezone_key'] = $override_timezone_key;
+
+ return $this;
+ }
+
+ /**
+ * Gets period_length_filter
+ *
+ * @return string
+ */
+ public function getPeriodLengthFilter()
+ {
+ return $this->container['period_length_filter'];
+ }
+
+ /**
+ * Sets period_length_filter
+ *
+ * @param string $period_length_filter
+ *
+ * @return $this
+ */
+ public function setPeriodLengthFilter($period_length_filter)
+ {
+ $this->container['period_length_filter'] = $period_length_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets quote
+ *
+ * @return string
+ */
+ public function getQuote()
+ {
+ return $this->container['quote'];
+ }
+
+ /**
+ * Sets quote
+ *
+ * @param string $quote
+ *
+ * @return $this
+ */
+ public function setQuote($quote)
+ {
+ $this->container['quote'] = $quote;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_customized_id
+ *
+ * @return string
+ */
+ public function getReportCustomizedId()
+ {
+ return $this->container['report_customized_id'];
+ }
+
+ /**
+ * Sets report_customized_id
+ *
+ * @param string $report_customized_id
+ *
+ * @return $this
+ */
+ public function setReportCustomizedId($report_customized_id)
+ {
+ $this->container['report_customized_id'] = $report_customized_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_description
+ *
+ * @return string
+ */
+ public function getReportDescription()
+ {
+ return $this->container['report_description'];
+ }
+
+ /**
+ * Sets report_description
+ *
+ * @param string $report_description
+ *
+ * @return $this
+ */
+ public function setReportDescription($report_description)
+ {
+ $this->container['report_description'] = $report_description;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_id
+ *
+ * @return string
+ */
+ public function getReportId()
+ {
+ return $this->container['report_id'];
+ }
+
+ /**
+ * Sets report_id
+ *
+ * @param string $report_id
+ *
+ * @return $this
+ */
+ public function setReportId($report_id)
+ {
+ $this->container['report_id'] = $report_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_invocation_type
+ *
+ * @return string
+ */
+ public function getReportInvocationType()
+ {
+ return $this->container['report_invocation_type'];
+ }
+
+ /**
+ * Sets report_invocation_type
+ *
+ * @param string $report_invocation_type
+ *
+ * @return $this
+ */
+ public function setReportInvocationType($report_invocation_type)
+ {
+ $this->container['report_invocation_type'] = $report_invocation_type;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_name
+ *
+ * @return string
+ */
+ public function getReportName()
+ {
+ return $this->container['report_name'];
+ }
+
+ /**
+ * Sets report_name
+ *
+ * @param string $report_name
+ *
+ * @return $this
+ */
+ public function setReportName($report_name)
+ {
+ $this->container['report_name'] = $report_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets sent_by_filter
+ *
+ * @return string
+ */
+ public function getSentByFilter()
+ {
+ return $this->container['sent_by_filter'];
+ }
+
+ /**
+ * Sets sent_by_filter
+ *
+ * @param string $sent_by_filter
+ *
+ * @return $this
+ */
+ public function setSentByFilter($sent_by_filter)
+ {
+ $this->container['sent_by_filter'] = $sent_by_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets sent_by_ids
+ *
+ * @return string
+ */
+ public function getSentByIds()
+ {
+ return $this->container['sent_by_ids'];
+ }
+
+ /**
+ * Sets sent_by_ids
+ *
+ * @param string $sent_by_ids
+ *
+ * @return $this
+ */
+ public function setSentByIds($sent_by_ids)
+ {
+ $this->container['sent_by_ids'] = $sent_by_ids;
+
+ return $this;
+ }
+
+ /**
+ * Gets separator
+ *
+ * @return string
+ */
+ public function getSeparator()
+ {
+ return $this->container['separator'];
+ }
+
+ /**
+ * Sets separator
+ *
+ * @param string $separator
+ *
+ * @return $this
+ */
+ public function setSeparator($separator)
+ {
+ $this->container['separator'] = $separator;
+
+ return $this;
+ }
+
+ /**
+ * Gets sort_direction
+ *
+ * @return string
+ */
+ public function getSortDirection()
+ {
+ return $this->container['sort_direction'];
+ }
+
+ /**
+ * Sets sort_direction
+ *
+ * @param string $sort_direction
+ *
+ * @return $this
+ */
+ public function setSortDirection($sort_direction)
+ {
+ $this->container['sort_direction'] = $sort_direction;
+
+ return $this;
+ }
+
+ /**
+ * Gets sort_field
+ *
+ * @return string
+ */
+ public function getSortField()
+ {
+ return $this->container['sort_field'];
+ }
+
+ /**
+ * Sets sort_field
+ *
+ * @param string $sort_field
+ *
+ * @return $this
+ */
+ public function setSortField($sort_field)
+ {
+ $this->container['sort_field'] = $sort_field;
+
+ return $this;
+ }
+
+ /**
+ * Gets start_position
+ *
+ * @return string
+ */
+ public function getStartPosition()
+ {
+ return $this->container['start_position'];
+ }
+
+ /**
+ * Sets start_position
+ *
+ * @param string $start_position Starting position of the current result set.
+ *
+ * @return $this
+ */
+ public function setStartPosition($start_position)
+ {
+ $this->container['start_position'] = $start_position;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ReportInProductField.php b/src/Model/ReportInProductField.php
new file mode 100644
index 00000000..19a66c41
--- /dev/null
+++ b/src/Model/ReportInProductField.php
@@ -0,0 +1,390 @@
+ 'string',
+ 'field_version' => 'string',
+ 'name' => 'string',
+ 'selected' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'display_order' => null,
+ 'field_version' => null,
+ 'name' => null,
+ 'selected' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'display_order' => 'displayOrder',
+ 'field_version' => 'fieldVersion',
+ 'name' => 'name',
+ 'selected' => 'selected'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'display_order' => 'setDisplayOrder',
+ 'field_version' => 'setFieldVersion',
+ 'name' => 'setName',
+ 'selected' => 'setSelected'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'display_order' => 'getDisplayOrder',
+ 'field_version' => 'getFieldVersion',
+ 'name' => 'getName',
+ 'selected' => 'getSelected'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['display_order'] = isset($data['display_order']) ? $data['display_order'] : null;
+ $this->container['field_version'] = isset($data['field_version']) ? $data['field_version'] : null;
+ $this->container['name'] = isset($data['name']) ? $data['name'] : null;
+ $this->container['selected'] = isset($data['selected']) ? $data['selected'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets display_order
+ *
+ * @return string
+ */
+ public function getDisplayOrder()
+ {
+ return $this->container['display_order'];
+ }
+
+ /**
+ * Sets display_order
+ *
+ * @param string $display_order
+ *
+ * @return $this
+ */
+ public function setDisplayOrder($display_order)
+ {
+ $this->container['display_order'] = $display_order;
+
+ return $this;
+ }
+
+ /**
+ * Gets field_version
+ *
+ * @return string
+ */
+ public function getFieldVersion()
+ {
+ return $this->container['field_version'];
+ }
+
+ /**
+ * Sets field_version
+ *
+ * @param string $field_version
+ *
+ * @return $this
+ */
+ public function setFieldVersion($field_version)
+ {
+ $this->container['field_version'] = $field_version;
+
+ return $this;
+ }
+
+ /**
+ * Gets name
+ *
+ * @return string
+ */
+ public function getName()
+ {
+ return $this->container['name'];
+ }
+
+ /**
+ * Sets name
+ *
+ * @param string $name
+ *
+ * @return $this
+ */
+ public function setName($name)
+ {
+ $this->container['name'] = $name;
+
+ return $this;
+ }
+
+ /**
+ * Gets selected
+ *
+ * @return string
+ */
+ public function getSelected()
+ {
+ return $this->container['selected'];
+ }
+
+ /**
+ * Sets selected
+ *
+ * @param string $selected
+ *
+ * @return $this
+ */
+ public function setSelected($selected)
+ {
+ $this->container['selected'] = $selected;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ReportInProductGet.php b/src/Model/ReportInProductGet.php
new file mode 100644
index 00000000..60dac4f0
--- /dev/null
+++ b/src/Model/ReportInProductGet.php
@@ -0,0 +1,1140 @@
+ 'string',
+ 'date_range_custom_from_date' => 'string',
+ 'date_range_custom_to_date' => 'string',
+ 'date_range_filter' => 'string',
+ 'display_order' => 'string',
+ 'envelope_date_type_filter' => 'string',
+ 'envelope_recipient_name_contains_filter' => 'string',
+ 'envelope_status_filter' => 'string',
+ 'envelope_subject_contains_filter' => 'string',
+ 'fields' => '\DocuSign\eSign\Model\ReportInProductField[]',
+ 'last_scheduled_execution_date' => 'string',
+ 'last_scheduled_execution_success_date' => 'string',
+ 'max_download_rows' => 'string',
+ 'max_grid_rows' => 'string',
+ 'max_scheduled_rows' => 'string',
+ 'period_length_filter' => 'string',
+ 'report_customized_id' => 'string',
+ 'report_description' => 'string',
+ 'report_id' => 'string',
+ 'report_name' => 'string',
+ 'report_type' => 'string',
+ 'run_uri' => 'string',
+ 'save_uri' => 'string',
+ 'schedule_id' => 'string',
+ 'sent_by_details' => '\DocuSign\eSign\Model\ReportInProductSentByDetails',
+ 'sent_by_filter' => 'string',
+ 'sent_by_ids' => 'string',
+ 'sort_field_direction' => 'string',
+ 'sort_field_name' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'custom_field_filter' => null,
+ 'date_range_custom_from_date' => null,
+ 'date_range_custom_to_date' => null,
+ 'date_range_filter' => null,
+ 'display_order' => null,
+ 'envelope_date_type_filter' => null,
+ 'envelope_recipient_name_contains_filter' => null,
+ 'envelope_status_filter' => null,
+ 'envelope_subject_contains_filter' => null,
+ 'fields' => null,
+ 'last_scheduled_execution_date' => null,
+ 'last_scheduled_execution_success_date' => null,
+ 'max_download_rows' => null,
+ 'max_grid_rows' => null,
+ 'max_scheduled_rows' => null,
+ 'period_length_filter' => null,
+ 'report_customized_id' => null,
+ 'report_description' => null,
+ 'report_id' => null,
+ 'report_name' => null,
+ 'report_type' => null,
+ 'run_uri' => null,
+ 'save_uri' => null,
+ 'schedule_id' => null,
+ 'sent_by_details' => null,
+ 'sent_by_filter' => null,
+ 'sent_by_ids' => null,
+ 'sort_field_direction' => null,
+ 'sort_field_name' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'custom_field_filter' => 'customFieldFilter',
+ 'date_range_custom_from_date' => 'dateRangeCustomFromDate',
+ 'date_range_custom_to_date' => 'dateRangeCustomToDate',
+ 'date_range_filter' => 'dateRangeFilter',
+ 'display_order' => 'displayOrder',
+ 'envelope_date_type_filter' => 'envelopeDateTypeFilter',
+ 'envelope_recipient_name_contains_filter' => 'envelopeRecipientNameContainsFilter',
+ 'envelope_status_filter' => 'envelopeStatusFilter',
+ 'envelope_subject_contains_filter' => 'envelopeSubjectContainsFilter',
+ 'fields' => 'fields',
+ 'last_scheduled_execution_date' => 'lastScheduledExecutionDate',
+ 'last_scheduled_execution_success_date' => 'lastScheduledExecutionSuccessDate',
+ 'max_download_rows' => 'maxDownloadRows',
+ 'max_grid_rows' => 'maxGridRows',
+ 'max_scheduled_rows' => 'maxScheduledRows',
+ 'period_length_filter' => 'periodLengthFilter',
+ 'report_customized_id' => 'reportCustomizedId',
+ 'report_description' => 'reportDescription',
+ 'report_id' => 'reportId',
+ 'report_name' => 'reportName',
+ 'report_type' => 'reportType',
+ 'run_uri' => 'runUri',
+ 'save_uri' => 'saveUri',
+ 'schedule_id' => 'scheduleId',
+ 'sent_by_details' => 'sentByDetails',
+ 'sent_by_filter' => 'sentByFilter',
+ 'sent_by_ids' => 'sentByIds',
+ 'sort_field_direction' => 'sortFieldDirection',
+ 'sort_field_name' => 'sortFieldName'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'custom_field_filter' => 'setCustomFieldFilter',
+ 'date_range_custom_from_date' => 'setDateRangeCustomFromDate',
+ 'date_range_custom_to_date' => 'setDateRangeCustomToDate',
+ 'date_range_filter' => 'setDateRangeFilter',
+ 'display_order' => 'setDisplayOrder',
+ 'envelope_date_type_filter' => 'setEnvelopeDateTypeFilter',
+ 'envelope_recipient_name_contains_filter' => 'setEnvelopeRecipientNameContainsFilter',
+ 'envelope_status_filter' => 'setEnvelopeStatusFilter',
+ 'envelope_subject_contains_filter' => 'setEnvelopeSubjectContainsFilter',
+ 'fields' => 'setFields',
+ 'last_scheduled_execution_date' => 'setLastScheduledExecutionDate',
+ 'last_scheduled_execution_success_date' => 'setLastScheduledExecutionSuccessDate',
+ 'max_download_rows' => 'setMaxDownloadRows',
+ 'max_grid_rows' => 'setMaxGridRows',
+ 'max_scheduled_rows' => 'setMaxScheduledRows',
+ 'period_length_filter' => 'setPeriodLengthFilter',
+ 'report_customized_id' => 'setReportCustomizedId',
+ 'report_description' => 'setReportDescription',
+ 'report_id' => 'setReportId',
+ 'report_name' => 'setReportName',
+ 'report_type' => 'setReportType',
+ 'run_uri' => 'setRunUri',
+ 'save_uri' => 'setSaveUri',
+ 'schedule_id' => 'setScheduleId',
+ 'sent_by_details' => 'setSentByDetails',
+ 'sent_by_filter' => 'setSentByFilter',
+ 'sent_by_ids' => 'setSentByIds',
+ 'sort_field_direction' => 'setSortFieldDirection',
+ 'sort_field_name' => 'setSortFieldName'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'custom_field_filter' => 'getCustomFieldFilter',
+ 'date_range_custom_from_date' => 'getDateRangeCustomFromDate',
+ 'date_range_custom_to_date' => 'getDateRangeCustomToDate',
+ 'date_range_filter' => 'getDateRangeFilter',
+ 'display_order' => 'getDisplayOrder',
+ 'envelope_date_type_filter' => 'getEnvelopeDateTypeFilter',
+ 'envelope_recipient_name_contains_filter' => 'getEnvelopeRecipientNameContainsFilter',
+ 'envelope_status_filter' => 'getEnvelopeStatusFilter',
+ 'envelope_subject_contains_filter' => 'getEnvelopeSubjectContainsFilter',
+ 'fields' => 'getFields',
+ 'last_scheduled_execution_date' => 'getLastScheduledExecutionDate',
+ 'last_scheduled_execution_success_date' => 'getLastScheduledExecutionSuccessDate',
+ 'max_download_rows' => 'getMaxDownloadRows',
+ 'max_grid_rows' => 'getMaxGridRows',
+ 'max_scheduled_rows' => 'getMaxScheduledRows',
+ 'period_length_filter' => 'getPeriodLengthFilter',
+ 'report_customized_id' => 'getReportCustomizedId',
+ 'report_description' => 'getReportDescription',
+ 'report_id' => 'getReportId',
+ 'report_name' => 'getReportName',
+ 'report_type' => 'getReportType',
+ 'run_uri' => 'getRunUri',
+ 'save_uri' => 'getSaveUri',
+ 'schedule_id' => 'getScheduleId',
+ 'sent_by_details' => 'getSentByDetails',
+ 'sent_by_filter' => 'getSentByFilter',
+ 'sent_by_ids' => 'getSentByIds',
+ 'sort_field_direction' => 'getSortFieldDirection',
+ 'sort_field_name' => 'getSortFieldName'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['custom_field_filter'] = isset($data['custom_field_filter']) ? $data['custom_field_filter'] : null;
+ $this->container['date_range_custom_from_date'] = isset($data['date_range_custom_from_date']) ? $data['date_range_custom_from_date'] : null;
+ $this->container['date_range_custom_to_date'] = isset($data['date_range_custom_to_date']) ? $data['date_range_custom_to_date'] : null;
+ $this->container['date_range_filter'] = isset($data['date_range_filter']) ? $data['date_range_filter'] : null;
+ $this->container['display_order'] = isset($data['display_order']) ? $data['display_order'] : null;
+ $this->container['envelope_date_type_filter'] = isset($data['envelope_date_type_filter']) ? $data['envelope_date_type_filter'] : null;
+ $this->container['envelope_recipient_name_contains_filter'] = isset($data['envelope_recipient_name_contains_filter']) ? $data['envelope_recipient_name_contains_filter'] : null;
+ $this->container['envelope_status_filter'] = isset($data['envelope_status_filter']) ? $data['envelope_status_filter'] : null;
+ $this->container['envelope_subject_contains_filter'] = isset($data['envelope_subject_contains_filter']) ? $data['envelope_subject_contains_filter'] : null;
+ $this->container['fields'] = isset($data['fields']) ? $data['fields'] : null;
+ $this->container['last_scheduled_execution_date'] = isset($data['last_scheduled_execution_date']) ? $data['last_scheduled_execution_date'] : null;
+ $this->container['last_scheduled_execution_success_date'] = isset($data['last_scheduled_execution_success_date']) ? $data['last_scheduled_execution_success_date'] : null;
+ $this->container['max_download_rows'] = isset($data['max_download_rows']) ? $data['max_download_rows'] : null;
+ $this->container['max_grid_rows'] = isset($data['max_grid_rows']) ? $data['max_grid_rows'] : null;
+ $this->container['max_scheduled_rows'] = isset($data['max_scheduled_rows']) ? $data['max_scheduled_rows'] : null;
+ $this->container['period_length_filter'] = isset($data['period_length_filter']) ? $data['period_length_filter'] : null;
+ $this->container['report_customized_id'] = isset($data['report_customized_id']) ? $data['report_customized_id'] : null;
+ $this->container['report_description'] = isset($data['report_description']) ? $data['report_description'] : null;
+ $this->container['report_id'] = isset($data['report_id']) ? $data['report_id'] : null;
+ $this->container['report_name'] = isset($data['report_name']) ? $data['report_name'] : null;
+ $this->container['report_type'] = isset($data['report_type']) ? $data['report_type'] : null;
+ $this->container['run_uri'] = isset($data['run_uri']) ? $data['run_uri'] : null;
+ $this->container['save_uri'] = isset($data['save_uri']) ? $data['save_uri'] : null;
+ $this->container['schedule_id'] = isset($data['schedule_id']) ? $data['schedule_id'] : null;
+ $this->container['sent_by_details'] = isset($data['sent_by_details']) ? $data['sent_by_details'] : null;
+ $this->container['sent_by_filter'] = isset($data['sent_by_filter']) ? $data['sent_by_filter'] : null;
+ $this->container['sent_by_ids'] = isset($data['sent_by_ids']) ? $data['sent_by_ids'] : null;
+ $this->container['sort_field_direction'] = isset($data['sort_field_direction']) ? $data['sort_field_direction'] : null;
+ $this->container['sort_field_name'] = isset($data['sort_field_name']) ? $data['sort_field_name'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets custom_field_filter
+ *
+ * @return string
+ */
+ public function getCustomFieldFilter()
+ {
+ return $this->container['custom_field_filter'];
+ }
+
+ /**
+ * Sets custom_field_filter
+ *
+ * @param string $custom_field_filter
+ *
+ * @return $this
+ */
+ public function setCustomFieldFilter($custom_field_filter)
+ {
+ $this->container['custom_field_filter'] = $custom_field_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets date_range_custom_from_date
+ *
+ * @return string
+ */
+ public function getDateRangeCustomFromDate()
+ {
+ return $this->container['date_range_custom_from_date'];
+ }
+
+ /**
+ * Sets date_range_custom_from_date
+ *
+ * @param string $date_range_custom_from_date
+ *
+ * @return $this
+ */
+ public function setDateRangeCustomFromDate($date_range_custom_from_date)
+ {
+ $this->container['date_range_custom_from_date'] = $date_range_custom_from_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets date_range_custom_to_date
+ *
+ * @return string
+ */
+ public function getDateRangeCustomToDate()
+ {
+ return $this->container['date_range_custom_to_date'];
+ }
+
+ /**
+ * Sets date_range_custom_to_date
+ *
+ * @param string $date_range_custom_to_date
+ *
+ * @return $this
+ */
+ public function setDateRangeCustomToDate($date_range_custom_to_date)
+ {
+ $this->container['date_range_custom_to_date'] = $date_range_custom_to_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets date_range_filter
+ *
+ * @return string
+ */
+ public function getDateRangeFilter()
+ {
+ return $this->container['date_range_filter'];
+ }
+
+ /**
+ * Sets date_range_filter
+ *
+ * @param string $date_range_filter
+ *
+ * @return $this
+ */
+ public function setDateRangeFilter($date_range_filter)
+ {
+ $this->container['date_range_filter'] = $date_range_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets display_order
+ *
+ * @return string
+ */
+ public function getDisplayOrder()
+ {
+ return $this->container['display_order'];
+ }
+
+ /**
+ * Sets display_order
+ *
+ * @param string $display_order
+ *
+ * @return $this
+ */
+ public function setDisplayOrder($display_order)
+ {
+ $this->container['display_order'] = $display_order;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_date_type_filter
+ *
+ * @return string
+ */
+ public function getEnvelopeDateTypeFilter()
+ {
+ return $this->container['envelope_date_type_filter'];
+ }
+
+ /**
+ * Sets envelope_date_type_filter
+ *
+ * @param string $envelope_date_type_filter
+ *
+ * @return $this
+ */
+ public function setEnvelopeDateTypeFilter($envelope_date_type_filter)
+ {
+ $this->container['envelope_date_type_filter'] = $envelope_date_type_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_recipient_name_contains_filter
+ *
+ * @return string
+ */
+ public function getEnvelopeRecipientNameContainsFilter()
+ {
+ return $this->container['envelope_recipient_name_contains_filter'];
+ }
+
+ /**
+ * Sets envelope_recipient_name_contains_filter
+ *
+ * @param string $envelope_recipient_name_contains_filter
+ *
+ * @return $this
+ */
+ public function setEnvelopeRecipientNameContainsFilter($envelope_recipient_name_contains_filter)
+ {
+ $this->container['envelope_recipient_name_contains_filter'] = $envelope_recipient_name_contains_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_status_filter
+ *
+ * @return string
+ */
+ public function getEnvelopeStatusFilter()
+ {
+ return $this->container['envelope_status_filter'];
+ }
+
+ /**
+ * Sets envelope_status_filter
+ *
+ * @param string $envelope_status_filter
+ *
+ * @return $this
+ */
+ public function setEnvelopeStatusFilter($envelope_status_filter)
+ {
+ $this->container['envelope_status_filter'] = $envelope_status_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_subject_contains_filter
+ *
+ * @return string
+ */
+ public function getEnvelopeSubjectContainsFilter()
+ {
+ return $this->container['envelope_subject_contains_filter'];
+ }
+
+ /**
+ * Sets envelope_subject_contains_filter
+ *
+ * @param string $envelope_subject_contains_filter
+ *
+ * @return $this
+ */
+ public function setEnvelopeSubjectContainsFilter($envelope_subject_contains_filter)
+ {
+ $this->container['envelope_subject_contains_filter'] = $envelope_subject_contains_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets fields
+ *
+ * @return \DocuSign\eSign\Model\ReportInProductField[]
+ */
+ public function getFields()
+ {
+ return $this->container['fields'];
+ }
+
+ /**
+ * Sets fields
+ *
+ * @param \DocuSign\eSign\Model\ReportInProductField[] $fields
+ *
+ * @return $this
+ */
+ public function setFields($fields)
+ {
+ $this->container['fields'] = $fields;
+
+ return $this;
+ }
+
+ /**
+ * Gets last_scheduled_execution_date
+ *
+ * @return string
+ */
+ public function getLastScheduledExecutionDate()
+ {
+ return $this->container['last_scheduled_execution_date'];
+ }
+
+ /**
+ * Sets last_scheduled_execution_date
+ *
+ * @param string $last_scheduled_execution_date
+ *
+ * @return $this
+ */
+ public function setLastScheduledExecutionDate($last_scheduled_execution_date)
+ {
+ $this->container['last_scheduled_execution_date'] = $last_scheduled_execution_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets last_scheduled_execution_success_date
+ *
+ * @return string
+ */
+ public function getLastScheduledExecutionSuccessDate()
+ {
+ return $this->container['last_scheduled_execution_success_date'];
+ }
+
+ /**
+ * Sets last_scheduled_execution_success_date
+ *
+ * @param string $last_scheduled_execution_success_date
+ *
+ * @return $this
+ */
+ public function setLastScheduledExecutionSuccessDate($last_scheduled_execution_success_date)
+ {
+ $this->container['last_scheduled_execution_success_date'] = $last_scheduled_execution_success_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets max_download_rows
+ *
+ * @return string
+ */
+ public function getMaxDownloadRows()
+ {
+ return $this->container['max_download_rows'];
+ }
+
+ /**
+ * Sets max_download_rows
+ *
+ * @param string $max_download_rows
+ *
+ * @return $this
+ */
+ public function setMaxDownloadRows($max_download_rows)
+ {
+ $this->container['max_download_rows'] = $max_download_rows;
+
+ return $this;
+ }
+
+ /**
+ * Gets max_grid_rows
+ *
+ * @return string
+ */
+ public function getMaxGridRows()
+ {
+ return $this->container['max_grid_rows'];
+ }
+
+ /**
+ * Sets max_grid_rows
+ *
+ * @param string $max_grid_rows
+ *
+ * @return $this
+ */
+ public function setMaxGridRows($max_grid_rows)
+ {
+ $this->container['max_grid_rows'] = $max_grid_rows;
+
+ return $this;
+ }
+
+ /**
+ * Gets max_scheduled_rows
+ *
+ * @return string
+ */
+ public function getMaxScheduledRows()
+ {
+ return $this->container['max_scheduled_rows'];
+ }
+
+ /**
+ * Sets max_scheduled_rows
+ *
+ * @param string $max_scheduled_rows
+ *
+ * @return $this
+ */
+ public function setMaxScheduledRows($max_scheduled_rows)
+ {
+ $this->container['max_scheduled_rows'] = $max_scheduled_rows;
+
+ return $this;
+ }
+
+ /**
+ * Gets period_length_filter
+ *
+ * @return string
+ */
+ public function getPeriodLengthFilter()
+ {
+ return $this->container['period_length_filter'];
+ }
+
+ /**
+ * Sets period_length_filter
+ *
+ * @param string $period_length_filter
+ *
+ * @return $this
+ */
+ public function setPeriodLengthFilter($period_length_filter)
+ {
+ $this->container['period_length_filter'] = $period_length_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_customized_id
+ *
+ * @return string
+ */
+ public function getReportCustomizedId()
+ {
+ return $this->container['report_customized_id'];
+ }
+
+ /**
+ * Sets report_customized_id
+ *
+ * @param string $report_customized_id
+ *
+ * @return $this
+ */
+ public function setReportCustomizedId($report_customized_id)
+ {
+ $this->container['report_customized_id'] = $report_customized_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_description
+ *
+ * @return string
+ */
+ public function getReportDescription()
+ {
+ return $this->container['report_description'];
+ }
+
+ /**
+ * Sets report_description
+ *
+ * @param string $report_description
+ *
+ * @return $this
+ */
+ public function setReportDescription($report_description)
+ {
+ $this->container['report_description'] = $report_description;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_id
+ *
+ * @return string
+ */
+ public function getReportId()
+ {
+ return $this->container['report_id'];
+ }
+
+ /**
+ * Sets report_id
+ *
+ * @param string $report_id
+ *
+ * @return $this
+ */
+ public function setReportId($report_id)
+ {
+ $this->container['report_id'] = $report_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_name
+ *
+ * @return string
+ */
+ public function getReportName()
+ {
+ return $this->container['report_name'];
+ }
+
+ /**
+ * Sets report_name
+ *
+ * @param string $report_name
+ *
+ * @return $this
+ */
+ public function setReportName($report_name)
+ {
+ $this->container['report_name'] = $report_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_type
+ *
+ * @return string
+ */
+ public function getReportType()
+ {
+ return $this->container['report_type'];
+ }
+
+ /**
+ * Sets report_type
+ *
+ * @param string $report_type
+ *
+ * @return $this
+ */
+ public function setReportType($report_type)
+ {
+ $this->container['report_type'] = $report_type;
+
+ return $this;
+ }
+
+ /**
+ * Gets run_uri
+ *
+ * @return string
+ */
+ public function getRunUri()
+ {
+ return $this->container['run_uri'];
+ }
+
+ /**
+ * Sets run_uri
+ *
+ * @param string $run_uri
+ *
+ * @return $this
+ */
+ public function setRunUri($run_uri)
+ {
+ $this->container['run_uri'] = $run_uri;
+
+ return $this;
+ }
+
+ /**
+ * Gets save_uri
+ *
+ * @return string
+ */
+ public function getSaveUri()
+ {
+ return $this->container['save_uri'];
+ }
+
+ /**
+ * Sets save_uri
+ *
+ * @param string $save_uri
+ *
+ * @return $this
+ */
+ public function setSaveUri($save_uri)
+ {
+ $this->container['save_uri'] = $save_uri;
+
+ return $this;
+ }
+
+ /**
+ * Gets schedule_id
+ *
+ * @return string
+ */
+ public function getScheduleId()
+ {
+ return $this->container['schedule_id'];
+ }
+
+ /**
+ * Sets schedule_id
+ *
+ * @param string $schedule_id
+ *
+ * @return $this
+ */
+ public function setScheduleId($schedule_id)
+ {
+ $this->container['schedule_id'] = $schedule_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets sent_by_details
+ *
+ * @return \DocuSign\eSign\Model\ReportInProductSentByDetails
+ */
+ public function getSentByDetails()
+ {
+ return $this->container['sent_by_details'];
+ }
+
+ /**
+ * Sets sent_by_details
+ *
+ * @param \DocuSign\eSign\Model\ReportInProductSentByDetails $sent_by_details sent_by_details
+ *
+ * @return $this
+ */
+ public function setSentByDetails($sent_by_details)
+ {
+ $this->container['sent_by_details'] = $sent_by_details;
+
+ return $this;
+ }
+
+ /**
+ * Gets sent_by_filter
+ *
+ * @return string
+ */
+ public function getSentByFilter()
+ {
+ return $this->container['sent_by_filter'];
+ }
+
+ /**
+ * Sets sent_by_filter
+ *
+ * @param string $sent_by_filter
+ *
+ * @return $this
+ */
+ public function setSentByFilter($sent_by_filter)
+ {
+ $this->container['sent_by_filter'] = $sent_by_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets sent_by_ids
+ *
+ * @return string
+ */
+ public function getSentByIds()
+ {
+ return $this->container['sent_by_ids'];
+ }
+
+ /**
+ * Sets sent_by_ids
+ *
+ * @param string $sent_by_ids
+ *
+ * @return $this
+ */
+ public function setSentByIds($sent_by_ids)
+ {
+ $this->container['sent_by_ids'] = $sent_by_ids;
+
+ return $this;
+ }
+
+ /**
+ * Gets sort_field_direction
+ *
+ * @return string
+ */
+ public function getSortFieldDirection()
+ {
+ return $this->container['sort_field_direction'];
+ }
+
+ /**
+ * Sets sort_field_direction
+ *
+ * @param string $sort_field_direction
+ *
+ * @return $this
+ */
+ public function setSortFieldDirection($sort_field_direction)
+ {
+ $this->container['sort_field_direction'] = $sort_field_direction;
+
+ return $this;
+ }
+
+ /**
+ * Gets sort_field_name
+ *
+ * @return string
+ */
+ public function getSortFieldName()
+ {
+ return $this->container['sort_field_name'];
+ }
+
+ /**
+ * Sets sort_field_name
+ *
+ * @param string $sort_field_name
+ *
+ * @return $this
+ */
+ public function setSortFieldName($sort_field_name)
+ {
+ $this->container['sort_field_name'] = $sort_field_name;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ReportInProductList.php b/src/Model/ReportInProductList.php
new file mode 100644
index 00000000..59037f7f
--- /dev/null
+++ b/src/Model/ReportInProductList.php
@@ -0,0 +1,300 @@
+ '\DocuSign\eSign\Model\ReportInProductListItem[]'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'reports' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'reports' => 'reports'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'reports' => 'setReports'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'reports' => 'getReports'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['reports'] = isset($data['reports']) ? $data['reports'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets reports
+ *
+ * @return \DocuSign\eSign\Model\ReportInProductListItem[]
+ */
+ public function getReports()
+ {
+ return $this->container['reports'];
+ }
+
+ /**
+ * Sets reports
+ *
+ * @param \DocuSign\eSign\Model\ReportInProductListItem[] $reports
+ *
+ * @return $this
+ */
+ public function setReports($reports)
+ {
+ $this->container['reports'] = $reports;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ReportInProductListItem.php b/src/Model/ReportInProductListItem.php
new file mode 100644
index 00000000..599904f6
--- /dev/null
+++ b/src/Model/ReportInProductListItem.php
@@ -0,0 +1,690 @@
+ 'string',
+ 'last_scheduled_execution_date' => 'string',
+ 'last_scheduled_execution_success_date' => 'string',
+ 'report_customized_id' => 'string',
+ 'report_description' => 'string',
+ 'report_id' => 'string',
+ 'report_name' => 'string',
+ 'report_type' => 'string',
+ 'run_uri' => 'string',
+ 'save_uri' => 'string',
+ 'schedule_create_date' => 'string',
+ 'schedule_end_date' => 'string',
+ 'schedule_id' => 'string',
+ 'schedule_renew_duration_days' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'get_uri' => null,
+ 'last_scheduled_execution_date' => null,
+ 'last_scheduled_execution_success_date' => null,
+ 'report_customized_id' => null,
+ 'report_description' => null,
+ 'report_id' => null,
+ 'report_name' => null,
+ 'report_type' => null,
+ 'run_uri' => null,
+ 'save_uri' => null,
+ 'schedule_create_date' => null,
+ 'schedule_end_date' => null,
+ 'schedule_id' => null,
+ 'schedule_renew_duration_days' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'get_uri' => 'getUri',
+ 'last_scheduled_execution_date' => 'lastScheduledExecutionDate',
+ 'last_scheduled_execution_success_date' => 'lastScheduledExecutionSuccessDate',
+ 'report_customized_id' => 'reportCustomizedId',
+ 'report_description' => 'reportDescription',
+ 'report_id' => 'reportId',
+ 'report_name' => 'reportName',
+ 'report_type' => 'reportType',
+ 'run_uri' => 'runUri',
+ 'save_uri' => 'saveUri',
+ 'schedule_create_date' => 'scheduleCreateDate',
+ 'schedule_end_date' => 'scheduleEndDate',
+ 'schedule_id' => 'scheduleId',
+ 'schedule_renew_duration_days' => 'scheduleRenewDurationDays'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'get_uri' => 'setGetUri',
+ 'last_scheduled_execution_date' => 'setLastScheduledExecutionDate',
+ 'last_scheduled_execution_success_date' => 'setLastScheduledExecutionSuccessDate',
+ 'report_customized_id' => 'setReportCustomizedId',
+ 'report_description' => 'setReportDescription',
+ 'report_id' => 'setReportId',
+ 'report_name' => 'setReportName',
+ 'report_type' => 'setReportType',
+ 'run_uri' => 'setRunUri',
+ 'save_uri' => 'setSaveUri',
+ 'schedule_create_date' => 'setScheduleCreateDate',
+ 'schedule_end_date' => 'setScheduleEndDate',
+ 'schedule_id' => 'setScheduleId',
+ 'schedule_renew_duration_days' => 'setScheduleRenewDurationDays'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'get_uri' => 'getGetUri',
+ 'last_scheduled_execution_date' => 'getLastScheduledExecutionDate',
+ 'last_scheduled_execution_success_date' => 'getLastScheduledExecutionSuccessDate',
+ 'report_customized_id' => 'getReportCustomizedId',
+ 'report_description' => 'getReportDescription',
+ 'report_id' => 'getReportId',
+ 'report_name' => 'getReportName',
+ 'report_type' => 'getReportType',
+ 'run_uri' => 'getRunUri',
+ 'save_uri' => 'getSaveUri',
+ 'schedule_create_date' => 'getScheduleCreateDate',
+ 'schedule_end_date' => 'getScheduleEndDate',
+ 'schedule_id' => 'getScheduleId',
+ 'schedule_renew_duration_days' => 'getScheduleRenewDurationDays'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['get_uri'] = isset($data['get_uri']) ? $data['get_uri'] : null;
+ $this->container['last_scheduled_execution_date'] = isset($data['last_scheduled_execution_date']) ? $data['last_scheduled_execution_date'] : null;
+ $this->container['last_scheduled_execution_success_date'] = isset($data['last_scheduled_execution_success_date']) ? $data['last_scheduled_execution_success_date'] : null;
+ $this->container['report_customized_id'] = isset($data['report_customized_id']) ? $data['report_customized_id'] : null;
+ $this->container['report_description'] = isset($data['report_description']) ? $data['report_description'] : null;
+ $this->container['report_id'] = isset($data['report_id']) ? $data['report_id'] : null;
+ $this->container['report_name'] = isset($data['report_name']) ? $data['report_name'] : null;
+ $this->container['report_type'] = isset($data['report_type']) ? $data['report_type'] : null;
+ $this->container['run_uri'] = isset($data['run_uri']) ? $data['run_uri'] : null;
+ $this->container['save_uri'] = isset($data['save_uri']) ? $data['save_uri'] : null;
+ $this->container['schedule_create_date'] = isset($data['schedule_create_date']) ? $data['schedule_create_date'] : null;
+ $this->container['schedule_end_date'] = isset($data['schedule_end_date']) ? $data['schedule_end_date'] : null;
+ $this->container['schedule_id'] = isset($data['schedule_id']) ? $data['schedule_id'] : null;
+ $this->container['schedule_renew_duration_days'] = isset($data['schedule_renew_duration_days']) ? $data['schedule_renew_duration_days'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets get_uri
+ *
+ * @return string
+ */
+ public function getGetUri()
+ {
+ return $this->container['get_uri'];
+ }
+
+ /**
+ * Sets get_uri
+ *
+ * @param string $get_uri
+ *
+ * @return $this
+ */
+ public function setGetUri($get_uri)
+ {
+ $this->container['get_uri'] = $get_uri;
+
+ return $this;
+ }
+
+ /**
+ * Gets last_scheduled_execution_date
+ *
+ * @return string
+ */
+ public function getLastScheduledExecutionDate()
+ {
+ return $this->container['last_scheduled_execution_date'];
+ }
+
+ /**
+ * Sets last_scheduled_execution_date
+ *
+ * @param string $last_scheduled_execution_date
+ *
+ * @return $this
+ */
+ public function setLastScheduledExecutionDate($last_scheduled_execution_date)
+ {
+ $this->container['last_scheduled_execution_date'] = $last_scheduled_execution_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets last_scheduled_execution_success_date
+ *
+ * @return string
+ */
+ public function getLastScheduledExecutionSuccessDate()
+ {
+ return $this->container['last_scheduled_execution_success_date'];
+ }
+
+ /**
+ * Sets last_scheduled_execution_success_date
+ *
+ * @param string $last_scheduled_execution_success_date
+ *
+ * @return $this
+ */
+ public function setLastScheduledExecutionSuccessDate($last_scheduled_execution_success_date)
+ {
+ $this->container['last_scheduled_execution_success_date'] = $last_scheduled_execution_success_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_customized_id
+ *
+ * @return string
+ */
+ public function getReportCustomizedId()
+ {
+ return $this->container['report_customized_id'];
+ }
+
+ /**
+ * Sets report_customized_id
+ *
+ * @param string $report_customized_id
+ *
+ * @return $this
+ */
+ public function setReportCustomizedId($report_customized_id)
+ {
+ $this->container['report_customized_id'] = $report_customized_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_description
+ *
+ * @return string
+ */
+ public function getReportDescription()
+ {
+ return $this->container['report_description'];
+ }
+
+ /**
+ * Sets report_description
+ *
+ * @param string $report_description
+ *
+ * @return $this
+ */
+ public function setReportDescription($report_description)
+ {
+ $this->container['report_description'] = $report_description;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_id
+ *
+ * @return string
+ */
+ public function getReportId()
+ {
+ return $this->container['report_id'];
+ }
+
+ /**
+ * Sets report_id
+ *
+ * @param string $report_id
+ *
+ * @return $this
+ */
+ public function setReportId($report_id)
+ {
+ $this->container['report_id'] = $report_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_name
+ *
+ * @return string
+ */
+ public function getReportName()
+ {
+ return $this->container['report_name'];
+ }
+
+ /**
+ * Sets report_name
+ *
+ * @param string $report_name
+ *
+ * @return $this
+ */
+ public function setReportName($report_name)
+ {
+ $this->container['report_name'] = $report_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_type
+ *
+ * @return string
+ */
+ public function getReportType()
+ {
+ return $this->container['report_type'];
+ }
+
+ /**
+ * Sets report_type
+ *
+ * @param string $report_type
+ *
+ * @return $this
+ */
+ public function setReportType($report_type)
+ {
+ $this->container['report_type'] = $report_type;
+
+ return $this;
+ }
+
+ /**
+ * Gets run_uri
+ *
+ * @return string
+ */
+ public function getRunUri()
+ {
+ return $this->container['run_uri'];
+ }
+
+ /**
+ * Sets run_uri
+ *
+ * @param string $run_uri
+ *
+ * @return $this
+ */
+ public function setRunUri($run_uri)
+ {
+ $this->container['run_uri'] = $run_uri;
+
+ return $this;
+ }
+
+ /**
+ * Gets save_uri
+ *
+ * @return string
+ */
+ public function getSaveUri()
+ {
+ return $this->container['save_uri'];
+ }
+
+ /**
+ * Sets save_uri
+ *
+ * @param string $save_uri
+ *
+ * @return $this
+ */
+ public function setSaveUri($save_uri)
+ {
+ $this->container['save_uri'] = $save_uri;
+
+ return $this;
+ }
+
+ /**
+ * Gets schedule_create_date
+ *
+ * @return string
+ */
+ public function getScheduleCreateDate()
+ {
+ return $this->container['schedule_create_date'];
+ }
+
+ /**
+ * Sets schedule_create_date
+ *
+ * @param string $schedule_create_date
+ *
+ * @return $this
+ */
+ public function setScheduleCreateDate($schedule_create_date)
+ {
+ $this->container['schedule_create_date'] = $schedule_create_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets schedule_end_date
+ *
+ * @return string
+ */
+ public function getScheduleEndDate()
+ {
+ return $this->container['schedule_end_date'];
+ }
+
+ /**
+ * Sets schedule_end_date
+ *
+ * @param string $schedule_end_date
+ *
+ * @return $this
+ */
+ public function setScheduleEndDate($schedule_end_date)
+ {
+ $this->container['schedule_end_date'] = $schedule_end_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets schedule_id
+ *
+ * @return string
+ */
+ public function getScheduleId()
+ {
+ return $this->container['schedule_id'];
+ }
+
+ /**
+ * Sets schedule_id
+ *
+ * @param string $schedule_id
+ *
+ * @return $this
+ */
+ public function setScheduleId($schedule_id)
+ {
+ $this->container['schedule_id'] = $schedule_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets schedule_renew_duration_days
+ *
+ * @return string
+ */
+ public function getScheduleRenewDurationDays()
+ {
+ return $this->container['schedule_renew_duration_days'];
+ }
+
+ /**
+ * Sets schedule_renew_duration_days
+ *
+ * @param string $schedule_renew_duration_days
+ *
+ * @return $this
+ */
+ public function setScheduleRenewDurationDays($schedule_renew_duration_days)
+ {
+ $this->container['schedule_renew_duration_days'] = $schedule_renew_duration_days;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ReportInProductRunRequest.php b/src/Model/ReportInProductRunRequest.php
new file mode 100644
index 00000000..e3e39cfd
--- /dev/null
+++ b/src/Model/ReportInProductRunRequest.php
@@ -0,0 +1,930 @@
+ 'string',
+ 'date_range_custom_from_date' => 'string',
+ 'date_range_custom_to_date' => 'string',
+ 'date_range_filter' => 'string',
+ 'envelope_date_type_filter' => 'string',
+ 'envelope_recipient_name_contains_filter' => 'string',
+ 'envelope_status_filter' => 'string',
+ 'envelope_subject_contains_filter' => 'string',
+ 'fields' => '\DocuSign\eSign\Model\ReportInProductField[]',
+ 'for_download' => 'string',
+ 'is_dashboard' => 'string',
+ 'period_length_filter' => 'string',
+ 'report_customized_id' => 'string',
+ 'report_description' => 'string',
+ 'report_id' => 'string',
+ 'report_invocation_type' => 'string',
+ 'report_name' => 'string',
+ 'sent_by_filter' => 'string',
+ 'sent_by_ids' => 'string',
+ 'sort_direction' => 'string',
+ 'sort_field' => 'string',
+ 'start_position' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'custom_field_filter' => null,
+ 'date_range_custom_from_date' => null,
+ 'date_range_custom_to_date' => null,
+ 'date_range_filter' => null,
+ 'envelope_date_type_filter' => null,
+ 'envelope_recipient_name_contains_filter' => null,
+ 'envelope_status_filter' => null,
+ 'envelope_subject_contains_filter' => null,
+ 'fields' => null,
+ 'for_download' => null,
+ 'is_dashboard' => null,
+ 'period_length_filter' => null,
+ 'report_customized_id' => null,
+ 'report_description' => null,
+ 'report_id' => null,
+ 'report_invocation_type' => null,
+ 'report_name' => null,
+ 'sent_by_filter' => null,
+ 'sent_by_ids' => null,
+ 'sort_direction' => null,
+ 'sort_field' => null,
+ 'start_position' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'custom_field_filter' => 'customFieldFilter',
+ 'date_range_custom_from_date' => 'dateRangeCustomFromDate',
+ 'date_range_custom_to_date' => 'dateRangeCustomToDate',
+ 'date_range_filter' => 'dateRangeFilter',
+ 'envelope_date_type_filter' => 'envelopeDateTypeFilter',
+ 'envelope_recipient_name_contains_filter' => 'envelopeRecipientNameContainsFilter',
+ 'envelope_status_filter' => 'envelopeStatusFilter',
+ 'envelope_subject_contains_filter' => 'envelopeSubjectContainsFilter',
+ 'fields' => 'fields',
+ 'for_download' => 'forDownload',
+ 'is_dashboard' => 'isDashboard',
+ 'period_length_filter' => 'periodLengthFilter',
+ 'report_customized_id' => 'reportCustomizedId',
+ 'report_description' => 'reportDescription',
+ 'report_id' => 'reportId',
+ 'report_invocation_type' => 'reportInvocationType',
+ 'report_name' => 'reportName',
+ 'sent_by_filter' => 'sentByFilter',
+ 'sent_by_ids' => 'sentByIds',
+ 'sort_direction' => 'sortDirection',
+ 'sort_field' => 'sortField',
+ 'start_position' => 'startPosition'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'custom_field_filter' => 'setCustomFieldFilter',
+ 'date_range_custom_from_date' => 'setDateRangeCustomFromDate',
+ 'date_range_custom_to_date' => 'setDateRangeCustomToDate',
+ 'date_range_filter' => 'setDateRangeFilter',
+ 'envelope_date_type_filter' => 'setEnvelopeDateTypeFilter',
+ 'envelope_recipient_name_contains_filter' => 'setEnvelopeRecipientNameContainsFilter',
+ 'envelope_status_filter' => 'setEnvelopeStatusFilter',
+ 'envelope_subject_contains_filter' => 'setEnvelopeSubjectContainsFilter',
+ 'fields' => 'setFields',
+ 'for_download' => 'setForDownload',
+ 'is_dashboard' => 'setIsDashboard',
+ 'period_length_filter' => 'setPeriodLengthFilter',
+ 'report_customized_id' => 'setReportCustomizedId',
+ 'report_description' => 'setReportDescription',
+ 'report_id' => 'setReportId',
+ 'report_invocation_type' => 'setReportInvocationType',
+ 'report_name' => 'setReportName',
+ 'sent_by_filter' => 'setSentByFilter',
+ 'sent_by_ids' => 'setSentByIds',
+ 'sort_direction' => 'setSortDirection',
+ 'sort_field' => 'setSortField',
+ 'start_position' => 'setStartPosition'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'custom_field_filter' => 'getCustomFieldFilter',
+ 'date_range_custom_from_date' => 'getDateRangeCustomFromDate',
+ 'date_range_custom_to_date' => 'getDateRangeCustomToDate',
+ 'date_range_filter' => 'getDateRangeFilter',
+ 'envelope_date_type_filter' => 'getEnvelopeDateTypeFilter',
+ 'envelope_recipient_name_contains_filter' => 'getEnvelopeRecipientNameContainsFilter',
+ 'envelope_status_filter' => 'getEnvelopeStatusFilter',
+ 'envelope_subject_contains_filter' => 'getEnvelopeSubjectContainsFilter',
+ 'fields' => 'getFields',
+ 'for_download' => 'getForDownload',
+ 'is_dashboard' => 'getIsDashboard',
+ 'period_length_filter' => 'getPeriodLengthFilter',
+ 'report_customized_id' => 'getReportCustomizedId',
+ 'report_description' => 'getReportDescription',
+ 'report_id' => 'getReportId',
+ 'report_invocation_type' => 'getReportInvocationType',
+ 'report_name' => 'getReportName',
+ 'sent_by_filter' => 'getSentByFilter',
+ 'sent_by_ids' => 'getSentByIds',
+ 'sort_direction' => 'getSortDirection',
+ 'sort_field' => 'getSortField',
+ 'start_position' => 'getStartPosition'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['custom_field_filter'] = isset($data['custom_field_filter']) ? $data['custom_field_filter'] : null;
+ $this->container['date_range_custom_from_date'] = isset($data['date_range_custom_from_date']) ? $data['date_range_custom_from_date'] : null;
+ $this->container['date_range_custom_to_date'] = isset($data['date_range_custom_to_date']) ? $data['date_range_custom_to_date'] : null;
+ $this->container['date_range_filter'] = isset($data['date_range_filter']) ? $data['date_range_filter'] : null;
+ $this->container['envelope_date_type_filter'] = isset($data['envelope_date_type_filter']) ? $data['envelope_date_type_filter'] : null;
+ $this->container['envelope_recipient_name_contains_filter'] = isset($data['envelope_recipient_name_contains_filter']) ? $data['envelope_recipient_name_contains_filter'] : null;
+ $this->container['envelope_status_filter'] = isset($data['envelope_status_filter']) ? $data['envelope_status_filter'] : null;
+ $this->container['envelope_subject_contains_filter'] = isset($data['envelope_subject_contains_filter']) ? $data['envelope_subject_contains_filter'] : null;
+ $this->container['fields'] = isset($data['fields']) ? $data['fields'] : null;
+ $this->container['for_download'] = isset($data['for_download']) ? $data['for_download'] : null;
+ $this->container['is_dashboard'] = isset($data['is_dashboard']) ? $data['is_dashboard'] : null;
+ $this->container['period_length_filter'] = isset($data['period_length_filter']) ? $data['period_length_filter'] : null;
+ $this->container['report_customized_id'] = isset($data['report_customized_id']) ? $data['report_customized_id'] : null;
+ $this->container['report_description'] = isset($data['report_description']) ? $data['report_description'] : null;
+ $this->container['report_id'] = isset($data['report_id']) ? $data['report_id'] : null;
+ $this->container['report_invocation_type'] = isset($data['report_invocation_type']) ? $data['report_invocation_type'] : null;
+ $this->container['report_name'] = isset($data['report_name']) ? $data['report_name'] : null;
+ $this->container['sent_by_filter'] = isset($data['sent_by_filter']) ? $data['sent_by_filter'] : null;
+ $this->container['sent_by_ids'] = isset($data['sent_by_ids']) ? $data['sent_by_ids'] : null;
+ $this->container['sort_direction'] = isset($data['sort_direction']) ? $data['sort_direction'] : null;
+ $this->container['sort_field'] = isset($data['sort_field']) ? $data['sort_field'] : null;
+ $this->container['start_position'] = isset($data['start_position']) ? $data['start_position'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets custom_field_filter
+ *
+ * @return string
+ */
+ public function getCustomFieldFilter()
+ {
+ return $this->container['custom_field_filter'];
+ }
+
+ /**
+ * Sets custom_field_filter
+ *
+ * @param string $custom_field_filter
+ *
+ * @return $this
+ */
+ public function setCustomFieldFilter($custom_field_filter)
+ {
+ $this->container['custom_field_filter'] = $custom_field_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets date_range_custom_from_date
+ *
+ * @return string
+ */
+ public function getDateRangeCustomFromDate()
+ {
+ return $this->container['date_range_custom_from_date'];
+ }
+
+ /**
+ * Sets date_range_custom_from_date
+ *
+ * @param string $date_range_custom_from_date
+ *
+ * @return $this
+ */
+ public function setDateRangeCustomFromDate($date_range_custom_from_date)
+ {
+ $this->container['date_range_custom_from_date'] = $date_range_custom_from_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets date_range_custom_to_date
+ *
+ * @return string
+ */
+ public function getDateRangeCustomToDate()
+ {
+ return $this->container['date_range_custom_to_date'];
+ }
+
+ /**
+ * Sets date_range_custom_to_date
+ *
+ * @param string $date_range_custom_to_date
+ *
+ * @return $this
+ */
+ public function setDateRangeCustomToDate($date_range_custom_to_date)
+ {
+ $this->container['date_range_custom_to_date'] = $date_range_custom_to_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets date_range_filter
+ *
+ * @return string
+ */
+ public function getDateRangeFilter()
+ {
+ return $this->container['date_range_filter'];
+ }
+
+ /**
+ * Sets date_range_filter
+ *
+ * @param string $date_range_filter
+ *
+ * @return $this
+ */
+ public function setDateRangeFilter($date_range_filter)
+ {
+ $this->container['date_range_filter'] = $date_range_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_date_type_filter
+ *
+ * @return string
+ */
+ public function getEnvelopeDateTypeFilter()
+ {
+ return $this->container['envelope_date_type_filter'];
+ }
+
+ /**
+ * Sets envelope_date_type_filter
+ *
+ * @param string $envelope_date_type_filter
+ *
+ * @return $this
+ */
+ public function setEnvelopeDateTypeFilter($envelope_date_type_filter)
+ {
+ $this->container['envelope_date_type_filter'] = $envelope_date_type_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_recipient_name_contains_filter
+ *
+ * @return string
+ */
+ public function getEnvelopeRecipientNameContainsFilter()
+ {
+ return $this->container['envelope_recipient_name_contains_filter'];
+ }
+
+ /**
+ * Sets envelope_recipient_name_contains_filter
+ *
+ * @param string $envelope_recipient_name_contains_filter
+ *
+ * @return $this
+ */
+ public function setEnvelopeRecipientNameContainsFilter($envelope_recipient_name_contains_filter)
+ {
+ $this->container['envelope_recipient_name_contains_filter'] = $envelope_recipient_name_contains_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_status_filter
+ *
+ * @return string
+ */
+ public function getEnvelopeStatusFilter()
+ {
+ return $this->container['envelope_status_filter'];
+ }
+
+ /**
+ * Sets envelope_status_filter
+ *
+ * @param string $envelope_status_filter
+ *
+ * @return $this
+ */
+ public function setEnvelopeStatusFilter($envelope_status_filter)
+ {
+ $this->container['envelope_status_filter'] = $envelope_status_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_subject_contains_filter
+ *
+ * @return string
+ */
+ public function getEnvelopeSubjectContainsFilter()
+ {
+ return $this->container['envelope_subject_contains_filter'];
+ }
+
+ /**
+ * Sets envelope_subject_contains_filter
+ *
+ * @param string $envelope_subject_contains_filter
+ *
+ * @return $this
+ */
+ public function setEnvelopeSubjectContainsFilter($envelope_subject_contains_filter)
+ {
+ $this->container['envelope_subject_contains_filter'] = $envelope_subject_contains_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets fields
+ *
+ * @return \DocuSign\eSign\Model\ReportInProductField[]
+ */
+ public function getFields()
+ {
+ return $this->container['fields'];
+ }
+
+ /**
+ * Sets fields
+ *
+ * @param \DocuSign\eSign\Model\ReportInProductField[] $fields
+ *
+ * @return $this
+ */
+ public function setFields($fields)
+ {
+ $this->container['fields'] = $fields;
+
+ return $this;
+ }
+
+ /**
+ * Gets for_download
+ *
+ * @return string
+ */
+ public function getForDownload()
+ {
+ return $this->container['for_download'];
+ }
+
+ /**
+ * Sets for_download
+ *
+ * @param string $for_download
+ *
+ * @return $this
+ */
+ public function setForDownload($for_download)
+ {
+ $this->container['for_download'] = $for_download;
+
+ return $this;
+ }
+
+ /**
+ * Gets is_dashboard
+ *
+ * @return string
+ */
+ public function getIsDashboard()
+ {
+ return $this->container['is_dashboard'];
+ }
+
+ /**
+ * Sets is_dashboard
+ *
+ * @param string $is_dashboard
+ *
+ * @return $this
+ */
+ public function setIsDashboard($is_dashboard)
+ {
+ $this->container['is_dashboard'] = $is_dashboard;
+
+ return $this;
+ }
+
+ /**
+ * Gets period_length_filter
+ *
+ * @return string
+ */
+ public function getPeriodLengthFilter()
+ {
+ return $this->container['period_length_filter'];
+ }
+
+ /**
+ * Sets period_length_filter
+ *
+ * @param string $period_length_filter
+ *
+ * @return $this
+ */
+ public function setPeriodLengthFilter($period_length_filter)
+ {
+ $this->container['period_length_filter'] = $period_length_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_customized_id
+ *
+ * @return string
+ */
+ public function getReportCustomizedId()
+ {
+ return $this->container['report_customized_id'];
+ }
+
+ /**
+ * Sets report_customized_id
+ *
+ * @param string $report_customized_id
+ *
+ * @return $this
+ */
+ public function setReportCustomizedId($report_customized_id)
+ {
+ $this->container['report_customized_id'] = $report_customized_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_description
+ *
+ * @return string
+ */
+ public function getReportDescription()
+ {
+ return $this->container['report_description'];
+ }
+
+ /**
+ * Sets report_description
+ *
+ * @param string $report_description
+ *
+ * @return $this
+ */
+ public function setReportDescription($report_description)
+ {
+ $this->container['report_description'] = $report_description;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_id
+ *
+ * @return string
+ */
+ public function getReportId()
+ {
+ return $this->container['report_id'];
+ }
+
+ /**
+ * Sets report_id
+ *
+ * @param string $report_id
+ *
+ * @return $this
+ */
+ public function setReportId($report_id)
+ {
+ $this->container['report_id'] = $report_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_invocation_type
+ *
+ * @return string
+ */
+ public function getReportInvocationType()
+ {
+ return $this->container['report_invocation_type'];
+ }
+
+ /**
+ * Sets report_invocation_type
+ *
+ * @param string $report_invocation_type
+ *
+ * @return $this
+ */
+ public function setReportInvocationType($report_invocation_type)
+ {
+ $this->container['report_invocation_type'] = $report_invocation_type;
+
+ return $this;
+ }
+
+ /**
+ * Gets report_name
+ *
+ * @return string
+ */
+ public function getReportName()
+ {
+ return $this->container['report_name'];
+ }
+
+ /**
+ * Sets report_name
+ *
+ * @param string $report_name
+ *
+ * @return $this
+ */
+ public function setReportName($report_name)
+ {
+ $this->container['report_name'] = $report_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets sent_by_filter
+ *
+ * @return string
+ */
+ public function getSentByFilter()
+ {
+ return $this->container['sent_by_filter'];
+ }
+
+ /**
+ * Sets sent_by_filter
+ *
+ * @param string $sent_by_filter
+ *
+ * @return $this
+ */
+ public function setSentByFilter($sent_by_filter)
+ {
+ $this->container['sent_by_filter'] = $sent_by_filter;
+
+ return $this;
+ }
+
+ /**
+ * Gets sent_by_ids
+ *
+ * @return string
+ */
+ public function getSentByIds()
+ {
+ return $this->container['sent_by_ids'];
+ }
+
+ /**
+ * Sets sent_by_ids
+ *
+ * @param string $sent_by_ids
+ *
+ * @return $this
+ */
+ public function setSentByIds($sent_by_ids)
+ {
+ $this->container['sent_by_ids'] = $sent_by_ids;
+
+ return $this;
+ }
+
+ /**
+ * Gets sort_direction
+ *
+ * @return string
+ */
+ public function getSortDirection()
+ {
+ return $this->container['sort_direction'];
+ }
+
+ /**
+ * Sets sort_direction
+ *
+ * @param string $sort_direction
+ *
+ * @return $this
+ */
+ public function setSortDirection($sort_direction)
+ {
+ $this->container['sort_direction'] = $sort_direction;
+
+ return $this;
+ }
+
+ /**
+ * Gets sort_field
+ *
+ * @return string
+ */
+ public function getSortField()
+ {
+ return $this->container['sort_field'];
+ }
+
+ /**
+ * Sets sort_field
+ *
+ * @param string $sort_field
+ *
+ * @return $this
+ */
+ public function setSortField($sort_field)
+ {
+ $this->container['sort_field'] = $sort_field;
+
+ return $this;
+ }
+
+ /**
+ * Gets start_position
+ *
+ * @return string
+ */
+ public function getStartPosition()
+ {
+ return $this->container['start_position'];
+ }
+
+ /**
+ * Sets start_position
+ *
+ * @param string $start_position Starting position of the current result set.
+ *
+ * @return $this
+ */
+ public function setStartPosition($start_position)
+ {
+ $this->container['start_position'] = $start_position;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ReportInProductRunResponse.php b/src/Model/ReportInProductRunResponse.php
new file mode 100644
index 00000000..e621003d
--- /dev/null
+++ b/src/Model/ReportInProductRunResponse.php
@@ -0,0 +1,480 @@
+ 'string',
+ 'exceeded_max_results' => 'string',
+ 'last_warehouse_refresh_date_time' => 'string',
+ 'result_set_size' => 'string',
+ 'rows' => '\DocuSign\eSign\Model\ReportInProductRunResponseRow[]',
+ 'start_position' => 'string',
+ 'total_set_size' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'end_position' => null,
+ 'exceeded_max_results' => null,
+ 'last_warehouse_refresh_date_time' => null,
+ 'result_set_size' => null,
+ 'rows' => null,
+ 'start_position' => null,
+ 'total_set_size' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'end_position' => 'endPosition',
+ 'exceeded_max_results' => 'exceededMaxResults',
+ 'last_warehouse_refresh_date_time' => 'lastWarehouseRefreshDateTime',
+ 'result_set_size' => 'resultSetSize',
+ 'rows' => 'rows',
+ 'start_position' => 'startPosition',
+ 'total_set_size' => 'totalSetSize'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'end_position' => 'setEndPosition',
+ 'exceeded_max_results' => 'setExceededMaxResults',
+ 'last_warehouse_refresh_date_time' => 'setLastWarehouseRefreshDateTime',
+ 'result_set_size' => 'setResultSetSize',
+ 'rows' => 'setRows',
+ 'start_position' => 'setStartPosition',
+ 'total_set_size' => 'setTotalSetSize'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'end_position' => 'getEndPosition',
+ 'exceeded_max_results' => 'getExceededMaxResults',
+ 'last_warehouse_refresh_date_time' => 'getLastWarehouseRefreshDateTime',
+ 'result_set_size' => 'getResultSetSize',
+ 'rows' => 'getRows',
+ 'start_position' => 'getStartPosition',
+ 'total_set_size' => 'getTotalSetSize'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['end_position'] = isset($data['end_position']) ? $data['end_position'] : null;
+ $this->container['exceeded_max_results'] = isset($data['exceeded_max_results']) ? $data['exceeded_max_results'] : null;
+ $this->container['last_warehouse_refresh_date_time'] = isset($data['last_warehouse_refresh_date_time']) ? $data['last_warehouse_refresh_date_time'] : null;
+ $this->container['result_set_size'] = isset($data['result_set_size']) ? $data['result_set_size'] : null;
+ $this->container['rows'] = isset($data['rows']) ? $data['rows'] : null;
+ $this->container['start_position'] = isset($data['start_position']) ? $data['start_position'] : null;
+ $this->container['total_set_size'] = isset($data['total_set_size']) ? $data['total_set_size'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets end_position
+ *
+ * @return string
+ */
+ public function getEndPosition()
+ {
+ return $this->container['end_position'];
+ }
+
+ /**
+ * Sets end_position
+ *
+ * @param string $end_position The last position in the result set.
+ *
+ * @return $this
+ */
+ public function setEndPosition($end_position)
+ {
+ $this->container['end_position'] = $end_position;
+
+ return $this;
+ }
+
+ /**
+ * Gets exceeded_max_results
+ *
+ * @return string
+ */
+ public function getExceededMaxResults()
+ {
+ return $this->container['exceeded_max_results'];
+ }
+
+ /**
+ * Sets exceeded_max_results
+ *
+ * @param string $exceeded_max_results
+ *
+ * @return $this
+ */
+ public function setExceededMaxResults($exceeded_max_results)
+ {
+ $this->container['exceeded_max_results'] = $exceeded_max_results;
+
+ return $this;
+ }
+
+ /**
+ * Gets last_warehouse_refresh_date_time
+ *
+ * @return string
+ */
+ public function getLastWarehouseRefreshDateTime()
+ {
+ return $this->container['last_warehouse_refresh_date_time'];
+ }
+
+ /**
+ * Sets last_warehouse_refresh_date_time
+ *
+ * @param string $last_warehouse_refresh_date_time
+ *
+ * @return $this
+ */
+ public function setLastWarehouseRefreshDateTime($last_warehouse_refresh_date_time)
+ {
+ $this->container['last_warehouse_refresh_date_time'] = $last_warehouse_refresh_date_time;
+
+ return $this;
+ }
+
+ /**
+ * Gets result_set_size
+ *
+ * @return string
+ */
+ public function getResultSetSize()
+ {
+ return $this->container['result_set_size'];
+ }
+
+ /**
+ * Sets result_set_size
+ *
+ * @param string $result_set_size The number of results returned in this response.
+ *
+ * @return $this
+ */
+ public function setResultSetSize($result_set_size)
+ {
+ $this->container['result_set_size'] = $result_set_size;
+
+ return $this;
+ }
+
+ /**
+ * Gets rows
+ *
+ * @return \DocuSign\eSign\Model\ReportInProductRunResponseRow[]
+ */
+ public function getRows()
+ {
+ return $this->container['rows'];
+ }
+
+ /**
+ * Sets rows
+ *
+ * @param \DocuSign\eSign\Model\ReportInProductRunResponseRow[] $rows
+ *
+ * @return $this
+ */
+ public function setRows($rows)
+ {
+ $this->container['rows'] = $rows;
+
+ return $this;
+ }
+
+ /**
+ * Gets start_position
+ *
+ * @return string
+ */
+ public function getStartPosition()
+ {
+ return $this->container['start_position'];
+ }
+
+ /**
+ * Sets start_position
+ *
+ * @param string $start_position Starting position of the current result set.
+ *
+ * @return $this
+ */
+ public function setStartPosition($start_position)
+ {
+ $this->container['start_position'] = $start_position;
+
+ return $this;
+ }
+
+ /**
+ * Gets total_set_size
+ *
+ * @return string
+ */
+ public function getTotalSetSize()
+ {
+ return $this->container['total_set_size'];
+ }
+
+ /**
+ * Sets total_set_size
+ *
+ * @param string $total_set_size The total number of items available in the result set. This will always be greater than or equal to the value of the property returning the results in the in the response.
+ *
+ * @return $this
+ */
+ public function setTotalSetSize($total_set_size)
+ {
+ $this->container['total_set_size'] = $total_set_size;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ReportInProductRunResponseRow.php b/src/Model/ReportInProductRunResponseRow.php
new file mode 100644
index 00000000..8077ddea
--- /dev/null
+++ b/src/Model/ReportInProductRunResponseRow.php
@@ -0,0 +1,330 @@
+ 'string',
+ 'fields' => '\DocuSign\eSign\Model\ReportInProductRunResponseRowFields'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'envelope_id' => null,
+ 'fields' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'envelope_id' => 'envelopeId',
+ 'fields' => 'fields'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'envelope_id' => 'setEnvelopeId',
+ 'fields' => 'setFields'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'envelope_id' => 'getEnvelopeId',
+ 'fields' => 'getFields'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['envelope_id'] = isset($data['envelope_id']) ? $data['envelope_id'] : null;
+ $this->container['fields'] = isset($data['fields']) ? $data['fields'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets envelope_id
+ *
+ * @return string
+ */
+ public function getEnvelopeId()
+ {
+ return $this->container['envelope_id'];
+ }
+
+ /**
+ * Sets envelope_id
+ *
+ * @param string $envelope_id The envelope ID of the envelope status that failed to post.
+ *
+ * @return $this
+ */
+ public function setEnvelopeId($envelope_id)
+ {
+ $this->container['envelope_id'] = $envelope_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets fields
+ *
+ * @return \DocuSign\eSign\Model\ReportInProductRunResponseRowFields
+ */
+ public function getFields()
+ {
+ return $this->container['fields'];
+ }
+
+ /**
+ * Sets fields
+ *
+ * @param \DocuSign\eSign\Model\ReportInProductRunResponseRowFields $fields fields
+ *
+ * @return $this
+ */
+ public function setFields($fields)
+ {
+ $this->container['fields'] = $fields;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ReportInProductRunResponseRowFields.php b/src/Model/ReportInProductRunResponseRowFields.php
new file mode 100644
index 00000000..0a3fddf1
--- /dev/null
+++ b/src/Model/ReportInProductRunResponseRowFields.php
@@ -0,0 +1,3930 @@
+ 'string',
+ 'access_codes_attempted' => 'string',
+ 'access_codes_failed' => 'string',
+ 'account_id' => 'string',
+ 'authentication_category' => 'string',
+ 'authentication_success' => 'string',
+ 'authentication_type' => 'string',
+ 'average_time_to_complete_seconds' => 'string',
+ 'avg_complete_seconds' => 'string',
+ 'completed' => 'string',
+ 'completed_ts' => 'string',
+ 'created_date' => 'string',
+ 'custom_field' => 'string',
+ 'declined_date' => 'string',
+ 'declined_reason' => 'string',
+ 'delivered_date' => 'string',
+ 'envelope_count' => 'string',
+ 'envelope_creator' => 'string',
+ 'envelope_id' => 'string',
+ 'envelope_initial_send_ts' => 'string',
+ 'envelopes_billed' => 'string',
+ 'envelopes_completed' => 'string',
+ 'envelopes_completed_count' => 'string',
+ 'envelopes_declined' => 'string',
+ 'envelopes_sent' => 'string',
+ 'envelopes_sent_count' => 'string',
+ 'envelopes_voided' => 'string',
+ 'envelope_voided_reason' => 'string',
+ 'eod_document_description' => 'string',
+ 'eod_document_name' => 'string',
+ 'eod_document_profile_id' => 'string',
+ 'eod_transaction_id' => 'string',
+ 'eod_transaction_name' => 'string',
+ 'event_date' => 'string',
+ 'expiration_date' => 'string',
+ 'expired_ts' => 'string',
+ 'failures' => 'string',
+ 'failure_vendor_code' => 'string',
+ 'failure_vendor_reason' => 'string',
+ 'first_send_ts' => 'string',
+ 'group_id' => 'string',
+ 'group_name' => 'string',
+ 'hours_to_complete_end' => 'string',
+ 'hours_to_complete_start' => 'string',
+ 'id_checks_attempted' => 'string',
+ 'id_checks_failed' => 'string',
+ 'initial_send_ts' => 'string',
+ 'ip_address' => 'string',
+ 'last_activity' => 'string',
+ 'last_activity_date' => 'string',
+ 'last_sent_date' => 'string',
+ 'not_signed' => 'string',
+ 'number_of_authenticated_recipients' => 'string',
+ 'number_of_completed_signatures' => 'string',
+ 'number_of_documents' => 'string',
+ 'number_of_pages' => 'string',
+ 'number_of_recipients' => 'string',
+ 'number_of_sends' => 'string',
+ 'number_of_signers' => 'string',
+ 'number_of_total_documents' => 'string',
+ 'number_of_total_pages' => 'string',
+ 'number_of_total_signers' => 'string',
+ 'number_of_unique_senders' => 'string',
+ 'number_total_recipients' => 'string',
+ 'period_end' => 'string',
+ 'period_start' => 'string',
+ 'phone_calls_attempted' => 'string',
+ 'phone_calls_failed' => 'string',
+ 'reason_for_declining' => 'string',
+ 'reason_for_voiding' => 'string',
+ 'reassign_reason' => 'string',
+ 'received' => 'string',
+ 'recipient' => 'string',
+ 'recipient_action' => 'string',
+ 'recipient_company_name' => 'string',
+ 'recipient_country' => 'string',
+ 'recipient_email' => 'string',
+ 'recipient_id' => 'string',
+ 'recipient_name' => 'string',
+ 'recipient_template_role_name' => 'string',
+ 'recipient_title' => 'string',
+ 'recipient_type' => 'string',
+ 'recipient_user_id' => 'string',
+ 'remaining_signatures' => 'string',
+ 'routing_order' => 'string',
+ 'sender_account_id' => 'string',
+ 'sender_company_name' => 'string',
+ 'sender_country' => 'string',
+ 'sender_email' => 'string',
+ 'sender_ip_address' => 'string',
+ 'sender_job_title' => 'string',
+ 'sender_name' => 'string',
+ 'sender_user_id' => 'string',
+ 'sign_date' => 'string',
+ 'signed' => 'string',
+ 'signed_date' => 'string',
+ 'signed_on_mobile' => 'string',
+ 'signed_on_paper' => 'string',
+ 'signer_list' => 'string',
+ 'status' => 'string',
+ 'status_changed_date' => 'string',
+ 'status_changed_ts' => 'string',
+ 'subject' => 'string',
+ 'successes' => 'string',
+ 'templates_created' => 'string',
+ 'templates_created_count' => 'string',
+ 'terminal_status_date' => 'string',
+ 'time_to_complete_seconds' => 'string',
+ 'time_to_deliver' => 'string',
+ 'total_documents' => 'string',
+ 'total_envelopes' => 'string',
+ 'total_pages' => 'string',
+ 'total_recipients' => 'string',
+ 'total_signers' => 'string',
+ 'unique_senders' => 'string',
+ 'user_account_email' => 'string',
+ 'user_account_name' => 'string',
+ 'user_account_status' => 'string',
+ 'user_count' => 'string',
+ 'user_id' => 'string',
+ 'view_date' => 'string',
+ 'voided_ts' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'access_code_required' => null,
+ 'access_codes_attempted' => null,
+ 'access_codes_failed' => null,
+ 'account_id' => null,
+ 'authentication_category' => null,
+ 'authentication_success' => null,
+ 'authentication_type' => null,
+ 'average_time_to_complete_seconds' => null,
+ 'avg_complete_seconds' => null,
+ 'completed' => null,
+ 'completed_ts' => null,
+ 'created_date' => null,
+ 'custom_field' => null,
+ 'declined_date' => null,
+ 'declined_reason' => null,
+ 'delivered_date' => null,
+ 'envelope_count' => null,
+ 'envelope_creator' => null,
+ 'envelope_id' => null,
+ 'envelope_initial_send_ts' => null,
+ 'envelopes_billed' => null,
+ 'envelopes_completed' => null,
+ 'envelopes_completed_count' => null,
+ 'envelopes_declined' => null,
+ 'envelopes_sent' => null,
+ 'envelopes_sent_count' => null,
+ 'envelopes_voided' => null,
+ 'envelope_voided_reason' => null,
+ 'eod_document_description' => null,
+ 'eod_document_name' => null,
+ 'eod_document_profile_id' => null,
+ 'eod_transaction_id' => null,
+ 'eod_transaction_name' => null,
+ 'event_date' => null,
+ 'expiration_date' => null,
+ 'expired_ts' => null,
+ 'failures' => null,
+ 'failure_vendor_code' => null,
+ 'failure_vendor_reason' => null,
+ 'first_send_ts' => null,
+ 'group_id' => null,
+ 'group_name' => null,
+ 'hours_to_complete_end' => null,
+ 'hours_to_complete_start' => null,
+ 'id_checks_attempted' => null,
+ 'id_checks_failed' => null,
+ 'initial_send_ts' => null,
+ 'ip_address' => null,
+ 'last_activity' => null,
+ 'last_activity_date' => null,
+ 'last_sent_date' => null,
+ 'not_signed' => null,
+ 'number_of_authenticated_recipients' => null,
+ 'number_of_completed_signatures' => null,
+ 'number_of_documents' => null,
+ 'number_of_pages' => null,
+ 'number_of_recipients' => null,
+ 'number_of_sends' => null,
+ 'number_of_signers' => null,
+ 'number_of_total_documents' => null,
+ 'number_of_total_pages' => null,
+ 'number_of_total_signers' => null,
+ 'number_of_unique_senders' => null,
+ 'number_total_recipients' => null,
+ 'period_end' => null,
+ 'period_start' => null,
+ 'phone_calls_attempted' => null,
+ 'phone_calls_failed' => null,
+ 'reason_for_declining' => null,
+ 'reason_for_voiding' => null,
+ 'reassign_reason' => null,
+ 'received' => null,
+ 'recipient' => null,
+ 'recipient_action' => null,
+ 'recipient_company_name' => null,
+ 'recipient_country' => null,
+ 'recipient_email' => null,
+ 'recipient_id' => null,
+ 'recipient_name' => null,
+ 'recipient_template_role_name' => null,
+ 'recipient_title' => null,
+ 'recipient_type' => null,
+ 'recipient_user_id' => null,
+ 'remaining_signatures' => null,
+ 'routing_order' => null,
+ 'sender_account_id' => null,
+ 'sender_company_name' => null,
+ 'sender_country' => null,
+ 'sender_email' => null,
+ 'sender_ip_address' => null,
+ 'sender_job_title' => null,
+ 'sender_name' => null,
+ 'sender_user_id' => null,
+ 'sign_date' => null,
+ 'signed' => null,
+ 'signed_date' => null,
+ 'signed_on_mobile' => null,
+ 'signed_on_paper' => null,
+ 'signer_list' => null,
+ 'status' => null,
+ 'status_changed_date' => null,
+ 'status_changed_ts' => null,
+ 'subject' => null,
+ 'successes' => null,
+ 'templates_created' => null,
+ 'templates_created_count' => null,
+ 'terminal_status_date' => null,
+ 'time_to_complete_seconds' => null,
+ 'time_to_deliver' => null,
+ 'total_documents' => null,
+ 'total_envelopes' => null,
+ 'total_pages' => null,
+ 'total_recipients' => null,
+ 'total_signers' => null,
+ 'unique_senders' => null,
+ 'user_account_email' => null,
+ 'user_account_name' => null,
+ 'user_account_status' => null,
+ 'user_count' => null,
+ 'user_id' => null,
+ 'view_date' => null,
+ 'voided_ts' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'access_code_required' => 'accessCodeRequired',
+ 'access_codes_attempted' => 'accessCodesAttempted',
+ 'access_codes_failed' => 'accessCodesFailed',
+ 'account_id' => 'accountId',
+ 'authentication_category' => 'authenticationCategory',
+ 'authentication_success' => 'authenticationSuccess',
+ 'authentication_type' => 'authenticationType',
+ 'average_time_to_complete_seconds' => 'averageTimeToCompleteSeconds',
+ 'avg_complete_seconds' => 'avgCompleteSeconds',
+ 'completed' => 'completed',
+ 'completed_ts' => 'completedTs',
+ 'created_date' => 'createdDate',
+ 'custom_field' => 'customField',
+ 'declined_date' => 'declinedDate',
+ 'declined_reason' => 'declinedReason',
+ 'delivered_date' => 'deliveredDate',
+ 'envelope_count' => 'envelopeCount',
+ 'envelope_creator' => 'envelopeCreator',
+ 'envelope_id' => 'envelopeId',
+ 'envelope_initial_send_ts' => 'envelopeInitialSendTs',
+ 'envelopes_billed' => 'envelopesBilled',
+ 'envelopes_completed' => 'envelopesCompleted',
+ 'envelopes_completed_count' => 'envelopesCompletedCount',
+ 'envelopes_declined' => 'envelopesDeclined',
+ 'envelopes_sent' => 'envelopesSent',
+ 'envelopes_sent_count' => 'envelopesSentCount',
+ 'envelopes_voided' => 'envelopesVoided',
+ 'envelope_voided_reason' => 'envelopeVoidedReason',
+ 'eod_document_description' => 'eodDocumentDescription',
+ 'eod_document_name' => 'eodDocumentName',
+ 'eod_document_profile_id' => 'eodDocumentProfileId',
+ 'eod_transaction_id' => 'eodTransactionId',
+ 'eod_transaction_name' => 'eodTransactionName',
+ 'event_date' => 'eventDate',
+ 'expiration_date' => 'expirationDate',
+ 'expired_ts' => 'expiredTs',
+ 'failures' => 'failures',
+ 'failure_vendor_code' => 'failureVendorCode',
+ 'failure_vendor_reason' => 'failureVendorReason',
+ 'first_send_ts' => 'firstSendTs',
+ 'group_id' => 'groupId',
+ 'group_name' => 'groupName',
+ 'hours_to_complete_end' => 'hoursToCompleteEnd',
+ 'hours_to_complete_start' => 'hoursToCompleteStart',
+ 'id_checks_attempted' => 'idChecksAttempted',
+ 'id_checks_failed' => 'idChecksFailed',
+ 'initial_send_ts' => 'initialSendTs',
+ 'ip_address' => 'ipAddress',
+ 'last_activity' => 'lastActivity',
+ 'last_activity_date' => 'lastActivityDate',
+ 'last_sent_date' => 'lastSentDate',
+ 'not_signed' => 'notSigned',
+ 'number_of_authenticated_recipients' => 'numberOfAuthenticatedRecipients',
+ 'number_of_completed_signatures' => 'numberOfCompletedSignatures',
+ 'number_of_documents' => 'numberOfDocuments',
+ 'number_of_pages' => 'numberOfPages',
+ 'number_of_recipients' => 'numberOfRecipients',
+ 'number_of_sends' => 'numberOfSends',
+ 'number_of_signers' => 'numberOfSigners',
+ 'number_of_total_documents' => 'numberOfTotalDocuments',
+ 'number_of_total_pages' => 'numberOfTotalPages',
+ 'number_of_total_signers' => 'numberOfTotalSigners',
+ 'number_of_unique_senders' => 'numberOfUniqueSenders',
+ 'number_total_recipients' => 'numberTotalRecipients',
+ 'period_end' => 'periodEnd',
+ 'period_start' => 'periodStart',
+ 'phone_calls_attempted' => 'phoneCallsAttempted',
+ 'phone_calls_failed' => 'phoneCallsFailed',
+ 'reason_for_declining' => 'reasonForDeclining',
+ 'reason_for_voiding' => 'reasonForVoiding',
+ 'reassign_reason' => 'reassignReason',
+ 'received' => 'received',
+ 'recipient' => 'recipient',
+ 'recipient_action' => 'recipientAction',
+ 'recipient_company_name' => 'recipientCompanyName',
+ 'recipient_country' => 'recipientCountry',
+ 'recipient_email' => 'recipientEmail',
+ 'recipient_id' => 'recipientId',
+ 'recipient_name' => 'recipientName',
+ 'recipient_template_role_name' => 'recipientTemplateRoleName',
+ 'recipient_title' => 'recipientTitle',
+ 'recipient_type' => 'recipientType',
+ 'recipient_user_id' => 'recipientUserId',
+ 'remaining_signatures' => 'remainingSignatures',
+ 'routing_order' => 'routingOrder',
+ 'sender_account_id' => 'senderAccountId',
+ 'sender_company_name' => 'senderCompanyName',
+ 'sender_country' => 'senderCountry',
+ 'sender_email' => 'senderEmail',
+ 'sender_ip_address' => 'senderIPAddress',
+ 'sender_job_title' => 'senderJobTitle',
+ 'sender_name' => 'senderName',
+ 'sender_user_id' => 'senderUserId',
+ 'sign_date' => 'signDate',
+ 'signed' => 'signed',
+ 'signed_date' => 'signedDate',
+ 'signed_on_mobile' => 'signedOnMobile',
+ 'signed_on_paper' => 'signedOnPaper',
+ 'signer_list' => 'signerList',
+ 'status' => 'status',
+ 'status_changed_date' => 'statusChangedDate',
+ 'status_changed_ts' => 'statusChangedTs',
+ 'subject' => 'subject',
+ 'successes' => 'successes',
+ 'templates_created' => 'templatesCreated',
+ 'templates_created_count' => 'templatesCreatedCount',
+ 'terminal_status_date' => 'terminalStatusDate',
+ 'time_to_complete_seconds' => 'timeToCompleteSeconds',
+ 'time_to_deliver' => 'timeToDeliver',
+ 'total_documents' => 'totalDocuments',
+ 'total_envelopes' => 'totalEnvelopes',
+ 'total_pages' => 'totalPages',
+ 'total_recipients' => 'totalRecipients',
+ 'total_signers' => 'totalSigners',
+ 'unique_senders' => 'uniqueSenders',
+ 'user_account_email' => 'userAccountEmail',
+ 'user_account_name' => 'userAccountName',
+ 'user_account_status' => 'userAccountStatus',
+ 'user_count' => 'userCount',
+ 'user_id' => 'userId',
+ 'view_date' => 'viewDate',
+ 'voided_ts' => 'voidedTs'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'access_code_required' => 'setAccessCodeRequired',
+ 'access_codes_attempted' => 'setAccessCodesAttempted',
+ 'access_codes_failed' => 'setAccessCodesFailed',
+ 'account_id' => 'setAccountId',
+ 'authentication_category' => 'setAuthenticationCategory',
+ 'authentication_success' => 'setAuthenticationSuccess',
+ 'authentication_type' => 'setAuthenticationType',
+ 'average_time_to_complete_seconds' => 'setAverageTimeToCompleteSeconds',
+ 'avg_complete_seconds' => 'setAvgCompleteSeconds',
+ 'completed' => 'setCompleted',
+ 'completed_ts' => 'setCompletedTs',
+ 'created_date' => 'setCreatedDate',
+ 'custom_field' => 'setCustomField',
+ 'declined_date' => 'setDeclinedDate',
+ 'declined_reason' => 'setDeclinedReason',
+ 'delivered_date' => 'setDeliveredDate',
+ 'envelope_count' => 'setEnvelopeCount',
+ 'envelope_creator' => 'setEnvelopeCreator',
+ 'envelope_id' => 'setEnvelopeId',
+ 'envelope_initial_send_ts' => 'setEnvelopeInitialSendTs',
+ 'envelopes_billed' => 'setEnvelopesBilled',
+ 'envelopes_completed' => 'setEnvelopesCompleted',
+ 'envelopes_completed_count' => 'setEnvelopesCompletedCount',
+ 'envelopes_declined' => 'setEnvelopesDeclined',
+ 'envelopes_sent' => 'setEnvelopesSent',
+ 'envelopes_sent_count' => 'setEnvelopesSentCount',
+ 'envelopes_voided' => 'setEnvelopesVoided',
+ 'envelope_voided_reason' => 'setEnvelopeVoidedReason',
+ 'eod_document_description' => 'setEodDocumentDescription',
+ 'eod_document_name' => 'setEodDocumentName',
+ 'eod_document_profile_id' => 'setEodDocumentProfileId',
+ 'eod_transaction_id' => 'setEodTransactionId',
+ 'eod_transaction_name' => 'setEodTransactionName',
+ 'event_date' => 'setEventDate',
+ 'expiration_date' => 'setExpirationDate',
+ 'expired_ts' => 'setExpiredTs',
+ 'failures' => 'setFailures',
+ 'failure_vendor_code' => 'setFailureVendorCode',
+ 'failure_vendor_reason' => 'setFailureVendorReason',
+ 'first_send_ts' => 'setFirstSendTs',
+ 'group_id' => 'setGroupId',
+ 'group_name' => 'setGroupName',
+ 'hours_to_complete_end' => 'setHoursToCompleteEnd',
+ 'hours_to_complete_start' => 'setHoursToCompleteStart',
+ 'id_checks_attempted' => 'setIdChecksAttempted',
+ 'id_checks_failed' => 'setIdChecksFailed',
+ 'initial_send_ts' => 'setInitialSendTs',
+ 'ip_address' => 'setIpAddress',
+ 'last_activity' => 'setLastActivity',
+ 'last_activity_date' => 'setLastActivityDate',
+ 'last_sent_date' => 'setLastSentDate',
+ 'not_signed' => 'setNotSigned',
+ 'number_of_authenticated_recipients' => 'setNumberOfAuthenticatedRecipients',
+ 'number_of_completed_signatures' => 'setNumberOfCompletedSignatures',
+ 'number_of_documents' => 'setNumberOfDocuments',
+ 'number_of_pages' => 'setNumberOfPages',
+ 'number_of_recipients' => 'setNumberOfRecipients',
+ 'number_of_sends' => 'setNumberOfSends',
+ 'number_of_signers' => 'setNumberOfSigners',
+ 'number_of_total_documents' => 'setNumberOfTotalDocuments',
+ 'number_of_total_pages' => 'setNumberOfTotalPages',
+ 'number_of_total_signers' => 'setNumberOfTotalSigners',
+ 'number_of_unique_senders' => 'setNumberOfUniqueSenders',
+ 'number_total_recipients' => 'setNumberTotalRecipients',
+ 'period_end' => 'setPeriodEnd',
+ 'period_start' => 'setPeriodStart',
+ 'phone_calls_attempted' => 'setPhoneCallsAttempted',
+ 'phone_calls_failed' => 'setPhoneCallsFailed',
+ 'reason_for_declining' => 'setReasonForDeclining',
+ 'reason_for_voiding' => 'setReasonForVoiding',
+ 'reassign_reason' => 'setReassignReason',
+ 'received' => 'setReceived',
+ 'recipient' => 'setRecipient',
+ 'recipient_action' => 'setRecipientAction',
+ 'recipient_company_name' => 'setRecipientCompanyName',
+ 'recipient_country' => 'setRecipientCountry',
+ 'recipient_email' => 'setRecipientEmail',
+ 'recipient_id' => 'setRecipientId',
+ 'recipient_name' => 'setRecipientName',
+ 'recipient_template_role_name' => 'setRecipientTemplateRoleName',
+ 'recipient_title' => 'setRecipientTitle',
+ 'recipient_type' => 'setRecipientType',
+ 'recipient_user_id' => 'setRecipientUserId',
+ 'remaining_signatures' => 'setRemainingSignatures',
+ 'routing_order' => 'setRoutingOrder',
+ 'sender_account_id' => 'setSenderAccountId',
+ 'sender_company_name' => 'setSenderCompanyName',
+ 'sender_country' => 'setSenderCountry',
+ 'sender_email' => 'setSenderEmail',
+ 'sender_ip_address' => 'setSenderIpAddress',
+ 'sender_job_title' => 'setSenderJobTitle',
+ 'sender_name' => 'setSenderName',
+ 'sender_user_id' => 'setSenderUserId',
+ 'sign_date' => 'setSignDate',
+ 'signed' => 'setSigned',
+ 'signed_date' => 'setSignedDate',
+ 'signed_on_mobile' => 'setSignedOnMobile',
+ 'signed_on_paper' => 'setSignedOnPaper',
+ 'signer_list' => 'setSignerList',
+ 'status' => 'setStatus',
+ 'status_changed_date' => 'setStatusChangedDate',
+ 'status_changed_ts' => 'setStatusChangedTs',
+ 'subject' => 'setSubject',
+ 'successes' => 'setSuccesses',
+ 'templates_created' => 'setTemplatesCreated',
+ 'templates_created_count' => 'setTemplatesCreatedCount',
+ 'terminal_status_date' => 'setTerminalStatusDate',
+ 'time_to_complete_seconds' => 'setTimeToCompleteSeconds',
+ 'time_to_deliver' => 'setTimeToDeliver',
+ 'total_documents' => 'setTotalDocuments',
+ 'total_envelopes' => 'setTotalEnvelopes',
+ 'total_pages' => 'setTotalPages',
+ 'total_recipients' => 'setTotalRecipients',
+ 'total_signers' => 'setTotalSigners',
+ 'unique_senders' => 'setUniqueSenders',
+ 'user_account_email' => 'setUserAccountEmail',
+ 'user_account_name' => 'setUserAccountName',
+ 'user_account_status' => 'setUserAccountStatus',
+ 'user_count' => 'setUserCount',
+ 'user_id' => 'setUserId',
+ 'view_date' => 'setViewDate',
+ 'voided_ts' => 'setVoidedTs'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'access_code_required' => 'getAccessCodeRequired',
+ 'access_codes_attempted' => 'getAccessCodesAttempted',
+ 'access_codes_failed' => 'getAccessCodesFailed',
+ 'account_id' => 'getAccountId',
+ 'authentication_category' => 'getAuthenticationCategory',
+ 'authentication_success' => 'getAuthenticationSuccess',
+ 'authentication_type' => 'getAuthenticationType',
+ 'average_time_to_complete_seconds' => 'getAverageTimeToCompleteSeconds',
+ 'avg_complete_seconds' => 'getAvgCompleteSeconds',
+ 'completed' => 'getCompleted',
+ 'completed_ts' => 'getCompletedTs',
+ 'created_date' => 'getCreatedDate',
+ 'custom_field' => 'getCustomField',
+ 'declined_date' => 'getDeclinedDate',
+ 'declined_reason' => 'getDeclinedReason',
+ 'delivered_date' => 'getDeliveredDate',
+ 'envelope_count' => 'getEnvelopeCount',
+ 'envelope_creator' => 'getEnvelopeCreator',
+ 'envelope_id' => 'getEnvelopeId',
+ 'envelope_initial_send_ts' => 'getEnvelopeInitialSendTs',
+ 'envelopes_billed' => 'getEnvelopesBilled',
+ 'envelopes_completed' => 'getEnvelopesCompleted',
+ 'envelopes_completed_count' => 'getEnvelopesCompletedCount',
+ 'envelopes_declined' => 'getEnvelopesDeclined',
+ 'envelopes_sent' => 'getEnvelopesSent',
+ 'envelopes_sent_count' => 'getEnvelopesSentCount',
+ 'envelopes_voided' => 'getEnvelopesVoided',
+ 'envelope_voided_reason' => 'getEnvelopeVoidedReason',
+ 'eod_document_description' => 'getEodDocumentDescription',
+ 'eod_document_name' => 'getEodDocumentName',
+ 'eod_document_profile_id' => 'getEodDocumentProfileId',
+ 'eod_transaction_id' => 'getEodTransactionId',
+ 'eod_transaction_name' => 'getEodTransactionName',
+ 'event_date' => 'getEventDate',
+ 'expiration_date' => 'getExpirationDate',
+ 'expired_ts' => 'getExpiredTs',
+ 'failures' => 'getFailures',
+ 'failure_vendor_code' => 'getFailureVendorCode',
+ 'failure_vendor_reason' => 'getFailureVendorReason',
+ 'first_send_ts' => 'getFirstSendTs',
+ 'group_id' => 'getGroupId',
+ 'group_name' => 'getGroupName',
+ 'hours_to_complete_end' => 'getHoursToCompleteEnd',
+ 'hours_to_complete_start' => 'getHoursToCompleteStart',
+ 'id_checks_attempted' => 'getIdChecksAttempted',
+ 'id_checks_failed' => 'getIdChecksFailed',
+ 'initial_send_ts' => 'getInitialSendTs',
+ 'ip_address' => 'getIpAddress',
+ 'last_activity' => 'getLastActivity',
+ 'last_activity_date' => 'getLastActivityDate',
+ 'last_sent_date' => 'getLastSentDate',
+ 'not_signed' => 'getNotSigned',
+ 'number_of_authenticated_recipients' => 'getNumberOfAuthenticatedRecipients',
+ 'number_of_completed_signatures' => 'getNumberOfCompletedSignatures',
+ 'number_of_documents' => 'getNumberOfDocuments',
+ 'number_of_pages' => 'getNumberOfPages',
+ 'number_of_recipients' => 'getNumberOfRecipients',
+ 'number_of_sends' => 'getNumberOfSends',
+ 'number_of_signers' => 'getNumberOfSigners',
+ 'number_of_total_documents' => 'getNumberOfTotalDocuments',
+ 'number_of_total_pages' => 'getNumberOfTotalPages',
+ 'number_of_total_signers' => 'getNumberOfTotalSigners',
+ 'number_of_unique_senders' => 'getNumberOfUniqueSenders',
+ 'number_total_recipients' => 'getNumberTotalRecipients',
+ 'period_end' => 'getPeriodEnd',
+ 'period_start' => 'getPeriodStart',
+ 'phone_calls_attempted' => 'getPhoneCallsAttempted',
+ 'phone_calls_failed' => 'getPhoneCallsFailed',
+ 'reason_for_declining' => 'getReasonForDeclining',
+ 'reason_for_voiding' => 'getReasonForVoiding',
+ 'reassign_reason' => 'getReassignReason',
+ 'received' => 'getReceived',
+ 'recipient' => 'getRecipient',
+ 'recipient_action' => 'getRecipientAction',
+ 'recipient_company_name' => 'getRecipientCompanyName',
+ 'recipient_country' => 'getRecipientCountry',
+ 'recipient_email' => 'getRecipientEmail',
+ 'recipient_id' => 'getRecipientId',
+ 'recipient_name' => 'getRecipientName',
+ 'recipient_template_role_name' => 'getRecipientTemplateRoleName',
+ 'recipient_title' => 'getRecipientTitle',
+ 'recipient_type' => 'getRecipientType',
+ 'recipient_user_id' => 'getRecipientUserId',
+ 'remaining_signatures' => 'getRemainingSignatures',
+ 'routing_order' => 'getRoutingOrder',
+ 'sender_account_id' => 'getSenderAccountId',
+ 'sender_company_name' => 'getSenderCompanyName',
+ 'sender_country' => 'getSenderCountry',
+ 'sender_email' => 'getSenderEmail',
+ 'sender_ip_address' => 'getSenderIpAddress',
+ 'sender_job_title' => 'getSenderJobTitle',
+ 'sender_name' => 'getSenderName',
+ 'sender_user_id' => 'getSenderUserId',
+ 'sign_date' => 'getSignDate',
+ 'signed' => 'getSigned',
+ 'signed_date' => 'getSignedDate',
+ 'signed_on_mobile' => 'getSignedOnMobile',
+ 'signed_on_paper' => 'getSignedOnPaper',
+ 'signer_list' => 'getSignerList',
+ 'status' => 'getStatus',
+ 'status_changed_date' => 'getStatusChangedDate',
+ 'status_changed_ts' => 'getStatusChangedTs',
+ 'subject' => 'getSubject',
+ 'successes' => 'getSuccesses',
+ 'templates_created' => 'getTemplatesCreated',
+ 'templates_created_count' => 'getTemplatesCreatedCount',
+ 'terminal_status_date' => 'getTerminalStatusDate',
+ 'time_to_complete_seconds' => 'getTimeToCompleteSeconds',
+ 'time_to_deliver' => 'getTimeToDeliver',
+ 'total_documents' => 'getTotalDocuments',
+ 'total_envelopes' => 'getTotalEnvelopes',
+ 'total_pages' => 'getTotalPages',
+ 'total_recipients' => 'getTotalRecipients',
+ 'total_signers' => 'getTotalSigners',
+ 'unique_senders' => 'getUniqueSenders',
+ 'user_account_email' => 'getUserAccountEmail',
+ 'user_account_name' => 'getUserAccountName',
+ 'user_account_status' => 'getUserAccountStatus',
+ 'user_count' => 'getUserCount',
+ 'user_id' => 'getUserId',
+ 'view_date' => 'getViewDate',
+ 'voided_ts' => 'getVoidedTs'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['access_code_required'] = isset($data['access_code_required']) ? $data['access_code_required'] : null;
+ $this->container['access_codes_attempted'] = isset($data['access_codes_attempted']) ? $data['access_codes_attempted'] : null;
+ $this->container['access_codes_failed'] = isset($data['access_codes_failed']) ? $data['access_codes_failed'] : null;
+ $this->container['account_id'] = isset($data['account_id']) ? $data['account_id'] : null;
+ $this->container['authentication_category'] = isset($data['authentication_category']) ? $data['authentication_category'] : null;
+ $this->container['authentication_success'] = isset($data['authentication_success']) ? $data['authentication_success'] : null;
+ $this->container['authentication_type'] = isset($data['authentication_type']) ? $data['authentication_type'] : null;
+ $this->container['average_time_to_complete_seconds'] = isset($data['average_time_to_complete_seconds']) ? $data['average_time_to_complete_seconds'] : null;
+ $this->container['avg_complete_seconds'] = isset($data['avg_complete_seconds']) ? $data['avg_complete_seconds'] : null;
+ $this->container['completed'] = isset($data['completed']) ? $data['completed'] : null;
+ $this->container['completed_ts'] = isset($data['completed_ts']) ? $data['completed_ts'] : null;
+ $this->container['created_date'] = isset($data['created_date']) ? $data['created_date'] : null;
+ $this->container['custom_field'] = isset($data['custom_field']) ? $data['custom_field'] : null;
+ $this->container['declined_date'] = isset($data['declined_date']) ? $data['declined_date'] : null;
+ $this->container['declined_reason'] = isset($data['declined_reason']) ? $data['declined_reason'] : null;
+ $this->container['delivered_date'] = isset($data['delivered_date']) ? $data['delivered_date'] : null;
+ $this->container['envelope_count'] = isset($data['envelope_count']) ? $data['envelope_count'] : null;
+ $this->container['envelope_creator'] = isset($data['envelope_creator']) ? $data['envelope_creator'] : null;
+ $this->container['envelope_id'] = isset($data['envelope_id']) ? $data['envelope_id'] : null;
+ $this->container['envelope_initial_send_ts'] = isset($data['envelope_initial_send_ts']) ? $data['envelope_initial_send_ts'] : null;
+ $this->container['envelopes_billed'] = isset($data['envelopes_billed']) ? $data['envelopes_billed'] : null;
+ $this->container['envelopes_completed'] = isset($data['envelopes_completed']) ? $data['envelopes_completed'] : null;
+ $this->container['envelopes_completed_count'] = isset($data['envelopes_completed_count']) ? $data['envelopes_completed_count'] : null;
+ $this->container['envelopes_declined'] = isset($data['envelopes_declined']) ? $data['envelopes_declined'] : null;
+ $this->container['envelopes_sent'] = isset($data['envelopes_sent']) ? $data['envelopes_sent'] : null;
+ $this->container['envelopes_sent_count'] = isset($data['envelopes_sent_count']) ? $data['envelopes_sent_count'] : null;
+ $this->container['envelopes_voided'] = isset($data['envelopes_voided']) ? $data['envelopes_voided'] : null;
+ $this->container['envelope_voided_reason'] = isset($data['envelope_voided_reason']) ? $data['envelope_voided_reason'] : null;
+ $this->container['eod_document_description'] = isset($data['eod_document_description']) ? $data['eod_document_description'] : null;
+ $this->container['eod_document_name'] = isset($data['eod_document_name']) ? $data['eod_document_name'] : null;
+ $this->container['eod_document_profile_id'] = isset($data['eod_document_profile_id']) ? $data['eod_document_profile_id'] : null;
+ $this->container['eod_transaction_id'] = isset($data['eod_transaction_id']) ? $data['eod_transaction_id'] : null;
+ $this->container['eod_transaction_name'] = isset($data['eod_transaction_name']) ? $data['eod_transaction_name'] : null;
+ $this->container['event_date'] = isset($data['event_date']) ? $data['event_date'] : null;
+ $this->container['expiration_date'] = isset($data['expiration_date']) ? $data['expiration_date'] : null;
+ $this->container['expired_ts'] = isset($data['expired_ts']) ? $data['expired_ts'] : null;
+ $this->container['failures'] = isset($data['failures']) ? $data['failures'] : null;
+ $this->container['failure_vendor_code'] = isset($data['failure_vendor_code']) ? $data['failure_vendor_code'] : null;
+ $this->container['failure_vendor_reason'] = isset($data['failure_vendor_reason']) ? $data['failure_vendor_reason'] : null;
+ $this->container['first_send_ts'] = isset($data['first_send_ts']) ? $data['first_send_ts'] : null;
+ $this->container['group_id'] = isset($data['group_id']) ? $data['group_id'] : null;
+ $this->container['group_name'] = isset($data['group_name']) ? $data['group_name'] : null;
+ $this->container['hours_to_complete_end'] = isset($data['hours_to_complete_end']) ? $data['hours_to_complete_end'] : null;
+ $this->container['hours_to_complete_start'] = isset($data['hours_to_complete_start']) ? $data['hours_to_complete_start'] : null;
+ $this->container['id_checks_attempted'] = isset($data['id_checks_attempted']) ? $data['id_checks_attempted'] : null;
+ $this->container['id_checks_failed'] = isset($data['id_checks_failed']) ? $data['id_checks_failed'] : null;
+ $this->container['initial_send_ts'] = isset($data['initial_send_ts']) ? $data['initial_send_ts'] : null;
+ $this->container['ip_address'] = isset($data['ip_address']) ? $data['ip_address'] : null;
+ $this->container['last_activity'] = isset($data['last_activity']) ? $data['last_activity'] : null;
+ $this->container['last_activity_date'] = isset($data['last_activity_date']) ? $data['last_activity_date'] : null;
+ $this->container['last_sent_date'] = isset($data['last_sent_date']) ? $data['last_sent_date'] : null;
+ $this->container['not_signed'] = isset($data['not_signed']) ? $data['not_signed'] : null;
+ $this->container['number_of_authenticated_recipients'] = isset($data['number_of_authenticated_recipients']) ? $data['number_of_authenticated_recipients'] : null;
+ $this->container['number_of_completed_signatures'] = isset($data['number_of_completed_signatures']) ? $data['number_of_completed_signatures'] : null;
+ $this->container['number_of_documents'] = isset($data['number_of_documents']) ? $data['number_of_documents'] : null;
+ $this->container['number_of_pages'] = isset($data['number_of_pages']) ? $data['number_of_pages'] : null;
+ $this->container['number_of_recipients'] = isset($data['number_of_recipients']) ? $data['number_of_recipients'] : null;
+ $this->container['number_of_sends'] = isset($data['number_of_sends']) ? $data['number_of_sends'] : null;
+ $this->container['number_of_signers'] = isset($data['number_of_signers']) ? $data['number_of_signers'] : null;
+ $this->container['number_of_total_documents'] = isset($data['number_of_total_documents']) ? $data['number_of_total_documents'] : null;
+ $this->container['number_of_total_pages'] = isset($data['number_of_total_pages']) ? $data['number_of_total_pages'] : null;
+ $this->container['number_of_total_signers'] = isset($data['number_of_total_signers']) ? $data['number_of_total_signers'] : null;
+ $this->container['number_of_unique_senders'] = isset($data['number_of_unique_senders']) ? $data['number_of_unique_senders'] : null;
+ $this->container['number_total_recipients'] = isset($data['number_total_recipients']) ? $data['number_total_recipients'] : null;
+ $this->container['period_end'] = isset($data['period_end']) ? $data['period_end'] : null;
+ $this->container['period_start'] = isset($data['period_start']) ? $data['period_start'] : null;
+ $this->container['phone_calls_attempted'] = isset($data['phone_calls_attempted']) ? $data['phone_calls_attempted'] : null;
+ $this->container['phone_calls_failed'] = isset($data['phone_calls_failed']) ? $data['phone_calls_failed'] : null;
+ $this->container['reason_for_declining'] = isset($data['reason_for_declining']) ? $data['reason_for_declining'] : null;
+ $this->container['reason_for_voiding'] = isset($data['reason_for_voiding']) ? $data['reason_for_voiding'] : null;
+ $this->container['reassign_reason'] = isset($data['reassign_reason']) ? $data['reassign_reason'] : null;
+ $this->container['received'] = isset($data['received']) ? $data['received'] : null;
+ $this->container['recipient'] = isset($data['recipient']) ? $data['recipient'] : null;
+ $this->container['recipient_action'] = isset($data['recipient_action']) ? $data['recipient_action'] : null;
+ $this->container['recipient_company_name'] = isset($data['recipient_company_name']) ? $data['recipient_company_name'] : null;
+ $this->container['recipient_country'] = isset($data['recipient_country']) ? $data['recipient_country'] : null;
+ $this->container['recipient_email'] = isset($data['recipient_email']) ? $data['recipient_email'] : null;
+ $this->container['recipient_id'] = isset($data['recipient_id']) ? $data['recipient_id'] : null;
+ $this->container['recipient_name'] = isset($data['recipient_name']) ? $data['recipient_name'] : null;
+ $this->container['recipient_template_role_name'] = isset($data['recipient_template_role_name']) ? $data['recipient_template_role_name'] : null;
+ $this->container['recipient_title'] = isset($data['recipient_title']) ? $data['recipient_title'] : null;
+ $this->container['recipient_type'] = isset($data['recipient_type']) ? $data['recipient_type'] : null;
+ $this->container['recipient_user_id'] = isset($data['recipient_user_id']) ? $data['recipient_user_id'] : null;
+ $this->container['remaining_signatures'] = isset($data['remaining_signatures']) ? $data['remaining_signatures'] : null;
+ $this->container['routing_order'] = isset($data['routing_order']) ? $data['routing_order'] : null;
+ $this->container['sender_account_id'] = isset($data['sender_account_id']) ? $data['sender_account_id'] : null;
+ $this->container['sender_company_name'] = isset($data['sender_company_name']) ? $data['sender_company_name'] : null;
+ $this->container['sender_country'] = isset($data['sender_country']) ? $data['sender_country'] : null;
+ $this->container['sender_email'] = isset($data['sender_email']) ? $data['sender_email'] : null;
+ $this->container['sender_ip_address'] = isset($data['sender_ip_address']) ? $data['sender_ip_address'] : null;
+ $this->container['sender_job_title'] = isset($data['sender_job_title']) ? $data['sender_job_title'] : null;
+ $this->container['sender_name'] = isset($data['sender_name']) ? $data['sender_name'] : null;
+ $this->container['sender_user_id'] = isset($data['sender_user_id']) ? $data['sender_user_id'] : null;
+ $this->container['sign_date'] = isset($data['sign_date']) ? $data['sign_date'] : null;
+ $this->container['signed'] = isset($data['signed']) ? $data['signed'] : null;
+ $this->container['signed_date'] = isset($data['signed_date']) ? $data['signed_date'] : null;
+ $this->container['signed_on_mobile'] = isset($data['signed_on_mobile']) ? $data['signed_on_mobile'] : null;
+ $this->container['signed_on_paper'] = isset($data['signed_on_paper']) ? $data['signed_on_paper'] : null;
+ $this->container['signer_list'] = isset($data['signer_list']) ? $data['signer_list'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['status_changed_date'] = isset($data['status_changed_date']) ? $data['status_changed_date'] : null;
+ $this->container['status_changed_ts'] = isset($data['status_changed_ts']) ? $data['status_changed_ts'] : null;
+ $this->container['subject'] = isset($data['subject']) ? $data['subject'] : null;
+ $this->container['successes'] = isset($data['successes']) ? $data['successes'] : null;
+ $this->container['templates_created'] = isset($data['templates_created']) ? $data['templates_created'] : null;
+ $this->container['templates_created_count'] = isset($data['templates_created_count']) ? $data['templates_created_count'] : null;
+ $this->container['terminal_status_date'] = isset($data['terminal_status_date']) ? $data['terminal_status_date'] : null;
+ $this->container['time_to_complete_seconds'] = isset($data['time_to_complete_seconds']) ? $data['time_to_complete_seconds'] : null;
+ $this->container['time_to_deliver'] = isset($data['time_to_deliver']) ? $data['time_to_deliver'] : null;
+ $this->container['total_documents'] = isset($data['total_documents']) ? $data['total_documents'] : null;
+ $this->container['total_envelopes'] = isset($data['total_envelopes']) ? $data['total_envelopes'] : null;
+ $this->container['total_pages'] = isset($data['total_pages']) ? $data['total_pages'] : null;
+ $this->container['total_recipients'] = isset($data['total_recipients']) ? $data['total_recipients'] : null;
+ $this->container['total_signers'] = isset($data['total_signers']) ? $data['total_signers'] : null;
+ $this->container['unique_senders'] = isset($data['unique_senders']) ? $data['unique_senders'] : null;
+ $this->container['user_account_email'] = isset($data['user_account_email']) ? $data['user_account_email'] : null;
+ $this->container['user_account_name'] = isset($data['user_account_name']) ? $data['user_account_name'] : null;
+ $this->container['user_account_status'] = isset($data['user_account_status']) ? $data['user_account_status'] : null;
+ $this->container['user_count'] = isset($data['user_count']) ? $data['user_count'] : null;
+ $this->container['user_id'] = isset($data['user_id']) ? $data['user_id'] : null;
+ $this->container['view_date'] = isset($data['view_date']) ? $data['view_date'] : null;
+ $this->container['voided_ts'] = isset($data['voided_ts']) ? $data['voided_ts'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets access_code_required
+ *
+ * @return string
+ */
+ public function getAccessCodeRequired()
+ {
+ return $this->container['access_code_required'];
+ }
+
+ /**
+ * Sets access_code_required
+ *
+ * @param string $access_code_required
+ *
+ * @return $this
+ */
+ public function setAccessCodeRequired($access_code_required)
+ {
+ $this->container['access_code_required'] = $access_code_required;
+
+ return $this;
+ }
+
+ /**
+ * Gets access_codes_attempted
+ *
+ * @return string
+ */
+ public function getAccessCodesAttempted()
+ {
+ return $this->container['access_codes_attempted'];
+ }
+
+ /**
+ * Sets access_codes_attempted
+ *
+ * @param string $access_codes_attempted
+ *
+ * @return $this
+ */
+ public function setAccessCodesAttempted($access_codes_attempted)
+ {
+ $this->container['access_codes_attempted'] = $access_codes_attempted;
+
+ return $this;
+ }
+
+ /**
+ * Gets access_codes_failed
+ *
+ * @return string
+ */
+ public function getAccessCodesFailed()
+ {
+ return $this->container['access_codes_failed'];
+ }
+
+ /**
+ * Sets access_codes_failed
+ *
+ * @param string $access_codes_failed
+ *
+ * @return $this
+ */
+ public function setAccessCodesFailed($access_codes_failed)
+ {
+ $this->container['access_codes_failed'] = $access_codes_failed;
+
+ return $this;
+ }
+
+ /**
+ * Gets account_id
+ *
+ * @return string
+ */
+ public function getAccountId()
+ {
+ return $this->container['account_id'];
+ }
+
+ /**
+ * Sets account_id
+ *
+ * @param string $account_id The account ID associated with the envelope.
+ *
+ * @return $this
+ */
+ public function setAccountId($account_id)
+ {
+ $this->container['account_id'] = $account_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets authentication_category
+ *
+ * @return string
+ */
+ public function getAuthenticationCategory()
+ {
+ return $this->container['authentication_category'];
+ }
+
+ /**
+ * Sets authentication_category
+ *
+ * @param string $authentication_category
+ *
+ * @return $this
+ */
+ public function setAuthenticationCategory($authentication_category)
+ {
+ $this->container['authentication_category'] = $authentication_category;
+
+ return $this;
+ }
+
+ /**
+ * Gets authentication_success
+ *
+ * @return string
+ */
+ public function getAuthenticationSuccess()
+ {
+ return $this->container['authentication_success'];
+ }
+
+ /**
+ * Sets authentication_success
+ *
+ * @param string $authentication_success
+ *
+ * @return $this
+ */
+ public function setAuthenticationSuccess($authentication_success)
+ {
+ $this->container['authentication_success'] = $authentication_success;
+
+ return $this;
+ }
+
+ /**
+ * Gets authentication_type
+ *
+ * @return string
+ */
+ public function getAuthenticationType()
+ {
+ return $this->container['authentication_type'];
+ }
+
+ /**
+ * Sets authentication_type
+ *
+ * @param string $authentication_type
+ *
+ * @return $this
+ */
+ public function setAuthenticationType($authentication_type)
+ {
+ $this->container['authentication_type'] = $authentication_type;
+
+ return $this;
+ }
+
+ /**
+ * Gets average_time_to_complete_seconds
+ *
+ * @return string
+ */
+ public function getAverageTimeToCompleteSeconds()
+ {
+ return $this->container['average_time_to_complete_seconds'];
+ }
+
+ /**
+ * Sets average_time_to_complete_seconds
+ *
+ * @param string $average_time_to_complete_seconds
+ *
+ * @return $this
+ */
+ public function setAverageTimeToCompleteSeconds($average_time_to_complete_seconds)
+ {
+ $this->container['average_time_to_complete_seconds'] = $average_time_to_complete_seconds;
+
+ return $this;
+ }
+
+ /**
+ * Gets avg_complete_seconds
+ *
+ * @return string
+ */
+ public function getAvgCompleteSeconds()
+ {
+ return $this->container['avg_complete_seconds'];
+ }
+
+ /**
+ * Sets avg_complete_seconds
+ *
+ * @param string $avg_complete_seconds
+ *
+ * @return $this
+ */
+ public function setAvgCompleteSeconds($avg_complete_seconds)
+ {
+ $this->container['avg_complete_seconds'] = $avg_complete_seconds;
+
+ return $this;
+ }
+
+ /**
+ * Gets completed
+ *
+ * @return string
+ */
+ public function getCompleted()
+ {
+ return $this->container['completed'];
+ }
+
+ /**
+ * Sets completed
+ *
+ * @param string $completed
+ *
+ * @return $this
+ */
+ public function setCompleted($completed)
+ {
+ $this->container['completed'] = $completed;
+
+ return $this;
+ }
+
+ /**
+ * Gets completed_ts
+ *
+ * @return string
+ */
+ public function getCompletedTs()
+ {
+ return $this->container['completed_ts'];
+ }
+
+ /**
+ * Sets completed_ts
+ *
+ * @param string $completed_ts
+ *
+ * @return $this
+ */
+ public function setCompletedTs($completed_ts)
+ {
+ $this->container['completed_ts'] = $completed_ts;
+
+ return $this;
+ }
+
+ /**
+ * Gets created_date
+ *
+ * @return string
+ */
+ public function getCreatedDate()
+ {
+ return $this->container['created_date'];
+ }
+
+ /**
+ * Sets created_date
+ *
+ * @param string $created_date
+ *
+ * @return $this
+ */
+ public function setCreatedDate($created_date)
+ {
+ $this->container['created_date'] = $created_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets custom_field
+ *
+ * @return string
+ */
+ public function getCustomField()
+ {
+ return $this->container['custom_field'];
+ }
+
+ /**
+ * Sets custom_field
+ *
+ * @param string $custom_field
+ *
+ * @return $this
+ */
+ public function setCustomField($custom_field)
+ {
+ $this->container['custom_field'] = $custom_field;
+
+ return $this;
+ }
+
+ /**
+ * Gets declined_date
+ *
+ * @return string
+ */
+ public function getDeclinedDate()
+ {
+ return $this->container['declined_date'];
+ }
+
+ /**
+ * Sets declined_date
+ *
+ * @param string $declined_date
+ *
+ * @return $this
+ */
+ public function setDeclinedDate($declined_date)
+ {
+ $this->container['declined_date'] = $declined_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets declined_reason
+ *
+ * @return string
+ */
+ public function getDeclinedReason()
+ {
+ return $this->container['declined_reason'];
+ }
+
+ /**
+ * Sets declined_reason
+ *
+ * @param string $declined_reason The reason the recipient declined the document.
+ *
+ * @return $this
+ */
+ public function setDeclinedReason($declined_reason)
+ {
+ $this->container['declined_reason'] = $declined_reason;
+
+ return $this;
+ }
+
+ /**
+ * Gets delivered_date
+ *
+ * @return string
+ */
+ public function getDeliveredDate()
+ {
+ return $this->container['delivered_date'];
+ }
+
+ /**
+ * Sets delivered_date
+ *
+ * @param string $delivered_date
+ *
+ * @return $this
+ */
+ public function setDeliveredDate($delivered_date)
+ {
+ $this->container['delivered_date'] = $delivered_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_count
+ *
+ * @return string
+ */
+ public function getEnvelopeCount()
+ {
+ return $this->container['envelope_count'];
+ }
+
+ /**
+ * Sets envelope_count
+ *
+ * @param string $envelope_count
+ *
+ * @return $this
+ */
+ public function setEnvelopeCount($envelope_count)
+ {
+ $this->container['envelope_count'] = $envelope_count;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_creator
+ *
+ * @return string
+ */
+ public function getEnvelopeCreator()
+ {
+ return $this->container['envelope_creator'];
+ }
+
+ /**
+ * Sets envelope_creator
+ *
+ * @param string $envelope_creator
+ *
+ * @return $this
+ */
+ public function setEnvelopeCreator($envelope_creator)
+ {
+ $this->container['envelope_creator'] = $envelope_creator;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_id
+ *
+ * @return string
+ */
+ public function getEnvelopeId()
+ {
+ return $this->container['envelope_id'];
+ }
+
+ /**
+ * Sets envelope_id
+ *
+ * @param string $envelope_id The envelope ID of the envelope status that failed to post.
+ *
+ * @return $this
+ */
+ public function setEnvelopeId($envelope_id)
+ {
+ $this->container['envelope_id'] = $envelope_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_initial_send_ts
+ *
+ * @return string
+ */
+ public function getEnvelopeInitialSendTs()
+ {
+ return $this->container['envelope_initial_send_ts'];
+ }
+
+ /**
+ * Sets envelope_initial_send_ts
+ *
+ * @param string $envelope_initial_send_ts
+ *
+ * @return $this
+ */
+ public function setEnvelopeInitialSendTs($envelope_initial_send_ts)
+ {
+ $this->container['envelope_initial_send_ts'] = $envelope_initial_send_ts;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelopes_billed
+ *
+ * @return string
+ */
+ public function getEnvelopesBilled()
+ {
+ return $this->container['envelopes_billed'];
+ }
+
+ /**
+ * Sets envelopes_billed
+ *
+ * @param string $envelopes_billed
+ *
+ * @return $this
+ */
+ public function setEnvelopesBilled($envelopes_billed)
+ {
+ $this->container['envelopes_billed'] = $envelopes_billed;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelopes_completed
+ *
+ * @return string
+ */
+ public function getEnvelopesCompleted()
+ {
+ return $this->container['envelopes_completed'];
+ }
+
+ /**
+ * Sets envelopes_completed
+ *
+ * @param string $envelopes_completed
+ *
+ * @return $this
+ */
+ public function setEnvelopesCompleted($envelopes_completed)
+ {
+ $this->container['envelopes_completed'] = $envelopes_completed;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelopes_completed_count
+ *
+ * @return string
+ */
+ public function getEnvelopesCompletedCount()
+ {
+ return $this->container['envelopes_completed_count'];
+ }
+
+ /**
+ * Sets envelopes_completed_count
+ *
+ * @param string $envelopes_completed_count
+ *
+ * @return $this
+ */
+ public function setEnvelopesCompletedCount($envelopes_completed_count)
+ {
+ $this->container['envelopes_completed_count'] = $envelopes_completed_count;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelopes_declined
+ *
+ * @return string
+ */
+ public function getEnvelopesDeclined()
+ {
+ return $this->container['envelopes_declined'];
+ }
+
+ /**
+ * Sets envelopes_declined
+ *
+ * @param string $envelopes_declined
+ *
+ * @return $this
+ */
+ public function setEnvelopesDeclined($envelopes_declined)
+ {
+ $this->container['envelopes_declined'] = $envelopes_declined;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelopes_sent
+ *
+ * @return string
+ */
+ public function getEnvelopesSent()
+ {
+ return $this->container['envelopes_sent'];
+ }
+
+ /**
+ * Sets envelopes_sent
+ *
+ * @param string $envelopes_sent
+ *
+ * @return $this
+ */
+ public function setEnvelopesSent($envelopes_sent)
+ {
+ $this->container['envelopes_sent'] = $envelopes_sent;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelopes_sent_count
+ *
+ * @return string
+ */
+ public function getEnvelopesSentCount()
+ {
+ return $this->container['envelopes_sent_count'];
+ }
+
+ /**
+ * Sets envelopes_sent_count
+ *
+ * @param string $envelopes_sent_count
+ *
+ * @return $this
+ */
+ public function setEnvelopesSentCount($envelopes_sent_count)
+ {
+ $this->container['envelopes_sent_count'] = $envelopes_sent_count;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelopes_voided
+ *
+ * @return string
+ */
+ public function getEnvelopesVoided()
+ {
+ return $this->container['envelopes_voided'];
+ }
+
+ /**
+ * Sets envelopes_voided
+ *
+ * @param string $envelopes_voided
+ *
+ * @return $this
+ */
+ public function setEnvelopesVoided($envelopes_voided)
+ {
+ $this->container['envelopes_voided'] = $envelopes_voided;
+
+ return $this;
+ }
+
+ /**
+ * Gets envelope_voided_reason
+ *
+ * @return string
+ */
+ public function getEnvelopeVoidedReason()
+ {
+ return $this->container['envelope_voided_reason'];
+ }
+
+ /**
+ * Sets envelope_voided_reason
+ *
+ * @param string $envelope_voided_reason
+ *
+ * @return $this
+ */
+ public function setEnvelopeVoidedReason($envelope_voided_reason)
+ {
+ $this->container['envelope_voided_reason'] = $envelope_voided_reason;
+
+ return $this;
+ }
+
+ /**
+ * Gets eod_document_description
+ *
+ * @return string
+ */
+ public function getEodDocumentDescription()
+ {
+ return $this->container['eod_document_description'];
+ }
+
+ /**
+ * Sets eod_document_description
+ *
+ * @param string $eod_document_description
+ *
+ * @return $this
+ */
+ public function setEodDocumentDescription($eod_document_description)
+ {
+ $this->container['eod_document_description'] = $eod_document_description;
+
+ return $this;
+ }
+
+ /**
+ * Gets eod_document_name
+ *
+ * @return string
+ */
+ public function getEodDocumentName()
+ {
+ return $this->container['eod_document_name'];
+ }
+
+ /**
+ * Sets eod_document_name
+ *
+ * @param string $eod_document_name
+ *
+ * @return $this
+ */
+ public function setEodDocumentName($eod_document_name)
+ {
+ $this->container['eod_document_name'] = $eod_document_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets eod_document_profile_id
+ *
+ * @return string
+ */
+ public function getEodDocumentProfileId()
+ {
+ return $this->container['eod_document_profile_id'];
+ }
+
+ /**
+ * Sets eod_document_profile_id
+ *
+ * @param string $eod_document_profile_id
+ *
+ * @return $this
+ */
+ public function setEodDocumentProfileId($eod_document_profile_id)
+ {
+ $this->container['eod_document_profile_id'] = $eod_document_profile_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets eod_transaction_id
+ *
+ * @return string
+ */
+ public function getEodTransactionId()
+ {
+ return $this->container['eod_transaction_id'];
+ }
+
+ /**
+ * Sets eod_transaction_id
+ *
+ * @param string $eod_transaction_id
+ *
+ * @return $this
+ */
+ public function setEodTransactionId($eod_transaction_id)
+ {
+ $this->container['eod_transaction_id'] = $eod_transaction_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets eod_transaction_name
+ *
+ * @return string
+ */
+ public function getEodTransactionName()
+ {
+ return $this->container['eod_transaction_name'];
+ }
+
+ /**
+ * Sets eod_transaction_name
+ *
+ * @param string $eod_transaction_name
+ *
+ * @return $this
+ */
+ public function setEodTransactionName($eod_transaction_name)
+ {
+ $this->container['eod_transaction_name'] = $eod_transaction_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets event_date
+ *
+ * @return string
+ */
+ public function getEventDate()
+ {
+ return $this->container['event_date'];
+ }
+
+ /**
+ * Sets event_date
+ *
+ * @param string $event_date
+ *
+ * @return $this
+ */
+ public function setEventDate($event_date)
+ {
+ $this->container['event_date'] = $event_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets expiration_date
+ *
+ * @return string
+ */
+ public function getExpirationDate()
+ {
+ return $this->container['expiration_date'];
+ }
+
+ /**
+ * Sets expiration_date
+ *
+ * @param string $expiration_date
+ *
+ * @return $this
+ */
+ public function setExpirationDate($expiration_date)
+ {
+ $this->container['expiration_date'] = $expiration_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets expired_ts
+ *
+ * @return string
+ */
+ public function getExpiredTs()
+ {
+ return $this->container['expired_ts'];
+ }
+
+ /**
+ * Sets expired_ts
+ *
+ * @param string $expired_ts
+ *
+ * @return $this
+ */
+ public function setExpiredTs($expired_ts)
+ {
+ $this->container['expired_ts'] = $expired_ts;
+
+ return $this;
+ }
+
+ /**
+ * Gets failures
+ *
+ * @return string
+ */
+ public function getFailures()
+ {
+ return $this->container['failures'];
+ }
+
+ /**
+ * Sets failures
+ *
+ * @param string $failures
+ *
+ * @return $this
+ */
+ public function setFailures($failures)
+ {
+ $this->container['failures'] = $failures;
+
+ return $this;
+ }
+
+ /**
+ * Gets failure_vendor_code
+ *
+ * @return string
+ */
+ public function getFailureVendorCode()
+ {
+ return $this->container['failure_vendor_code'];
+ }
+
+ /**
+ * Sets failure_vendor_code
+ *
+ * @param string $failure_vendor_code
+ *
+ * @return $this
+ */
+ public function setFailureVendorCode($failure_vendor_code)
+ {
+ $this->container['failure_vendor_code'] = $failure_vendor_code;
+
+ return $this;
+ }
+
+ /**
+ * Gets failure_vendor_reason
+ *
+ * @return string
+ */
+ public function getFailureVendorReason()
+ {
+ return $this->container['failure_vendor_reason'];
+ }
+
+ /**
+ * Sets failure_vendor_reason
+ *
+ * @param string $failure_vendor_reason
+ *
+ * @return $this
+ */
+ public function setFailureVendorReason($failure_vendor_reason)
+ {
+ $this->container['failure_vendor_reason'] = $failure_vendor_reason;
+
+ return $this;
+ }
+
+ /**
+ * Gets first_send_ts
+ *
+ * @return string
+ */
+ public function getFirstSendTs()
+ {
+ return $this->container['first_send_ts'];
+ }
+
+ /**
+ * Sets first_send_ts
+ *
+ * @param string $first_send_ts
+ *
+ * @return $this
+ */
+ public function setFirstSendTs($first_send_ts)
+ {
+ $this->container['first_send_ts'] = $first_send_ts;
+
+ return $this;
+ }
+
+ /**
+ * Gets group_id
+ *
+ * @return string
+ */
+ public function getGroupId()
+ {
+ return $this->container['group_id'];
+ }
+
+ /**
+ * Sets group_id
+ *
+ * @param string $group_id
+ *
+ * @return $this
+ */
+ public function setGroupId($group_id)
+ {
+ $this->container['group_id'] = $group_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets group_name
+ *
+ * @return string
+ */
+ public function getGroupName()
+ {
+ return $this->container['group_name'];
+ }
+
+ /**
+ * Sets group_name
+ *
+ * @param string $group_name The name of the group.
+ *
+ * @return $this
+ */
+ public function setGroupName($group_name)
+ {
+ $this->container['group_name'] = $group_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets hours_to_complete_end
+ *
+ * @return string
+ */
+ public function getHoursToCompleteEnd()
+ {
+ return $this->container['hours_to_complete_end'];
+ }
+
+ /**
+ * Sets hours_to_complete_end
+ *
+ * @param string $hours_to_complete_end
+ *
+ * @return $this
+ */
+ public function setHoursToCompleteEnd($hours_to_complete_end)
+ {
+ $this->container['hours_to_complete_end'] = $hours_to_complete_end;
+
+ return $this;
+ }
+
+ /**
+ * Gets hours_to_complete_start
+ *
+ * @return string
+ */
+ public function getHoursToCompleteStart()
+ {
+ return $this->container['hours_to_complete_start'];
+ }
+
+ /**
+ * Sets hours_to_complete_start
+ *
+ * @param string $hours_to_complete_start
+ *
+ * @return $this
+ */
+ public function setHoursToCompleteStart($hours_to_complete_start)
+ {
+ $this->container['hours_to_complete_start'] = $hours_to_complete_start;
+
+ return $this;
+ }
+
+ /**
+ * Gets id_checks_attempted
+ *
+ * @return string
+ */
+ public function getIdChecksAttempted()
+ {
+ return $this->container['id_checks_attempted'];
+ }
+
+ /**
+ * Sets id_checks_attempted
+ *
+ * @param string $id_checks_attempted
+ *
+ * @return $this
+ */
+ public function setIdChecksAttempted($id_checks_attempted)
+ {
+ $this->container['id_checks_attempted'] = $id_checks_attempted;
+
+ return $this;
+ }
+
+ /**
+ * Gets id_checks_failed
+ *
+ * @return string
+ */
+ public function getIdChecksFailed()
+ {
+ return $this->container['id_checks_failed'];
+ }
+
+ /**
+ * Sets id_checks_failed
+ *
+ * @param string $id_checks_failed
+ *
+ * @return $this
+ */
+ public function setIdChecksFailed($id_checks_failed)
+ {
+ $this->container['id_checks_failed'] = $id_checks_failed;
+
+ return $this;
+ }
+
+ /**
+ * Gets initial_send_ts
+ *
+ * @return string
+ */
+ public function getInitialSendTs()
+ {
+ return $this->container['initial_send_ts'];
+ }
+
+ /**
+ * Sets initial_send_ts
+ *
+ * @param string $initial_send_ts
+ *
+ * @return $this
+ */
+ public function setInitialSendTs($initial_send_ts)
+ {
+ $this->container['initial_send_ts'] = $initial_send_ts;
+
+ return $this;
+ }
+
+ /**
+ * Gets ip_address
+ *
+ * @return string
+ */
+ public function getIpAddress()
+ {
+ return $this->container['ip_address'];
+ }
+
+ /**
+ * Sets ip_address
+ *
+ * @param string $ip_address
+ *
+ * @return $this
+ */
+ public function setIpAddress($ip_address)
+ {
+ $this->container['ip_address'] = $ip_address;
+
+ return $this;
+ }
+
+ /**
+ * Gets last_activity
+ *
+ * @return string
+ */
+ public function getLastActivity()
+ {
+ return $this->container['last_activity'];
+ }
+
+ /**
+ * Sets last_activity
+ *
+ * @param string $last_activity
+ *
+ * @return $this
+ */
+ public function setLastActivity($last_activity)
+ {
+ $this->container['last_activity'] = $last_activity;
+
+ return $this;
+ }
+
+ /**
+ * Gets last_activity_date
+ *
+ * @return string
+ */
+ public function getLastActivityDate()
+ {
+ return $this->container['last_activity_date'];
+ }
+
+ /**
+ * Sets last_activity_date
+ *
+ * @param string $last_activity_date
+ *
+ * @return $this
+ */
+ public function setLastActivityDate($last_activity_date)
+ {
+ $this->container['last_activity_date'] = $last_activity_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets last_sent_date
+ *
+ * @return string
+ */
+ public function getLastSentDate()
+ {
+ return $this->container['last_sent_date'];
+ }
+
+ /**
+ * Sets last_sent_date
+ *
+ * @param string $last_sent_date
+ *
+ * @return $this
+ */
+ public function setLastSentDate($last_sent_date)
+ {
+ $this->container['last_sent_date'] = $last_sent_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets not_signed
+ *
+ * @return string
+ */
+ public function getNotSigned()
+ {
+ return $this->container['not_signed'];
+ }
+
+ /**
+ * Sets not_signed
+ *
+ * @param string $not_signed
+ *
+ * @return $this
+ */
+ public function setNotSigned($not_signed)
+ {
+ $this->container['not_signed'] = $not_signed;
+
+ return $this;
+ }
+
+ /**
+ * Gets number_of_authenticated_recipients
+ *
+ * @return string
+ */
+ public function getNumberOfAuthenticatedRecipients()
+ {
+ return $this->container['number_of_authenticated_recipients'];
+ }
+
+ /**
+ * Sets number_of_authenticated_recipients
+ *
+ * @param string $number_of_authenticated_recipients
+ *
+ * @return $this
+ */
+ public function setNumberOfAuthenticatedRecipients($number_of_authenticated_recipients)
+ {
+ $this->container['number_of_authenticated_recipients'] = $number_of_authenticated_recipients;
+
+ return $this;
+ }
+
+ /**
+ * Gets number_of_completed_signatures
+ *
+ * @return string
+ */
+ public function getNumberOfCompletedSignatures()
+ {
+ return $this->container['number_of_completed_signatures'];
+ }
+
+ /**
+ * Sets number_of_completed_signatures
+ *
+ * @param string $number_of_completed_signatures
+ *
+ * @return $this
+ */
+ public function setNumberOfCompletedSignatures($number_of_completed_signatures)
+ {
+ $this->container['number_of_completed_signatures'] = $number_of_completed_signatures;
+
+ return $this;
+ }
+
+ /**
+ * Gets number_of_documents
+ *
+ * @return string
+ */
+ public function getNumberOfDocuments()
+ {
+ return $this->container['number_of_documents'];
+ }
+
+ /**
+ * Sets number_of_documents
+ *
+ * @param string $number_of_documents
+ *
+ * @return $this
+ */
+ public function setNumberOfDocuments($number_of_documents)
+ {
+ $this->container['number_of_documents'] = $number_of_documents;
+
+ return $this;
+ }
+
+ /**
+ * Gets number_of_pages
+ *
+ * @return string
+ */
+ public function getNumberOfPages()
+ {
+ return $this->container['number_of_pages'];
+ }
+
+ /**
+ * Sets number_of_pages
+ *
+ * @param string $number_of_pages
+ *
+ * @return $this
+ */
+ public function setNumberOfPages($number_of_pages)
+ {
+ $this->container['number_of_pages'] = $number_of_pages;
+
+ return $this;
+ }
+
+ /**
+ * Gets number_of_recipients
+ *
+ * @return string
+ */
+ public function getNumberOfRecipients()
+ {
+ return $this->container['number_of_recipients'];
+ }
+
+ /**
+ * Sets number_of_recipients
+ *
+ * @param string $number_of_recipients
+ *
+ * @return $this
+ */
+ public function setNumberOfRecipients($number_of_recipients)
+ {
+ $this->container['number_of_recipients'] = $number_of_recipients;
+
+ return $this;
+ }
+
+ /**
+ * Gets number_of_sends
+ *
+ * @return string
+ */
+ public function getNumberOfSends()
+ {
+ return $this->container['number_of_sends'];
+ }
+
+ /**
+ * Sets number_of_sends
+ *
+ * @param string $number_of_sends
+ *
+ * @return $this
+ */
+ public function setNumberOfSends($number_of_sends)
+ {
+ $this->container['number_of_sends'] = $number_of_sends;
+
+ return $this;
+ }
+
+ /**
+ * Gets number_of_signers
+ *
+ * @return string
+ */
+ public function getNumberOfSigners()
+ {
+ return $this->container['number_of_signers'];
+ }
+
+ /**
+ * Sets number_of_signers
+ *
+ * @param string $number_of_signers
+ *
+ * @return $this
+ */
+ public function setNumberOfSigners($number_of_signers)
+ {
+ $this->container['number_of_signers'] = $number_of_signers;
+
+ return $this;
+ }
+
+ /**
+ * Gets number_of_total_documents
+ *
+ * @return string
+ */
+ public function getNumberOfTotalDocuments()
+ {
+ return $this->container['number_of_total_documents'];
+ }
+
+ /**
+ * Sets number_of_total_documents
+ *
+ * @param string $number_of_total_documents
+ *
+ * @return $this
+ */
+ public function setNumberOfTotalDocuments($number_of_total_documents)
+ {
+ $this->container['number_of_total_documents'] = $number_of_total_documents;
+
+ return $this;
+ }
+
+ /**
+ * Gets number_of_total_pages
+ *
+ * @return string
+ */
+ public function getNumberOfTotalPages()
+ {
+ return $this->container['number_of_total_pages'];
+ }
+
+ /**
+ * Sets number_of_total_pages
+ *
+ * @param string $number_of_total_pages
+ *
+ * @return $this
+ */
+ public function setNumberOfTotalPages($number_of_total_pages)
+ {
+ $this->container['number_of_total_pages'] = $number_of_total_pages;
+
+ return $this;
+ }
+
+ /**
+ * Gets number_of_total_signers
+ *
+ * @return string
+ */
+ public function getNumberOfTotalSigners()
+ {
+ return $this->container['number_of_total_signers'];
+ }
+
+ /**
+ * Sets number_of_total_signers
+ *
+ * @param string $number_of_total_signers
+ *
+ * @return $this
+ */
+ public function setNumberOfTotalSigners($number_of_total_signers)
+ {
+ $this->container['number_of_total_signers'] = $number_of_total_signers;
+
+ return $this;
+ }
+
+ /**
+ * Gets number_of_unique_senders
+ *
+ * @return string
+ */
+ public function getNumberOfUniqueSenders()
+ {
+ return $this->container['number_of_unique_senders'];
+ }
+
+ /**
+ * Sets number_of_unique_senders
+ *
+ * @param string $number_of_unique_senders
+ *
+ * @return $this
+ */
+ public function setNumberOfUniqueSenders($number_of_unique_senders)
+ {
+ $this->container['number_of_unique_senders'] = $number_of_unique_senders;
+
+ return $this;
+ }
+
+ /**
+ * Gets number_total_recipients
+ *
+ * @return string
+ */
+ public function getNumberTotalRecipients()
+ {
+ return $this->container['number_total_recipients'];
+ }
+
+ /**
+ * Sets number_total_recipients
+ *
+ * @param string $number_total_recipients
+ *
+ * @return $this
+ */
+ public function setNumberTotalRecipients($number_total_recipients)
+ {
+ $this->container['number_total_recipients'] = $number_total_recipients;
+
+ return $this;
+ }
+
+ /**
+ * Gets period_end
+ *
+ * @return string
+ */
+ public function getPeriodEnd()
+ {
+ return $this->container['period_end'];
+ }
+
+ /**
+ * Sets period_end
+ *
+ * @param string $period_end
+ *
+ * @return $this
+ */
+ public function setPeriodEnd($period_end)
+ {
+ $this->container['period_end'] = $period_end;
+
+ return $this;
+ }
+
+ /**
+ * Gets period_start
+ *
+ * @return string
+ */
+ public function getPeriodStart()
+ {
+ return $this->container['period_start'];
+ }
+
+ /**
+ * Sets period_start
+ *
+ * @param string $period_start
+ *
+ * @return $this
+ */
+ public function setPeriodStart($period_start)
+ {
+ $this->container['period_start'] = $period_start;
+
+ return $this;
+ }
+
+ /**
+ * Gets phone_calls_attempted
+ *
+ * @return string
+ */
+ public function getPhoneCallsAttempted()
+ {
+ return $this->container['phone_calls_attempted'];
+ }
+
+ /**
+ * Sets phone_calls_attempted
+ *
+ * @param string $phone_calls_attempted
+ *
+ * @return $this
+ */
+ public function setPhoneCallsAttempted($phone_calls_attempted)
+ {
+ $this->container['phone_calls_attempted'] = $phone_calls_attempted;
+
+ return $this;
+ }
+
+ /**
+ * Gets phone_calls_failed
+ *
+ * @return string
+ */
+ public function getPhoneCallsFailed()
+ {
+ return $this->container['phone_calls_failed'];
+ }
+
+ /**
+ * Sets phone_calls_failed
+ *
+ * @param string $phone_calls_failed
+ *
+ * @return $this
+ */
+ public function setPhoneCallsFailed($phone_calls_failed)
+ {
+ $this->container['phone_calls_failed'] = $phone_calls_failed;
+
+ return $this;
+ }
+
+ /**
+ * Gets reason_for_declining
+ *
+ * @return string
+ */
+ public function getReasonForDeclining()
+ {
+ return $this->container['reason_for_declining'];
+ }
+
+ /**
+ * Sets reason_for_declining
+ *
+ * @param string $reason_for_declining
+ *
+ * @return $this
+ */
+ public function setReasonForDeclining($reason_for_declining)
+ {
+ $this->container['reason_for_declining'] = $reason_for_declining;
+
+ return $this;
+ }
+
+ /**
+ * Gets reason_for_voiding
+ *
+ * @return string
+ */
+ public function getReasonForVoiding()
+ {
+ return $this->container['reason_for_voiding'];
+ }
+
+ /**
+ * Sets reason_for_voiding
+ *
+ * @param string $reason_for_voiding
+ *
+ * @return $this
+ */
+ public function setReasonForVoiding($reason_for_voiding)
+ {
+ $this->container['reason_for_voiding'] = $reason_for_voiding;
+
+ return $this;
+ }
+
+ /**
+ * Gets reassign_reason
+ *
+ * @return string
+ */
+ public function getReassignReason()
+ {
+ return $this->container['reassign_reason'];
+ }
+
+ /**
+ * Sets reassign_reason
+ *
+ * @param string $reassign_reason
+ *
+ * @return $this
+ */
+ public function setReassignReason($reassign_reason)
+ {
+ $this->container['reassign_reason'] = $reassign_reason;
+
+ return $this;
+ }
+
+ /**
+ * Gets received
+ *
+ * @return string
+ */
+ public function getReceived()
+ {
+ return $this->container['received'];
+ }
+
+ /**
+ * Sets received
+ *
+ * @param string $received
+ *
+ * @return $this
+ */
+ public function setReceived($received)
+ {
+ $this->container['received'] = $received;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient
+ *
+ * @return string
+ */
+ public function getRecipient()
+ {
+ return $this->container['recipient'];
+ }
+
+ /**
+ * Sets recipient
+ *
+ * @param string $recipient
+ *
+ * @return $this
+ */
+ public function setRecipient($recipient)
+ {
+ $this->container['recipient'] = $recipient;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_action
+ *
+ * @return string
+ */
+ public function getRecipientAction()
+ {
+ return $this->container['recipient_action'];
+ }
+
+ /**
+ * Sets recipient_action
+ *
+ * @param string $recipient_action
+ *
+ * @return $this
+ */
+ public function setRecipientAction($recipient_action)
+ {
+ $this->container['recipient_action'] = $recipient_action;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_company_name
+ *
+ * @return string
+ */
+ public function getRecipientCompanyName()
+ {
+ return $this->container['recipient_company_name'];
+ }
+
+ /**
+ * Sets recipient_company_name
+ *
+ * @param string $recipient_company_name
+ *
+ * @return $this
+ */
+ public function setRecipientCompanyName($recipient_company_name)
+ {
+ $this->container['recipient_company_name'] = $recipient_company_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_country
+ *
+ * @return string
+ */
+ public function getRecipientCountry()
+ {
+ return $this->container['recipient_country'];
+ }
+
+ /**
+ * Sets recipient_country
+ *
+ * @param string $recipient_country
+ *
+ * @return $this
+ */
+ public function setRecipientCountry($recipient_country)
+ {
+ $this->container['recipient_country'] = $recipient_country;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_email
+ *
+ * @return string
+ */
+ public function getRecipientEmail()
+ {
+ return $this->container['recipient_email'];
+ }
+
+ /**
+ * Sets recipient_email
+ *
+ * @param string $recipient_email
+ *
+ * @return $this
+ */
+ public function setRecipientEmail($recipient_email)
+ {
+ $this->container['recipient_email'] = $recipient_email;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_id
+ *
+ * @return string
+ */
+ public function getRecipientId()
+ {
+ return $this->container['recipient_id'];
+ }
+
+ /**
+ * Sets recipient_id
+ *
+ * @param string $recipient_id Unique for the recipient. It is used by the tab element to indicate which recipient is to sign the Document.
+ *
+ * @return $this
+ */
+ public function setRecipientId($recipient_id)
+ {
+ $this->container['recipient_id'] = $recipient_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_name
+ *
+ * @return string
+ */
+ public function getRecipientName()
+ {
+ return $this->container['recipient_name'];
+ }
+
+ /**
+ * Sets recipient_name
+ *
+ * @param string $recipient_name
+ *
+ * @return $this
+ */
+ public function setRecipientName($recipient_name)
+ {
+ $this->container['recipient_name'] = $recipient_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_template_role_name
+ *
+ * @return string
+ */
+ public function getRecipientTemplateRoleName()
+ {
+ return $this->container['recipient_template_role_name'];
+ }
+
+ /**
+ * Sets recipient_template_role_name
+ *
+ * @param string $recipient_template_role_name
+ *
+ * @return $this
+ */
+ public function setRecipientTemplateRoleName($recipient_template_role_name)
+ {
+ $this->container['recipient_template_role_name'] = $recipient_template_role_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_title
+ *
+ * @return string
+ */
+ public function getRecipientTitle()
+ {
+ return $this->container['recipient_title'];
+ }
+
+ /**
+ * Sets recipient_title
+ *
+ * @param string $recipient_title
+ *
+ * @return $this
+ */
+ public function setRecipientTitle($recipient_title)
+ {
+ $this->container['recipient_title'] = $recipient_title;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_type
+ *
+ * @return string
+ */
+ public function getRecipientType()
+ {
+ return $this->container['recipient_type'];
+ }
+
+ /**
+ * Sets recipient_type
+ *
+ * @param string $recipient_type
+ *
+ * @return $this
+ */
+ public function setRecipientType($recipient_type)
+ {
+ $this->container['recipient_type'] = $recipient_type;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_user_id
+ *
+ * @return string
+ */
+ public function getRecipientUserId()
+ {
+ return $this->container['recipient_user_id'];
+ }
+
+ /**
+ * Sets recipient_user_id
+ *
+ * @param string $recipient_user_id
+ *
+ * @return $this
+ */
+ public function setRecipientUserId($recipient_user_id)
+ {
+ $this->container['recipient_user_id'] = $recipient_user_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets remaining_signatures
+ *
+ * @return string
+ */
+ public function getRemainingSignatures()
+ {
+ return $this->container['remaining_signatures'];
+ }
+
+ /**
+ * Sets remaining_signatures
+ *
+ * @param string $remaining_signatures
+ *
+ * @return $this
+ */
+ public function setRemainingSignatures($remaining_signatures)
+ {
+ $this->container['remaining_signatures'] = $remaining_signatures;
+
+ return $this;
+ }
+
+ /**
+ * Gets routing_order
+ *
+ * @return string
+ */
+ public function getRoutingOrder()
+ {
+ return $this->container['routing_order'];
+ }
+
+ /**
+ * Sets routing_order
+ *
+ * @param string $routing_order Specifies the routing order of the recipient in the envelope.
+ *
+ * @return $this
+ */
+ public function setRoutingOrder($routing_order)
+ {
+ $this->container['routing_order'] = $routing_order;
+
+ return $this;
+ }
+
+ /**
+ * Gets sender_account_id
+ *
+ * @return string
+ */
+ public function getSenderAccountId()
+ {
+ return $this->container['sender_account_id'];
+ }
+
+ /**
+ * Sets sender_account_id
+ *
+ * @param string $sender_account_id
+ *
+ * @return $this
+ */
+ public function setSenderAccountId($sender_account_id)
+ {
+ $this->container['sender_account_id'] = $sender_account_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets sender_company_name
+ *
+ * @return string
+ */
+ public function getSenderCompanyName()
+ {
+ return $this->container['sender_company_name'];
+ }
+
+ /**
+ * Sets sender_company_name
+ *
+ * @param string $sender_company_name
+ *
+ * @return $this
+ */
+ public function setSenderCompanyName($sender_company_name)
+ {
+ $this->container['sender_company_name'] = $sender_company_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets sender_country
+ *
+ * @return string
+ */
+ public function getSenderCountry()
+ {
+ return $this->container['sender_country'];
+ }
+
+ /**
+ * Sets sender_country
+ *
+ * @param string $sender_country
+ *
+ * @return $this
+ */
+ public function setSenderCountry($sender_country)
+ {
+ $this->container['sender_country'] = $sender_country;
+
+ return $this;
+ }
+
+ /**
+ * Gets sender_email
+ *
+ * @return string
+ */
+ public function getSenderEmail()
+ {
+ return $this->container['sender_email'];
+ }
+
+ /**
+ * Sets sender_email
+ *
+ * @param string $sender_email
+ *
+ * @return $this
+ */
+ public function setSenderEmail($sender_email)
+ {
+ $this->container['sender_email'] = $sender_email;
+
+ return $this;
+ }
+
+ /**
+ * Gets sender_ip_address
+ *
+ * @return string
+ */
+ public function getSenderIpAddress()
+ {
+ return $this->container['sender_ip_address'];
+ }
+
+ /**
+ * Sets sender_ip_address
+ *
+ * @param string $sender_ip_address
+ *
+ * @return $this
+ */
+ public function setSenderIpAddress($sender_ip_address)
+ {
+ $this->container['sender_ip_address'] = $sender_ip_address;
+
+ return $this;
+ }
+
+ /**
+ * Gets sender_job_title
+ *
+ * @return string
+ */
+ public function getSenderJobTitle()
+ {
+ return $this->container['sender_job_title'];
+ }
+
+ /**
+ * Sets sender_job_title
+ *
+ * @param string $sender_job_title
+ *
+ * @return $this
+ */
+ public function setSenderJobTitle($sender_job_title)
+ {
+ $this->container['sender_job_title'] = $sender_job_title;
+
+ return $this;
+ }
+
+ /**
+ * Gets sender_name
+ *
+ * @return string
+ */
+ public function getSenderName()
+ {
+ return $this->container['sender_name'];
+ }
+
+ /**
+ * Sets sender_name
+ *
+ * @param string $sender_name
+ *
+ * @return $this
+ */
+ public function setSenderName($sender_name)
+ {
+ $this->container['sender_name'] = $sender_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets sender_user_id
+ *
+ * @return string
+ */
+ public function getSenderUserId()
+ {
+ return $this->container['sender_user_id'];
+ }
+
+ /**
+ * Sets sender_user_id
+ *
+ * @param string $sender_user_id
+ *
+ * @return $this
+ */
+ public function setSenderUserId($sender_user_id)
+ {
+ $this->container['sender_user_id'] = $sender_user_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets sign_date
+ *
+ * @return string
+ */
+ public function getSignDate()
+ {
+ return $this->container['sign_date'];
+ }
+
+ /**
+ * Sets sign_date
+ *
+ * @param string $sign_date
+ *
+ * @return $this
+ */
+ public function setSignDate($sign_date)
+ {
+ $this->container['sign_date'] = $sign_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets signed
+ *
+ * @return string
+ */
+ public function getSigned()
+ {
+ return $this->container['signed'];
+ }
+
+ /**
+ * Sets signed
+ *
+ * @param string $signed
+ *
+ * @return $this
+ */
+ public function setSigned($signed)
+ {
+ $this->container['signed'] = $signed;
+
+ return $this;
+ }
+
+ /**
+ * Gets signed_date
+ *
+ * @return string
+ */
+ public function getSignedDate()
+ {
+ return $this->container['signed_date'];
+ }
+
+ /**
+ * Sets signed_date
+ *
+ * @param string $signed_date
+ *
+ * @return $this
+ */
+ public function setSignedDate($signed_date)
+ {
+ $this->container['signed_date'] = $signed_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets signed_on_mobile
+ *
+ * @return string
+ */
+ public function getSignedOnMobile()
+ {
+ return $this->container['signed_on_mobile'];
+ }
+
+ /**
+ * Sets signed_on_mobile
+ *
+ * @param string $signed_on_mobile
+ *
+ * @return $this
+ */
+ public function setSignedOnMobile($signed_on_mobile)
+ {
+ $this->container['signed_on_mobile'] = $signed_on_mobile;
+
+ return $this;
+ }
+
+ /**
+ * Gets signed_on_paper
+ *
+ * @return string
+ */
+ public function getSignedOnPaper()
+ {
+ return $this->container['signed_on_paper'];
+ }
+
+ /**
+ * Sets signed_on_paper
+ *
+ * @param string $signed_on_paper
+ *
+ * @return $this
+ */
+ public function setSignedOnPaper($signed_on_paper)
+ {
+ $this->container['signed_on_paper'] = $signed_on_paper;
+
+ return $this;
+ }
+
+ /**
+ * Gets signer_list
+ *
+ * @return string
+ */
+ public function getSignerList()
+ {
+ return $this->container['signer_list'];
+ }
+
+ /**
+ * Sets signer_list
+ *
+ * @param string $signer_list
+ *
+ * @return $this
+ */
+ public function setSignerList($signer_list)
+ {
+ $this->container['signer_list'] = $signer_list;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.
+ *
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets status_changed_date
+ *
+ * @return string
+ */
+ public function getStatusChangedDate()
+ {
+ return $this->container['status_changed_date'];
+ }
+
+ /**
+ * Sets status_changed_date
+ *
+ * @param string $status_changed_date
+ *
+ * @return $this
+ */
+ public function setStatusChangedDate($status_changed_date)
+ {
+ $this->container['status_changed_date'] = $status_changed_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets status_changed_ts
+ *
+ * @return string
+ */
+ public function getStatusChangedTs()
+ {
+ return $this->container['status_changed_ts'];
+ }
+
+ /**
+ * Sets status_changed_ts
+ *
+ * @param string $status_changed_ts
+ *
+ * @return $this
+ */
+ public function setStatusChangedTs($status_changed_ts)
+ {
+ $this->container['status_changed_ts'] = $status_changed_ts;
+
+ return $this;
+ }
+
+ /**
+ * Gets subject
+ *
+ * @return string
+ */
+ public function getSubject()
+ {
+ return $this->container['subject'];
+ }
+
+ /**
+ * Sets subject
+ *
+ * @param string $subject
+ *
+ * @return $this
+ */
+ public function setSubject($subject)
+ {
+ $this->container['subject'] = $subject;
+
+ return $this;
+ }
+
+ /**
+ * Gets successes
+ *
+ * @return string
+ */
+ public function getSuccesses()
+ {
+ return $this->container['successes'];
+ }
+
+ /**
+ * Sets successes
+ *
+ * @param string $successes
+ *
+ * @return $this
+ */
+ public function setSuccesses($successes)
+ {
+ $this->container['successes'] = $successes;
+
+ return $this;
+ }
+
+ /**
+ * Gets templates_created
+ *
+ * @return string
+ */
+ public function getTemplatesCreated()
+ {
+ return $this->container['templates_created'];
+ }
+
+ /**
+ * Sets templates_created
+ *
+ * @param string $templates_created
+ *
+ * @return $this
+ */
+ public function setTemplatesCreated($templates_created)
+ {
+ $this->container['templates_created'] = $templates_created;
+
+ return $this;
+ }
+
+ /**
+ * Gets templates_created_count
+ *
+ * @return string
+ */
+ public function getTemplatesCreatedCount()
+ {
+ return $this->container['templates_created_count'];
+ }
+
+ /**
+ * Sets templates_created_count
+ *
+ * @param string $templates_created_count
+ *
+ * @return $this
+ */
+ public function setTemplatesCreatedCount($templates_created_count)
+ {
+ $this->container['templates_created_count'] = $templates_created_count;
+
+ return $this;
+ }
+
+ /**
+ * Gets terminal_status_date
+ *
+ * @return string
+ */
+ public function getTerminalStatusDate()
+ {
+ return $this->container['terminal_status_date'];
+ }
+
+ /**
+ * Sets terminal_status_date
+ *
+ * @param string $terminal_status_date
+ *
+ * @return $this
+ */
+ public function setTerminalStatusDate($terminal_status_date)
+ {
+ $this->container['terminal_status_date'] = $terminal_status_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets time_to_complete_seconds
+ *
+ * @return string
+ */
+ public function getTimeToCompleteSeconds()
+ {
+ return $this->container['time_to_complete_seconds'];
+ }
+
+ /**
+ * Sets time_to_complete_seconds
+ *
+ * @param string $time_to_complete_seconds
+ *
+ * @return $this
+ */
+ public function setTimeToCompleteSeconds($time_to_complete_seconds)
+ {
+ $this->container['time_to_complete_seconds'] = $time_to_complete_seconds;
+
+ return $this;
+ }
+
+ /**
+ * Gets time_to_deliver
+ *
+ * @return string
+ */
+ public function getTimeToDeliver()
+ {
+ return $this->container['time_to_deliver'];
+ }
+
+ /**
+ * Sets time_to_deliver
+ *
+ * @param string $time_to_deliver
+ *
+ * @return $this
+ */
+ public function setTimeToDeliver($time_to_deliver)
+ {
+ $this->container['time_to_deliver'] = $time_to_deliver;
+
+ return $this;
+ }
+
+ /**
+ * Gets total_documents
+ *
+ * @return string
+ */
+ public function getTotalDocuments()
+ {
+ return $this->container['total_documents'];
+ }
+
+ /**
+ * Sets total_documents
+ *
+ * @param string $total_documents
+ *
+ * @return $this
+ */
+ public function setTotalDocuments($total_documents)
+ {
+ $this->container['total_documents'] = $total_documents;
+
+ return $this;
+ }
+
+ /**
+ * Gets total_envelopes
+ *
+ * @return string
+ */
+ public function getTotalEnvelopes()
+ {
+ return $this->container['total_envelopes'];
+ }
+
+ /**
+ * Sets total_envelopes
+ *
+ * @param string $total_envelopes
+ *
+ * @return $this
+ */
+ public function setTotalEnvelopes($total_envelopes)
+ {
+ $this->container['total_envelopes'] = $total_envelopes;
+
+ return $this;
+ }
+
+ /**
+ * Gets total_pages
+ *
+ * @return string
+ */
+ public function getTotalPages()
+ {
+ return $this->container['total_pages'];
+ }
+
+ /**
+ * Sets total_pages
+ *
+ * @param string $total_pages
+ *
+ * @return $this
+ */
+ public function setTotalPages($total_pages)
+ {
+ $this->container['total_pages'] = $total_pages;
+
+ return $this;
+ }
+
+ /**
+ * Gets total_recipients
+ *
+ * @return string
+ */
+ public function getTotalRecipients()
+ {
+ return $this->container['total_recipients'];
+ }
+
+ /**
+ * Sets total_recipients
+ *
+ * @param string $total_recipients
+ *
+ * @return $this
+ */
+ public function setTotalRecipients($total_recipients)
+ {
+ $this->container['total_recipients'] = $total_recipients;
+
+ return $this;
+ }
+
+ /**
+ * Gets total_signers
+ *
+ * @return string
+ */
+ public function getTotalSigners()
+ {
+ return $this->container['total_signers'];
+ }
+
+ /**
+ * Sets total_signers
+ *
+ * @param string $total_signers
+ *
+ * @return $this
+ */
+ public function setTotalSigners($total_signers)
+ {
+ $this->container['total_signers'] = $total_signers;
+
+ return $this;
+ }
+
+ /**
+ * Gets unique_senders
+ *
+ * @return string
+ */
+ public function getUniqueSenders()
+ {
+ return $this->container['unique_senders'];
+ }
+
+ /**
+ * Sets unique_senders
+ *
+ * @param string $unique_senders
+ *
+ * @return $this
+ */
+ public function setUniqueSenders($unique_senders)
+ {
+ $this->container['unique_senders'] = $unique_senders;
+
+ return $this;
+ }
+
+ /**
+ * Gets user_account_email
+ *
+ * @return string
+ */
+ public function getUserAccountEmail()
+ {
+ return $this->container['user_account_email'];
+ }
+
+ /**
+ * Sets user_account_email
+ *
+ * @param string $user_account_email
+ *
+ * @return $this
+ */
+ public function setUserAccountEmail($user_account_email)
+ {
+ $this->container['user_account_email'] = $user_account_email;
+
+ return $this;
+ }
+
+ /**
+ * Gets user_account_name
+ *
+ * @return string
+ */
+ public function getUserAccountName()
+ {
+ return $this->container['user_account_name'];
+ }
+
+ /**
+ * Sets user_account_name
+ *
+ * @param string $user_account_name
+ *
+ * @return $this
+ */
+ public function setUserAccountName($user_account_name)
+ {
+ $this->container['user_account_name'] = $user_account_name;
+
+ return $this;
+ }
+
+ /**
+ * Gets user_account_status
+ *
+ * @return string
+ */
+ public function getUserAccountStatus()
+ {
+ return $this->container['user_account_status'];
+ }
+
+ /**
+ * Sets user_account_status
+ *
+ * @param string $user_account_status
+ *
+ * @return $this
+ */
+ public function setUserAccountStatus($user_account_status)
+ {
+ $this->container['user_account_status'] = $user_account_status;
+
+ return $this;
+ }
+
+ /**
+ * Gets user_count
+ *
+ * @return string
+ */
+ public function getUserCount()
+ {
+ return $this->container['user_count'];
+ }
+
+ /**
+ * Sets user_count
+ *
+ * @param string $user_count
+ *
+ * @return $this
+ */
+ public function setUserCount($user_count)
+ {
+ $this->container['user_count'] = $user_count;
+
+ return $this;
+ }
+
+ /**
+ * Gets user_id
+ *
+ * @return string
+ */
+ public function getUserId()
+ {
+ return $this->container['user_id'];
+ }
+
+ /**
+ * Sets user_id
+ *
+ * @param string $user_id
+ *
+ * @return $this
+ */
+ public function setUserId($user_id)
+ {
+ $this->container['user_id'] = $user_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets view_date
+ *
+ * @return string
+ */
+ public function getViewDate()
+ {
+ return $this->container['view_date'];
+ }
+
+ /**
+ * Sets view_date
+ *
+ * @param string $view_date
+ *
+ * @return $this
+ */
+ public function setViewDate($view_date)
+ {
+ $this->container['view_date'] = $view_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets voided_ts
+ *
+ * @return string
+ */
+ public function getVoidedTs()
+ {
+ return $this->container['voided_ts'];
+ }
+
+ /**
+ * Sets voided_ts
+ *
+ * @param string $voided_ts
+ *
+ * @return $this
+ */
+ public function setVoidedTs($voided_ts)
+ {
+ $this->container['voided_ts'] = $voided_ts;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ReportInProductSaveResponse.php b/src/Model/ReportInProductSaveResponse.php
new file mode 100644
index 00000000..37e051fa
--- /dev/null
+++ b/src/Model/ReportInProductSaveResponse.php
@@ -0,0 +1,300 @@
+ 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'report_customized_id' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'report_customized_id' => 'reportCustomizedId'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'report_customized_id' => 'setReportCustomizedId'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'report_customized_id' => 'getReportCustomizedId'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['report_customized_id'] = isset($data['report_customized_id']) ? $data['report_customized_id'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets report_customized_id
+ *
+ * @return string
+ */
+ public function getReportCustomizedId()
+ {
+ return $this->container['report_customized_id'];
+ }
+
+ /**
+ * Sets report_customized_id
+ *
+ * @param string $report_customized_id
+ *
+ * @return $this
+ */
+ public function setReportCustomizedId($report_customized_id)
+ {
+ $this->container['report_customized_id'] = $report_customized_id;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/ReportInProductSentByDetails.php b/src/Model/ReportInProductSentByDetails.php
new file mode 100644
index 00000000..f6ca0977
--- /dev/null
+++ b/src/Model/ReportInProductSentByDetails.php
@@ -0,0 +1,330 @@
+ '\DocuSign\eSign\Model\Group[]',
+ 'users' => '\DocuSign\eSign\Model\UserInfo[]'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'groups' => null,
+ 'users' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'groups' => 'groups',
+ 'users' => 'users'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'groups' => 'setGroups',
+ 'users' => 'setUsers'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'groups' => 'getGroups',
+ 'users' => 'getUsers'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['groups'] = isset($data['groups']) ? $data['groups'] : null;
+ $this->container['users'] = isset($data['users']) ? $data['users'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets groups
+ *
+ * @return \DocuSign\eSign\Model\Group[]
+ */
+ public function getGroups()
+ {
+ return $this->container['groups'];
+ }
+
+ /**
+ * Sets groups
+ *
+ * @param \DocuSign\eSign\Model\Group[] $groups A collection group objects containing information about the groups returned.
+ *
+ * @return $this
+ */
+ public function setGroups($groups)
+ {
+ $this->container['groups'] = $groups;
+
+ return $this;
+ }
+
+ /**
+ * Gets users
+ *
+ * @return \DocuSign\eSign\Model\UserInfo[]
+ */
+ public function getUsers()
+ {
+ return $this->container['users'];
+ }
+
+ /**
+ * Sets users
+ *
+ * @param \DocuSign\eSign\Model\UserInfo[] $users
+ *
+ * @return $this
+ */
+ public function setUsers($users)
+ {
+ $this->container['users'] = $users;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/SenderEmailNotifications.php b/src/Model/SenderEmailNotifications.php
index 4b87d0ea..12711150 100644
--- a/src/Model/SenderEmailNotifications.php
+++ b/src/Model/SenderEmailNotifications.php
@@ -63,6 +63,7 @@ class SenderEmailNotifications implements ModelInterface, ArrayAccess
'delivery_failed' => 'string',
'envelope_complete' => 'string',
'offline_signing_failed' => 'string',
+ 'powerform_responses_limit_notification_email' => 'string',
'purge_documents' => 'string',
'recipient_viewed' => 'string',
'sender_envelope_declined' => 'string',
@@ -81,6 +82,7 @@ class SenderEmailNotifications implements ModelInterface, ArrayAccess
'delivery_failed' => null,
'envelope_complete' => null,
'offline_signing_failed' => null,
+ 'powerform_responses_limit_notification_email' => null,
'purge_documents' => null,
'recipient_viewed' => null,
'sender_envelope_declined' => null,
@@ -120,6 +122,7 @@ public static function swaggerFormats()
'delivery_failed' => 'deliveryFailed',
'envelope_complete' => 'envelopeComplete',
'offline_signing_failed' => 'offlineSigningFailed',
+ 'powerform_responses_limit_notification_email' => 'powerformResponsesLimitNotificationEmail',
'purge_documents' => 'purgeDocuments',
'recipient_viewed' => 'recipientViewed',
'sender_envelope_declined' => 'senderEnvelopeDeclined',
@@ -138,6 +141,7 @@ public static function swaggerFormats()
'delivery_failed' => 'setDeliveryFailed',
'envelope_complete' => 'setEnvelopeComplete',
'offline_signing_failed' => 'setOfflineSigningFailed',
+ 'powerform_responses_limit_notification_email' => 'setPowerformResponsesLimitNotificationEmail',
'purge_documents' => 'setPurgeDocuments',
'recipient_viewed' => 'setRecipientViewed',
'sender_envelope_declined' => 'setSenderEnvelopeDeclined',
@@ -156,6 +160,7 @@ public static function swaggerFormats()
'delivery_failed' => 'getDeliveryFailed',
'envelope_complete' => 'getEnvelopeComplete',
'offline_signing_failed' => 'getOfflineSigningFailed',
+ 'powerform_responses_limit_notification_email' => 'getPowerformResponsesLimitNotificationEmail',
'purge_documents' => 'getPurgeDocuments',
'recipient_viewed' => 'getRecipientViewed',
'sender_envelope_declined' => 'getSenderEnvelopeDeclined',
@@ -228,6 +233,7 @@ public function __construct(array $data = null)
$this->container['delivery_failed'] = isset($data['delivery_failed']) ? $data['delivery_failed'] : null;
$this->container['envelope_complete'] = isset($data['envelope_complete']) ? $data['envelope_complete'] : null;
$this->container['offline_signing_failed'] = isset($data['offline_signing_failed']) ? $data['offline_signing_failed'] : null;
+ $this->container['powerform_responses_limit_notification_email'] = isset($data['powerform_responses_limit_notification_email']) ? $data['powerform_responses_limit_notification_email'] : null;
$this->container['purge_documents'] = isset($data['purge_documents']) ? $data['purge_documents'] : null;
$this->container['recipient_viewed'] = isset($data['recipient_viewed']) ? $data['recipient_viewed'] : null;
$this->container['sender_envelope_declined'] = isset($data['sender_envelope_declined']) ? $data['sender_envelope_declined'] : null;
@@ -402,6 +408,30 @@ public function setOfflineSigningFailed($offline_signing_failed)
return $this;
}
+ /**
+ * Gets powerform_responses_limit_notification_email
+ *
+ * @return string
+ */
+ public function getPowerformResponsesLimitNotificationEmail()
+ {
+ return $this->container['powerform_responses_limit_notification_email'];
+ }
+
+ /**
+ * Sets powerform_responses_limit_notification_email
+ *
+ * @param string $powerform_responses_limit_notification_email
+ *
+ * @return $this
+ */
+ public function setPowerformResponsesLimitNotificationEmail($powerform_responses_limit_notification_email)
+ {
+ $this->container['powerform_responses_limit_notification_email'] = $powerform_responses_limit_notification_email;
+
+ return $this;
+ }
+
/**
* Gets purge_documents
*
diff --git a/src/Model/TabMetadata.php b/src/Model/TabMetadata.php
index cace146f..6a436e0e 100644
--- a/src/Model/TabMetadata.php
+++ b/src/Model/TabMetadata.php
@@ -91,7 +91,9 @@ class TabMetadata implements ModelInterface, ArrayAccess
'payment_item_code' => 'string',
'payment_item_description' => 'string',
'payment_item_name' => 'string',
+ 'require_all' => 'string',
'required' => 'string',
+ 'require_initial_on_shared_change' => 'string',
'scale_value' => 'string',
'selected' => 'string',
'shared' => 'string',
@@ -145,7 +147,9 @@ class TabMetadata implements ModelInterface, ArrayAccess
'payment_item_code' => null,
'payment_item_description' => null,
'payment_item_name' => null,
+ 'require_all' => null,
'required' => null,
+ 'require_initial_on_shared_change' => null,
'scale_value' => null,
'selected' => null,
'shared' => null,
@@ -220,7 +224,9 @@ public static function swaggerFormats()
'payment_item_code' => 'paymentItemCode',
'payment_item_description' => 'paymentItemDescription',
'payment_item_name' => 'paymentItemName',
+ 'require_all' => 'requireAll',
'required' => 'required',
+ 'require_initial_on_shared_change' => 'requireInitialOnSharedChange',
'scale_value' => 'scaleValue',
'selected' => 'selected',
'shared' => 'shared',
@@ -274,7 +280,9 @@ public static function swaggerFormats()
'payment_item_code' => 'setPaymentItemCode',
'payment_item_description' => 'setPaymentItemDescription',
'payment_item_name' => 'setPaymentItemName',
+ 'require_all' => 'setRequireAll',
'required' => 'setRequired',
+ 'require_initial_on_shared_change' => 'setRequireInitialOnSharedChange',
'scale_value' => 'setScaleValue',
'selected' => 'setSelected',
'shared' => 'setShared',
@@ -328,7 +336,9 @@ public static function swaggerFormats()
'payment_item_code' => 'getPaymentItemCode',
'payment_item_description' => 'getPaymentItemDescription',
'payment_item_name' => 'getPaymentItemName',
+ 'require_all' => 'getRequireAll',
'required' => 'getRequired',
+ 'require_initial_on_shared_change' => 'getRequireInitialOnSharedChange',
'scale_value' => 'getScaleValue',
'selected' => 'getSelected',
'shared' => 'getShared',
@@ -436,7 +446,9 @@ public function __construct(array $data = null)
$this->container['payment_item_code'] = isset($data['payment_item_code']) ? $data['payment_item_code'] : null;
$this->container['payment_item_description'] = isset($data['payment_item_description']) ? $data['payment_item_description'] : null;
$this->container['payment_item_name'] = isset($data['payment_item_name']) ? $data['payment_item_name'] : null;
+ $this->container['require_all'] = isset($data['require_all']) ? $data['require_all'] : null;
$this->container['required'] = isset($data['required']) ? $data['required'] : null;
+ $this->container['require_initial_on_shared_change'] = isset($data['require_initial_on_shared_change']) ? $data['require_initial_on_shared_change'] : null;
$this->container['scale_value'] = isset($data['scale_value']) ? $data['scale_value'] : null;
$this->container['selected'] = isset($data['selected']) ? $data['selected'] : null;
$this->container['shared'] = isset($data['shared']) ? $data['shared'] : null;
@@ -1290,6 +1302,30 @@ public function setPaymentItemName($payment_item_name)
return $this;
}
+ /**
+ * Gets require_all
+ *
+ * @return string
+ */
+ public function getRequireAll()
+ {
+ return $this->container['require_all'];
+ }
+
+ /**
+ * Sets require_all
+ *
+ * @param string $require_all When set to **true** and shared is true, information must be entered in this field to complete the envelope.
+ *
+ * @return $this
+ */
+ public function setRequireAll($require_all)
+ {
+ $this->container['require_all'] = $require_all;
+
+ return $this;
+ }
+
/**
* Gets required
*
@@ -1314,6 +1350,30 @@ public function setRequired($required)
return $this;
}
+ /**
+ * Gets require_initial_on_shared_change
+ *
+ * @return string
+ */
+ public function getRequireInitialOnSharedChange()
+ {
+ return $this->container['require_initial_on_shared_change'];
+ }
+
+ /**
+ * Sets require_initial_on_shared_change
+ *
+ * @param string $require_initial_on_shared_change Optional element for field markup. When set to **true**, the signer is required to initial when they modify a shared field.
+ *
+ * @return $this
+ */
+ public function setRequireInitialOnSharedChange($require_initial_on_shared_change)
+ {
+ $this->container['require_initial_on_shared_change'] = $require_initial_on_shared_change;
+
+ return $this;
+ }
+
/**
* Gets scale_value
*
diff --git a/src/Model/Workflow.php b/src/Model/Workflow.php
new file mode 100644
index 00000000..e3e6b974
--- /dev/null
+++ b/src/Model/Workflow.php
@@ -0,0 +1,360 @@
+ 'string',
+ 'workflow_status' => 'string',
+ 'workflow_steps' => '\DocuSign\eSign\Model\WorkflowStep[]'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'current_workflow_step_id' => null,
+ 'workflow_status' => null,
+ 'workflow_steps' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'current_workflow_step_id' => 'currentWorkflowStepId',
+ 'workflow_status' => 'workflowStatus',
+ 'workflow_steps' => 'workflowSteps'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'current_workflow_step_id' => 'setCurrentWorkflowStepId',
+ 'workflow_status' => 'setWorkflowStatus',
+ 'workflow_steps' => 'setWorkflowSteps'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'current_workflow_step_id' => 'getCurrentWorkflowStepId',
+ 'workflow_status' => 'getWorkflowStatus',
+ 'workflow_steps' => 'getWorkflowSteps'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['current_workflow_step_id'] = isset($data['current_workflow_step_id']) ? $data['current_workflow_step_id'] : null;
+ $this->container['workflow_status'] = isset($data['workflow_status']) ? $data['workflow_status'] : null;
+ $this->container['workflow_steps'] = isset($data['workflow_steps']) ? $data['workflow_steps'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets current_workflow_step_id
+ *
+ * @return string
+ */
+ public function getCurrentWorkflowStepId()
+ {
+ return $this->container['current_workflow_step_id'];
+ }
+
+ /**
+ * Sets current_workflow_step_id
+ *
+ * @param string $current_workflow_step_id
+ *
+ * @return $this
+ */
+ public function setCurrentWorkflowStepId($current_workflow_step_id)
+ {
+ $this->container['current_workflow_step_id'] = $current_workflow_step_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets workflow_status
+ *
+ * @return string
+ */
+ public function getWorkflowStatus()
+ {
+ return $this->container['workflow_status'];
+ }
+
+ /**
+ * Sets workflow_status
+ *
+ * @param string $workflow_status
+ *
+ * @return $this
+ */
+ public function setWorkflowStatus($workflow_status)
+ {
+ $this->container['workflow_status'] = $workflow_status;
+
+ return $this;
+ }
+
+ /**
+ * Gets workflow_steps
+ *
+ * @return \DocuSign\eSign\Model\WorkflowStep[]
+ */
+ public function getWorkflowSteps()
+ {
+ return $this->container['workflow_steps'];
+ }
+
+ /**
+ * Sets workflow_steps
+ *
+ * @param \DocuSign\eSign\Model\WorkflowStep[] $workflow_steps
+ *
+ * @return $this
+ */
+ public function setWorkflowSteps($workflow_steps)
+ {
+ $this->container['workflow_steps'] = $workflow_steps;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+
diff --git a/src/Model/WorkflowStep.php b/src/Model/WorkflowStep.php
new file mode 100644
index 00000000..15977ee4
--- /dev/null
+++ b/src/Model/WorkflowStep.php
@@ -0,0 +1,510 @@
+ 'string',
+ 'completed_date' => 'string',
+ 'item_id' => 'string',
+ 'recipient_routing' => '\DocuSign\eSign\Model\RecipientRouting',
+ 'status' => 'string',
+ 'triggered_date' => 'string',
+ 'trigger_on_item' => 'string',
+ 'workflow_step_id' => 'string'
+ ];
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @var string[]
+ */
+ protected static $swaggerFormats = [
+ 'action' => null,
+ 'completed_date' => null,
+ 'item_id' => null,
+ 'recipient_routing' => null,
+ 'status' => null,
+ 'triggered_date' => null,
+ 'trigger_on_item' => null,
+ 'workflow_step_id' => null
+ ];
+
+ /**
+ * Array of property to type mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerTypes()
+ {
+ return self::$swaggerTypes;
+ }
+
+ /**
+ * Array of property to format mappings. Used for (de)serialization
+ *
+ * @return array
+ */
+ public static function swaggerFormats()
+ {
+ return self::$swaggerFormats;
+ }
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @var string[]
+ */
+ protected static $attributeMap = [
+ 'action' => 'action',
+ 'completed_date' => 'completedDate',
+ 'item_id' => 'itemId',
+ 'recipient_routing' => 'recipientRouting',
+ 'status' => 'status',
+ 'triggered_date' => 'triggeredDate',
+ 'trigger_on_item' => 'triggerOnItem',
+ 'workflow_step_id' => 'workflowStepId'
+ ];
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @var string[]
+ */
+ protected static $setters = [
+ 'action' => 'setAction',
+ 'completed_date' => 'setCompletedDate',
+ 'item_id' => 'setItemId',
+ 'recipient_routing' => 'setRecipientRouting',
+ 'status' => 'setStatus',
+ 'triggered_date' => 'setTriggeredDate',
+ 'trigger_on_item' => 'setTriggerOnItem',
+ 'workflow_step_id' => 'setWorkflowStepId'
+ ];
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @var string[]
+ */
+ protected static $getters = [
+ 'action' => 'getAction',
+ 'completed_date' => 'getCompletedDate',
+ 'item_id' => 'getItemId',
+ 'recipient_routing' => 'getRecipientRouting',
+ 'status' => 'getStatus',
+ 'triggered_date' => 'getTriggeredDate',
+ 'trigger_on_item' => 'getTriggerOnItem',
+ 'workflow_step_id' => 'getWorkflowStepId'
+ ];
+
+ /**
+ * Array of attributes where the key is the local name,
+ * and the value is the original name
+ *
+ * @return array
+ */
+ public static function attributeMap()
+ {
+ return self::$attributeMap;
+ }
+
+ /**
+ * Array of attributes to setter functions (for deserialization of responses)
+ *
+ * @return array
+ */
+ public static function setters()
+ {
+ return self::$setters;
+ }
+
+ /**
+ * Array of attributes to getter functions (for serialization of requests)
+ *
+ * @return array
+ */
+ public static function getters()
+ {
+ return self::$getters;
+ }
+
+ /**
+ * The original name of the model.
+ *
+ * @return string
+ */
+ public function getModelName()
+ {
+ return self::$swaggerModelName;
+ }
+
+
+
+
+
+ /**
+ * Associative array for storing property values
+ *
+ * @var mixed[]
+ */
+ protected $container = [];
+
+ /**
+ * Constructor
+ *
+ * @param mixed[] $data Associated array of property values
+ * initializing the model
+ */
+ public function __construct(array $data = null)
+ {
+ $this->container['action'] = isset($data['action']) ? $data['action'] : null;
+ $this->container['completed_date'] = isset($data['completed_date']) ? $data['completed_date'] : null;
+ $this->container['item_id'] = isset($data['item_id']) ? $data['item_id'] : null;
+ $this->container['recipient_routing'] = isset($data['recipient_routing']) ? $data['recipient_routing'] : null;
+ $this->container['status'] = isset($data['status']) ? $data['status'] : null;
+ $this->container['triggered_date'] = isset($data['triggered_date']) ? $data['triggered_date'] : null;
+ $this->container['trigger_on_item'] = isset($data['trigger_on_item']) ? $data['trigger_on_item'] : null;
+ $this->container['workflow_step_id'] = isset($data['workflow_step_id']) ? $data['workflow_step_id'] : null;
+ }
+
+ /**
+ * Show all the invalid properties with reasons.
+ *
+ * @return array invalid properties with reasons
+ */
+ public function listInvalidProperties()
+ {
+ $invalidProperties = [];
+
+ return $invalidProperties;
+ }
+
+ /**
+ * Validate all the properties in the model
+ * return true if all passed
+ *
+ * @return bool True if all properties are valid
+ */
+ public function valid()
+ {
+ return count($this->listInvalidProperties()) === 0;
+ }
+
+
+ /**
+ * Gets action
+ *
+ * @return string
+ */
+ public function getAction()
+ {
+ return $this->container['action'];
+ }
+
+ /**
+ * Sets action
+ *
+ * @param string $action
+ *
+ * @return $this
+ */
+ public function setAction($action)
+ {
+ $this->container['action'] = $action;
+
+ return $this;
+ }
+
+ /**
+ * Gets completed_date
+ *
+ * @return string
+ */
+ public function getCompletedDate()
+ {
+ return $this->container['completed_date'];
+ }
+
+ /**
+ * Sets completed_date
+ *
+ * @param string $completed_date
+ *
+ * @return $this
+ */
+ public function setCompletedDate($completed_date)
+ {
+ $this->container['completed_date'] = $completed_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets item_id
+ *
+ * @return string
+ */
+ public function getItemId()
+ {
+ return $this->container['item_id'];
+ }
+
+ /**
+ * Sets item_id
+ *
+ * @param string $item_id
+ *
+ * @return $this
+ */
+ public function setItemId($item_id)
+ {
+ $this->container['item_id'] = $item_id;
+
+ return $this;
+ }
+
+ /**
+ * Gets recipient_routing
+ *
+ * @return \DocuSign\eSign\Model\RecipientRouting
+ */
+ public function getRecipientRouting()
+ {
+ return $this->container['recipient_routing'];
+ }
+
+ /**
+ * Sets recipient_routing
+ *
+ * @param \DocuSign\eSign\Model\RecipientRouting $recipient_routing recipient_routing
+ *
+ * @return $this
+ */
+ public function setRecipientRouting($recipient_routing)
+ {
+ $this->container['recipient_routing'] = $recipient_routing;
+
+ return $this;
+ }
+
+ /**
+ * Gets status
+ *
+ * @return string
+ */
+ public function getStatus()
+ {
+ return $this->container['status'];
+ }
+
+ /**
+ * Sets status
+ *
+ * @param string $status Indicates the envelope status. Valid values are: * sent - The envelope is sent to the recipients. * created - The envelope is saved as a draft and can be modified and sent later.
+ *
+ * @return $this
+ */
+ public function setStatus($status)
+ {
+ $this->container['status'] = $status;
+
+ return $this;
+ }
+
+ /**
+ * Gets triggered_date
+ *
+ * @return string
+ */
+ public function getTriggeredDate()
+ {
+ return $this->container['triggered_date'];
+ }
+
+ /**
+ * Sets triggered_date
+ *
+ * @param string $triggered_date
+ *
+ * @return $this
+ */
+ public function setTriggeredDate($triggered_date)
+ {
+ $this->container['triggered_date'] = $triggered_date;
+
+ return $this;
+ }
+
+ /**
+ * Gets trigger_on_item
+ *
+ * @return string
+ */
+ public function getTriggerOnItem()
+ {
+ return $this->container['trigger_on_item'];
+ }
+
+ /**
+ * Sets trigger_on_item
+ *
+ * @param string $trigger_on_item
+ *
+ * @return $this
+ */
+ public function setTriggerOnItem($trigger_on_item)
+ {
+ $this->container['trigger_on_item'] = $trigger_on_item;
+
+ return $this;
+ }
+
+ /**
+ * Gets workflow_step_id
+ *
+ * @return string
+ */
+ public function getWorkflowStepId()
+ {
+ return $this->container['workflow_step_id'];
+ }
+
+ /**
+ * Sets workflow_step_id
+ *
+ * @param string $workflow_step_id
+ *
+ * @return $this
+ */
+ public function setWorkflowStepId($workflow_step_id)
+ {
+ $this->container['workflow_step_id'] = $workflow_step_id;
+
+ return $this;
+ }
+ /**
+ * Returns true if offset exists. False otherwise.
+ *
+ * @param integer $offset Offset
+ *
+ * @return boolean
+ */
+ public function offsetExists($offset)
+ {
+ return isset($this->container[$offset]);
+ }
+
+ /**
+ * Gets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return mixed
+ */
+ public function offsetGet($offset)
+ {
+ return isset($this->container[$offset]) ? $this->container[$offset] : null;
+ }
+
+ /**
+ * Sets value based on offset.
+ *
+ * @param integer $offset Offset
+ * @param mixed $value Value to be set
+ *
+ * @return void
+ */
+ public function offsetSet($offset, $value)
+ {
+ if (is_null($offset)) {
+ $this->container[] = $value;
+ } else {
+ $this->container[$offset] = $value;
+ }
+ }
+
+ /**
+ * Unsets offset.
+ *
+ * @param integer $offset Offset
+ *
+ * @return void
+ */
+ public function offsetUnset($offset)
+ {
+ unset($this->container[$offset]);
+ }
+
+ /**
+ * Gets the string presentation of the object
+ *
+ * @return string
+ */
+ public function __toString()
+ {
+ if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print
+ return json_encode(
+ ObjectSerializer::sanitizeForSerialization($this),
+ JSON_PRETTY_PRINT
+ );
+ }
+
+ return json_encode(ObjectSerializer::sanitizeForSerialization($this));
+ }
+}
+