From cdf0a29d873d5b10de49a85cf9adcd0ca759759c Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Thu, 30 Jan 2025 18:15:21 -0500 Subject: [PATCH 1/5] Update SDK with latest spec changes --- .gitignore | 1 - .openapi-generator/FILES | 6 + README.md | 4 +- composer.json | 2 +- docs/Model/MessageResult.md | 3 + docs/Model/MessageResultAllOfTfn.md | 9 + docs/Model/TFNCampaign.md | 17 + lib/Configuration.php | 4 +- lib/Model/MessageResult.php | 135 +++- lib/Model/MessageResultAllOfTfn.php | 424 ++++++++++ lib/Model/TFNCampaign.php | 727 ++++++++++++++++++ openapi.json | 73 ++ test/Model/AccountRequestTest.php | 2 + test/Model/AccountResultTest.php | 7 + ...AddToConferenceNotificationWebhookTest.php | 9 + test/Model/AddToConferenceTest.php | 5 + .../AddToQueueNotificationWebhookTest.php | 7 + test/Model/ApplicationListTest.php | 1 + test/Model/ApplicationRequestTest.php | 7 + test/Model/ApplicationResultTest.php | 12 + test/Model/AvailableNumberListTest.php | 1 + test/Model/AvailableNumberTest.php | 4 + test/Model/BuyIncomingNumberRequestTest.php | 3 + test/Model/CallControlWebhookTest.php | 5 + test/Model/CallListTest.php | 1 + test/Model/CallResultTest.php | 13 + test/Model/CallStatusWebhookTest.php | 7 + test/Model/CompletionRequestTest.php | 1 + test/Model/CompletionResultTest.php | 1 + test/Model/ConferenceListTest.php | 1 + test/Model/ConferenceParticipantListTest.php | 1 + .../Model/ConferenceParticipantResultTest.php | 6 + .../ConferenceRecordingStatusWebhookTest.php | 9 + test/Model/ConferenceResultTest.php | 9 + test/Model/ConferenceStatusWebhookTest.php | 9 + test/Model/CreateConferenceRequestTest.php | 3 + test/Model/CreateConferenceTest.php | 3 + test/Model/CreateConferenceWebhookTest.php | 9 + test/Model/CreateWebRTCTokenTest.php | 2 + test/Model/DequeueWebhookTest.php | 8 + test/Model/EnqueueTest.php | 4 + test/Model/FilterLogsRequestTest.php | 1 + test/Model/GetDigitsTest.php | 2 + test/Model/GetDigitsWebhookTest.php | 9 + test/Model/GetSpeechTest.php | 3 + test/Model/GetSpeechWebhookTest.php | 12 + test/Model/HangupTest.php | 1 + test/Model/InboundCallWebhookTest.php | 8 + test/Model/IncomingNumberListTest.php | 1 + test/Model/IncomingNumberRequestTest.php | 3 + test/Model/IncomingNumberResultTest.php | 11 + test/Model/LeaveConferenceWebhookTest.php | 7 + test/Model/LogListTest.php | 1 + test/Model/LogResultTest.php | 4 + test/Model/MachineDetectedWebhookTest.php | 8 + test/Model/MakeCallRequestTest.php | 8 + test/Model/MessageDeliveryWebhookTest.php | 10 + test/Model/MessageRequestTest.php | 7 + test/Model/MessageResultAllOfTfnTest.php | 87 +++ test/Model/MessageResultTest.php | 40 + test/Model/MessageStatusWebhookTest.php | 10 + test/Model/MessagesListTest.php | 1 + test/Model/MutableResourceModelTest.php | 3 + test/Model/OutDialApiConnectWebhookTest.php | 8 + test/Model/OutDialConnectWebhookTest.php | 8 + test/Model/OutDialStartWebhookTest.php | 9 + test/Model/OutDialTest.php | 7 + test/Model/PaginationModelTest.php | 1 + test/Model/ParkTest.php | 3 + test/Model/PerCLCommandTest.php | 1 + test/Model/PlayEarlyMediaTest.php | 1 + test/Model/PlayTest.php | 1 + test/Model/QueueListTest.php | 1 + test/Model/QueueMemberListTest.php | 1 + test/Model/QueueMemberTest.php | 3 + test/Model/QueueRequestTest.php | 1 + test/Model/QueueResultTest.php | 6 + test/Model/QueueWaitWebhookTest.php | 8 + test/Model/RecordUtteranceTest.php | 2 + test/Model/RecordWebhookTest.php | 12 + test/Model/RecordingListTest.php | 1 + test/Model/RecordingResultTest.php | 7 + test/Model/RedirectTest.php | 1 + test/Model/RedirectWebhookTest.php | 8 + test/Model/RejectTest.php | 1 + ...RemoveFromQueueNotificationWebhookTest.php | 7 + test/Model/SMSTenDLCBrandTest.php | 23 + test/Model/SMSTenDLCBrandsListResultTest.php | 1 + test/Model/SMSTenDLCCampaignTest.php | 20 + .../SMSTenDLCCampaignsListResultTest.php | 1 + .../SMSTenDLCPartnerCampaignBrandTest.php | 9 + test/Model/SMSTenDLCPartnerCampaignTest.php | 17 + ...MSTenDLCPartnerCampaignsListResultTest.php | 1 + test/Model/SMSTollFreeCampaignTest.php | 5 + .../SMSTollFreeCampaignsListResultTest.php | 1 + test/Model/SayTest.php | 2 + test/Model/SendDigitsTest.php | 1 + test/Model/SmsTest.php | 4 + test/Model/TFNCampaignTest.php | 175 +++++ test/Model/TFNTest.php | 1 + test/Model/TranscribeUtteranceTest.php | 1 + test/Model/TranscribeWebhookTest.php | 10 + test/Model/UpdateConferenceRequestTest.php | 1 + test/Model/WebhookTest.php | 1 + 104 files changed, 2153 insertions(+), 11 deletions(-) create mode 100644 docs/Model/MessageResultAllOfTfn.md create mode 100644 docs/Model/TFNCampaign.md create mode 100644 lib/Model/MessageResultAllOfTfn.php create mode 100644 lib/Model/TFNCampaign.php create mode 100644 test/Model/MessageResultAllOfTfnTest.php create mode 100644 test/Model/TFNCampaignTest.php diff --git a/.gitignore b/.gitignore index ab682da..9f1681c 100644 --- a/.gitignore +++ b/.gitignore @@ -13,4 +13,3 @@ composer.phar # PHPUnit cache .phpunit.result.cache -node_modules diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 4166f5b..ea11071 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -71,6 +71,7 @@ docs/Model/MessageDeliveryWebhook.md docs/Model/MessageDirection.md docs/Model/MessageRequest.md docs/Model/MessageResult.md +docs/Model/MessageResultAllOfTfn.md docs/Model/MessageStatus.md docs/Model/MessageStatusWebhook.md docs/Model/MessagesList.md @@ -130,6 +131,7 @@ docs/Model/SetTalk.md docs/Model/Sms.md docs/Model/StartRecordCall.md docs/Model/TFN.md +docs/Model/TFNCampaign.md docs/Model/TerminateConference.md docs/Model/TranscribeReason.md docs/Model/TranscribeTermReason.md @@ -215,6 +217,7 @@ lib/Model/MessageDeliveryWebhook.php lib/Model/MessageDirection.php lib/Model/MessageRequest.php lib/Model/MessageResult.php +lib/Model/MessageResultAllOfTfn.php lib/Model/MessageStatus.php lib/Model/MessageStatusWebhook.php lib/Model/MessagesList.php @@ -275,6 +278,7 @@ lib/Model/SetTalk.php lib/Model/Sms.php lib/Model/StartRecordCall.php lib/Model/TFN.php +lib/Model/TFNCampaign.php lib/Model/TerminateConference.php lib/Model/TranscribeReason.php lib/Model/TranscribeTermReason.php @@ -357,6 +361,7 @@ test/Model/MakeCallRequestTest.php test/Model/MessageDeliveryWebhookTest.php test/Model/MessageDirectionTest.php test/Model/MessageRequestTest.php +test/Model/MessageResultAllOfTfnTest.php test/Model/MessageResultTest.php test/Model/MessageStatusTest.php test/Model/MessageStatusWebhookTest.php @@ -416,6 +421,7 @@ test/Model/SetListenTest.php test/Model/SetTalkTest.php test/Model/SmsTest.php test/Model/StartRecordCallTest.php +test/Model/TFNCampaignTest.php test/Model/TFNTest.php test/Model/TerminateConferenceTest.php test/Model/TranscribeReasonTest.php diff --git a/README.md b/README.md index c1092e8..7249d13 100644 --- a/README.md +++ b/README.md @@ -248,6 +248,7 @@ Class | Method | HTTP request | Description - [MessageDirection](docs/Model/MessageDirection.md) - [MessageRequest](docs/Model/MessageRequest.md) - [MessageResult](docs/Model/MessageResult.md) +- [MessageResultAllOfTfn](docs/Model/MessageResultAllOfTfn.md) - [MessageStatus](docs/Model/MessageStatus.md) - [MessageStatusWebhook](docs/Model/MessageStatusWebhook.md) - [MessagesList](docs/Model/MessagesList.md) @@ -307,6 +308,7 @@ Class | Method | HTTP request | Description - [Sms](docs/Model/Sms.md) - [StartRecordCall](docs/Model/StartRecordCall.md) - [TFN](docs/Model/TFN.md) +- [TFNCampaign](docs/Model/TFNCampaign.md) - [TerminateConference](docs/Model/TerminateConference.md) - [TranscribeReason](docs/Model/TranscribeReason.md) - [TranscribeTermReason](docs/Model/TranscribeTermReason.md) @@ -346,6 +348,6 @@ support@freeclimb.com This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: `1.0.0` - - Package version: `5.0.0` + - Package version: `5.1.0` - Generator version: `7.9.0` - Build package: `org.openapitools.codegen.languages.PhpClientCodegen` diff --git a/composer.json b/composer.json index 6a1c811..9d4714d 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "freeclimbapi/php-sdk", - "version": "5.0.0", + "version": "5.1.0", "description": "FreeClimb is a cloud-based application programming interface (API) that puts the power of the Vail platform in your hands. FreeClimb simplifies the process of creating applications that can use a full range of telephony features without requiring specialized or on-site telephony equipment. Using the FreeClimb REST API to write applications is easy! You have the option to use the language of your choice or hit the API directly. Your application can execute a command by issuing a RESTful request to the FreeClimb API. The base URL to send HTTP requests to the FreeClimb REST API is: /apiserver. FreeClimb authenticates and processes your request.", "keywords": [ "openapitools", diff --git a/docs/Model/MessageResult.md b/docs/Model/MessageResult.md index ee9d14e..a7bdc3f 100644 --- a/docs/Model/MessageResult.md +++ b/docs/Model/MessageResult.md @@ -20,5 +20,8 @@ Name | Type | Description | Notes **campaign_id** | **string** | The unique identifier for the campaign associated with the message | [optional] **segment_count** | **float** | The number of segments into which the message was split | [optional] **media_urls** | **string[]** | an array of HTTP URLs which were attached this this message | [optional] +**tfn** | [**\FreeClimb\Api\Model\MessageResultAllOfTfn**](MessageResultAllOfTfn.md) | | [optional] +**phone_number_id** | **string** | String that uniquely identifies the phoneNumber resource used to send this Message | [optional] +**application_id** | **string** | String that uniquely identifies the Application resource used to send this Message | [optional] [[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/MessageResultAllOfTfn.md b/docs/Model/MessageResultAllOfTfn.md new file mode 100644 index 0000000..fa5894f --- /dev/null +++ b/docs/Model/MessageResultAllOfTfn.md @@ -0,0 +1,9 @@ +# # MessageResultAllOfTfn + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**campaign_id** | **string** | TFNCampaignId | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/docs/Model/TFNCampaign.md b/docs/Model/TFNCampaign.md new file mode 100644 index 0000000..997cbb9 --- /dev/null +++ b/docs/Model/TFNCampaign.md @@ -0,0 +1,17 @@ +# # TFNCampaign + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**account_id** | **string** | ID of the account that created this participant. | +**campaign_id** | **string** | TFNCampaignId | +**use_case** | **string** | | +**registration_status** | [**\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus**](SMSTollFreeCampaignRegistrationStatus.md) | | +**date_created** | **string** | | +**date_updated** | **string** | | +**date_created_iso** | **string** | | +**date_updated_iso** | **string** | | +**revision** | **int** | | + +[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/lib/Configuration.php b/lib/Configuration.php index 17f2836..02d4356 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -102,7 +102,7 @@ class Configuration * * @var string */ - protected $userAgent = 'OpenAPI-Generator/5.0.0/PHP'; + protected $userAgent = 'OpenAPI-Generator/5.1.0/PHP'; /** * Debug switch (default set to false) @@ -435,7 +435,7 @@ public static function toDebugReport() $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' The version of the OpenAPI document: 1.0.0' . PHP_EOL; - $report .= ' SDK Package Version: 5.0.0' . PHP_EOL; + $report .= ' SDK Package Version: 5.1.0' . PHP_EOL; $report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; return $report; diff --git a/lib/Model/MessageResult.php b/lib/Model/MessageResult.php index e92f2f6..3c34588 100644 --- a/lib/Model/MessageResult.php +++ b/lib/Model/MessageResult.php @@ -74,7 +74,10 @@ class MessageResult implements ModelInterface, ArrayAccess, \JsonSerializable 'brand_id' => 'string', 'campaign_id' => 'string', 'segment_count' => 'float', - 'media_urls' => 'string[]' + 'media_urls' => 'string[]', + 'tfn' => '\FreeClimb\Api\Model\MessageResultAllOfTfn', + 'phone_number_id' => 'string', + 'application_id' => 'string' ]; /** @@ -100,7 +103,10 @@ class MessageResult implements ModelInterface, ArrayAccess, \JsonSerializable 'brand_id' => null, 'campaign_id' => null, 'segment_count' => null, - 'media_urls' => 'uri' + 'media_urls' => 'uri', + 'tfn' => null, + 'phone_number_id' => null, + 'application_id' => null ]; /** @@ -124,7 +130,10 @@ class MessageResult implements ModelInterface, ArrayAccess, \JsonSerializable 'brand_id' => true, 'campaign_id' => true, 'segment_count' => true, - 'media_urls' => true + 'media_urls' => true, + 'tfn' => true, + 'phone_number_id' => true, + 'application_id' => true ]; /** @@ -228,7 +237,10 @@ public function isNullableSetToNull(string $property): bool 'brand_id' => 'brandId', 'campaign_id' => 'campaignId', 'segment_count' => 'segmentCount', - 'media_urls' => 'mediaUrls' + 'media_urls' => 'mediaUrls', + 'tfn' => 'tfn', + 'phone_number_id' => 'phoneNumberId', + 'application_id' => 'applicationId' ]; /** @@ -252,7 +264,10 @@ public function isNullableSetToNull(string $property): bool 'brand_id' => 'setBrandId', 'campaign_id' => 'setCampaignId', 'segment_count' => 'setSegmentCount', - 'media_urls' => 'setMediaUrls' + 'media_urls' => 'setMediaUrls', + 'tfn' => 'setTfn', + 'phone_number_id' => 'setPhoneNumberId', + 'application_id' => 'setApplicationId' ]; /** @@ -276,7 +291,10 @@ public function isNullableSetToNull(string $property): bool 'brand_id' => 'getBrandId', 'campaign_id' => 'getCampaignId', 'segment_count' => 'getSegmentCount', - 'media_urls' => 'getMediaUrls' + 'media_urls' => 'getMediaUrls', + 'tfn' => 'getTfn', + 'phone_number_id' => 'getPhoneNumberId', + 'application_id' => 'getApplicationId' ]; /** @@ -352,6 +370,9 @@ public function __construct(?array $data = null) $this->setIfExists('campaign_id', $data ?? [], null); $this->setIfExists('segment_count', $data ?? [], null); $this->setIfExists('media_urls', $data ?? [], null); + $this->setIfExists('tfn', $data ?? [], null); + $this->setIfExists('phone_number_id', $data ?? [], null); + $this->setIfExists('application_id', $data ?? [], null); } /** @@ -911,6 +932,108 @@ public function setMediaUrls($media_urls) return $this; } + + /** + * Gets tfn + * + * @return \FreeClimb\Api\Model\MessageResultAllOfTfn|null + */ + public function getTfn() + { + return $this->container['tfn']; + } + + /** + * Sets tfn + * + * @param \FreeClimb\Api\Model\MessageResultAllOfTfn|null $tfn tfn + * + * @return self + */ + public function setTfn($tfn) + { + if (is_null($tfn)) { + array_push($this->openAPINullablesSetToNull, 'tfn'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('tfn', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['tfn'] = $tfn; + + return $this; + } + + /** + * Gets phone_number_id + * + * @return string|null + */ + public function getPhoneNumberId() + { + return $this->container['phone_number_id']; + } + + /** + * Sets phone_number_id + * + * @param string|null $phone_number_id String that uniquely identifies the phoneNumber resource used to send this Message + * + * @return self + */ + public function setPhoneNumberId($phone_number_id) + { + if (is_null($phone_number_id)) { + array_push($this->openAPINullablesSetToNull, 'phone_number_id'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('phone_number_id', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['phone_number_id'] = $phone_number_id; + + return $this; + } + + /** + * Gets application_id + * + * @return string|null + */ + public function getApplicationId() + { + return $this->container['application_id']; + } + + /** + * Sets application_id + * + * @param string|null $application_id String that uniquely identifies the Application resource used to send this Message + * + * @return self + */ + public function setApplicationId($application_id) + { + if (is_null($application_id)) { + array_push($this->openAPINullablesSetToNull, 'application_id'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('application_id', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['application_id'] = $application_id; + + return $this; + } /** * Returns true if offset exists. False otherwise. * diff --git a/lib/Model/MessageResultAllOfTfn.php b/lib/Model/MessageResultAllOfTfn.php new file mode 100644 index 0000000..77a470f --- /dev/null +++ b/lib/Model/MessageResultAllOfTfn.php @@ -0,0 +1,424 @@ + + */ +class MessageResultAllOfTfn implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'MessageResult_allOf_tfn'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'campaign_id' => 'string' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'campaign_id' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'campaign_id' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'campaign_id' => 'campaignId' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'campaign_id' => 'setCampaignId' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'campaign_id' => 'getCampaignId' + ]; + + /** + * 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::$openAPIModelName; + } + + + /** + * 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->setIfExists('campaign_id', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['campaign_id'] === null) { + $invalidProperties[] = "'campaign_id' can't be null"; + } + if (!preg_match("/cmptfn_[a-fA-F0-9]{40}/", $this->container['campaign_id'])) { + $invalidProperties[] = "invalid value for 'campaign_id', must be conform to the pattern /cmptfn_[a-fA-F0-9]{40}/."; + } + + 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 campaign_id + * + * @return string + */ + public function getCampaignId() + { + return $this->container['campaign_id']; + } + + /** + * Sets campaign_id + * + * @param string $campaign_id TFNCampaignId + * + * @return self + */ + public function setCampaignId($campaign_id) + { + if (is_null($campaign_id)) { + throw new \InvalidArgumentException('non-nullable campaign_id cannot be null'); + } + + if ((!preg_match("/cmptfn_[a-fA-F0-9]{40}/", ObjectSerializer::toString($campaign_id)))) { + throw new \InvalidArgumentException("invalid value for \$campaign_id when calling MessageResultAllOfTfn., must conform to the pattern /cmptfn_[a-fA-F0-9]{40}/."); + } + + $this->container['campaign_id'] = $campaign_id; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } + +} + + diff --git a/lib/Model/TFNCampaign.php b/lib/Model/TFNCampaign.php new file mode 100644 index 0000000..2c46921 --- /dev/null +++ b/lib/Model/TFNCampaign.php @@ -0,0 +1,727 @@ + + */ +class TFNCampaign implements ModelInterface, ArrayAccess, \JsonSerializable +{ + public const DISCRIMINATOR = null; + + /** + * The original name of the model. + * + * @var string + */ + protected static $openAPIModelName = 'TFNCampaign'; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @var string[] + */ + protected static $openAPITypes = [ + 'account_id' => 'string', + 'campaign_id' => 'string', + 'use_case' => 'string', + 'registration_status' => '\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus', + 'date_created' => 'string', + 'date_updated' => 'string', + 'date_created_iso' => 'string', + 'date_updated_iso' => 'string', + 'revision' => 'int' + ]; + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @var string[] + * @phpstan-var array + * @psalm-var array + */ + protected static $openAPIFormats = [ + 'account_id' => null, + 'campaign_id' => null, + 'use_case' => null, + 'registration_status' => null, + 'date_created' => null, + 'date_updated' => null, + 'date_created_iso' => null, + 'date_updated_iso' => null, + 'revision' => null + ]; + + /** + * Array of nullable properties. Used for (de)serialization + * + * @var boolean[] + */ + protected static array $openAPINullables = [ + 'account_id' => true, + 'campaign_id' => false, + 'use_case' => false, + 'registration_status' => false, + 'date_created' => false, + 'date_updated' => false, + 'date_created_iso' => false, + 'date_updated_iso' => false, + 'revision' => false + ]; + + /** + * If a nullable field gets set to null, insert it here + * + * @var boolean[] + */ + protected array $openAPINullablesSetToNull = []; + + /** + * Array of property to type mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPITypes() + { + return self::$openAPITypes; + } + + /** + * Array of property to format mappings. Used for (de)serialization + * + * @return array + */ + public static function openAPIFormats() + { + return self::$openAPIFormats; + } + + /** + * Array of nullable properties + * + * @return array + */ + protected static function openAPINullables(): array + { + return self::$openAPINullables; + } + + /** + * Array of nullable field names deliberately set to null + * + * @return boolean[] + */ + private function getOpenAPINullablesSetToNull(): array + { + return $this->openAPINullablesSetToNull; + } + + /** + * Setter - Array of nullable field names deliberately set to null + * + * @param boolean[] $openAPINullablesSetToNull + */ + private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void + { + $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; + } + + /** + * Checks if a property is nullable + * + * @param string $property + * @return bool + */ + public static function isNullable(string $property): bool + { + return self::openAPINullables()[$property] ?? false; + } + + /** + * Checks if a nullable property is set to null. + * + * @param string $property + * @return bool + */ + public function isNullableSetToNull(string $property): bool + { + return in_array($property, $this->getOpenAPINullablesSetToNull(), true); + } + + /** + * Array of attributes where the key is the local name, + * and the value is the original name + * + * @var string[] + */ + protected static $attributeMap = [ + 'account_id' => 'accountId', + 'campaign_id' => 'campaignId', + 'use_case' => 'useCase', + 'registration_status' => 'registrationStatus', + 'date_created' => 'dateCreated', + 'date_updated' => 'dateUpdated', + 'date_created_iso' => 'dateCreatedISO', + 'date_updated_iso' => 'dateUpdatedISO', + 'revision' => 'revision' + ]; + + /** + * Array of attributes to setter functions (for deserialization of responses) + * + * @var string[] + */ + protected static $setters = [ + 'account_id' => 'setAccountId', + 'campaign_id' => 'setCampaignId', + 'use_case' => 'setUseCase', + 'registration_status' => 'setRegistrationStatus', + 'date_created' => 'setDateCreated', + 'date_updated' => 'setDateUpdated', + 'date_created_iso' => 'setDateCreatedIso', + 'date_updated_iso' => 'setDateUpdatedIso', + 'revision' => 'setRevision' + ]; + + /** + * Array of attributes to getter functions (for serialization of requests) + * + * @var string[] + */ + protected static $getters = [ + 'account_id' => 'getAccountId', + 'campaign_id' => 'getCampaignId', + 'use_case' => 'getUseCase', + 'registration_status' => 'getRegistrationStatus', + 'date_created' => 'getDateCreated', + 'date_updated' => 'getDateUpdated', + 'date_created_iso' => 'getDateCreatedIso', + 'date_updated_iso' => 'getDateUpdatedIso', + 'revision' => 'getRevision' + ]; + + /** + * 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::$openAPIModelName; + } + + + /** + * 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->setIfExists('account_id', $data ?? [], null); + $this->setIfExists('campaign_id', $data ?? [], null); + $this->setIfExists('use_case', $data ?? [], null); + $this->setIfExists('registration_status', $data ?? [], null); + $this->setIfExists('date_created', $data ?? [], null); + $this->setIfExists('date_updated', $data ?? [], null); + $this->setIfExists('date_created_iso', $data ?? [], null); + $this->setIfExists('date_updated_iso', $data ?? [], null); + $this->setIfExists('revision', $data ?? [], null); + } + + /** + * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName + * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the + * $this->openAPINullablesSetToNull array + * + * @param string $variableName + * @param array $fields + * @param mixed $defaultValue + */ + private function setIfExists(string $variableName, array $fields, $defaultValue): void + { + if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { + $this->openAPINullablesSetToNull[] = $variableName; + } + + $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; + } + + /** + * Show all the invalid properties with reasons. + * + * @return array invalid properties with reasons + */ + public function listInvalidProperties() + { + $invalidProperties = []; + + if ($this->container['account_id'] === null) { + $invalidProperties[] = "'account_id' can't be null"; + } + if ($this->container['campaign_id'] === null) { + $invalidProperties[] = "'campaign_id' can't be null"; + } + if (!preg_match("/cmptfn_[a-fA-F0-9]{40}/", $this->container['campaign_id'])) { + $invalidProperties[] = "invalid value for 'campaign_id', must be conform to the pattern /cmptfn_[a-fA-F0-9]{40}/."; + } + + if ($this->container['use_case'] === null) { + $invalidProperties[] = "'use_case' can't be null"; + } + if ($this->container['registration_status'] === null) { + $invalidProperties[] = "'registration_status' can't be null"; + } + if ($this->container['date_created'] === null) { + $invalidProperties[] = "'date_created' can't be null"; + } + if ($this->container['date_updated'] === null) { + $invalidProperties[] = "'date_updated' can't be null"; + } + if ($this->container['date_created_iso'] === null) { + $invalidProperties[] = "'date_created_iso' can't be null"; + } + if ($this->container['date_updated_iso'] === null) { + $invalidProperties[] = "'date_updated_iso' can't be null"; + } + if ($this->container['revision'] === null) { + $invalidProperties[] = "'revision' can't be null"; + } + 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 account_id + * + * @return string + */ + public function getAccountId() + { + return $this->container['account_id']; + } + + /** + * Sets account_id + * + * @param string $account_id ID of the account that created this participant. + * + * @return self + */ + public function setAccountId($account_id) + { + if (is_null($account_id)) { + array_push($this->openAPINullablesSetToNull, 'account_id'); + } else { + $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); + $index = array_search('account_id', $nullablesSetToNull, true); + if ($index !== false) { + unset($nullablesSetToNull[$index]); + $this->setOpenAPINullablesSetToNull($nullablesSetToNull); + } + } + $this->container['account_id'] = $account_id; + + return $this; + } + + /** + * Gets campaign_id + * + * @return string + */ + public function getCampaignId() + { + return $this->container['campaign_id']; + } + + /** + * Sets campaign_id + * + * @param string $campaign_id TFNCampaignId + * + * @return self + */ + public function setCampaignId($campaign_id) + { + if (is_null($campaign_id)) { + throw new \InvalidArgumentException('non-nullable campaign_id cannot be null'); + } + + if ((!preg_match("/cmptfn_[a-fA-F0-9]{40}/", ObjectSerializer::toString($campaign_id)))) { + throw new \InvalidArgumentException("invalid value for \$campaign_id when calling TFNCampaign., must conform to the pattern /cmptfn_[a-fA-F0-9]{40}/."); + } + + $this->container['campaign_id'] = $campaign_id; + + return $this; + } + + /** + * Gets use_case + * + * @return string + */ + public function getUseCase() + { + return $this->container['use_case']; + } + + /** + * Sets use_case + * + * @param string $use_case use_case + * + * @return self + */ + public function setUseCase($use_case) + { + if (is_null($use_case)) { + throw new \InvalidArgumentException('non-nullable use_case cannot be null'); + } + $this->container['use_case'] = $use_case; + + return $this; + } + + /** + * Gets registration_status + * + * @return \FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus + */ + public function getRegistrationStatus() + { + return $this->container['registration_status']; + } + + /** + * Sets registration_status + * + * @param \FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus $registration_status registration_status + * + * @return self + */ + public function setRegistrationStatus($registration_status) + { + if (is_null($registration_status)) { + throw new \InvalidArgumentException('non-nullable registration_status cannot be null'); + } + $this->container['registration_status'] = $registration_status; + + return $this; + } + + /** + * Gets date_created + * + * @return string + */ + public function getDateCreated() + { + return $this->container['date_created']; + } + + /** + * Sets date_created + * + * @param string $date_created date_created + * + * @return self + */ + public function setDateCreated($date_created) + { + if (is_null($date_created)) { + throw new \InvalidArgumentException('non-nullable date_created cannot be null'); + } + $this->container['date_created'] = $date_created; + + return $this; + } + + /** + * Gets date_updated + * + * @return string + */ + public function getDateUpdated() + { + return $this->container['date_updated']; + } + + /** + * Sets date_updated + * + * @param string $date_updated date_updated + * + * @return self + */ + public function setDateUpdated($date_updated) + { + if (is_null($date_updated)) { + throw new \InvalidArgumentException('non-nullable date_updated cannot be null'); + } + $this->container['date_updated'] = $date_updated; + + return $this; + } + + /** + * Gets date_created_iso + * + * @return string + */ + public function getDateCreatedIso() + { + return $this->container['date_created_iso']; + } + + /** + * Sets date_created_iso + * + * @param string $date_created_iso date_created_iso + * + * @return self + */ + public function setDateCreatedIso($date_created_iso) + { + if (is_null($date_created_iso)) { + throw new \InvalidArgumentException('non-nullable date_created_iso cannot be null'); + } + $this->container['date_created_iso'] = $date_created_iso; + + return $this; + } + + /** + * Gets date_updated_iso + * + * @return string + */ + public function getDateUpdatedIso() + { + return $this->container['date_updated_iso']; + } + + /** + * Sets date_updated_iso + * + * @param string $date_updated_iso date_updated_iso + * + * @return self + */ + public function setDateUpdatedIso($date_updated_iso) + { + if (is_null($date_updated_iso)) { + throw new \InvalidArgumentException('non-nullable date_updated_iso cannot be null'); + } + $this->container['date_updated_iso'] = $date_updated_iso; + + return $this; + } + + /** + * Gets revision + * + * @return int + */ + public function getRevision() + { + return $this->container['revision']; + } + + /** + * Sets revision + * + * @param int $revision revision + * + * @return self + */ + public function setRevision($revision) + { + if (is_null($revision)) { + throw new \InvalidArgumentException('non-nullable revision cannot be null'); + } + $this->container['revision'] = $revision; + + return $this; + } + /** + * Returns true if offset exists. False otherwise. + * + * @param integer $offset Offset + * + * @return boolean + */ + public function offsetExists($offset): bool + { + return isset($this->container[$offset]); + } + + /** + * Gets offset. + * + * @param integer $offset Offset + * + * @return mixed|null + */ + #[\ReturnTypeWillChange] + public function offsetGet($offset) + { + return $this->container[$offset] ?? null; + } + + /** + * Sets value based on offset. + * + * @param int|null $offset Offset + * @param mixed $value Value to be set + * + * @return void + */ + public function offsetSet($offset, $value): void + { + if (is_null($offset)) { + $this->container[] = $value; + } else { + $this->container[$offset] = $value; + } + } + + /** + * Unsets offset. + * + * @param integer $offset Offset + * + * @return void + */ + public function offsetUnset($offset): void + { + unset($this->container[$offset]); + } + + /** + * Serializes the object to a value that can be serialized natively by json_encode(). + * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php + * + * @return mixed Returns data which can be serialized by json_encode(), which is a value + * of any type other than a resource. + */ + #[\ReturnTypeWillChange] + public function jsonSerialize() + { + return ObjectSerializer::sanitizeForSerialization($this); + } + + /** + * Gets the string presentation of the object + * + * @return string + */ + public function __toString() + { + return json_encode( + ObjectSerializer::sanitizeForSerialization($this), + JSON_PRETTY_PRINT + ); + } + + /** + * Gets a header-safe presentation of the object + * + * @return string + */ + public function toHeaderValue() + { + return json_encode(ObjectSerializer::sanitizeForSerialization($this)); + } + +} + + diff --git a/openapi.json b/openapi.json index 16e3520..c59fcdb 100644 --- a/openapi.json +++ b/openapi.json @@ -3596,11 +3596,84 @@ "format": "uri" }, "nullable": true + }, + "tfn": { + "type": "object", + "required": [ + "campaignId" + ], + "properties": { + "campaignId": { + "$ref": "#/components/schemas/TFNCampaignId" + } + }, + "nullable": true + }, + "phoneNumberId": { + "type": "string", + "description": "String that uniquely identifies the phoneNumber resource used to send this Message", + "nullable": true + }, + "applicationId": { + "type": "string", + "description": "String that uniquely identifies the Application resource used to send this Message", + "nullable": true } } } ] }, + "TFNCampaign": { + "type": "object", + "required": [ + "accountId", + "campaignId", + "useCase", + "registrationStatus", + "dateCreated", + "dateUpdated", + "dateCreatedISO", + "dateUpdatedISO", + "revision" + ], + "properties": { + "accountId": { + "type": "string", + "description": "ID of the account that created this participant.", + "nullable": true + }, + "campaignId": { + "$ref": "#/components/schemas/TFNCampaignId" + }, + "useCase": { + "type": "string" + }, + "registrationStatus": { + "$ref": "#/components/schemas/SMSTollFreeCampaignRegistrationStatus" + }, + "dateCreated": { + "type": "string" + }, + "dateUpdated": { + "type": "string" + }, + "dateCreatedISO": { + "type": "string" + }, + "dateUpdatedISO": { + "type": "string" + }, + "revision": { + "type": "integer" + } + } + }, + "TFNCampaignId": { + "type": "string", + "description": "TFNCampaignId", + "pattern": "cmptfn_[a-fA-F0-9]{40}", + "example": "cmptfn_387ec3f6e03b340553f35f29c8f118cdf3eae08a" + }, "CreateConferenceRequest": { "type": "object", "properties": { diff --git a/test/Model/AccountRequestTest.php b/test/Model/AccountRequestTest.php index 0129d98..c1a7c66 100644 --- a/test/Model/AccountRequestTest.php +++ b/test/Model/AccountRequestTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyAlias() { + $this->AccountRequest->setAlias('TS'); $this->assertEquals('TS', $this->AccountRequest->getAlias()); $this->assertIsString($this->AccountRequest->getAlias()); @@ -87,6 +88,7 @@ public function testPropertyAlias() */ public function testPropertyLabel() { + $this->AccountRequest->setLabel('TS'); $this->assertEquals('TS', $this->AccountRequest->getLabel()); $this->assertIsString($this->AccountRequest->getLabel()); diff --git a/test/Model/AccountResultTest.php b/test/Model/AccountResultTest.php index 4d6da4e..5d1feaf 100644 --- a/test/Model/AccountResultTest.php +++ b/test/Model/AccountResultTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyUri() { + $this->AccountResult->setUri('TS'); $this->assertEquals('TS', $this->AccountResult->getUri()); $this->assertIsString($this->AccountResult->getUri()); @@ -87,6 +88,7 @@ public function testPropertyUri() */ public function testPropertyDateCreated() { + $this->AccountResult->setDateCreated('TS'); $this->assertEquals('TS', $this->AccountResult->getDateCreated()); $this->assertIsString($this->AccountResult->getDateCreated()); @@ -96,6 +98,7 @@ public function testPropertyDateCreated() */ public function testPropertyDateUpdated() { + $this->AccountResult->setDateUpdated('TS'); $this->assertEquals('TS', $this->AccountResult->getDateUpdated()); $this->assertIsString($this->AccountResult->getDateUpdated()); @@ -117,6 +120,7 @@ public function testPropertyRevision() */ public function testPropertyAccountId() { + $this->AccountResult->setAccountId('TS'); $this->assertEquals('TS', $this->AccountResult->getAccountId()); $this->assertIsString($this->AccountResult->getAccountId()); @@ -126,6 +130,7 @@ public function testPropertyAccountId() */ public function testPropertyApiKey() { + $this->AccountResult->setApiKey('TS'); $this->assertEquals('TS', $this->AccountResult->getApiKey()); $this->assertIsString($this->AccountResult->getApiKey()); @@ -135,6 +140,7 @@ public function testPropertyApiKey() */ public function testPropertyAlias() { + $this->AccountResult->setAlias('TS'); $this->assertEquals('TS', $this->AccountResult->getAlias()); $this->assertIsString($this->AccountResult->getAlias()); @@ -144,6 +150,7 @@ public function testPropertyAlias() */ public function testPropertyLabel() { + $this->AccountResult->setLabel('TS'); $this->assertEquals('TS', $this->AccountResult->getLabel()); $this->assertIsString($this->AccountResult->getLabel()); diff --git a/test/Model/AddToConferenceNotificationWebhookTest.php b/test/Model/AddToConferenceNotificationWebhookTest.php index 364994c..263142f 100644 --- a/test/Model/AddToConferenceNotificationWebhookTest.php +++ b/test/Model/AddToConferenceNotificationWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->AddToConferenceNotificationWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getRequestType()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->AddToConferenceNotificationWebhook->setCallId('TS'); $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getCallId()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->AddToConferenceNotificationWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getAccountId()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->AddToConferenceNotificationWebhook->setFrom('TS'); $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getFrom()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->AddToConferenceNotificationWebhook->setTo('TS'); $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getTo()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->AddToConferenceNotificationWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getConferenceId()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->AddToConferenceNotificationWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getQueueId()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getQueueId()); @@ -189,6 +196,7 @@ public function testPropertyStatus() */ public function testPropertyRecordingUrl() { + $this->AddToConferenceNotificationWebhook->setRecordingUrl('TS'); $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getRecordingUrl()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getRecordingUrl()); @@ -198,6 +206,7 @@ public function testPropertyRecordingUrl() */ public function testPropertyRecordingId() { + $this->AddToConferenceNotificationWebhook->setRecordingId('TS'); $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getRecordingId()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getRecordingId()); diff --git a/test/Model/AddToConferenceTest.php b/test/Model/AddToConferenceTest.php index 4935a93..03728f2 100644 --- a/test/Model/AddToConferenceTest.php +++ b/test/Model/AddToConferenceTest.php @@ -87,6 +87,7 @@ public function testPropertyAllowCallControl() */ public function testPropertyCallControlSequence() { + $this->AddToConference->setCallControlSequence('TS'); $this->assertEquals('TS', $this->AddToConference->getCallControlSequence()); $this->assertIsString($this->AddToConference->getCallControlSequence()); @@ -96,6 +97,7 @@ public function testPropertyCallControlSequence() */ public function testPropertyCallControlUrl() { + $this->AddToConference->setCallControlUrl('TS'); $this->assertEquals('TS', $this->AddToConference->getCallControlUrl()); $this->assertIsString($this->AddToConference->getCallControlUrl()); @@ -105,6 +107,7 @@ public function testPropertyCallControlUrl() */ public function testPropertyConferenceId() { + $this->AddToConference->setConferenceId('TS'); $this->assertEquals('TS', $this->AddToConference->getConferenceId()); $this->assertIsString($this->AddToConference->getConferenceId()); @@ -114,6 +117,7 @@ public function testPropertyConferenceId() */ public function testPropertyLeaveConferenceUrl() { + $this->AddToConference->setLeaveConferenceUrl('TS'); $this->assertEquals('TS', $this->AddToConference->getLeaveConferenceUrl()); $this->assertIsString($this->AddToConference->getLeaveConferenceUrl()); @@ -132,6 +136,7 @@ public function testPropertyListen() */ public function testPropertyNotificationUrl() { + $this->AddToConference->setNotificationUrl('TS'); $this->assertEquals('TS', $this->AddToConference->getNotificationUrl()); $this->assertIsString($this->AddToConference->getNotificationUrl()); diff --git a/test/Model/AddToQueueNotificationWebhookTest.php b/test/Model/AddToQueueNotificationWebhookTest.php index 77f86b6..d7ac9a3 100644 --- a/test/Model/AddToQueueNotificationWebhookTest.php +++ b/test/Model/AddToQueueNotificationWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->AddToQueueNotificationWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getRequestType()); $this->assertIsString($this->AddToQueueNotificationWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->AddToQueueNotificationWebhook->setCallId('TS'); $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getCallId()); $this->assertIsString($this->AddToQueueNotificationWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->AddToQueueNotificationWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getAccountId()); $this->assertIsString($this->AddToQueueNotificationWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->AddToQueueNotificationWebhook->setFrom('TS'); $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getFrom()); $this->assertIsString($this->AddToQueueNotificationWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->AddToQueueNotificationWebhook->setTo('TS'); $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getTo()); $this->assertIsString($this->AddToQueueNotificationWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->AddToQueueNotificationWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getConferenceId()); $this->assertIsString($this->AddToQueueNotificationWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->AddToQueueNotificationWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getQueueId()); $this->assertIsString($this->AddToQueueNotificationWebhook->getQueueId()); diff --git a/test/Model/ApplicationListTest.php b/test/Model/ApplicationListTest.php index 8821490..ff6983a 100644 --- a/test/Model/ApplicationListTest.php +++ b/test/Model/ApplicationListTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->ApplicationList->setNextPageUri('TS'); $this->assertEquals('TS', $this->ApplicationList->getNextPageUri()); $this->assertIsString($this->ApplicationList->getNextPageUri()); diff --git a/test/Model/ApplicationRequestTest.php b/test/Model/ApplicationRequestTest.php index b45a45b..73e2030 100644 --- a/test/Model/ApplicationRequestTest.php +++ b/test/Model/ApplicationRequestTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyAlias() { + $this->ApplicationRequest->setAlias('TS'); $this->assertEquals('TS', $this->ApplicationRequest->getAlias()); $this->assertIsString($this->ApplicationRequest->getAlias()); @@ -87,6 +88,7 @@ public function testPropertyAlias() */ public function testPropertyVoiceUrl() { + $this->ApplicationRequest->setVoiceUrl('TS'); $this->assertEquals('TS', $this->ApplicationRequest->getVoiceUrl()); $this->assertIsString($this->ApplicationRequest->getVoiceUrl()); @@ -96,6 +98,7 @@ public function testPropertyVoiceUrl() */ public function testPropertyVoiceFallbackUrl() { + $this->ApplicationRequest->setVoiceFallbackUrl('TS'); $this->assertEquals('TS', $this->ApplicationRequest->getVoiceFallbackUrl()); $this->assertIsString($this->ApplicationRequest->getVoiceFallbackUrl()); @@ -105,6 +108,7 @@ public function testPropertyVoiceFallbackUrl() */ public function testPropertyCallConnectUrl() { + $this->ApplicationRequest->setCallConnectUrl('TS'); $this->assertEquals('TS', $this->ApplicationRequest->getCallConnectUrl()); $this->assertIsString($this->ApplicationRequest->getCallConnectUrl()); @@ -114,6 +118,7 @@ public function testPropertyCallConnectUrl() */ public function testPropertyStatusCallbackUrl() { + $this->ApplicationRequest->setStatusCallbackUrl('TS'); $this->assertEquals('TS', $this->ApplicationRequest->getStatusCallbackUrl()); $this->assertIsString($this->ApplicationRequest->getStatusCallbackUrl()); @@ -123,6 +128,7 @@ public function testPropertyStatusCallbackUrl() */ public function testPropertySmsUrl() { + $this->ApplicationRequest->setSmsUrl('TS'); $this->assertEquals('TS', $this->ApplicationRequest->getSmsUrl()); $this->assertIsString($this->ApplicationRequest->getSmsUrl()); @@ -132,6 +138,7 @@ public function testPropertySmsUrl() */ public function testPropertySmsFallbackUrl() { + $this->ApplicationRequest->setSmsFallbackUrl('TS'); $this->assertEquals('TS', $this->ApplicationRequest->getSmsFallbackUrl()); $this->assertIsString($this->ApplicationRequest->getSmsFallbackUrl()); diff --git a/test/Model/ApplicationResultTest.php b/test/Model/ApplicationResultTest.php index 2be19ef..8c3aa5f 100644 --- a/test/Model/ApplicationResultTest.php +++ b/test/Model/ApplicationResultTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyUri() { + $this->ApplicationResult->setUri('TS'); $this->assertEquals('TS', $this->ApplicationResult->getUri()); $this->assertIsString($this->ApplicationResult->getUri()); @@ -87,6 +88,7 @@ public function testPropertyUri() */ public function testPropertyDateCreated() { + $this->ApplicationResult->setDateCreated('TS'); $this->assertEquals('TS', $this->ApplicationResult->getDateCreated()); $this->assertIsString($this->ApplicationResult->getDateCreated()); @@ -96,6 +98,7 @@ public function testPropertyDateCreated() */ public function testPropertyDateUpdated() { + $this->ApplicationResult->setDateUpdated('TS'); $this->assertEquals('TS', $this->ApplicationResult->getDateUpdated()); $this->assertIsString($this->ApplicationResult->getDateUpdated()); @@ -117,6 +120,7 @@ public function testPropertyRevision() */ public function testPropertyAccountId() { + $this->ApplicationResult->setAccountId('TS'); $this->assertEquals('TS', $this->ApplicationResult->getAccountId()); $this->assertIsString($this->ApplicationResult->getAccountId()); @@ -126,6 +130,7 @@ public function testPropertyAccountId() */ public function testPropertyApplicationId() { + $this->ApplicationResult->setApplicationId('TS'); $this->assertEquals('TS', $this->ApplicationResult->getApplicationId()); $this->assertIsString($this->ApplicationResult->getApplicationId()); @@ -135,6 +140,7 @@ public function testPropertyApplicationId() */ public function testPropertyAlias() { + $this->ApplicationResult->setAlias('TS'); $this->assertEquals('TS', $this->ApplicationResult->getAlias()); $this->assertIsString($this->ApplicationResult->getAlias()); @@ -144,6 +150,7 @@ public function testPropertyAlias() */ public function testPropertyVoiceUrl() { + $this->ApplicationResult->setVoiceUrl('TS'); $this->assertEquals('TS', $this->ApplicationResult->getVoiceUrl()); $this->assertIsString($this->ApplicationResult->getVoiceUrl()); @@ -153,6 +160,7 @@ public function testPropertyVoiceUrl() */ public function testPropertyVoiceFallbackUrl() { + $this->ApplicationResult->setVoiceFallbackUrl('TS'); $this->assertEquals('TS', $this->ApplicationResult->getVoiceFallbackUrl()); $this->assertIsString($this->ApplicationResult->getVoiceFallbackUrl()); @@ -162,6 +170,7 @@ public function testPropertyVoiceFallbackUrl() */ public function testPropertyCallConnectUrl() { + $this->ApplicationResult->setCallConnectUrl('TS'); $this->assertEquals('TS', $this->ApplicationResult->getCallConnectUrl()); $this->assertIsString($this->ApplicationResult->getCallConnectUrl()); @@ -171,6 +180,7 @@ public function testPropertyCallConnectUrl() */ public function testPropertyStatusCallbackUrl() { + $this->ApplicationResult->setStatusCallbackUrl('TS'); $this->assertEquals('TS', $this->ApplicationResult->getStatusCallbackUrl()); $this->assertIsString($this->ApplicationResult->getStatusCallbackUrl()); @@ -180,6 +190,7 @@ public function testPropertyStatusCallbackUrl() */ public function testPropertySmsUrl() { + $this->ApplicationResult->setSmsUrl('TS'); $this->assertEquals('TS', $this->ApplicationResult->getSmsUrl()); $this->assertIsString($this->ApplicationResult->getSmsUrl()); @@ -189,6 +200,7 @@ public function testPropertySmsUrl() */ public function testPropertySmsFallbackUrl() { + $this->ApplicationResult->setSmsFallbackUrl('TS'); $this->assertEquals('TS', $this->ApplicationResult->getSmsFallbackUrl()); $this->assertIsString($this->ApplicationResult->getSmsFallbackUrl()); diff --git a/test/Model/AvailableNumberListTest.php b/test/Model/AvailableNumberListTest.php index 7a82781..997a9d9 100644 --- a/test/Model/AvailableNumberListTest.php +++ b/test/Model/AvailableNumberListTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->AvailableNumberList->setNextPageUri('TS'); $this->assertEquals('TS', $this->AvailableNumberList->getNextPageUri()); $this->assertIsString($this->AvailableNumberList->getNextPageUri()); diff --git a/test/Model/AvailableNumberTest.php b/test/Model/AvailableNumberTest.php index afd33e3..937ef6b 100644 --- a/test/Model/AvailableNumberTest.php +++ b/test/Model/AvailableNumberTest.php @@ -86,6 +86,7 @@ public function testPropertyCapabilities() */ public function testPropertyCampaignId() { + $this->AvailableNumber->setCampaignId('TS'); $this->assertEquals('TS', $this->AvailableNumber->getCampaignId()); $this->assertIsString($this->AvailableNumber->getCampaignId()); @@ -95,6 +96,7 @@ public function testPropertyCampaignId() */ public function testPropertyPhoneNumber() { + $this->AvailableNumber->setPhoneNumber('TS'); $this->assertEquals('TS', $this->AvailableNumber->getPhoneNumber()); $this->assertIsString($this->AvailableNumber->getPhoneNumber()); @@ -122,6 +124,7 @@ public function testPropertySmsEnabled() */ public function testPropertyRegion() { + $this->AvailableNumber->setRegion('TS'); $this->assertEquals('TS', $this->AvailableNumber->getRegion()); $this->assertIsString($this->AvailableNumber->getRegion()); @@ -131,6 +134,7 @@ public function testPropertyRegion() */ public function testPropertyCountry() { + $this->AvailableNumber->setCountry('TS'); $this->assertEquals('TS', $this->AvailableNumber->getCountry()); $this->assertIsString($this->AvailableNumber->getCountry()); diff --git a/test/Model/BuyIncomingNumberRequestTest.php b/test/Model/BuyIncomingNumberRequestTest.php index 8de2bab..3aa03ab 100644 --- a/test/Model/BuyIncomingNumberRequestTest.php +++ b/test/Model/BuyIncomingNumberRequestTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyPhoneNumber() { + $this->BuyIncomingNumberRequest->setPhoneNumber('TS'); $this->assertEquals('TS', $this->BuyIncomingNumberRequest->getPhoneNumber()); $this->assertIsString($this->BuyIncomingNumberRequest->getPhoneNumber()); @@ -87,6 +88,7 @@ public function testPropertyPhoneNumber() */ public function testPropertyAlias() { + $this->BuyIncomingNumberRequest->setAlias('TS'); $this->assertEquals('TS', $this->BuyIncomingNumberRequest->getAlias()); $this->assertIsString($this->BuyIncomingNumberRequest->getAlias()); @@ -96,6 +98,7 @@ public function testPropertyAlias() */ public function testPropertyApplicationId() { + $this->BuyIncomingNumberRequest->setApplicationId('TS'); $this->assertEquals('TS', $this->BuyIncomingNumberRequest->getApplicationId()); $this->assertIsString($this->BuyIncomingNumberRequest->getApplicationId()); diff --git a/test/Model/CallControlWebhookTest.php b/test/Model/CallControlWebhookTest.php index d5b9319..30296b8 100644 --- a/test/Model/CallControlWebhookTest.php +++ b/test/Model/CallControlWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->CallControlWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->CallControlWebhook->getRequestType()); $this->assertIsString($this->CallControlWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->CallControlWebhook->setCallId('TS'); $this->assertEquals('TS', $this->CallControlWebhook->getCallId()); $this->assertIsString($this->CallControlWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->CallControlWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->CallControlWebhook->getAccountId()); $this->assertIsString($this->CallControlWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyConferenceId() { + $this->CallControlWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->CallControlWebhook->getConferenceId()); $this->assertIsString($this->CallControlWebhook->getConferenceId()); @@ -114,6 +118,7 @@ public function testPropertyConferenceId() */ public function testPropertyDigits() { + $this->CallControlWebhook->setDigits('TS'); $this->assertEquals('TS', $this->CallControlWebhook->getDigits()); $this->assertIsString($this->CallControlWebhook->getDigits()); diff --git a/test/Model/CallListTest.php b/test/Model/CallListTest.php index cba581c..378f025 100644 --- a/test/Model/CallListTest.php +++ b/test/Model/CallListTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->CallList->setNextPageUri('TS'); $this->assertEquals('TS', $this->CallList->getNextPageUri()); $this->assertIsString($this->CallList->getNextPageUri()); diff --git a/test/Model/CallResultTest.php b/test/Model/CallResultTest.php index 931a379..645db8b 100644 --- a/test/Model/CallResultTest.php +++ b/test/Model/CallResultTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyUri() { + $this->CallResult->setUri('TS'); $this->assertEquals('TS', $this->CallResult->getUri()); $this->assertIsString($this->CallResult->getUri()); @@ -87,6 +88,7 @@ public function testPropertyUri() */ public function testPropertyDateCreated() { + $this->CallResult->setDateCreated('TS'); $this->assertEquals('TS', $this->CallResult->getDateCreated()); $this->assertIsString($this->CallResult->getDateCreated()); @@ -96,6 +98,7 @@ public function testPropertyDateCreated() */ public function testPropertyDateUpdated() { + $this->CallResult->setDateUpdated('TS'); $this->assertEquals('TS', $this->CallResult->getDateUpdated()); $this->assertIsString($this->CallResult->getDateUpdated()); @@ -117,6 +120,7 @@ public function testPropertyRevision() */ public function testPropertyCallId() { + $this->CallResult->setCallId('TS'); $this->assertEquals('TS', $this->CallResult->getCallId()); $this->assertIsString($this->CallResult->getCallId()); @@ -126,6 +130,7 @@ public function testPropertyCallId() */ public function testPropertyParentCallId() { + $this->CallResult->setParentCallId('TS'); $this->assertEquals('TS', $this->CallResult->getParentCallId()); $this->assertIsString($this->CallResult->getParentCallId()); @@ -135,6 +140,7 @@ public function testPropertyParentCallId() */ public function testPropertyAccountId() { + $this->CallResult->setAccountId('TS'); $this->assertEquals('TS', $this->CallResult->getAccountId()); $this->assertIsString($this->CallResult->getAccountId()); @@ -144,6 +150,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->CallResult->setFrom('TS'); $this->assertEquals('TS', $this->CallResult->getFrom()); $this->assertIsString($this->CallResult->getFrom()); @@ -153,6 +160,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->CallResult->setTo('TS'); $this->assertEquals('TS', $this->CallResult->getTo()); $this->assertIsString($this->CallResult->getTo()); @@ -162,6 +170,7 @@ public function testPropertyTo() */ public function testPropertyPhoneNumberId() { + $this->CallResult->setPhoneNumberId('TS'); $this->assertEquals('TS', $this->CallResult->getPhoneNumberId()); $this->assertIsString($this->CallResult->getPhoneNumberId()); @@ -193,6 +202,7 @@ public function testPropertyCallStatus() */ public function testPropertyStartTime() { + $this->CallResult->setStartTime('TS'); $this->assertEquals('TS', $this->CallResult->getStartTime()); $this->assertIsString($this->CallResult->getStartTime()); @@ -202,6 +212,7 @@ public function testPropertyStartTime() */ public function testPropertyConnectTime() { + $this->CallResult->setConnectTime('TS'); $this->assertEquals('TS', $this->CallResult->getConnectTime()); $this->assertIsString($this->CallResult->getConnectTime()); @@ -211,6 +222,7 @@ public function testPropertyConnectTime() */ public function testPropertyEndTime() { + $this->CallResult->setEndTime('TS'); $this->assertEquals('TS', $this->CallResult->getEndTime()); $this->assertIsString($this->CallResult->getEndTime()); @@ -274,6 +286,7 @@ public function testPropertySubresourceUris() */ public function testPropertyApplicationId() { + $this->CallResult->setApplicationId('TS'); $this->assertEquals('TS', $this->CallResult->getApplicationId()); $this->assertIsString($this->CallResult->getApplicationId()); diff --git a/test/Model/CallStatusWebhookTest.php b/test/Model/CallStatusWebhookTest.php index e6af39e..3786194 100644 --- a/test/Model/CallStatusWebhookTest.php +++ b/test/Model/CallStatusWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->CallStatusWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->CallStatusWebhook->getRequestType()); $this->assertIsString($this->CallStatusWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->CallStatusWebhook->setCallId('TS'); $this->assertEquals('TS', $this->CallStatusWebhook->getCallId()); $this->assertIsString($this->CallStatusWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->CallStatusWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->CallStatusWebhook->getAccountId()); $this->assertIsString($this->CallStatusWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->CallStatusWebhook->setFrom('TS'); $this->assertEquals('TS', $this->CallStatusWebhook->getFrom()); $this->assertIsString($this->CallStatusWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->CallStatusWebhook->setTo('TS'); $this->assertEquals('TS', $this->CallStatusWebhook->getTo()); $this->assertIsString($this->CallStatusWebhook->getTo()); @@ -209,6 +214,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->CallStatusWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->CallStatusWebhook->getConferenceId()); $this->assertIsString($this->CallStatusWebhook->getConferenceId()); @@ -218,6 +224,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->CallStatusWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->CallStatusWebhook->getQueueId()); $this->assertIsString($this->CallStatusWebhook->getQueueId()); diff --git a/test/Model/CompletionRequestTest.php b/test/Model/CompletionRequestTest.php index 9d03e10..dab6e60 100644 --- a/test/Model/CompletionRequestTest.php +++ b/test/Model/CompletionRequestTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyQuery() { + $this->CompletionRequest->setQuery('TS'); $this->assertEquals('TS', $this->CompletionRequest->getQuery()); $this->assertIsString($this->CompletionRequest->getQuery()); diff --git a/test/Model/CompletionResultTest.php b/test/Model/CompletionResultTest.php index 00df920..01f6bcb 100644 --- a/test/Model/CompletionResultTest.php +++ b/test/Model/CompletionResultTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyResponse() { + $this->CompletionResult->setResponse('TS'); $this->assertEquals('TS', $this->CompletionResult->getResponse()); $this->assertIsString($this->CompletionResult->getResponse()); diff --git a/test/Model/ConferenceListTest.php b/test/Model/ConferenceListTest.php index f1ed005..f12bce2 100644 --- a/test/Model/ConferenceListTest.php +++ b/test/Model/ConferenceListTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->ConferenceList->setNextPageUri('TS'); $this->assertEquals('TS', $this->ConferenceList->getNextPageUri()); $this->assertIsString($this->ConferenceList->getNextPageUri()); diff --git a/test/Model/ConferenceParticipantListTest.php b/test/Model/ConferenceParticipantListTest.php index 3ffb01a..db5495b 100644 --- a/test/Model/ConferenceParticipantListTest.php +++ b/test/Model/ConferenceParticipantListTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->ConferenceParticipantList->setNextPageUri('TS'); $this->assertEquals('TS', $this->ConferenceParticipantList->getNextPageUri()); $this->assertIsString($this->ConferenceParticipantList->getNextPageUri()); diff --git a/test/Model/ConferenceParticipantResultTest.php b/test/Model/ConferenceParticipantResultTest.php index 938f530..a2c16df 100644 --- a/test/Model/ConferenceParticipantResultTest.php +++ b/test/Model/ConferenceParticipantResultTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyUri() { + $this->ConferenceParticipantResult->setUri('TS'); $this->assertEquals('TS', $this->ConferenceParticipantResult->getUri()); $this->assertIsString($this->ConferenceParticipantResult->getUri()); @@ -87,6 +88,7 @@ public function testPropertyUri() */ public function testPropertyDateCreated() { + $this->ConferenceParticipantResult->setDateCreated('TS'); $this->assertEquals('TS', $this->ConferenceParticipantResult->getDateCreated()); $this->assertIsString($this->ConferenceParticipantResult->getDateCreated()); @@ -96,6 +98,7 @@ public function testPropertyDateCreated() */ public function testPropertyDateUpdated() { + $this->ConferenceParticipantResult->setDateUpdated('TS'); $this->assertEquals('TS', $this->ConferenceParticipantResult->getDateUpdated()); $this->assertIsString($this->ConferenceParticipantResult->getDateUpdated()); @@ -117,6 +120,7 @@ public function testPropertyRevision() */ public function testPropertyAccountId() { + $this->ConferenceParticipantResult->setAccountId('TS'); $this->assertEquals('TS', $this->ConferenceParticipantResult->getAccountId()); $this->assertIsString($this->ConferenceParticipantResult->getAccountId()); @@ -126,6 +130,7 @@ public function testPropertyAccountId() */ public function testPropertyConferenceId() { + $this->ConferenceParticipantResult->setConferenceId('TS'); $this->assertEquals('TS', $this->ConferenceParticipantResult->getConferenceId()); $this->assertIsString($this->ConferenceParticipantResult->getConferenceId()); @@ -135,6 +140,7 @@ public function testPropertyConferenceId() */ public function testPropertyCallId() { + $this->ConferenceParticipantResult->setCallId('TS'); $this->assertEquals('TS', $this->ConferenceParticipantResult->getCallId()); $this->assertIsString($this->ConferenceParticipantResult->getCallId()); diff --git a/test/Model/ConferenceRecordingStatusWebhookTest.php b/test/Model/ConferenceRecordingStatusWebhookTest.php index 16d00cf..72bb814 100644 --- a/test/Model/ConferenceRecordingStatusWebhookTest.php +++ b/test/Model/ConferenceRecordingStatusWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->ConferenceRecordingStatusWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getRequestType()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->ConferenceRecordingStatusWebhook->setCallId('TS'); $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getCallId()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->ConferenceRecordingStatusWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getAccountId()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->ConferenceRecordingStatusWebhook->setFrom('TS'); $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getFrom()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->ConferenceRecordingStatusWebhook->setTo('TS'); $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getTo()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->ConferenceRecordingStatusWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getConferenceId()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->ConferenceRecordingStatusWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getQueueId()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getQueueId()); @@ -189,6 +196,7 @@ public function testPropertyStatus() */ public function testPropertyRecordingUrl() { + $this->ConferenceRecordingStatusWebhook->setRecordingUrl('TS'); $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getRecordingUrl()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getRecordingUrl()); @@ -198,6 +206,7 @@ public function testPropertyRecordingUrl() */ public function testPropertyRecordingId() { + $this->ConferenceRecordingStatusWebhook->setRecordingId('TS'); $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getRecordingId()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getRecordingId()); diff --git a/test/Model/ConferenceResultTest.php b/test/Model/ConferenceResultTest.php index 7a07d46..8c505c2 100644 --- a/test/Model/ConferenceResultTest.php +++ b/test/Model/ConferenceResultTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyUri() { + $this->ConferenceResult->setUri('TS'); $this->assertEquals('TS', $this->ConferenceResult->getUri()); $this->assertIsString($this->ConferenceResult->getUri()); @@ -87,6 +88,7 @@ public function testPropertyUri() */ public function testPropertyDateCreated() { + $this->ConferenceResult->setDateCreated('TS'); $this->assertEquals('TS', $this->ConferenceResult->getDateCreated()); $this->assertIsString($this->ConferenceResult->getDateCreated()); @@ -96,6 +98,7 @@ public function testPropertyDateCreated() */ public function testPropertyDateUpdated() { + $this->ConferenceResult->setDateUpdated('TS'); $this->assertEquals('TS', $this->ConferenceResult->getDateUpdated()); $this->assertIsString($this->ConferenceResult->getDateUpdated()); @@ -117,6 +120,7 @@ public function testPropertyRevision() */ public function testPropertyConferenceId() { + $this->ConferenceResult->setConferenceId('TS'); $this->assertEquals('TS', $this->ConferenceResult->getConferenceId()); $this->assertIsString($this->ConferenceResult->getConferenceId()); @@ -126,6 +130,7 @@ public function testPropertyConferenceId() */ public function testPropertyAccountId() { + $this->ConferenceResult->setAccountId('TS'); $this->assertEquals('TS', $this->ConferenceResult->getAccountId()); $this->assertIsString($this->ConferenceResult->getAccountId()); @@ -135,6 +140,7 @@ public function testPropertyAccountId() */ public function testPropertyAlias() { + $this->ConferenceResult->setAlias('TS'); $this->assertEquals('TS', $this->ConferenceResult->getAlias()); $this->assertIsString($this->ConferenceResult->getAlias()); @@ -181,6 +187,7 @@ public function testPropertyStatus() */ public function testPropertyWaitUrl() { + $this->ConferenceResult->setWaitUrl('TS'); $this->assertEquals('TS', $this->ConferenceResult->getWaitUrl()); $this->assertIsString($this->ConferenceResult->getWaitUrl()); @@ -190,6 +197,7 @@ public function testPropertyWaitUrl() */ public function testPropertyActionUrl() { + $this->ConferenceResult->setActionUrl('TS'); $this->assertEquals('TS', $this->ConferenceResult->getActionUrl()); $this->assertIsString($this->ConferenceResult->getActionUrl()); @@ -199,6 +207,7 @@ public function testPropertyActionUrl() */ public function testPropertyStatusCallbackUrl() { + $this->ConferenceResult->setStatusCallbackUrl('TS'); $this->assertEquals('TS', $this->ConferenceResult->getStatusCallbackUrl()); $this->assertIsString($this->ConferenceResult->getStatusCallbackUrl()); diff --git a/test/Model/ConferenceStatusWebhookTest.php b/test/Model/ConferenceStatusWebhookTest.php index 8d6608e..3f1dfa5 100644 --- a/test/Model/ConferenceStatusWebhookTest.php +++ b/test/Model/ConferenceStatusWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->ConferenceStatusWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->ConferenceStatusWebhook->getRequestType()); $this->assertIsString($this->ConferenceStatusWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->ConferenceStatusWebhook->setCallId('TS'); $this->assertEquals('TS', $this->ConferenceStatusWebhook->getCallId()); $this->assertIsString($this->ConferenceStatusWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->ConferenceStatusWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->ConferenceStatusWebhook->getAccountId()); $this->assertIsString($this->ConferenceStatusWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->ConferenceStatusWebhook->setFrom('TS'); $this->assertEquals('TS', $this->ConferenceStatusWebhook->getFrom()); $this->assertIsString($this->ConferenceStatusWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->ConferenceStatusWebhook->setTo('TS'); $this->assertEquals('TS', $this->ConferenceStatusWebhook->getTo()); $this->assertIsString($this->ConferenceStatusWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->ConferenceStatusWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->ConferenceStatusWebhook->getConferenceId()); $this->assertIsString($this->ConferenceStatusWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->ConferenceStatusWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->ConferenceStatusWebhook->getQueueId()); $this->assertIsString($this->ConferenceStatusWebhook->getQueueId()); @@ -189,6 +196,7 @@ public function testPropertyStatus() */ public function testPropertyRecordingUrl() { + $this->ConferenceStatusWebhook->setRecordingUrl('TS'); $this->assertEquals('TS', $this->ConferenceStatusWebhook->getRecordingUrl()); $this->assertIsString($this->ConferenceStatusWebhook->getRecordingUrl()); @@ -198,6 +206,7 @@ public function testPropertyRecordingUrl() */ public function testPropertyRecordingId() { + $this->ConferenceStatusWebhook->setRecordingId('TS'); $this->assertEquals('TS', $this->ConferenceStatusWebhook->getRecordingId()); $this->assertIsString($this->ConferenceStatusWebhook->getRecordingId()); diff --git a/test/Model/CreateConferenceRequestTest.php b/test/Model/CreateConferenceRequestTest.php index 649768e..1ebaec4 100644 --- a/test/Model/CreateConferenceRequestTest.php +++ b/test/Model/CreateConferenceRequestTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyAlias() { + $this->CreateConferenceRequest->setAlias('TS'); $this->assertEquals('TS', $this->CreateConferenceRequest->getAlias()); $this->assertIsString($this->CreateConferenceRequest->getAlias()); @@ -110,6 +111,7 @@ public function testPropertyRecord() */ public function testPropertyWaitUrl() { + $this->CreateConferenceRequest->setWaitUrl('TS'); $this->assertEquals('TS', $this->CreateConferenceRequest->getWaitUrl()); $this->assertIsString($this->CreateConferenceRequest->getWaitUrl()); @@ -119,6 +121,7 @@ public function testPropertyWaitUrl() */ public function testPropertyStatusCallbackUrl() { + $this->CreateConferenceRequest->setStatusCallbackUrl('TS'); $this->assertEquals('TS', $this->CreateConferenceRequest->getStatusCallbackUrl()); $this->assertIsString($this->CreateConferenceRequest->getStatusCallbackUrl()); diff --git a/test/Model/CreateConferenceTest.php b/test/Model/CreateConferenceTest.php index 4e24e8e..1faf5ee 100644 --- a/test/Model/CreateConferenceTest.php +++ b/test/Model/CreateConferenceTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyActionUrl() { + $this->CreateConference->setActionUrl('TS'); $this->assertEquals('TS', $this->CreateConference->getActionUrl()); $this->assertIsString($this->CreateConference->getActionUrl()); @@ -119,6 +120,7 @@ public function testPropertyRecord() */ public function testPropertyStatusCallbackUrl() { + $this->CreateConference->setStatusCallbackUrl('TS'); $this->assertEquals('TS', $this->CreateConference->getStatusCallbackUrl()); $this->assertIsString($this->CreateConference->getStatusCallbackUrl()); @@ -128,6 +130,7 @@ public function testPropertyStatusCallbackUrl() */ public function testPropertyWaitUrl() { + $this->CreateConference->setWaitUrl('TS'); $this->assertEquals('TS', $this->CreateConference->getWaitUrl()); $this->assertIsString($this->CreateConference->getWaitUrl()); diff --git a/test/Model/CreateConferenceWebhookTest.php b/test/Model/CreateConferenceWebhookTest.php index 8b572ac..c124042 100644 --- a/test/Model/CreateConferenceWebhookTest.php +++ b/test/Model/CreateConferenceWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->CreateConferenceWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->CreateConferenceWebhook->getRequestType()); $this->assertIsString($this->CreateConferenceWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->CreateConferenceWebhook->setCallId('TS'); $this->assertEquals('TS', $this->CreateConferenceWebhook->getCallId()); $this->assertIsString($this->CreateConferenceWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->CreateConferenceWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->CreateConferenceWebhook->getAccountId()); $this->assertIsString($this->CreateConferenceWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->CreateConferenceWebhook->setFrom('TS'); $this->assertEquals('TS', $this->CreateConferenceWebhook->getFrom()); $this->assertIsString($this->CreateConferenceWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->CreateConferenceWebhook->setTo('TS'); $this->assertEquals('TS', $this->CreateConferenceWebhook->getTo()); $this->assertIsString($this->CreateConferenceWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->CreateConferenceWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->CreateConferenceWebhook->getConferenceId()); $this->assertIsString($this->CreateConferenceWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->CreateConferenceWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->CreateConferenceWebhook->getQueueId()); $this->assertIsString($this->CreateConferenceWebhook->getQueueId()); @@ -189,6 +196,7 @@ public function testPropertyStatus() */ public function testPropertyRecordingUrl() { + $this->CreateConferenceWebhook->setRecordingUrl('TS'); $this->assertEquals('TS', $this->CreateConferenceWebhook->getRecordingUrl()); $this->assertIsString($this->CreateConferenceWebhook->getRecordingUrl()); @@ -198,6 +206,7 @@ public function testPropertyRecordingUrl() */ public function testPropertyRecordingId() { + $this->CreateConferenceWebhook->setRecordingId('TS'); $this->assertEquals('TS', $this->CreateConferenceWebhook->getRecordingId()); $this->assertIsString($this->CreateConferenceWebhook->getRecordingId()); diff --git a/test/Model/CreateWebRTCTokenTest.php b/test/Model/CreateWebRTCTokenTest.php index 8934c44..b926c07 100644 --- a/test/Model/CreateWebRTCTokenTest.php +++ b/test/Model/CreateWebRTCTokenTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyTo() { + $this->CreateWebRTCToken->setTo('TS'); $this->assertEquals('TS', $this->CreateWebRTCToken->getTo()); $this->assertIsString($this->CreateWebRTCToken->getTo()); @@ -87,6 +88,7 @@ public function testPropertyTo() */ public function testPropertyFrom() { + $this->CreateWebRTCToken->setFrom('TS'); $this->assertEquals('TS', $this->CreateWebRTCToken->getFrom()); $this->assertIsString($this->CreateWebRTCToken->getFrom()); diff --git a/test/Model/DequeueWebhookTest.php b/test/Model/DequeueWebhookTest.php index 304241b..912e176 100644 --- a/test/Model/DequeueWebhookTest.php +++ b/test/Model/DequeueWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->DequeueWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->DequeueWebhook->getRequestType()); $this->assertIsString($this->DequeueWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->DequeueWebhook->setCallId('TS'); $this->assertEquals('TS', $this->DequeueWebhook->getCallId()); $this->assertIsString($this->DequeueWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->DequeueWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->DequeueWebhook->getAccountId()); $this->assertIsString($this->DequeueWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->DequeueWebhook->setFrom('TS'); $this->assertEquals('TS', $this->DequeueWebhook->getFrom()); $this->assertIsString($this->DequeueWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->DequeueWebhook->setTo('TS'); $this->assertEquals('TS', $this->DequeueWebhook->getTo()); $this->assertIsString($this->DequeueWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->DequeueWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->DequeueWebhook->getConferenceId()); $this->assertIsString($this->DequeueWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->DequeueWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->DequeueWebhook->getQueueId()); $this->assertIsString($this->DequeueWebhook->getQueueId()); @@ -175,6 +182,7 @@ public function testPropertyQueueId() */ public function testPropertyQueueResult() { + $this->DequeueWebhook->setQueueResult('TS'); $this->assertEquals('TS', $this->DequeueWebhook->getQueueResult()); $this->assertIsString($this->DequeueWebhook->getQueueResult()); diff --git a/test/Model/EnqueueTest.php b/test/Model/EnqueueTest.php index b314716..7bb2d86 100644 --- a/test/Model/EnqueueTest.php +++ b/test/Model/EnqueueTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyActionUrl() { + $this->Enqueue->setActionUrl('TS'); $this->assertEquals('TS', $this->Enqueue->getActionUrl()); $this->assertIsString($this->Enqueue->getActionUrl()); @@ -87,6 +88,7 @@ public function testPropertyActionUrl() */ public function testPropertyNotificationUrl() { + $this->Enqueue->setNotificationUrl('TS'); $this->assertEquals('TS', $this->Enqueue->getNotificationUrl()); $this->assertIsString($this->Enqueue->getNotificationUrl()); @@ -96,6 +98,7 @@ public function testPropertyNotificationUrl() */ public function testPropertyQueueId() { + $this->Enqueue->setQueueId('TS'); $this->assertEquals('TS', $this->Enqueue->getQueueId()); $this->assertIsString($this->Enqueue->getQueueId()); @@ -105,6 +108,7 @@ public function testPropertyQueueId() */ public function testPropertyWaitUrl() { + $this->Enqueue->setWaitUrl('TS'); $this->assertEquals('TS', $this->Enqueue->getWaitUrl()); $this->assertIsString($this->Enqueue->getWaitUrl()); diff --git a/test/Model/FilterLogsRequestTest.php b/test/Model/FilterLogsRequestTest.php index 425854e..af5902f 100644 --- a/test/Model/FilterLogsRequestTest.php +++ b/test/Model/FilterLogsRequestTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyPql() { + $this->FilterLogsRequest->setPql('TS'); $this->assertEquals('TS', $this->FilterLogsRequest->getPql()); $this->assertIsString($this->FilterLogsRequest->getPql()); diff --git a/test/Model/GetDigitsTest.php b/test/Model/GetDigitsTest.php index a25e762..31e5e3a 100644 --- a/test/Model/GetDigitsTest.php +++ b/test/Model/GetDigitsTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyActionUrl() { + $this->GetDigits->setActionUrl('TS'); $this->assertEquals('TS', $this->GetDigits->getActionUrl()); $this->assertIsString($this->GetDigits->getActionUrl()); @@ -99,6 +100,7 @@ public function testPropertyDigitTimeoutMs() */ public function testPropertyFinishOnKey() { + $this->GetDigits->setFinishOnKey('TS'); $this->assertEquals('TS', $this->GetDigits->getFinishOnKey()); $this->assertIsString($this->GetDigits->getFinishOnKey()); diff --git a/test/Model/GetDigitsWebhookTest.php b/test/Model/GetDigitsWebhookTest.php index 56b7c2d..83a19b0 100644 --- a/test/Model/GetDigitsWebhookTest.php +++ b/test/Model/GetDigitsWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->GetDigitsWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->GetDigitsWebhook->getRequestType()); $this->assertIsString($this->GetDigitsWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->GetDigitsWebhook->setCallId('TS'); $this->assertEquals('TS', $this->GetDigitsWebhook->getCallId()); $this->assertIsString($this->GetDigitsWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->GetDigitsWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->GetDigitsWebhook->getAccountId()); $this->assertIsString($this->GetDigitsWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->GetDigitsWebhook->setFrom('TS'); $this->assertEquals('TS', $this->GetDigitsWebhook->getFrom()); $this->assertIsString($this->GetDigitsWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->GetDigitsWebhook->setTo('TS'); $this->assertEquals('TS', $this->GetDigitsWebhook->getTo()); $this->assertIsString($this->GetDigitsWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->GetDigitsWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->GetDigitsWebhook->getConferenceId()); $this->assertIsString($this->GetDigitsWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->GetDigitsWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->GetDigitsWebhook->getQueueId()); $this->assertIsString($this->GetDigitsWebhook->getQueueId()); @@ -175,6 +182,7 @@ public function testPropertyQueueId() */ public function testPropertyDigits() { + $this->GetDigitsWebhook->setDigits('TS'); $this->assertEquals('TS', $this->GetDigitsWebhook->getDigits()); $this->assertIsString($this->GetDigitsWebhook->getDigits()); @@ -198,6 +206,7 @@ public function testPropertyReason() */ public function testPropertyParentCallId() { + $this->GetDigitsWebhook->setParentCallId('TS'); $this->assertEquals('TS', $this->GetDigitsWebhook->getParentCallId()); $this->assertIsString($this->GetDigitsWebhook->getParentCallId()); diff --git a/test/Model/GetSpeechTest.php b/test/Model/GetSpeechTest.php index 2f95d27..77bd5f1 100644 --- a/test/Model/GetSpeechTest.php +++ b/test/Model/GetSpeechTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyActionUrl() { + $this->GetSpeech->setActionUrl('TS'); $this->assertEquals('TS', $this->GetSpeech->getActionUrl()); $this->assertIsString($this->GetSpeech->getActionUrl()); @@ -97,6 +98,7 @@ public function testPropertyGrammarType() */ public function testPropertyGrammarFile() { + $this->GetSpeech->setGrammarFile('TS'); $this->assertEquals('TS', $this->GetSpeech->getGrammarFile()); $this->assertIsString($this->GetSpeech->getGrammarFile()); @@ -106,6 +108,7 @@ public function testPropertyGrammarFile() */ public function testPropertyGrammarRule() { + $this->GetSpeech->setGrammarRule('TS'); $this->assertEquals('TS', $this->GetSpeech->getGrammarRule()); $this->assertIsString($this->GetSpeech->getGrammarRule()); diff --git a/test/Model/GetSpeechWebhookTest.php b/test/Model/GetSpeechWebhookTest.php index b0f900c..a1e1124 100644 --- a/test/Model/GetSpeechWebhookTest.php +++ b/test/Model/GetSpeechWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->GetSpeechWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->GetSpeechWebhook->getRequestType()); $this->assertIsString($this->GetSpeechWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->GetSpeechWebhook->setCallId('TS'); $this->assertEquals('TS', $this->GetSpeechWebhook->getCallId()); $this->assertIsString($this->GetSpeechWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->GetSpeechWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->GetSpeechWebhook->getAccountId()); $this->assertIsString($this->GetSpeechWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->GetSpeechWebhook->setFrom('TS'); $this->assertEquals('TS', $this->GetSpeechWebhook->getFrom()); $this->assertIsString($this->GetSpeechWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->GetSpeechWebhook->setTo('TS'); $this->assertEquals('TS', $this->GetSpeechWebhook->getTo()); $this->assertIsString($this->GetSpeechWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->GetSpeechWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->GetSpeechWebhook->getConferenceId()); $this->assertIsString($this->GetSpeechWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->GetSpeechWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->GetSpeechWebhook->getQueueId()); $this->assertIsString($this->GetSpeechWebhook->getQueueId()); @@ -193,6 +200,7 @@ public function testPropertyReason() */ public function testPropertyRecognitionResult() { + $this->GetSpeechWebhook->setRecognitionResult('TS'); $this->assertEquals('TS', $this->GetSpeechWebhook->getRecognitionResult()); $this->assertIsString($this->GetSpeechWebhook->getRecognitionResult()); @@ -214,6 +222,7 @@ public function testPropertyConfidence() */ public function testPropertyParentCallId() { + $this->GetSpeechWebhook->setParentCallId('TS'); $this->assertEquals('TS', $this->GetSpeechWebhook->getParentCallId()); $this->assertIsString($this->GetSpeechWebhook->getParentCallId()); @@ -223,6 +232,7 @@ public function testPropertyParentCallId() */ public function testPropertyCompletionReason() { + $this->GetSpeechWebhook->setCompletionReason('TS'); $this->assertEquals('TS', $this->GetSpeechWebhook->getCompletionReason()); $this->assertIsString($this->GetSpeechWebhook->getCompletionReason()); @@ -232,6 +242,7 @@ public function testPropertyCompletionReason() */ public function testPropertyCompletionCause() { + $this->GetSpeechWebhook->setCompletionCause('TS'); $this->assertEquals('TS', $this->GetSpeechWebhook->getCompletionCause()); $this->assertIsString($this->GetSpeechWebhook->getCompletionCause()); @@ -253,6 +264,7 @@ public function testPropertyMrcpCode() */ public function testPropertyMrcpDiagnostic() { + $this->GetSpeechWebhook->setMrcpDiagnostic('TS'); $this->assertEquals('TS', $this->GetSpeechWebhook->getMrcpDiagnostic()); $this->assertIsString($this->GetSpeechWebhook->getMrcpDiagnostic()); diff --git a/test/Model/HangupTest.php b/test/Model/HangupTest.php index ee80052..537d887 100644 --- a/test/Model/HangupTest.php +++ b/test/Model/HangupTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyReason() { + $this->Hangup->setReason('TS'); $this->assertEquals('TS', $this->Hangup->getReason()); $this->assertIsString($this->Hangup->getReason()); diff --git a/test/Model/InboundCallWebhookTest.php b/test/Model/InboundCallWebhookTest.php index 201c2e8..fa0f341 100644 --- a/test/Model/InboundCallWebhookTest.php +++ b/test/Model/InboundCallWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->InboundCallWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->InboundCallWebhook->getRequestType()); $this->assertIsString($this->InboundCallWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->InboundCallWebhook->setCallId('TS'); $this->assertEquals('TS', $this->InboundCallWebhook->getCallId()); $this->assertIsString($this->InboundCallWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->InboundCallWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->InboundCallWebhook->getAccountId()); $this->assertIsString($this->InboundCallWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->InboundCallWebhook->setFrom('TS'); $this->assertEquals('TS', $this->InboundCallWebhook->getFrom()); $this->assertIsString($this->InboundCallWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->InboundCallWebhook->setTo('TS'); $this->assertEquals('TS', $this->InboundCallWebhook->getTo()); $this->assertIsString($this->InboundCallWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->InboundCallWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->InboundCallWebhook->getConferenceId()); $this->assertIsString($this->InboundCallWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->InboundCallWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->InboundCallWebhook->getQueueId()); $this->assertIsString($this->InboundCallWebhook->getQueueId()); @@ -175,6 +182,7 @@ public function testPropertyQueueId() */ public function testPropertyParentCallId() { + $this->InboundCallWebhook->setParentCallId('TS'); $this->assertEquals('TS', $this->InboundCallWebhook->getParentCallId()); $this->assertIsString($this->InboundCallWebhook->getParentCallId()); diff --git a/test/Model/IncomingNumberListTest.php b/test/Model/IncomingNumberListTest.php index 2c92e74..652a171 100644 --- a/test/Model/IncomingNumberListTest.php +++ b/test/Model/IncomingNumberListTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->IncomingNumberList->setNextPageUri('TS'); $this->assertEquals('TS', $this->IncomingNumberList->getNextPageUri()); $this->assertIsString($this->IncomingNumberList->getNextPageUri()); diff --git a/test/Model/IncomingNumberRequestTest.php b/test/Model/IncomingNumberRequestTest.php index 7dd756b..66cc139 100644 --- a/test/Model/IncomingNumberRequestTest.php +++ b/test/Model/IncomingNumberRequestTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyApplicationId() { + $this->IncomingNumberRequest->setApplicationId('TS'); $this->assertEquals('TS', $this->IncomingNumberRequest->getApplicationId()); $this->assertIsString($this->IncomingNumberRequest->getApplicationId()); @@ -87,6 +88,7 @@ public function testPropertyApplicationId() */ public function testPropertyAlias() { + $this->IncomingNumberRequest->setAlias('TS'); $this->assertEquals('TS', $this->IncomingNumberRequest->getAlias()); $this->assertIsString($this->IncomingNumberRequest->getAlias()); @@ -96,6 +98,7 @@ public function testPropertyAlias() */ public function testPropertyCampaignId() { + $this->IncomingNumberRequest->setCampaignId('TS'); $this->assertEquals('TS', $this->IncomingNumberRequest->getCampaignId()); $this->assertIsString($this->IncomingNumberRequest->getCampaignId()); diff --git a/test/Model/IncomingNumberResultTest.php b/test/Model/IncomingNumberResultTest.php index ac64cfa..45cf6f5 100644 --- a/test/Model/IncomingNumberResultTest.php +++ b/test/Model/IncomingNumberResultTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyUri() { + $this->IncomingNumberResult->setUri('TS'); $this->assertEquals('TS', $this->IncomingNumberResult->getUri()); $this->assertIsString($this->IncomingNumberResult->getUri()); @@ -87,6 +88,7 @@ public function testPropertyUri() */ public function testPropertyDateCreated() { + $this->IncomingNumberResult->setDateCreated('TS'); $this->assertEquals('TS', $this->IncomingNumberResult->getDateCreated()); $this->assertIsString($this->IncomingNumberResult->getDateCreated()); @@ -96,6 +98,7 @@ public function testPropertyDateCreated() */ public function testPropertyDateUpdated() { + $this->IncomingNumberResult->setDateUpdated('TS'); $this->assertEquals('TS', $this->IncomingNumberResult->getDateUpdated()); $this->assertIsString($this->IncomingNumberResult->getDateUpdated()); @@ -125,6 +128,7 @@ public function testPropertyCapabilities() */ public function testPropertyCampaignId() { + $this->IncomingNumberResult->setCampaignId('TS'); $this->assertEquals('TS', $this->IncomingNumberResult->getCampaignId()); $this->assertIsString($this->IncomingNumberResult->getCampaignId()); @@ -134,6 +138,7 @@ public function testPropertyCampaignId() */ public function testPropertyPhoneNumberId() { + $this->IncomingNumberResult->setPhoneNumberId('TS'); $this->assertEquals('TS', $this->IncomingNumberResult->getPhoneNumberId()); $this->assertIsString($this->IncomingNumberResult->getPhoneNumberId()); @@ -143,6 +148,7 @@ public function testPropertyPhoneNumberId() */ public function testPropertyAccountId() { + $this->IncomingNumberResult->setAccountId('TS'); $this->assertEquals('TS', $this->IncomingNumberResult->getAccountId()); $this->assertIsString($this->IncomingNumberResult->getAccountId()); @@ -152,6 +158,7 @@ public function testPropertyAccountId() */ public function testPropertyApplicationId() { + $this->IncomingNumberResult->setApplicationId('TS'); $this->assertEquals('TS', $this->IncomingNumberResult->getApplicationId()); $this->assertIsString($this->IncomingNumberResult->getApplicationId()); @@ -161,6 +168,7 @@ public function testPropertyApplicationId() */ public function testPropertyPhoneNumber() { + $this->IncomingNumberResult->setPhoneNumber('TS'); $this->assertEquals('TS', $this->IncomingNumberResult->getPhoneNumber()); $this->assertIsString($this->IncomingNumberResult->getPhoneNumber()); @@ -170,6 +178,7 @@ public function testPropertyPhoneNumber() */ public function testPropertyAlias() { + $this->IncomingNumberResult->setAlias('TS'); $this->assertEquals('TS', $this->IncomingNumberResult->getAlias()); $this->assertIsString($this->IncomingNumberResult->getAlias()); @@ -179,6 +188,7 @@ public function testPropertyAlias() */ public function testPropertyRegion() { + $this->IncomingNumberResult->setRegion('TS'); $this->assertEquals('TS', $this->IncomingNumberResult->getRegion()); $this->assertIsString($this->IncomingNumberResult->getRegion()); @@ -188,6 +198,7 @@ public function testPropertyRegion() */ public function testPropertyCountry() { + $this->IncomingNumberResult->setCountry('TS'); $this->assertEquals('TS', $this->IncomingNumberResult->getCountry()); $this->assertIsString($this->IncomingNumberResult->getCountry()); diff --git a/test/Model/LeaveConferenceWebhookTest.php b/test/Model/LeaveConferenceWebhookTest.php index f62056c..26de8d7 100644 --- a/test/Model/LeaveConferenceWebhookTest.php +++ b/test/Model/LeaveConferenceWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->LeaveConferenceWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->LeaveConferenceWebhook->getRequestType()); $this->assertIsString($this->LeaveConferenceWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->LeaveConferenceWebhook->setCallId('TS'); $this->assertEquals('TS', $this->LeaveConferenceWebhook->getCallId()); $this->assertIsString($this->LeaveConferenceWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->LeaveConferenceWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->LeaveConferenceWebhook->getAccountId()); $this->assertIsString($this->LeaveConferenceWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->LeaveConferenceWebhook->setFrom('TS'); $this->assertEquals('TS', $this->LeaveConferenceWebhook->getFrom()); $this->assertIsString($this->LeaveConferenceWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->LeaveConferenceWebhook->setTo('TS'); $this->assertEquals('TS', $this->LeaveConferenceWebhook->getTo()); $this->assertIsString($this->LeaveConferenceWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->LeaveConferenceWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->LeaveConferenceWebhook->getConferenceId()); $this->assertIsString($this->LeaveConferenceWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->LeaveConferenceWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->LeaveConferenceWebhook->getQueueId()); $this->assertIsString($this->LeaveConferenceWebhook->getQueueId()); diff --git a/test/Model/LogListTest.php b/test/Model/LogListTest.php index 9ff9d2f..11c06c1 100644 --- a/test/Model/LogListTest.php +++ b/test/Model/LogListTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->LogList->setNextPageUri('TS'); $this->assertEquals('TS', $this->LogList->getNextPageUri()); $this->assertIsString($this->LogList->getNextPageUri()); diff --git a/test/Model/LogResultTest.php b/test/Model/LogResultTest.php index 0077f0c..400085e 100644 --- a/test/Model/LogResultTest.php +++ b/test/Model/LogResultTest.php @@ -102,6 +102,7 @@ public function testPropertyLevel() */ public function testPropertyRequestId() { + $this->LogResult->setRequestId('TS'); $this->assertEquals('TS', $this->LogResult->getRequestId()); $this->assertIsString($this->LogResult->getRequestId()); @@ -111,6 +112,7 @@ public function testPropertyRequestId() */ public function testPropertyAccountId() { + $this->LogResult->setAccountId('TS'); $this->assertEquals('TS', $this->LogResult->getAccountId()); $this->assertIsString($this->LogResult->getAccountId()); @@ -120,6 +122,7 @@ public function testPropertyAccountId() */ public function testPropertyCallId() { + $this->LogResult->setCallId('TS'); $this->assertEquals('TS', $this->LogResult->getCallId()); $this->assertIsString($this->LogResult->getCallId()); @@ -129,6 +132,7 @@ public function testPropertyCallId() */ public function testPropertyMessage() { + $this->LogResult->setMessage('TS'); $this->assertEquals('TS', $this->LogResult->getMessage()); $this->assertIsString($this->LogResult->getMessage()); diff --git a/test/Model/MachineDetectedWebhookTest.php b/test/Model/MachineDetectedWebhookTest.php index 4e941e1..eaef773 100644 --- a/test/Model/MachineDetectedWebhookTest.php +++ b/test/Model/MachineDetectedWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->MachineDetectedWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->MachineDetectedWebhook->getRequestType()); $this->assertIsString($this->MachineDetectedWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyCallId() { + $this->MachineDetectedWebhook->setCallId('TS'); $this->assertEquals('TS', $this->MachineDetectedWebhook->getCallId()); $this->assertIsString($this->MachineDetectedWebhook->getCallId()); @@ -96,6 +98,7 @@ public function testPropertyCallId() */ public function testPropertyAccountId() { + $this->MachineDetectedWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->MachineDetectedWebhook->getAccountId()); $this->assertIsString($this->MachineDetectedWebhook->getAccountId()); @@ -105,6 +108,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->MachineDetectedWebhook->setFrom('TS'); $this->assertEquals('TS', $this->MachineDetectedWebhook->getFrom()); $this->assertIsString($this->MachineDetectedWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->MachineDetectedWebhook->setTo('TS'); $this->assertEquals('TS', $this->MachineDetectedWebhook->getTo()); $this->assertIsString($this->MachineDetectedWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->MachineDetectedWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->MachineDetectedWebhook->getConferenceId()); $this->assertIsString($this->MachineDetectedWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->MachineDetectedWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->MachineDetectedWebhook->getQueueId()); $this->assertIsString($this->MachineDetectedWebhook->getQueueId()); @@ -175,6 +182,7 @@ public function testPropertyQueueId() */ public function testPropertyParentCallId() { + $this->MachineDetectedWebhook->setParentCallId('TS'); $this->assertEquals('TS', $this->MachineDetectedWebhook->getParentCallId()); $this->assertIsString($this->MachineDetectedWebhook->getParentCallId()); diff --git a/test/Model/MakeCallRequestTest.php b/test/Model/MakeCallRequestTest.php index 9be1247..8815fcc 100644 --- a/test/Model/MakeCallRequestTest.php +++ b/test/Model/MakeCallRequestTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyFrom() { + $this->MakeCallRequest->setFrom('TS'); $this->assertEquals('TS', $this->MakeCallRequest->getFrom()); $this->assertIsString($this->MakeCallRequest->getFrom()); @@ -87,6 +88,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->MakeCallRequest->setTo('TS'); $this->assertEquals('TS', $this->MakeCallRequest->getTo()); $this->assertIsString($this->MakeCallRequest->getTo()); @@ -96,6 +98,7 @@ public function testPropertyTo() */ public function testPropertyApplicationId() { + $this->MakeCallRequest->setApplicationId('TS'); $this->assertEquals('TS', $this->MakeCallRequest->getApplicationId()); $this->assertIsString($this->MakeCallRequest->getApplicationId()); @@ -105,6 +108,7 @@ public function testPropertyApplicationId() */ public function testPropertySendDigits() { + $this->MakeCallRequest->setSendDigits('TS'); $this->assertEquals('TS', $this->MakeCallRequest->getSendDigits()); $this->assertIsString($this->MakeCallRequest->getSendDigits()); @@ -114,6 +118,7 @@ public function testPropertySendDigits() */ public function testPropertyIfMachine() { + $this->MakeCallRequest->setIfMachine('TS'); $this->assertEquals('TS', $this->MakeCallRequest->getIfMachine()); $this->assertIsString($this->MakeCallRequest->getIfMachine()); @@ -123,6 +128,7 @@ public function testPropertyIfMachine() */ public function testPropertyIfMachineUrl() { + $this->MakeCallRequest->setIfMachineUrl('TS'); $this->assertEquals('TS', $this->MakeCallRequest->getIfMachineUrl()); $this->assertIsString($this->MakeCallRequest->getIfMachineUrl()); @@ -144,6 +150,7 @@ public function testPropertyTimeout() */ public function testPropertyParentCallId() { + $this->MakeCallRequest->setParentCallId('TS'); $this->assertEquals('TS', $this->MakeCallRequest->getParentCallId()); $this->assertIsString($this->MakeCallRequest->getParentCallId()); @@ -162,6 +169,7 @@ public function testPropertyPrivacyMode() */ public function testPropertyCallConnectUrl() { + $this->MakeCallRequest->setCallConnectUrl('TS'); $this->assertEquals('TS', $this->MakeCallRequest->getCallConnectUrl()); $this->assertIsString($this->MakeCallRequest->getCallConnectUrl()); diff --git a/test/Model/MessageDeliveryWebhookTest.php b/test/Model/MessageDeliveryWebhookTest.php index 57bba2e..7eac458 100644 --- a/test/Model/MessageDeliveryWebhookTest.php +++ b/test/Model/MessageDeliveryWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->MessageDeliveryWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->MessageDeliveryWebhook->getRequestType()); $this->assertIsString($this->MessageDeliveryWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyAccountId() { + $this->MessageDeliveryWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->MessageDeliveryWebhook->getAccountId()); $this->assertIsString($this->MessageDeliveryWebhook->getAccountId()); @@ -96,6 +98,7 @@ public function testPropertyAccountId() */ public function testPropertyFrom() { + $this->MessageDeliveryWebhook->setFrom('TS'); $this->assertEquals('TS', $this->MessageDeliveryWebhook->getFrom()); $this->assertIsString($this->MessageDeliveryWebhook->getFrom()); @@ -105,6 +108,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->MessageDeliveryWebhook->setTo('TS'); $this->assertEquals('TS', $this->MessageDeliveryWebhook->getTo()); $this->assertIsString($this->MessageDeliveryWebhook->getTo()); @@ -114,6 +118,7 @@ public function testPropertyTo() */ public function testPropertyText() { + $this->MessageDeliveryWebhook->setText('TS'); $this->assertEquals('TS', $this->MessageDeliveryWebhook->getText()); $this->assertIsString($this->MessageDeliveryWebhook->getText()); @@ -123,6 +128,7 @@ public function testPropertyText() */ public function testPropertyDirection() { + $this->MessageDeliveryWebhook->setDirection('TS'); $this->assertEquals('TS', $this->MessageDeliveryWebhook->getDirection()); $this->assertIsString($this->MessageDeliveryWebhook->getDirection()); @@ -132,6 +138,7 @@ public function testPropertyDirection() */ public function testPropertyApplicationId() { + $this->MessageDeliveryWebhook->setApplicationId('TS'); $this->assertEquals('TS', $this->MessageDeliveryWebhook->getApplicationId()); $this->assertIsString($this->MessageDeliveryWebhook->getApplicationId()); @@ -141,6 +148,7 @@ public function testPropertyApplicationId() */ public function testPropertyStatus() { + $this->MessageDeliveryWebhook->setStatus('TS'); $this->assertEquals('TS', $this->MessageDeliveryWebhook->getStatus()); $this->assertIsString($this->MessageDeliveryWebhook->getStatus()); @@ -150,6 +158,7 @@ public function testPropertyStatus() */ public function testPropertyPhoneNumberId() { + $this->MessageDeliveryWebhook->setPhoneNumberId('TS'); $this->assertEquals('TS', $this->MessageDeliveryWebhook->getPhoneNumberId()); $this->assertIsString($this->MessageDeliveryWebhook->getPhoneNumberId()); @@ -159,6 +168,7 @@ public function testPropertyPhoneNumberId() */ public function testPropertyUri() { + $this->MessageDeliveryWebhook->setUri('TS'); $this->assertEquals('TS', $this->MessageDeliveryWebhook->getUri()); $this->assertIsString($this->MessageDeliveryWebhook->getUri()); diff --git a/test/Model/MessageRequestTest.php b/test/Model/MessageRequestTest.php index 0f3c843..71244e7 100644 --- a/test/Model/MessageRequestTest.php +++ b/test/Model/MessageRequestTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyUri() { + $this->MessageRequest->setUri('TS'); $this->assertEquals('TS', $this->MessageRequest->getUri()); $this->assertIsString($this->MessageRequest->getUri()); @@ -87,6 +88,7 @@ public function testPropertyUri() */ public function testPropertyDateCreated() { + $this->MessageRequest->setDateCreated('TS'); $this->assertEquals('TS', $this->MessageRequest->getDateCreated()); $this->assertIsString($this->MessageRequest->getDateCreated()); @@ -96,6 +98,7 @@ public function testPropertyDateCreated() */ public function testPropertyDateUpdated() { + $this->MessageRequest->setDateUpdated('TS'); $this->assertEquals('TS', $this->MessageRequest->getDateUpdated()); $this->assertIsString($this->MessageRequest->getDateUpdated()); @@ -117,6 +120,7 @@ public function testPropertyRevision() */ public function testPropertyFrom() { + $this->MessageRequest->setFrom('TS'); $this->assertEquals('TS', $this->MessageRequest->getFrom()); $this->assertIsString($this->MessageRequest->getFrom()); @@ -126,6 +130,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->MessageRequest->setTo('TS'); $this->assertEquals('TS', $this->MessageRequest->getTo()); $this->assertIsString($this->MessageRequest->getTo()); @@ -135,6 +140,7 @@ public function testPropertyTo() */ public function testPropertyText() { + $this->MessageRequest->setText('TS'); $this->assertEquals('TS', $this->MessageRequest->getText()); $this->assertIsString($this->MessageRequest->getText()); @@ -144,6 +150,7 @@ public function testPropertyText() */ public function testPropertyNotificationUrl() { + $this->MessageRequest->setNotificationUrl('TS'); $this->assertEquals('TS', $this->MessageRequest->getNotificationUrl()); $this->assertIsString($this->MessageRequest->getNotificationUrl()); diff --git a/test/Model/MessageResultAllOfTfnTest.php b/test/Model/MessageResultAllOfTfnTest.php new file mode 100644 index 0000000..45aa2ef --- /dev/null +++ b/test/Model/MessageResultAllOfTfnTest.php @@ -0,0 +1,87 @@ +MessageResultAllOfTfn = new \FreeClimb\Api\Model\MessageResultAllOfTfn(); + } + + /** + * Clean up after running each test case + */ + public function tearDown(): void + { + } + + /** + * Clean up after running all test cases + */ + public static function tearDownAfterClass(): void + { + } + + /** + * Test attribute "campaign_id" + */ + public function testPropertyCampaignId() + { + + $this->MessageResultAllOfTfn->setCampaignId('cmptfn_387ec3f6e03b340553f35f29c8f118cdf3eae08a'); + $this->assertEquals('cmptfn_387ec3f6e03b340553f35f29c8f118cdf3eae08a', $this->MessageResultAllOfTfn->getCampaignId()); + $this->assertIsString($this->MessageResultAllOfTfn->getCampaignId()); + + } +} diff --git a/test/Model/MessageResultTest.php b/test/Model/MessageResultTest.php index d4ecf4d..ead853f 100644 --- a/test/Model/MessageResultTest.php +++ b/test/Model/MessageResultTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyUri() { + $this->MessageResult->setUri('TS'); $this->assertEquals('TS', $this->MessageResult->getUri()); $this->assertIsString($this->MessageResult->getUri()); @@ -87,6 +88,7 @@ public function testPropertyUri() */ public function testPropertyDateCreated() { + $this->MessageResult->setDateCreated('TS'); $this->assertEquals('TS', $this->MessageResult->getDateCreated()); $this->assertIsString($this->MessageResult->getDateCreated()); @@ -96,6 +98,7 @@ public function testPropertyDateCreated() */ public function testPropertyDateUpdated() { + $this->MessageResult->setDateUpdated('TS'); $this->assertEquals('TS', $this->MessageResult->getDateUpdated()); $this->assertIsString($this->MessageResult->getDateUpdated()); @@ -117,6 +120,7 @@ public function testPropertyRevision() */ public function testPropertyAccountId() { + $this->MessageResult->setAccountId('TS'); $this->assertEquals('TS', $this->MessageResult->getAccountId()); $this->assertIsString($this->MessageResult->getAccountId()); @@ -126,6 +130,7 @@ public function testPropertyAccountId() */ public function testPropertyMessageId() { + $this->MessageResult->setMessageId('TS'); $this->assertEquals('TS', $this->MessageResult->getMessageId()); $this->assertIsString($this->MessageResult->getMessageId()); @@ -163,6 +168,7 @@ public function testPropertyStatus() */ public function testPropertyFrom() { + $this->MessageResult->setFrom('TS'); $this->assertEquals('TS', $this->MessageResult->getFrom()); $this->assertIsString($this->MessageResult->getFrom()); @@ -172,6 +178,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->MessageResult->setTo('TS'); $this->assertEquals('TS', $this->MessageResult->getTo()); $this->assertIsString($this->MessageResult->getTo()); @@ -181,6 +188,7 @@ public function testPropertyTo() */ public function testPropertyText() { + $this->MessageResult->setText('TS'); $this->assertEquals('TS', $this->MessageResult->getText()); $this->assertIsString($this->MessageResult->getText()); @@ -190,6 +198,7 @@ public function testPropertyText() */ public function testPropertyDirection() { + $this->MessageResult->setDirection('TS'); $this->assertEquals('TS', $this->MessageResult->getDirection()); $this->assertIsString($this->MessageResult->getDirection()); @@ -199,6 +208,7 @@ public function testPropertyDirection() */ public function testPropertyNotificationUrl() { + $this->MessageResult->setNotificationUrl('TS'); $this->assertEquals('TS', $this->MessageResult->getNotificationUrl()); $this->assertIsString($this->MessageResult->getNotificationUrl()); @@ -208,6 +218,7 @@ public function testPropertyNotificationUrl() */ public function testPropertyBrandId() { + $this->MessageResult->setBrandId('TS'); $this->assertEquals('TS', $this->MessageResult->getBrandId()); $this->assertIsString($this->MessageResult->getBrandId()); @@ -217,6 +228,7 @@ public function testPropertyBrandId() */ public function testPropertyCampaignId() { + $this->MessageResult->setCampaignId('TS'); $this->assertEquals('TS', $this->MessageResult->getCampaignId()); $this->assertIsString($this->MessageResult->getCampaignId()); @@ -242,4 +254,32 @@ public function testPropertyMediaUrls() $this->assertEquals([], $this->MessageResult->getmediaUrls()); $this->assertIsArray($this->MessageResult->getmediaUrls()); } + /** + * Test attribute "tfn" + */ + public function testPropertyTfn() + { + $this->MessageResult->settfn(new \stdClass()); + $this->assertInstanceOf(\stdClass::class, $this->MessageResult->gettfn()); + } + /** + * Test attribute "phone_number_id" + */ + public function testPropertyPhoneNumberId() + { + + $this->MessageResult->setPhoneNumberId('TS'); + $this->assertEquals('TS', $this->MessageResult->getPhoneNumberId()); + $this->assertIsString($this->MessageResult->getPhoneNumberId()); + } + /** + * Test attribute "application_id" + */ + public function testPropertyApplicationId() + { + + $this->MessageResult->setApplicationId('TS'); + $this->assertEquals('TS', $this->MessageResult->getApplicationId()); + $this->assertIsString($this->MessageResult->getApplicationId()); + } } diff --git a/test/Model/MessageStatusWebhookTest.php b/test/Model/MessageStatusWebhookTest.php index a6503a4..b002875 100644 --- a/test/Model/MessageStatusWebhookTest.php +++ b/test/Model/MessageStatusWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->MessageStatusWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->MessageStatusWebhook->getRequestType()); $this->assertIsString($this->MessageStatusWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyAccountId() { + $this->MessageStatusWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->MessageStatusWebhook->getAccountId()); $this->assertIsString($this->MessageStatusWebhook->getAccountId()); @@ -96,6 +98,7 @@ public function testPropertyAccountId() */ public function testPropertyMessageId() { + $this->MessageStatusWebhook->setMessageId('TS'); $this->assertEquals('TS', $this->MessageStatusWebhook->getMessageId()); $this->assertIsString($this->MessageStatusWebhook->getMessageId()); @@ -105,6 +108,7 @@ public function testPropertyMessageId() */ public function testPropertyCallId() { + $this->MessageStatusWebhook->setCallId('TS'); $this->assertEquals('TS', $this->MessageStatusWebhook->getCallId()); $this->assertIsString($this->MessageStatusWebhook->getCallId()); @@ -114,6 +118,7 @@ public function testPropertyCallId() */ public function testPropertyFrom() { + $this->MessageStatusWebhook->setFrom('TS'); $this->assertEquals('TS', $this->MessageStatusWebhook->getFrom()); $this->assertIsString($this->MessageStatusWebhook->getFrom()); @@ -123,6 +128,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->MessageStatusWebhook->setTo('TS'); $this->assertEquals('TS', $this->MessageStatusWebhook->getTo()); $this->assertIsString($this->MessageStatusWebhook->getTo()); @@ -132,6 +138,7 @@ public function testPropertyTo() */ public function testPropertyText() { + $this->MessageStatusWebhook->setText('TS'); $this->assertEquals('TS', $this->MessageStatusWebhook->getText()); $this->assertIsString($this->MessageStatusWebhook->getText()); @@ -141,6 +148,7 @@ public function testPropertyText() */ public function testPropertyDirection() { + $this->MessageStatusWebhook->setDirection('TS'); $this->assertEquals('TS', $this->MessageStatusWebhook->getDirection()); $this->assertIsString($this->MessageStatusWebhook->getDirection()); @@ -150,6 +158,7 @@ public function testPropertyDirection() */ public function testPropertyApplicationId() { + $this->MessageStatusWebhook->setApplicationId('TS'); $this->assertEquals('TS', $this->MessageStatusWebhook->getApplicationId()); $this->assertIsString($this->MessageStatusWebhook->getApplicationId()); @@ -187,6 +196,7 @@ public function testPropertyStatus() */ public function testPropertyPhoneNumberId() { + $this->MessageStatusWebhook->setPhoneNumberId('TS'); $this->assertEquals('TS', $this->MessageStatusWebhook->getPhoneNumberId()); $this->assertIsString($this->MessageStatusWebhook->getPhoneNumberId()); diff --git a/test/Model/MessagesListTest.php b/test/Model/MessagesListTest.php index eeb1ec3..e5d5d20 100644 --- a/test/Model/MessagesListTest.php +++ b/test/Model/MessagesListTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->MessagesList->setNextPageUri('TS'); $this->assertEquals('TS', $this->MessagesList->getNextPageUri()); $this->assertIsString($this->MessagesList->getNextPageUri()); diff --git a/test/Model/MutableResourceModelTest.php b/test/Model/MutableResourceModelTest.php index 82fb346..494a3c9 100644 --- a/test/Model/MutableResourceModelTest.php +++ b/test/Model/MutableResourceModelTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyUri() { + $this->MutableResourceModel->setUri('TS'); $this->assertEquals('TS', $this->MutableResourceModel->getUri()); $this->assertIsString($this->MutableResourceModel->getUri()); @@ -87,6 +88,7 @@ public function testPropertyUri() */ public function testPropertyDateCreated() { + $this->MutableResourceModel->setDateCreated('TS'); $this->assertEquals('TS', $this->MutableResourceModel->getDateCreated()); $this->assertIsString($this->MutableResourceModel->getDateCreated()); @@ -96,6 +98,7 @@ public function testPropertyDateCreated() */ public function testPropertyDateUpdated() { + $this->MutableResourceModel->setDateUpdated('TS'); $this->assertEquals('TS', $this->MutableResourceModel->getDateUpdated()); $this->assertIsString($this->MutableResourceModel->getDateUpdated()); diff --git a/test/Model/OutDialApiConnectWebhookTest.php b/test/Model/OutDialApiConnectWebhookTest.php index b993e1f..922684c 100644 --- a/test/Model/OutDialApiConnectWebhookTest.php +++ b/test/Model/OutDialApiConnectWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->OutDialApiConnectWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getRequestType()); $this->assertIsString($this->OutDialApiConnectWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyAccountId() { + $this->OutDialApiConnectWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getAccountId()); $this->assertIsString($this->OutDialApiConnectWebhook->getAccountId()); @@ -96,6 +98,7 @@ public function testPropertyAccountId() */ public function testPropertyCallId() { + $this->OutDialApiConnectWebhook->setCallId('TS'); $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getCallId()); $this->assertIsString($this->OutDialApiConnectWebhook->getCallId()); @@ -105,6 +108,7 @@ public function testPropertyCallId() */ public function testPropertyFrom() { + $this->OutDialApiConnectWebhook->setFrom('TS'); $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getFrom()); $this->assertIsString($this->OutDialApiConnectWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->OutDialApiConnectWebhook->setTo('TS'); $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getTo()); $this->assertIsString($this->OutDialApiConnectWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->OutDialApiConnectWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getConferenceId()); $this->assertIsString($this->OutDialApiConnectWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->OutDialApiConnectWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getQueueId()); $this->assertIsString($this->OutDialApiConnectWebhook->getQueueId()); @@ -175,6 +182,7 @@ public function testPropertyQueueId() */ public function testPropertyParentCallId() { + $this->OutDialApiConnectWebhook->setParentCallId('TS'); $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getParentCallId()); $this->assertIsString($this->OutDialApiConnectWebhook->getParentCallId()); diff --git a/test/Model/OutDialConnectWebhookTest.php b/test/Model/OutDialConnectWebhookTest.php index 9c2a153..a93409d 100644 --- a/test/Model/OutDialConnectWebhookTest.php +++ b/test/Model/OutDialConnectWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->OutDialConnectWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->OutDialConnectWebhook->getRequestType()); $this->assertIsString($this->OutDialConnectWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyAccountId() { + $this->OutDialConnectWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->OutDialConnectWebhook->getAccountId()); $this->assertIsString($this->OutDialConnectWebhook->getAccountId()); @@ -96,6 +98,7 @@ public function testPropertyAccountId() */ public function testPropertyCallId() { + $this->OutDialConnectWebhook->setCallId('TS'); $this->assertEquals('TS', $this->OutDialConnectWebhook->getCallId()); $this->assertIsString($this->OutDialConnectWebhook->getCallId()); @@ -105,6 +108,7 @@ public function testPropertyCallId() */ public function testPropertyFrom() { + $this->OutDialConnectWebhook->setFrom('TS'); $this->assertEquals('TS', $this->OutDialConnectWebhook->getFrom()); $this->assertIsString($this->OutDialConnectWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->OutDialConnectWebhook->setTo('TS'); $this->assertEquals('TS', $this->OutDialConnectWebhook->getTo()); $this->assertIsString($this->OutDialConnectWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->OutDialConnectWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->OutDialConnectWebhook->getConferenceId()); $this->assertIsString($this->OutDialConnectWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->OutDialConnectWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->OutDialConnectWebhook->getQueueId()); $this->assertIsString($this->OutDialConnectWebhook->getQueueId()); @@ -175,6 +182,7 @@ public function testPropertyQueueId() */ public function testPropertyParentCallId() { + $this->OutDialConnectWebhook->setParentCallId('TS'); $this->assertEquals('TS', $this->OutDialConnectWebhook->getParentCallId()); $this->assertIsString($this->OutDialConnectWebhook->getParentCallId()); diff --git a/test/Model/OutDialStartWebhookTest.php b/test/Model/OutDialStartWebhookTest.php index 45e29ff..b59589f 100644 --- a/test/Model/OutDialStartWebhookTest.php +++ b/test/Model/OutDialStartWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->OutDialStartWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->OutDialStartWebhook->getRequestType()); $this->assertIsString($this->OutDialStartWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyAccountId() { + $this->OutDialStartWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->OutDialStartWebhook->getAccountId()); $this->assertIsString($this->OutDialStartWebhook->getAccountId()); @@ -96,6 +98,7 @@ public function testPropertyAccountId() */ public function testPropertyCallId() { + $this->OutDialStartWebhook->setCallId('TS'); $this->assertEquals('TS', $this->OutDialStartWebhook->getCallId()); $this->assertIsString($this->OutDialStartWebhook->getCallId()); @@ -105,6 +108,7 @@ public function testPropertyCallId() */ public function testPropertyFrom() { + $this->OutDialStartWebhook->setFrom('TS'); $this->assertEquals('TS', $this->OutDialStartWebhook->getFrom()); $this->assertIsString($this->OutDialStartWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->OutDialStartWebhook->setTo('TS'); $this->assertEquals('TS', $this->OutDialStartWebhook->getTo()); $this->assertIsString($this->OutDialStartWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->OutDialStartWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->OutDialStartWebhook->getConferenceId()); $this->assertIsString($this->OutDialStartWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->OutDialStartWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->OutDialStartWebhook->getQueueId()); $this->assertIsString($this->OutDialStartWebhook->getQueueId()); @@ -175,6 +182,7 @@ public function testPropertyQueueId() */ public function testPropertyDialCallId() { + $this->OutDialStartWebhook->setDialCallId('TS'); $this->assertEquals('TS', $this->OutDialStartWebhook->getDialCallId()); $this->assertIsString($this->OutDialStartWebhook->getDialCallId()); @@ -184,6 +192,7 @@ public function testPropertyDialCallId() */ public function testPropertyParentCallId() { + $this->OutDialStartWebhook->setParentCallId('TS'); $this->assertEquals('TS', $this->OutDialStartWebhook->getParentCallId()); $this->assertIsString($this->OutDialStartWebhook->getParentCallId()); diff --git a/test/Model/OutDialTest.php b/test/Model/OutDialTest.php index 9f52de0..0bffa43 100644 --- a/test/Model/OutDialTest.php +++ b/test/Model/OutDialTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyActionUrl() { + $this->OutDial->setActionUrl('TS'); $this->assertEquals('TS', $this->OutDial->getActionUrl()); $this->assertIsString($this->OutDial->getActionUrl()); @@ -87,6 +88,7 @@ public function testPropertyActionUrl() */ public function testPropertyCallConnectUrl() { + $this->OutDial->setCallConnectUrl('TS'); $this->assertEquals('TS', $this->OutDial->getCallConnectUrl()); $this->assertIsString($this->OutDial->getCallConnectUrl()); @@ -96,6 +98,7 @@ public function testPropertyCallConnectUrl() */ public function testPropertyCallingNumber() { + $this->OutDial->setCallingNumber('TS'); $this->assertEquals('TS', $this->OutDial->getCallingNumber()); $this->assertIsString($this->OutDial->getCallingNumber()); @@ -105,6 +108,7 @@ public function testPropertyCallingNumber() */ public function testPropertyDestination() { + $this->OutDial->setDestination('TS'); $this->assertEquals('TS', $this->OutDial->getDestination()); $this->assertIsString($this->OutDial->getDestination()); @@ -124,6 +128,7 @@ public function testPropertyIfMachine() */ public function testPropertyIfMachineUrl() { + $this->OutDial->setIfMachineUrl('TS'); $this->assertEquals('TS', $this->OutDial->getIfMachineUrl()); $this->assertIsString($this->OutDial->getIfMachineUrl()); @@ -133,6 +138,7 @@ public function testPropertyIfMachineUrl() */ public function testPropertySendDigits() { + $this->OutDial->setSendDigits('TS'); $this->assertEquals('TS', $this->OutDial->getSendDigits()); $this->assertIsString($this->OutDial->getSendDigits()); @@ -142,6 +148,7 @@ public function testPropertySendDigits() */ public function testPropertyStatusCallbackUrl() { + $this->OutDial->setStatusCallbackUrl('TS'); $this->assertEquals('TS', $this->OutDial->getStatusCallbackUrl()); $this->assertIsString($this->OutDial->getStatusCallbackUrl()); diff --git a/test/Model/PaginationModelTest.php b/test/Model/PaginationModelTest.php index 9987073..6beec39 100644 --- a/test/Model/PaginationModelTest.php +++ b/test/Model/PaginationModelTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->PaginationModel->setNextPageUri('TS'); $this->assertEquals('TS', $this->PaginationModel->getNextPageUri()); $this->assertIsString($this->PaginationModel->getNextPageUri()); diff --git a/test/Model/ParkTest.php b/test/Model/ParkTest.php index a940b86..376095d 100644 --- a/test/Model/ParkTest.php +++ b/test/Model/ParkTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyWaitUrl() { + $this->Park->setWaitUrl('TS'); $this->assertEquals('TS', $this->Park->getWaitUrl()); $this->assertIsString($this->Park->getWaitUrl()); @@ -87,6 +88,7 @@ public function testPropertyWaitUrl() */ public function testPropertyActionUrl() { + $this->Park->setActionUrl('TS'); $this->assertEquals('TS', $this->Park->getActionUrl()); $this->assertIsString($this->Park->getActionUrl()); @@ -96,6 +98,7 @@ public function testPropertyActionUrl() */ public function testPropertyNotificationUrl() { + $this->Park->setNotificationUrl('TS'); $this->assertEquals('TS', $this->Park->getNotificationUrl()); $this->assertIsString($this->Park->getNotificationUrl()); diff --git a/test/Model/PerCLCommandTest.php b/test/Model/PerCLCommandTest.php index b0d8cda..c9962a7 100644 --- a/test/Model/PerCLCommandTest.php +++ b/test/Model/PerCLCommandTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyCommand() { + $this->PerclCommand->setCommand('TS'); $this->assertEquals('TS', $this->PerclCommand->getCommand()); $this->assertIsString($this->PerclCommand->getCommand()); diff --git a/test/Model/PlayEarlyMediaTest.php b/test/Model/PlayEarlyMediaTest.php index 7ebe0b4..2fdef9a 100644 --- a/test/Model/PlayEarlyMediaTest.php +++ b/test/Model/PlayEarlyMediaTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyFile() { + $this->PlayEarlyMedia->setFile('TS'); $this->assertEquals('TS', $this->PlayEarlyMedia->getFile()); $this->assertIsString($this->PlayEarlyMedia->getFile()); diff --git a/test/Model/PlayTest.php b/test/Model/PlayTest.php index 8d8de21..e8d5c66 100644 --- a/test/Model/PlayTest.php +++ b/test/Model/PlayTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyFile() { + $this->Play->setFile('TS'); $this->assertEquals('TS', $this->Play->getFile()); $this->assertIsString($this->Play->getFile()); diff --git a/test/Model/QueueListTest.php b/test/Model/QueueListTest.php index 2ebf00d..a575469 100644 --- a/test/Model/QueueListTest.php +++ b/test/Model/QueueListTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->QueueList->setNextPageUri('TS'); $this->assertEquals('TS', $this->QueueList->getNextPageUri()); $this->assertIsString($this->QueueList->getNextPageUri()); diff --git a/test/Model/QueueMemberListTest.php b/test/Model/QueueMemberListTest.php index e43abaa..714177b 100644 --- a/test/Model/QueueMemberListTest.php +++ b/test/Model/QueueMemberListTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->QueueMemberList->setNextPageUri('TS'); $this->assertEquals('TS', $this->QueueMemberList->getNextPageUri()); $this->assertIsString($this->QueueMemberList->getNextPageUri()); diff --git a/test/Model/QueueMemberTest.php b/test/Model/QueueMemberTest.php index 002875d..86c04dd 100644 --- a/test/Model/QueueMemberTest.php +++ b/test/Model/QueueMemberTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyUri() { + $this->QueueMember->setUri('TS'); $this->assertEquals('TS', $this->QueueMember->getUri()); $this->assertIsString($this->QueueMember->getUri()); @@ -87,6 +88,7 @@ public function testPropertyUri() */ public function testPropertyCallId() { + $this->QueueMember->setCallId('TS'); $this->assertEquals('TS', $this->QueueMember->getCallId()); $this->assertIsString($this->QueueMember->getCallId()); @@ -120,6 +122,7 @@ public function testPropertyPosition() */ public function testPropertyDateEnqueued() { + $this->QueueMember->setDateEnqueued('TS'); $this->assertEquals('TS', $this->QueueMember->getDateEnqueued()); $this->assertIsString($this->QueueMember->getDateEnqueued()); diff --git a/test/Model/QueueRequestTest.php b/test/Model/QueueRequestTest.php index 265e8ff..bc5bde3 100644 --- a/test/Model/QueueRequestTest.php +++ b/test/Model/QueueRequestTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyAlias() { + $this->QueueRequest->setAlias('TS'); $this->assertEquals('TS', $this->QueueRequest->getAlias()); $this->assertIsString($this->QueueRequest->getAlias()); diff --git a/test/Model/QueueResultTest.php b/test/Model/QueueResultTest.php index 8ce2831..58b104d 100644 --- a/test/Model/QueueResultTest.php +++ b/test/Model/QueueResultTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyUri() { + $this->QueueResult->setUri('TS'); $this->assertEquals('TS', $this->QueueResult->getUri()); $this->assertIsString($this->QueueResult->getUri()); @@ -87,6 +88,7 @@ public function testPropertyUri() */ public function testPropertyDateCreated() { + $this->QueueResult->setDateCreated('TS'); $this->assertEquals('TS', $this->QueueResult->getDateCreated()); $this->assertIsString($this->QueueResult->getDateCreated()); @@ -96,6 +98,7 @@ public function testPropertyDateCreated() */ public function testPropertyDateUpdated() { + $this->QueueResult->setDateUpdated('TS'); $this->assertEquals('TS', $this->QueueResult->getDateUpdated()); $this->assertIsString($this->QueueResult->getDateUpdated()); @@ -117,6 +120,7 @@ public function testPropertyRevision() */ public function testPropertyAccountId() { + $this->QueueResult->setAccountId('TS'); $this->assertEquals('TS', $this->QueueResult->getAccountId()); $this->assertIsString($this->QueueResult->getAccountId()); @@ -126,6 +130,7 @@ public function testPropertyAccountId() */ public function testPropertyQueueId() { + $this->QueueResult->setQueueId('TS'); $this->assertEquals('TS', $this->QueueResult->getQueueId()); $this->assertIsString($this->QueueResult->getQueueId()); @@ -135,6 +140,7 @@ public function testPropertyQueueId() */ public function testPropertyAlias() { + $this->QueueResult->setAlias('TS'); $this->assertEquals('TS', $this->QueueResult->getAlias()); $this->assertIsString($this->QueueResult->getAlias()); diff --git a/test/Model/QueueWaitWebhookTest.php b/test/Model/QueueWaitWebhookTest.php index a495525..2214d66 100644 --- a/test/Model/QueueWaitWebhookTest.php +++ b/test/Model/QueueWaitWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->QueueWaitWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->QueueWaitWebhook->getRequestType()); $this->assertIsString($this->QueueWaitWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyAccountId() { + $this->QueueWaitWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->QueueWaitWebhook->getAccountId()); $this->assertIsString($this->QueueWaitWebhook->getAccountId()); @@ -96,6 +98,7 @@ public function testPropertyAccountId() */ public function testPropertyCallId() { + $this->QueueWaitWebhook->setCallId('TS'); $this->assertEquals('TS', $this->QueueWaitWebhook->getCallId()); $this->assertIsString($this->QueueWaitWebhook->getCallId()); @@ -105,6 +108,7 @@ public function testPropertyCallId() */ public function testPropertyFrom() { + $this->QueueWaitWebhook->setFrom('TS'); $this->assertEquals('TS', $this->QueueWaitWebhook->getFrom()); $this->assertIsString($this->QueueWaitWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->QueueWaitWebhook->setTo('TS'); $this->assertEquals('TS', $this->QueueWaitWebhook->getTo()); $this->assertIsString($this->QueueWaitWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->QueueWaitWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->QueueWaitWebhook->getConferenceId()); $this->assertIsString($this->QueueWaitWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->QueueWaitWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->QueueWaitWebhook->getQueueId()); $this->assertIsString($this->QueueWaitWebhook->getQueueId()); @@ -175,6 +182,7 @@ public function testPropertyQueueId() */ public function testPropertyQueuePosition() { + $this->QueueWaitWebhook->setQueuePosition('TS'); $this->assertEquals('TS', $this->QueueWaitWebhook->getQueuePosition()); $this->assertIsString($this->QueueWaitWebhook->getQueuePosition()); diff --git a/test/Model/RecordUtteranceTest.php b/test/Model/RecordUtteranceTest.php index 95ca06d..ccdecab 100644 --- a/test/Model/RecordUtteranceTest.php +++ b/test/Model/RecordUtteranceTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyActionUrl() { + $this->RecordUtterance->setActionUrl('TS'); $this->assertEquals('TS', $this->RecordUtterance->getActionUrl()); $this->assertIsString($this->RecordUtterance->getActionUrl()); @@ -99,6 +100,7 @@ public function testPropertySilenceTimeoutMs() */ public function testPropertyFinishOnKey() { + $this->RecordUtterance->setFinishOnKey('TS'); $this->assertEquals('TS', $this->RecordUtterance->getFinishOnKey()); $this->assertIsString($this->RecordUtterance->getFinishOnKey()); diff --git a/test/Model/RecordWebhookTest.php b/test/Model/RecordWebhookTest.php index 141c372..2f606c9 100644 --- a/test/Model/RecordWebhookTest.php +++ b/test/Model/RecordWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->RecordWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->RecordWebhook->getRequestType()); $this->assertIsString($this->RecordWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyAccountId() { + $this->RecordWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->RecordWebhook->getAccountId()); $this->assertIsString($this->RecordWebhook->getAccountId()); @@ -96,6 +98,7 @@ public function testPropertyAccountId() */ public function testPropertyCallId() { + $this->RecordWebhook->setCallId('TS'); $this->assertEquals('TS', $this->RecordWebhook->getCallId()); $this->assertIsString($this->RecordWebhook->getCallId()); @@ -105,6 +108,7 @@ public function testPropertyCallId() */ public function testPropertyFrom() { + $this->RecordWebhook->setFrom('TS'); $this->assertEquals('TS', $this->RecordWebhook->getFrom()); $this->assertIsString($this->RecordWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->RecordWebhook->setTo('TS'); $this->assertEquals('TS', $this->RecordWebhook->getTo()); $this->assertIsString($this->RecordWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->RecordWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->RecordWebhook->getConferenceId()); $this->assertIsString($this->RecordWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->RecordWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->RecordWebhook->getQueueId()); $this->assertIsString($this->RecordWebhook->getQueueId()); @@ -175,6 +182,7 @@ public function testPropertyQueueId() */ public function testPropertyRecordingId() { + $this->RecordWebhook->setRecordingId('TS'); $this->assertEquals('TS', $this->RecordWebhook->getRecordingId()); $this->assertIsString($this->RecordWebhook->getRecordingId()); @@ -184,6 +192,7 @@ public function testPropertyRecordingId() */ public function testPropertyRecordingUrl() { + $this->RecordWebhook->setRecordingUrl('TS'); $this->assertEquals('TS', $this->RecordWebhook->getRecordingUrl()); $this->assertIsString($this->RecordWebhook->getRecordingUrl()); @@ -193,6 +202,7 @@ public function testPropertyRecordingUrl() */ public function testPropertyRecordingSize() { + $this->RecordWebhook->setRecordingSize('TS'); $this->assertEquals('TS', $this->RecordWebhook->getRecordingSize()); $this->assertIsString($this->RecordWebhook->getRecordingSize()); @@ -202,6 +212,7 @@ public function testPropertyRecordingSize() */ public function testPropertyRecordingFormat() { + $this->RecordWebhook->setRecordingFormat('TS'); $this->assertEquals('TS', $this->RecordWebhook->getRecordingFormat()); $this->assertIsString($this->RecordWebhook->getRecordingFormat()); @@ -237,6 +248,7 @@ public function testPropertyTermReason() */ public function testPropertyParentCallId() { + $this->RecordWebhook->setParentCallId('TS'); $this->assertEquals('TS', $this->RecordWebhook->getParentCallId()); $this->assertIsString($this->RecordWebhook->getParentCallId()); diff --git a/test/Model/RecordingListTest.php b/test/Model/RecordingListTest.php index d1f6458..abd43ed 100644 --- a/test/Model/RecordingListTest.php +++ b/test/Model/RecordingListTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->RecordingList->setNextPageUri('TS'); $this->assertEquals('TS', $this->RecordingList->getNextPageUri()); $this->assertIsString($this->RecordingList->getNextPageUri()); diff --git a/test/Model/RecordingResultTest.php b/test/Model/RecordingResultTest.php index 97def54..74b71e6 100644 --- a/test/Model/RecordingResultTest.php +++ b/test/Model/RecordingResultTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyUri() { + $this->RecordingResult->setUri('TS'); $this->assertEquals('TS', $this->RecordingResult->getUri()); $this->assertIsString($this->RecordingResult->getUri()); @@ -87,6 +88,7 @@ public function testPropertyUri() */ public function testPropertyDateCreated() { + $this->RecordingResult->setDateCreated('TS'); $this->assertEquals('TS', $this->RecordingResult->getDateCreated()); $this->assertIsString($this->RecordingResult->getDateCreated()); @@ -96,6 +98,7 @@ public function testPropertyDateCreated() */ public function testPropertyDateUpdated() { + $this->RecordingResult->setDateUpdated('TS'); $this->assertEquals('TS', $this->RecordingResult->getDateUpdated()); $this->assertIsString($this->RecordingResult->getDateUpdated()); @@ -117,6 +120,7 @@ public function testPropertyRevision() */ public function testPropertyRecordingId() { + $this->RecordingResult->setRecordingId('TS'); $this->assertEquals('TS', $this->RecordingResult->getRecordingId()); $this->assertIsString($this->RecordingResult->getRecordingId()); @@ -126,6 +130,7 @@ public function testPropertyRecordingId() */ public function testPropertyAccountId() { + $this->RecordingResult->setAccountId('TS'); $this->assertEquals('TS', $this->RecordingResult->getAccountId()); $this->assertIsString($this->RecordingResult->getAccountId()); @@ -135,6 +140,7 @@ public function testPropertyAccountId() */ public function testPropertyCallId() { + $this->RecordingResult->setCallId('TS'); $this->assertEquals('TS', $this->RecordingResult->getCallId()); $this->assertIsString($this->RecordingResult->getCallId()); @@ -156,6 +162,7 @@ public function testPropertyDurationSec() */ public function testPropertyConferenceId() { + $this->RecordingResult->setConferenceId('TS'); $this->assertEquals('TS', $this->RecordingResult->getConferenceId()); $this->assertIsString($this->RecordingResult->getConferenceId()); diff --git a/test/Model/RedirectTest.php b/test/Model/RedirectTest.php index a553159..624fe42 100644 --- a/test/Model/RedirectTest.php +++ b/test/Model/RedirectTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyActionUrl() { + $this->Redirect->setActionUrl('TS'); $this->assertEquals('TS', $this->Redirect->getActionUrl()); $this->assertIsString($this->Redirect->getActionUrl()); diff --git a/test/Model/RedirectWebhookTest.php b/test/Model/RedirectWebhookTest.php index 140812a..d86422f 100644 --- a/test/Model/RedirectWebhookTest.php +++ b/test/Model/RedirectWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->RedirectWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->RedirectWebhook->getRequestType()); $this->assertIsString($this->RedirectWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyAccountId() { + $this->RedirectWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->RedirectWebhook->getAccountId()); $this->assertIsString($this->RedirectWebhook->getAccountId()); @@ -96,6 +98,7 @@ public function testPropertyAccountId() */ public function testPropertyCallId() { + $this->RedirectWebhook->setCallId('TS'); $this->assertEquals('TS', $this->RedirectWebhook->getCallId()); $this->assertIsString($this->RedirectWebhook->getCallId()); @@ -105,6 +108,7 @@ public function testPropertyCallId() */ public function testPropertyFrom() { + $this->RedirectWebhook->setFrom('TS'); $this->assertEquals('TS', $this->RedirectWebhook->getFrom()); $this->assertIsString($this->RedirectWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->RedirectWebhook->setTo('TS'); $this->assertEquals('TS', $this->RedirectWebhook->getTo()); $this->assertIsString($this->RedirectWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->RedirectWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->RedirectWebhook->getConferenceId()); $this->assertIsString($this->RedirectWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->RedirectWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->RedirectWebhook->getQueueId()); $this->assertIsString($this->RedirectWebhook->getQueueId()); @@ -175,6 +182,7 @@ public function testPropertyQueueId() */ public function testPropertyParentCallId() { + $this->RedirectWebhook->setParentCallId('TS'); $this->assertEquals('TS', $this->RedirectWebhook->getParentCallId()); $this->assertIsString($this->RedirectWebhook->getParentCallId()); diff --git a/test/Model/RejectTest.php b/test/Model/RejectTest.php index d59351b..f636534 100644 --- a/test/Model/RejectTest.php +++ b/test/Model/RejectTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyReason() { + $this->Reject->setReason('TS'); $this->assertEquals('TS', $this->Reject->getReason()); $this->assertIsString($this->Reject->getReason()); diff --git a/test/Model/RemoveFromQueueNotificationWebhookTest.php b/test/Model/RemoveFromQueueNotificationWebhookTest.php index 36e100e..8b96005 100644 --- a/test/Model/RemoveFromQueueNotificationWebhookTest.php +++ b/test/Model/RemoveFromQueueNotificationWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->RemoveFromQueueNotificationWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getRequestType()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyAccountId() { + $this->RemoveFromQueueNotificationWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getAccountId()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getAccountId()); @@ -96,6 +98,7 @@ public function testPropertyAccountId() */ public function testPropertyCallId() { + $this->RemoveFromQueueNotificationWebhook->setCallId('TS'); $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getCallId()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getCallId()); @@ -105,6 +108,7 @@ public function testPropertyCallId() */ public function testPropertyFrom() { + $this->RemoveFromQueueNotificationWebhook->setFrom('TS'); $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getFrom()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->RemoveFromQueueNotificationWebhook->setTo('TS'); $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getTo()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getTo()); @@ -157,6 +162,7 @@ public function testPropertyDirection() */ public function testPropertyConferenceId() { + $this->RemoveFromQueueNotificationWebhook->setConferenceId('TS'); $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getConferenceId()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getConferenceId()); @@ -166,6 +172,7 @@ public function testPropertyConferenceId() */ public function testPropertyQueueId() { + $this->RemoveFromQueueNotificationWebhook->setQueueId('TS'); $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getQueueId()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getQueueId()); diff --git a/test/Model/SMSTenDLCBrandTest.php b/test/Model/SMSTenDLCBrandTest.php index 3f2a9b2..189f716 100644 --- a/test/Model/SMSTenDLCBrandTest.php +++ b/test/Model/SMSTenDLCBrandTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyAccountId() { + $this->SMSTenDLCBrand->setAccountId('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getAccountId()); $this->assertIsString($this->SMSTenDLCBrand->getAccountId()); @@ -103,6 +104,7 @@ public function testPropertyEntityType() */ public function testPropertyCspId() { + $this->SMSTenDLCBrand->setCspId('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getCspId()); $this->assertIsString($this->SMSTenDLCBrand->getCspId()); @@ -112,6 +114,7 @@ public function testPropertyCspId() */ public function testPropertyBrandId() { + $this->SMSTenDLCBrand->setBrandId('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getBrandId()); $this->assertIsString($this->SMSTenDLCBrand->getBrandId()); @@ -121,6 +124,7 @@ public function testPropertyBrandId() */ public function testPropertyFirstName() { + $this->SMSTenDLCBrand->setFirstName('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getFirstName()); $this->assertIsString($this->SMSTenDLCBrand->getFirstName()); @@ -130,6 +134,7 @@ public function testPropertyFirstName() */ public function testPropertyLastName() { + $this->SMSTenDLCBrand->setLastName('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getLastName()); $this->assertIsString($this->SMSTenDLCBrand->getLastName()); @@ -139,6 +144,7 @@ public function testPropertyLastName() */ public function testPropertyDisplayName() { + $this->SMSTenDLCBrand->setDisplayName('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getDisplayName()); $this->assertIsString($this->SMSTenDLCBrand->getDisplayName()); @@ -148,6 +154,7 @@ public function testPropertyDisplayName() */ public function testPropertyCompanyName() { + $this->SMSTenDLCBrand->setCompanyName('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getCompanyName()); $this->assertIsString($this->SMSTenDLCBrand->getCompanyName()); @@ -157,6 +164,7 @@ public function testPropertyCompanyName() */ public function testPropertyEin() { + $this->SMSTenDLCBrand->setEin('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getEin()); $this->assertIsString($this->SMSTenDLCBrand->getEin()); @@ -166,6 +174,7 @@ public function testPropertyEin() */ public function testPropertyEinIssuingCountry() { + $this->SMSTenDLCBrand->setEinIssuingCountry('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getEinIssuingCountry()); $this->assertIsString($this->SMSTenDLCBrand->getEinIssuingCountry()); @@ -175,6 +184,7 @@ public function testPropertyEinIssuingCountry() */ public function testPropertyPhone() { + $this->SMSTenDLCBrand->setPhone('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getPhone()); $this->assertIsString($this->SMSTenDLCBrand->getPhone()); @@ -184,6 +194,7 @@ public function testPropertyPhone() */ public function testPropertyStreet() { + $this->SMSTenDLCBrand->setStreet('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getStreet()); $this->assertIsString($this->SMSTenDLCBrand->getStreet()); @@ -193,6 +204,7 @@ public function testPropertyStreet() */ public function testPropertyCity() { + $this->SMSTenDLCBrand->setCity('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getCity()); $this->assertIsString($this->SMSTenDLCBrand->getCity()); @@ -202,6 +214,7 @@ public function testPropertyCity() */ public function testPropertyState() { + $this->SMSTenDLCBrand->setState('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getState()); $this->assertIsString($this->SMSTenDLCBrand->getState()); @@ -211,6 +224,7 @@ public function testPropertyState() */ public function testPropertyPostalCode() { + $this->SMSTenDLCBrand->setPostalCode('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getPostalCode()); $this->assertIsString($this->SMSTenDLCBrand->getPostalCode()); @@ -220,6 +234,7 @@ public function testPropertyPostalCode() */ public function testPropertyCountry() { + $this->SMSTenDLCBrand->setCountry('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getCountry()); $this->assertIsString($this->SMSTenDLCBrand->getCountry()); @@ -229,6 +244,7 @@ public function testPropertyCountry() */ public function testPropertyEmail() { + $this->SMSTenDLCBrand->setEmail('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getEmail()); $this->assertIsString($this->SMSTenDLCBrand->getEmail()); @@ -238,6 +254,7 @@ public function testPropertyEmail() */ public function testPropertyStockSymbol() { + $this->SMSTenDLCBrand->setStockSymbol('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getStockSymbol()); $this->assertIsString($this->SMSTenDLCBrand->getStockSymbol()); @@ -307,6 +324,7 @@ public function testPropertyStockExchange() */ public function testPropertyIpAddress() { + $this->SMSTenDLCBrand->setIpAddress('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getIpAddress()); $this->assertIsString($this->SMSTenDLCBrand->getIpAddress()); @@ -316,6 +334,7 @@ public function testPropertyIpAddress() */ public function testPropertyWebsite() { + $this->SMSTenDLCBrand->setWebsite('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getWebsite()); $this->assertIsString($this->SMSTenDLCBrand->getWebsite()); @@ -341,6 +360,7 @@ public function testPropertyBrandRelationship() */ public function testPropertyVertical() { + $this->SMSTenDLCBrand->setVertical('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getVertical()); $this->assertIsString($this->SMSTenDLCBrand->getVertical()); @@ -350,6 +370,7 @@ public function testPropertyVertical() */ public function testPropertyAltBusinessId() { + $this->SMSTenDLCBrand->setAltBusinessId('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getAltBusinessId()); $this->assertIsString($this->SMSTenDLCBrand->getAltBusinessId()); @@ -373,6 +394,7 @@ public function testPropertyAltBusinessIdType() */ public function testPropertyUniversalEin() { + $this->SMSTenDLCBrand->setUniversalEin('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getUniversalEin()); $this->assertIsString($this->SMSTenDLCBrand->getUniversalEin()); @@ -382,6 +404,7 @@ public function testPropertyUniversalEin() */ public function testPropertyReferenceId() { + $this->SMSTenDLCBrand->setReferenceId('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrand->getReferenceId()); $this->assertIsString($this->SMSTenDLCBrand->getReferenceId()); diff --git a/test/Model/SMSTenDLCBrandsListResultTest.php b/test/Model/SMSTenDLCBrandsListResultTest.php index 0b9575e..8e9ccab 100644 --- a/test/Model/SMSTenDLCBrandsListResultTest.php +++ b/test/Model/SMSTenDLCBrandsListResultTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->SMSTenDLCBrandsListResult->setNextPageUri('TS'); $this->assertEquals('TS', $this->SMSTenDLCBrandsListResult->getNextPageUri()); $this->assertIsString($this->SMSTenDLCBrandsListResult->getNextPageUri()); diff --git a/test/Model/SMSTenDLCCampaignTest.php b/test/Model/SMSTenDLCCampaignTest.php index d448e8f..e4a5260 100644 --- a/test/Model/SMSTenDLCCampaignTest.php +++ b/test/Model/SMSTenDLCCampaignTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyAccountId() { + $this->SMSTenDLCCampaign->setAccountId('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getAccountId()); $this->assertIsString($this->SMSTenDLCCampaign->getAccountId()); @@ -87,6 +88,7 @@ public function testPropertyAccountId() */ public function testPropertyCampaignId() { + $this->SMSTenDLCCampaign->setCampaignId('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getCampaignId()); $this->assertIsString($this->SMSTenDLCCampaign->getCampaignId()); @@ -96,6 +98,7 @@ public function testPropertyCampaignId() */ public function testPropertyCspId() { + $this->SMSTenDLCCampaign->setCspId('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getCspId()); $this->assertIsString($this->SMSTenDLCCampaign->getCspId()); @@ -105,6 +108,7 @@ public function testPropertyCspId() */ public function testPropertyResellerId() { + $this->SMSTenDLCCampaign->setResellerId('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getResellerId()); $this->assertIsString($this->SMSTenDLCCampaign->getResellerId()); @@ -149,6 +153,7 @@ public function testPropertyBilledDate() */ public function testPropertyBrandId() { + $this->SMSTenDLCCampaign->setBrandId('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getBrandId()); $this->assertIsString($this->SMSTenDLCCampaign->getBrandId()); @@ -158,6 +163,7 @@ public function testPropertyBrandId() */ public function testPropertyUsecase() { + $this->SMSTenDLCCampaign->setUsecase('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getUsecase()); $this->assertIsString($this->SMSTenDLCCampaign->getUsecase()); @@ -176,6 +182,7 @@ public function testPropertySubUsecases() */ public function testPropertyDescription() { + $this->SMSTenDLCCampaign->setDescription('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getDescription()); $this->assertIsString($this->SMSTenDLCCampaign->getDescription()); @@ -266,6 +273,7 @@ public function testPropertySubscriberHelp() */ public function testPropertySample1() { + $this->SMSTenDLCCampaign->setSample1('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getSample1()); $this->assertIsString($this->SMSTenDLCCampaign->getSample1()); @@ -275,6 +283,7 @@ public function testPropertySample1() */ public function testPropertySample2() { + $this->SMSTenDLCCampaign->setSample2('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getSample2()); $this->assertIsString($this->SMSTenDLCCampaign->getSample2()); @@ -284,6 +293,7 @@ public function testPropertySample2() */ public function testPropertySample3() { + $this->SMSTenDLCCampaign->setSample3('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getSample3()); $this->assertIsString($this->SMSTenDLCCampaign->getSample3()); @@ -293,6 +303,7 @@ public function testPropertySample3() */ public function testPropertySample4() { + $this->SMSTenDLCCampaign->setSample4('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getSample4()); $this->assertIsString($this->SMSTenDLCCampaign->getSample4()); @@ -302,6 +313,7 @@ public function testPropertySample4() */ public function testPropertySample5() { + $this->SMSTenDLCCampaign->setSample5('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getSample5()); $this->assertIsString($this->SMSTenDLCCampaign->getSample5()); @@ -311,6 +323,7 @@ public function testPropertySample5() */ public function testPropertyMessageFlow() { + $this->SMSTenDLCCampaign->setMessageFlow('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getMessageFlow()); $this->assertIsString($this->SMSTenDLCCampaign->getMessageFlow()); @@ -320,6 +333,7 @@ public function testPropertyMessageFlow() */ public function testPropertyHelpMessage() { + $this->SMSTenDLCCampaign->setHelpMessage('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getHelpMessage()); $this->assertIsString($this->SMSTenDLCCampaign->getHelpMessage()); @@ -329,6 +343,7 @@ public function testPropertyHelpMessage() */ public function testPropertyOptinKeywords() { + $this->SMSTenDLCCampaign->setOptinKeywords('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getOptinKeywords()); $this->assertIsString($this->SMSTenDLCCampaign->getOptinKeywords()); @@ -338,6 +353,7 @@ public function testPropertyOptinKeywords() */ public function testPropertyOptoutKeywords() { + $this->SMSTenDLCCampaign->setOptoutKeywords('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getOptoutKeywords()); $this->assertIsString($this->SMSTenDLCCampaign->getOptoutKeywords()); @@ -347,6 +363,7 @@ public function testPropertyOptoutKeywords() */ public function testPropertyHelpKeywords() { + $this->SMSTenDLCCampaign->setHelpKeywords('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getHelpKeywords()); $this->assertIsString($this->SMSTenDLCCampaign->getHelpKeywords()); @@ -356,6 +373,7 @@ public function testPropertyHelpKeywords() */ public function testPropertyOptinMessage() { + $this->SMSTenDLCCampaign->setOptinMessage('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getOptinMessage()); $this->assertIsString($this->SMSTenDLCCampaign->getOptinMessage()); @@ -365,6 +383,7 @@ public function testPropertyOptinMessage() */ public function testPropertyOptoutMessage() { + $this->SMSTenDLCCampaign->setOptoutMessage('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getOptoutMessage()); $this->assertIsString($this->SMSTenDLCCampaign->getOptoutMessage()); @@ -374,6 +393,7 @@ public function testPropertyOptoutMessage() */ public function testPropertyReferenceId() { + $this->SMSTenDLCCampaign->setReferenceId('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaign->getReferenceId()); $this->assertIsString($this->SMSTenDLCCampaign->getReferenceId()); diff --git a/test/Model/SMSTenDLCCampaignsListResultTest.php b/test/Model/SMSTenDLCCampaignsListResultTest.php index 02b8183..b01ebb4 100644 --- a/test/Model/SMSTenDLCCampaignsListResultTest.php +++ b/test/Model/SMSTenDLCCampaignsListResultTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->SMSTenDLCCampaignsListResult->setNextPageUri('TS'); $this->assertEquals('TS', $this->SMSTenDLCCampaignsListResult->getNextPageUri()); $this->assertIsString($this->SMSTenDLCCampaignsListResult->getNextPageUri()); diff --git a/test/Model/SMSTenDLCPartnerCampaignBrandTest.php b/test/Model/SMSTenDLCPartnerCampaignBrandTest.php index f858f25..a6bbd98 100644 --- a/test/Model/SMSTenDLCPartnerCampaignBrandTest.php +++ b/test/Model/SMSTenDLCPartnerCampaignBrandTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyAccountId() { + $this->SMSTenDLCPartnerCampaignBrand->setAccountId('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getAccountId()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getAccountId()); @@ -87,6 +88,7 @@ public function testPropertyAccountId() */ public function testPropertyBrandId() { + $this->SMSTenDLCPartnerCampaignBrand->setBrandId('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getBrandId()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getBrandId()); @@ -96,6 +98,7 @@ public function testPropertyBrandId() */ public function testPropertyFirstName() { + $this->SMSTenDLCPartnerCampaignBrand->setFirstName('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getFirstName()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getFirstName()); @@ -105,6 +108,7 @@ public function testPropertyFirstName() */ public function testPropertyLastName() { + $this->SMSTenDLCPartnerCampaignBrand->setLastName('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getLastName()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getLastName()); @@ -114,6 +118,7 @@ public function testPropertyLastName() */ public function testPropertyDisplayName() { + $this->SMSTenDLCPartnerCampaignBrand->setDisplayName('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getDisplayName()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getDisplayName()); @@ -123,6 +128,7 @@ public function testPropertyDisplayName() */ public function testPropertyCompanyName() { + $this->SMSTenDLCPartnerCampaignBrand->setCompanyName('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getCompanyName()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getCompanyName()); @@ -132,6 +138,7 @@ public function testPropertyCompanyName() */ public function testPropertyPhone() { + $this->SMSTenDLCPartnerCampaignBrand->setPhone('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getPhone()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getPhone()); @@ -141,6 +148,7 @@ public function testPropertyPhone() */ public function testPropertyEmail() { + $this->SMSTenDLCPartnerCampaignBrand->setEmail('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getEmail()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getEmail()); @@ -150,6 +158,7 @@ public function testPropertyEmail() */ public function testPropertyWebsite() { + $this->SMSTenDLCPartnerCampaignBrand->setWebsite('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getWebsite()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getWebsite()); diff --git a/test/Model/SMSTenDLCPartnerCampaignTest.php b/test/Model/SMSTenDLCPartnerCampaignTest.php index fe804c4..6a92c6a 100644 --- a/test/Model/SMSTenDLCPartnerCampaignTest.php +++ b/test/Model/SMSTenDLCPartnerCampaignTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyAccountId() { + $this->SMSTenDLCPartnerCampaign->setAccountId('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getAccountId()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getAccountId()); @@ -87,6 +88,7 @@ public function testPropertyAccountId() */ public function testPropertyCampaignId() { + $this->SMSTenDLCPartnerCampaign->setCampaignId('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getCampaignId()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getCampaignId()); @@ -114,6 +116,7 @@ public function testPropertyCreateDate() */ public function testPropertyBrandId() { + $this->SMSTenDLCPartnerCampaign->setBrandId('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getBrandId()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getBrandId()); @@ -123,6 +126,7 @@ public function testPropertyBrandId() */ public function testPropertyUsecase() { + $this->SMSTenDLCPartnerCampaign->setUsecase('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getUsecase()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getUsecase()); @@ -132,6 +136,7 @@ public function testPropertyUsecase() */ public function testPropertyDescription() { + $this->SMSTenDLCPartnerCampaign->setDescription('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getDescription()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getDescription()); @@ -222,6 +227,7 @@ public function testPropertySubscriberHelp() */ public function testPropertySample1() { + $this->SMSTenDLCPartnerCampaign->setSample1('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getSample1()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getSample1()); @@ -231,6 +237,7 @@ public function testPropertySample1() */ public function testPropertySample2() { + $this->SMSTenDLCPartnerCampaign->setSample2('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getSample2()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getSample2()); @@ -240,6 +247,7 @@ public function testPropertySample2() */ public function testPropertySample3() { + $this->SMSTenDLCPartnerCampaign->setSample3('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getSample3()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getSample3()); @@ -249,6 +257,7 @@ public function testPropertySample3() */ public function testPropertySample4() { + $this->SMSTenDLCPartnerCampaign->setSample4('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getSample4()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getSample4()); @@ -258,6 +267,7 @@ public function testPropertySample4() */ public function testPropertySample5() { + $this->SMSTenDLCPartnerCampaign->setSample5('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getSample5()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getSample5()); @@ -267,6 +277,7 @@ public function testPropertySample5() */ public function testPropertyMessageFlow() { + $this->SMSTenDLCPartnerCampaign->setMessageFlow('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getMessageFlow()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getMessageFlow()); @@ -276,6 +287,7 @@ public function testPropertyMessageFlow() */ public function testPropertyHelpMessage() { + $this->SMSTenDLCPartnerCampaign->setHelpMessage('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getHelpMessage()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getHelpMessage()); @@ -285,6 +297,7 @@ public function testPropertyHelpMessage() */ public function testPropertyOptinKeywords() { + $this->SMSTenDLCPartnerCampaign->setOptinKeywords('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getOptinKeywords()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getOptinKeywords()); @@ -294,6 +307,7 @@ public function testPropertyOptinKeywords() */ public function testPropertyOptoutKeywords() { + $this->SMSTenDLCPartnerCampaign->setOptoutKeywords('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getOptoutKeywords()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getOptoutKeywords()); @@ -303,6 +317,7 @@ public function testPropertyOptoutKeywords() */ public function testPropertyHelpKeywords() { + $this->SMSTenDLCPartnerCampaign->setHelpKeywords('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getHelpKeywords()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getHelpKeywords()); @@ -312,6 +327,7 @@ public function testPropertyHelpKeywords() */ public function testPropertyOptinMessage() { + $this->SMSTenDLCPartnerCampaign->setOptinMessage('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getOptinMessage()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getOptinMessage()); @@ -321,6 +337,7 @@ public function testPropertyOptinMessage() */ public function testPropertyOptoutMessage() { + $this->SMSTenDLCPartnerCampaign->setOptoutMessage('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getOptoutMessage()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getOptoutMessage()); diff --git a/test/Model/SMSTenDLCPartnerCampaignsListResultTest.php b/test/Model/SMSTenDLCPartnerCampaignsListResultTest.php index 85f3271..2ed5582 100644 --- a/test/Model/SMSTenDLCPartnerCampaignsListResultTest.php +++ b/test/Model/SMSTenDLCPartnerCampaignsListResultTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->SMSTenDLCPartnerCampaignsListResult->setNextPageUri('TS'); $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignsListResult->getNextPageUri()); $this->assertIsString($this->SMSTenDLCPartnerCampaignsListResult->getNextPageUri()); diff --git a/test/Model/SMSTollFreeCampaignTest.php b/test/Model/SMSTollFreeCampaignTest.php index b979dc9..8811fad 100644 --- a/test/Model/SMSTollFreeCampaignTest.php +++ b/test/Model/SMSTollFreeCampaignTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyAccountId() { + $this->SMSTollFreeCampaign->setAccountId('TS'); $this->assertEquals('TS', $this->SMSTollFreeCampaign->getAccountId()); $this->assertIsString($this->SMSTollFreeCampaign->getAccountId()); @@ -87,6 +88,7 @@ public function testPropertyAccountId() */ public function testPropertyCampaignId() { + $this->SMSTollFreeCampaign->setCampaignId('TS'); $this->assertEquals('TS', $this->SMSTollFreeCampaign->getCampaignId()); $this->assertIsString($this->SMSTollFreeCampaign->getCampaignId()); @@ -96,6 +98,7 @@ public function testPropertyCampaignId() */ public function testPropertyUseCase() { + $this->SMSTollFreeCampaign->setUseCase('TS'); $this->assertEquals('TS', $this->SMSTollFreeCampaign->getUseCase()); $this->assertIsString($this->SMSTollFreeCampaign->getUseCase()); @@ -121,6 +124,7 @@ public function testPropertyRegistrationStatus() */ public function testPropertyDateCreated() { + $this->SMSTollFreeCampaign->setDateCreated('TS'); $this->assertEquals('TS', $this->SMSTollFreeCampaign->getDateCreated()); $this->assertIsString($this->SMSTollFreeCampaign->getDateCreated()); @@ -130,6 +134,7 @@ public function testPropertyDateCreated() */ public function testPropertyDateUpdated() { + $this->SMSTollFreeCampaign->setDateUpdated('TS'); $this->assertEquals('TS', $this->SMSTollFreeCampaign->getDateUpdated()); $this->assertIsString($this->SMSTollFreeCampaign->getDateUpdated()); diff --git a/test/Model/SMSTollFreeCampaignsListResultTest.php b/test/Model/SMSTollFreeCampaignsListResultTest.php index 7603ef3..eebecb9 100644 --- a/test/Model/SMSTollFreeCampaignsListResultTest.php +++ b/test/Model/SMSTollFreeCampaignsListResultTest.php @@ -150,6 +150,7 @@ public function testPropertyPageSize() */ public function testPropertyNextPageUri() { + $this->SMSTollFreeCampaignsListResult->setNextPageUri('TS'); $this->assertEquals('TS', $this->SMSTollFreeCampaignsListResult->getNextPageUri()); $this->assertIsString($this->SMSTollFreeCampaignsListResult->getNextPageUri()); diff --git a/test/Model/SayTest.php b/test/Model/SayTest.php index 7fb014f..c1552d5 100644 --- a/test/Model/SayTest.php +++ b/test/Model/SayTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyText() { + $this->Say->setText('TS'); $this->assertEquals('TS', $this->Say->getText()); $this->assertIsString($this->Say->getText()); @@ -87,6 +88,7 @@ public function testPropertyText() */ public function testPropertyLanguage() { + $this->Say->setLanguage('TS'); $this->assertEquals('TS', $this->Say->getLanguage()); $this->assertIsString($this->Say->getLanguage()); diff --git a/test/Model/SendDigitsTest.php b/test/Model/SendDigitsTest.php index 6494a38..08f073d 100644 --- a/test/Model/SendDigitsTest.php +++ b/test/Model/SendDigitsTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyDigits() { + $this->SendDigits->setDigits('TS'); $this->assertEquals('TS', $this->SendDigits->getDigits()); $this->assertIsString($this->SendDigits->getDigits()); diff --git a/test/Model/SmsTest.php b/test/Model/SmsTest.php index fab7980..30ce36c 100644 --- a/test/Model/SmsTest.php +++ b/test/Model/SmsTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyTo() { + $this->Sms->setTo('TS'); $this->assertEquals('TS', $this->Sms->getTo()); $this->assertIsString($this->Sms->getTo()); @@ -87,6 +88,7 @@ public function testPropertyTo() */ public function testPropertyFrom() { + $this->Sms->setFrom('TS'); $this->assertEquals('TS', $this->Sms->getFrom()); $this->assertIsString($this->Sms->getFrom()); @@ -96,6 +98,7 @@ public function testPropertyFrom() */ public function testPropertyText() { + $this->Sms->setText('TS'); $this->assertEquals('TS', $this->Sms->getText()); $this->assertIsString($this->Sms->getText()); @@ -105,6 +108,7 @@ public function testPropertyText() */ public function testPropertyNotificationUrl() { + $this->Sms->setNotificationUrl('TS'); $this->assertEquals('TS', $this->Sms->getNotificationUrl()); $this->assertIsString($this->Sms->getNotificationUrl()); diff --git a/test/Model/TFNCampaignTest.php b/test/Model/TFNCampaignTest.php new file mode 100644 index 0000000..c722969 --- /dev/null +++ b/test/Model/TFNCampaignTest.php @@ -0,0 +1,175 @@ +TFNCampaign = new \FreeClimb\Api\Model\TFNCampaign(); + } + + /** + * Clean up after running each test case + */ + public function tearDown(): void + { + } + + /** + * Clean up after running all test cases + */ + public static function tearDownAfterClass(): void + { + } + + /** + * Test attribute "account_id" + */ + public function testPropertyAccountId() + { + + $this->TFNCampaign->setAccountId('TS'); + $this->assertEquals('TS', $this->TFNCampaign->getAccountId()); + $this->assertIsString($this->TFNCampaign->getAccountId()); + } + /** + * Test attribute "campaign_id" + */ + public function testPropertyCampaignId() + { + + $this->TFNCampaign->setCampaignId('cmptfn_387ec3f6e03b340553f35f29c8f118cdf3eae08a'); + $this->assertEquals('cmptfn_387ec3f6e03b340553f35f29c8f118cdf3eae08a', $this->TFNCampaign->getCampaignId()); + $this->assertIsString($this->TFNCampaign->getCampaignId()); + + } + /** + * Test attribute "use_case" + */ + public function testPropertyUseCase() + { + + $this->TFNCampaign->setUseCase('TS'); + $this->assertEquals('TS', $this->TFNCampaign->getUseCase()); + $this->assertIsString($this->TFNCampaign->getUseCase()); + } + /** + * Test attribute "registration_status" + */ + public function testPropertyRegistrationStatus() + { + $this->TFNCampaign->setregistrationStatus(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::UNREGISTERED); + $this->assertEquals(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::UNREGISTERED, $this->TFNCampaign->getregistrationStatus()); + $this->TFNCampaign->setregistrationStatus(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::INITIATED); + $this->assertEquals(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::INITIATED, $this->TFNCampaign->getregistrationStatus()); + $this->TFNCampaign->setregistrationStatus(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::PENDING); + $this->assertEquals(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::PENDING, $this->TFNCampaign->getregistrationStatus()); + $this->TFNCampaign->setregistrationStatus(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::DECLINED); + $this->assertEquals(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::DECLINED, $this->TFNCampaign->getregistrationStatus()); + $this->TFNCampaign->setregistrationStatus(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::REGISTERED); + $this->assertEquals(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::REGISTERED, $this->TFNCampaign->getregistrationStatus()); + } + /** + * Test attribute "date_created" + */ + public function testPropertyDateCreated() + { + + $this->TFNCampaign->setDateCreated('TS'); + $this->assertEquals('TS', $this->TFNCampaign->getDateCreated()); + $this->assertIsString($this->TFNCampaign->getDateCreated()); + } + /** + * Test attribute "date_updated" + */ + public function testPropertyDateUpdated() + { + + $this->TFNCampaign->setDateUpdated('TS'); + $this->assertEquals('TS', $this->TFNCampaign->getDateUpdated()); + $this->assertIsString($this->TFNCampaign->getDateUpdated()); + } + /** + * Test attribute "date_created_iso" + */ + public function testPropertyDateCreatedIso() + { + + $this->TFNCampaign->setDateCreatedIso('TS'); + $this->assertEquals('TS', $this->TFNCampaign->getDateCreatedIso()); + $this->assertIsString($this->TFNCampaign->getDateCreatedIso()); + } + /** + * Test attribute "date_updated_iso" + */ + public function testPropertyDateUpdatedIso() + { + + $this->TFNCampaign->setDateUpdatedIso('TS'); + $this->assertEquals('TS', $this->TFNCampaign->getDateUpdatedIso()); + $this->assertIsString($this->TFNCampaign->getDateUpdatedIso()); + } + /** + * Test attribute "revision" + */ + public function testPropertyRevision() + { + + + $this->TFNCampaign->setrevision(1); + $this->assertEquals(1, $this->TFNCampaign->getrevision()); + $this->assertIsNumeric($this->TFNCampaign->getrevision()); + + } +} diff --git a/test/Model/TFNTest.php b/test/Model/TFNTest.php index 04f6304..f36e164 100644 --- a/test/Model/TFNTest.php +++ b/test/Model/TFNTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyCampaignId() { + $this->TFN->setCampaignId('TS'); $this->assertEquals('TS', $this->TFN->getCampaignId()); $this->assertIsString($this->TFN->getCampaignId()); diff --git a/test/Model/TranscribeUtteranceTest.php b/test/Model/TranscribeUtteranceTest.php index 3fa1689..2443580 100644 --- a/test/Model/TranscribeUtteranceTest.php +++ b/test/Model/TranscribeUtteranceTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyActionUrl() { + $this->TranscribeUtterance->setActionUrl('TS'); $this->assertEquals('TS', $this->TranscribeUtterance->getActionUrl()); $this->assertIsString($this->TranscribeUtterance->getActionUrl()); diff --git a/test/Model/TranscribeWebhookTest.php b/test/Model/TranscribeWebhookTest.php index a638d3e..feda54a 100644 --- a/test/Model/TranscribeWebhookTest.php +++ b/test/Model/TranscribeWebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->TranscribeWebhook->setRequestType('TS'); $this->assertEquals('TS', $this->TranscribeWebhook->getRequestType()); $this->assertIsString($this->TranscribeWebhook->getRequestType()); @@ -87,6 +88,7 @@ public function testPropertyRequestType() */ public function testPropertyAccountId() { + $this->TranscribeWebhook->setAccountId('TS'); $this->assertEquals('TS', $this->TranscribeWebhook->getAccountId()); $this->assertIsString($this->TranscribeWebhook->getAccountId()); @@ -96,6 +98,7 @@ public function testPropertyAccountId() */ public function testPropertyCallId() { + $this->TranscribeWebhook->setCallId('TS'); $this->assertEquals('TS', $this->TranscribeWebhook->getCallId()); $this->assertIsString($this->TranscribeWebhook->getCallId()); @@ -105,6 +108,7 @@ public function testPropertyCallId() */ public function testPropertyFrom() { + $this->TranscribeWebhook->setFrom('TS'); $this->assertEquals('TS', $this->TranscribeWebhook->getFrom()); $this->assertIsString($this->TranscribeWebhook->getFrom()); @@ -114,6 +118,7 @@ public function testPropertyFrom() */ public function testPropertyTo() { + $this->TranscribeWebhook->setTo('TS'); $this->assertEquals('TS', $this->TranscribeWebhook->getTo()); $this->assertIsString($this->TranscribeWebhook->getTo()); @@ -123,6 +128,7 @@ public function testPropertyTo() */ public function testPropertyRecordingId() { + $this->TranscribeWebhook->setRecordingId('TS'); $this->assertEquals('TS', $this->TranscribeWebhook->getRecordingId()); $this->assertIsString($this->TranscribeWebhook->getRecordingId()); @@ -132,6 +138,7 @@ public function testPropertyRecordingId() */ public function testPropertyRecordingUrl() { + $this->TranscribeWebhook->setRecordingUrl('TS'); $this->assertEquals('TS', $this->TranscribeWebhook->getRecordingUrl()); $this->assertIsString($this->TranscribeWebhook->getRecordingUrl()); @@ -153,6 +160,7 @@ public function testPropertyRecordingSize() */ public function testPropertyRecordingFormat() { + $this->TranscribeWebhook->setRecordingFormat('TS'); $this->assertEquals('TS', $this->TranscribeWebhook->getRecordingFormat()); $this->assertIsString($this->TranscribeWebhook->getRecordingFormat()); @@ -198,6 +206,7 @@ public function testPropertyRecordTermReason() */ public function testPropertyDigit() { + $this->TranscribeWebhook->setDigit('TS'); $this->assertEquals('TS', $this->TranscribeWebhook->getDigit()); $this->assertIsString($this->TranscribeWebhook->getDigit()); @@ -285,6 +294,7 @@ public function testPropertyBargeInTimeMs() */ public function testPropertyTranscript() { + $this->TranscribeWebhook->setTranscript('TS'); $this->assertEquals('TS', $this->TranscribeWebhook->getTranscript()); $this->assertIsString($this->TranscribeWebhook->getTranscript()); diff --git a/test/Model/UpdateConferenceRequestTest.php b/test/Model/UpdateConferenceRequestTest.php index 37b6239..3903054 100644 --- a/test/Model/UpdateConferenceRequestTest.php +++ b/test/Model/UpdateConferenceRequestTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyAlias() { + $this->UpdateConferenceRequest->setAlias('TS'); $this->assertEquals('TS', $this->UpdateConferenceRequest->getAlias()); $this->assertIsString($this->UpdateConferenceRequest->getAlias()); diff --git a/test/Model/WebhookTest.php b/test/Model/WebhookTest.php index 7c5e829..c1e4934 100644 --- a/test/Model/WebhookTest.php +++ b/test/Model/WebhookTest.php @@ -78,6 +78,7 @@ public static function tearDownAfterClass(): void */ public function testPropertyRequestType() { + $this->Webhook->setRequestType('TS'); $this->assertEquals('TS', $this->Webhook->getRequestType()); $this->assertIsString($this->Webhook->getRequestType()); From 553cb3ddc0e958c41db66ee2c7ce667a692f4872 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Fri, 31 Jan 2025 15:51:03 -0500 Subject: [PATCH 2/5] Fix spec for TFN property in MessageResult --- .openapi-generator/FILES | 3 - README.md | 1 - composer.lock | 14 +- docs/Model/MessageResult.md | 2 +- docs/Model/MessageResultAllOfTfn.md | 9 - lib/Model/MessageResult.php | 17 +- lib/Model/MessageResultAllOfTfn.php | 424 ----------------------- openapi.json | 78 ++--- test/Model/MessageResultAllOfTfnTest.php | 87 ----- 9 files changed, 43 insertions(+), 592 deletions(-) delete mode 100644 docs/Model/MessageResultAllOfTfn.md delete mode 100644 lib/Model/MessageResultAllOfTfn.php delete mode 100644 test/Model/MessageResultAllOfTfnTest.php diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index ea11071..af1168c 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -71,7 +71,6 @@ docs/Model/MessageDeliveryWebhook.md docs/Model/MessageDirection.md docs/Model/MessageRequest.md docs/Model/MessageResult.md -docs/Model/MessageResultAllOfTfn.md docs/Model/MessageStatus.md docs/Model/MessageStatusWebhook.md docs/Model/MessagesList.md @@ -217,7 +216,6 @@ lib/Model/MessageDeliveryWebhook.php lib/Model/MessageDirection.php lib/Model/MessageRequest.php lib/Model/MessageResult.php -lib/Model/MessageResultAllOfTfn.php lib/Model/MessageStatus.php lib/Model/MessageStatusWebhook.php lib/Model/MessagesList.php @@ -361,7 +359,6 @@ test/Model/MakeCallRequestTest.php test/Model/MessageDeliveryWebhookTest.php test/Model/MessageDirectionTest.php test/Model/MessageRequestTest.php -test/Model/MessageResultAllOfTfnTest.php test/Model/MessageResultTest.php test/Model/MessageStatusTest.php test/Model/MessageStatusWebhookTest.php diff --git a/README.md b/README.md index 7249d13..17db7e5 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,6 @@ Class | Method | HTTP request | Description - [MessageDirection](docs/Model/MessageDirection.md) - [MessageRequest](docs/Model/MessageRequest.md) - [MessageResult](docs/Model/MessageResult.md) -- [MessageResultAllOfTfn](docs/Model/MessageResultAllOfTfn.md) - [MessageStatus](docs/Model/MessageStatus.md) - [MessageStatusWebhook](docs/Model/MessageStatusWebhook.md) - [MessagesList](docs/Model/MessagesList.md) diff --git a/composer.lock b/composer.lock index 53970eb..3ffbc9a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fe7401d33dc77571512b767ecfc5a306", + "content-hash": "42c8db86b3e75f25c2501f9501681d0c", "packages": [ { "name": "guzzlehttp/guzzle", @@ -1074,16 +1074,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v3.66.2", + "version": "v3.68.5", "source": { "type": "git", "url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git", - "reference": "25addd3cb10e54cfd20b84d9c083c6625cd52218" + "reference": "7bedb718b633355272428c60736dc97fb96daf27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/25addd3cb10e54cfd20b84d9c083c6625cd52218", - "reference": "25addd3cb10e54cfd20b84d9c083c6625cd52218", + "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/7bedb718b633355272428c60736dc97fb96daf27", + "reference": "7bedb718b633355272428c60736dc97fb96daf27", "shasum": "" }, "require": { @@ -1165,7 +1165,7 @@ ], "support": { "issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues", - "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.66.2" + "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.68.5" }, "funding": [ { @@ -1173,7 +1173,7 @@ "type": "github" } ], - "time": "2025-01-07T09:21:51+00:00" + "time": "2025-01-30T17:00:50+00:00" }, { "name": "myclabs/deep-copy", diff --git a/docs/Model/MessageResult.md b/docs/Model/MessageResult.md index a7bdc3f..02458bf 100644 --- a/docs/Model/MessageResult.md +++ b/docs/Model/MessageResult.md @@ -20,7 +20,7 @@ Name | Type | Description | Notes **campaign_id** | **string** | The unique identifier for the campaign associated with the message | [optional] **segment_count** | **float** | The number of segments into which the message was split | [optional] **media_urls** | **string[]** | an array of HTTP URLs which were attached this this message | [optional] -**tfn** | [**\FreeClimb\Api\Model\MessageResultAllOfTfn**](MessageResultAllOfTfn.md) | | [optional] +**tfn** | [**\FreeClimb\Api\Model\TFN**](TFN.md) | | [optional] **phone_number_id** | **string** | String that uniquely identifies the phoneNumber resource used to send this Message | [optional] **application_id** | **string** | String that uniquely identifies the Application resource used to send this Message | [optional] diff --git a/docs/Model/MessageResultAllOfTfn.md b/docs/Model/MessageResultAllOfTfn.md deleted file mode 100644 index fa5894f..0000000 --- a/docs/Model/MessageResultAllOfTfn.md +++ /dev/null @@ -1,9 +0,0 @@ -# # MessageResultAllOfTfn - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**campaign_id** | **string** | TFNCampaignId | - -[[Back to Model list]](../../README.md#models) [[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md) diff --git a/lib/Model/MessageResult.php b/lib/Model/MessageResult.php index 3c34588..4c94fa4 100644 --- a/lib/Model/MessageResult.php +++ b/lib/Model/MessageResult.php @@ -75,7 +75,7 @@ class MessageResult implements ModelInterface, ArrayAccess, \JsonSerializable 'campaign_id' => 'string', 'segment_count' => 'float', 'media_urls' => 'string[]', - 'tfn' => '\FreeClimb\Api\Model\MessageResultAllOfTfn', + 'tfn' => '\FreeClimb\Api\Model\TFN', 'phone_number_id' => 'string', 'application_id' => 'string' ]; @@ -131,7 +131,7 @@ class MessageResult implements ModelInterface, ArrayAccess, \JsonSerializable 'campaign_id' => true, 'segment_count' => true, 'media_urls' => true, - 'tfn' => true, + 'tfn' => false, 'phone_number_id' => true, 'application_id' => true ]; @@ -936,7 +936,7 @@ public function setMediaUrls($media_urls) /** * Gets tfn * - * @return \FreeClimb\Api\Model\MessageResultAllOfTfn|null + * @return \FreeClimb\Api\Model\TFN|null */ public function getTfn() { @@ -946,21 +946,14 @@ public function getTfn() /** * Sets tfn * - * @param \FreeClimb\Api\Model\MessageResultAllOfTfn|null $tfn tfn + * @param \FreeClimb\Api\Model\TFN|null $tfn tfn * * @return self */ public function setTfn($tfn) { if (is_null($tfn)) { - array_push($this->openAPINullablesSetToNull, 'tfn'); - } else { - $nullablesSetToNull = $this->getOpenAPINullablesSetToNull(); - $index = array_search('tfn', $nullablesSetToNull, true); - if ($index !== false) { - unset($nullablesSetToNull[$index]); - $this->setOpenAPINullablesSetToNull($nullablesSetToNull); - } + throw new \InvalidArgumentException('non-nullable tfn cannot be null'); } $this->container['tfn'] = $tfn; diff --git a/lib/Model/MessageResultAllOfTfn.php b/lib/Model/MessageResultAllOfTfn.php deleted file mode 100644 index 77a470f..0000000 --- a/lib/Model/MessageResultAllOfTfn.php +++ /dev/null @@ -1,424 +0,0 @@ - - */ -class MessageResultAllOfTfn implements ModelInterface, ArrayAccess, \JsonSerializable -{ - public const DISCRIMINATOR = null; - - /** - * The original name of the model. - * - * @var string - */ - protected static $openAPIModelName = 'MessageResult_allOf_tfn'; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @var string[] - */ - protected static $openAPITypes = [ - 'campaign_id' => 'string' - ]; - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @var string[] - * @phpstan-var array - * @psalm-var array - */ - protected static $openAPIFormats = [ - 'campaign_id' => null - ]; - - /** - * Array of nullable properties. Used for (de)serialization - * - * @var boolean[] - */ - protected static array $openAPINullables = [ - 'campaign_id' => false - ]; - - /** - * If a nullable field gets set to null, insert it here - * - * @var boolean[] - */ - protected array $openAPINullablesSetToNull = []; - - /** - * Array of property to type mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPITypes() - { - return self::$openAPITypes; - } - - /** - * Array of property to format mappings. Used for (de)serialization - * - * @return array - */ - public static function openAPIFormats() - { - return self::$openAPIFormats; - } - - /** - * Array of nullable properties - * - * @return array - */ - protected static function openAPINullables(): array - { - return self::$openAPINullables; - } - - /** - * Array of nullable field names deliberately set to null - * - * @return boolean[] - */ - private function getOpenAPINullablesSetToNull(): array - { - return $this->openAPINullablesSetToNull; - } - - /** - * Setter - Array of nullable field names deliberately set to null - * - * @param boolean[] $openAPINullablesSetToNull - */ - private function setOpenAPINullablesSetToNull(array $openAPINullablesSetToNull): void - { - $this->openAPINullablesSetToNull = $openAPINullablesSetToNull; - } - - /** - * Checks if a property is nullable - * - * @param string $property - * @return bool - */ - public static function isNullable(string $property): bool - { - return self::openAPINullables()[$property] ?? false; - } - - /** - * Checks if a nullable property is set to null. - * - * @param string $property - * @return bool - */ - public function isNullableSetToNull(string $property): bool - { - return in_array($property, $this->getOpenAPINullablesSetToNull(), true); - } - - /** - * Array of attributes where the key is the local name, - * and the value is the original name - * - * @var string[] - */ - protected static $attributeMap = [ - 'campaign_id' => 'campaignId' - ]; - - /** - * Array of attributes to setter functions (for deserialization of responses) - * - * @var string[] - */ - protected static $setters = [ - 'campaign_id' => 'setCampaignId' - ]; - - /** - * Array of attributes to getter functions (for serialization of requests) - * - * @var string[] - */ - protected static $getters = [ - 'campaign_id' => 'getCampaignId' - ]; - - /** - * 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::$openAPIModelName; - } - - - /** - * 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->setIfExists('campaign_id', $data ?? [], null); - } - - /** - * Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName - * is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the - * $this->openAPINullablesSetToNull array - * - * @param string $variableName - * @param array $fields - * @param mixed $defaultValue - */ - private function setIfExists(string $variableName, array $fields, $defaultValue): void - { - if (self::isNullable($variableName) && array_key_exists($variableName, $fields) && is_null($fields[$variableName])) { - $this->openAPINullablesSetToNull[] = $variableName; - } - - $this->container[$variableName] = $fields[$variableName] ?? $defaultValue; - } - - /** - * Show all the invalid properties with reasons. - * - * @return array invalid properties with reasons - */ - public function listInvalidProperties() - { - $invalidProperties = []; - - if ($this->container['campaign_id'] === null) { - $invalidProperties[] = "'campaign_id' can't be null"; - } - if (!preg_match("/cmptfn_[a-fA-F0-9]{40}/", $this->container['campaign_id'])) { - $invalidProperties[] = "invalid value for 'campaign_id', must be conform to the pattern /cmptfn_[a-fA-F0-9]{40}/."; - } - - 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 campaign_id - * - * @return string - */ - public function getCampaignId() - { - return $this->container['campaign_id']; - } - - /** - * Sets campaign_id - * - * @param string $campaign_id TFNCampaignId - * - * @return self - */ - public function setCampaignId($campaign_id) - { - if (is_null($campaign_id)) { - throw new \InvalidArgumentException('non-nullable campaign_id cannot be null'); - } - - if ((!preg_match("/cmptfn_[a-fA-F0-9]{40}/", ObjectSerializer::toString($campaign_id)))) { - throw new \InvalidArgumentException("invalid value for \$campaign_id when calling MessageResultAllOfTfn., must conform to the pattern /cmptfn_[a-fA-F0-9]{40}/."); - } - - $this->container['campaign_id'] = $campaign_id; - - return $this; - } - /** - * Returns true if offset exists. False otherwise. - * - * @param integer $offset Offset - * - * @return boolean - */ - public function offsetExists($offset): bool - { - return isset($this->container[$offset]); - } - - /** - * Gets offset. - * - * @param integer $offset Offset - * - * @return mixed|null - */ - #[\ReturnTypeWillChange] - public function offsetGet($offset) - { - return $this->container[$offset] ?? null; - } - - /** - * Sets value based on offset. - * - * @param int|null $offset Offset - * @param mixed $value Value to be set - * - * @return void - */ - public function offsetSet($offset, $value): void - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * Unsets offset. - * - * @param integer $offset Offset - * - * @return void - */ - public function offsetUnset($offset): void - { - unset($this->container[$offset]); - } - - /** - * Serializes the object to a value that can be serialized natively by json_encode(). - * @link https://www.php.net/manual/en/jsonserializable.jsonserialize.php - * - * @return mixed Returns data which can be serialized by json_encode(), which is a value - * of any type other than a resource. - */ - #[\ReturnTypeWillChange] - public function jsonSerialize() - { - return ObjectSerializer::sanitizeForSerialization($this); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - /** - * Gets a header-safe presentation of the object - * - * @return string - */ - public function toHeaderValue() - { - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } - -} - - diff --git a/openapi.json b/openapi.json index c59fcdb..0302013 100644 --- a/openapi.json +++ b/openapi.json @@ -151,12 +151,7 @@ }, "GetDigitsReason": { "type": "string", - "enum": [ - "finishKey", - "timeout", - "maxDigits", - "tone" - ], + "enum": ["finishKey", "timeout", "maxDigits", "tone"], "description": "This field explains how the GetDigits action ended. The value is one of the below: •finishKey - The finish key as specified had been pressed by the caller. Digit string has all keys up to, but not including, the finish key. •timeout - The timeout limit was reached prior to any other criteria being met. If any digits were collected, they will be included. •maxDigits - The maximum number of digits was reached and digit collection ended. •tone - Answering machine or fax tone detection occurred, interrupting digit collection. Any digits received up to this point are included in this webhook." }, "ConferenceStatus": { @@ -420,12 +415,7 @@ "SMSTenDLCBrandIdentityStatus": { "type": "string", "description": "TCR assessment of the brand identification status.", - "enum": [ - "SELF_DECLARED", - "UNVERIFIED", - "VERIFIED", - "VETTED_VERIFIED" - ] + "enum": ["SELF_DECLARED", "UNVERIFIED", "VERIFIED", "VETTED_VERIFIED"] }, "CompletionResultStatus": { "type": "string", @@ -494,32 +484,32 @@ "Webhook": { "type": "object", "discriminator": { - "propertyName": "requestType", - "mapping": { - "addToConferenceNotification": "#/components/schemas/AddToConferenceNotificationWebhook", - "addToQueueNotification": "#/components/schemas/AddToQueueNotificationWebhook", - "callControl": "#/components/schemas/CallControlWebhook", - "callStatus": "#/components/schemas/CallStatusWebhook", - "conferenceRecordingStatus": "#/components/schemas/ConferenceRecordingStatusWebhook", - "conferenceStatus": "#/components/schemas/ConferenceStatusWebhook", - "createConference": "#/components/schemas/CreateConferenceWebhook", - "dequeue": "#/components/schemas/DequeueWebhook", - "getDigits": "#/components/schemas/GetDigitsWebhook", - "getSpeech": "#/components/schemas/GetSpeechWebhook", - "inboundCall": "#/components/schemas/InboundCallWebhook", - "leaveConference": "#/components/schemas/LeaveConferenceWebhook", - "machineDetected": "#/components/schemas/MachineDetectedWebhook", - "messageDelivery": "#/components/schemas/MessageDeliveryWebhook", - "messageStatus": "#/components/schemas/MessageStatusWebhook", - "outDialApiConnect": "#/components/schemas/OutDialApiConnectWebhook", - "outDialConnect": "#/components/schemas/OutDialConnectWebhook", - "outDialStart": "#/components/schemas/OutDialStartWebhook", - "queueWait": "#/components/schemas/QueueWaitWebhook", - "record": "#/components/schemas/RecordWebhook", - "redirect": "#/components/schemas/RedirectWebhook", - "removeFromQueueNotification": "#/components/schemas/RemoveFromQueueNotificationWebhook", - "transcribe": "#/components/schemas/TranscribeWebhook" - } + "propertyName": "requestType", + "mapping": { + "addToConferenceNotification": "#/components/schemas/AddToConferenceNotificationWebhook", + "addToQueueNotification": "#/components/schemas/AddToQueueNotificationWebhook", + "callControl": "#/components/schemas/CallControlWebhook", + "callStatus": "#/components/schemas/CallStatusWebhook", + "conferenceRecordingStatus": "#/components/schemas/ConferenceRecordingStatusWebhook", + "conferenceStatus": "#/components/schemas/ConferenceStatusWebhook", + "createConference": "#/components/schemas/CreateConferenceWebhook", + "dequeue": "#/components/schemas/DequeueWebhook", + "getDigits": "#/components/schemas/GetDigitsWebhook", + "getSpeech": "#/components/schemas/GetSpeechWebhook", + "inboundCall": "#/components/schemas/InboundCallWebhook", + "leaveConference": "#/components/schemas/LeaveConferenceWebhook", + "machineDetected": "#/components/schemas/MachineDetectedWebhook", + "messageDelivery": "#/components/schemas/MessageDeliveryWebhook", + "messageStatus": "#/components/schemas/MessageStatusWebhook", + "outDialApiConnect": "#/components/schemas/OutDialApiConnectWebhook", + "outDialConnect": "#/components/schemas/OutDialConnectWebhook", + "outDialStart": "#/components/schemas/OutDialStartWebhook", + "queueWait": "#/components/schemas/QueueWaitWebhook", + "record": "#/components/schemas/RecordWebhook", + "redirect": "#/components/schemas/RedirectWebhook", + "removeFromQueueNotification": "#/components/schemas/RemoveFromQueueNotificationWebhook", + "transcribe": "#/components/schemas/TranscribeWebhook" + } }, "properties": { "requestType": { @@ -3598,17 +3588,9 @@ "nullable": true }, "tfn": { - "type": "object", - "required": [ - "campaignId" - ], - "properties": { - "campaignId": { - "$ref": "#/components/schemas/TFNCampaignId" - } - }, + "$ref": "#/components/schemas/TFN", "nullable": true - }, + }, "phoneNumberId": { "type": "string", "description": "String that uniquely identifies the phoneNumber resource used to send this Message", diff --git a/test/Model/MessageResultAllOfTfnTest.php b/test/Model/MessageResultAllOfTfnTest.php deleted file mode 100644 index 45aa2ef..0000000 --- a/test/Model/MessageResultAllOfTfnTest.php +++ /dev/null @@ -1,87 +0,0 @@ -MessageResultAllOfTfn = new \FreeClimb\Api\Model\MessageResultAllOfTfn(); - } - - /** - * Clean up after running each test case - */ - public function tearDown(): void - { - } - - /** - * Clean up after running all test cases - */ - public static function tearDownAfterClass(): void - { - } - - /** - * Test attribute "campaign_id" - */ - public function testPropertyCampaignId() - { - - $this->MessageResultAllOfTfn->setCampaignId('cmptfn_387ec3f6e03b340553f35f29c8f118cdf3eae08a'); - $this->assertEquals('cmptfn_387ec3f6e03b340553f35f29c8f118cdf3eae08a', $this->MessageResultAllOfTfn->getCampaignId()); - $this->assertIsString($this->MessageResultAllOfTfn->getCampaignId()); - - } -} From 7ec2f4b983e1abf9018332d82350eedacc5c0d46 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Mon, 3 Feb 2025 14:01:00 -0500 Subject: [PATCH 3/5] Add changelog entry to SDK PR --- CHANGELOG.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f765fc3..346384e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,19 +9,30 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm None + + +## [5.1.0] - 2025-01-08 + +### Added + +- CampaignTFN and MessageResultsAllOfTfn models + ## [5.0.0] - 2025-01-08 ### Added + - Webhook classes - More idiomated Enum management ### Changed + - Use upgraded openapi generator ### Removed -- *AllOf model files + +- \*AllOf model files From ac4a446b4774d5fae9210f73134c6f8f2e348852 Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Wed, 5 Feb 2025 17:34:11 -0500 Subject: [PATCH 4/5] Update latest changelog entry date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 346384e..757593c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,7 +11,7 @@ None -## [5.1.0] - 2025-01-08 +## [5.1.0] - 2025-02-05 ### Added From e869d5be8ce36ed734475af5aaf014df7b0481be Mon Sep 17 00:00:00 2001 From: Ajevan M Date: Mon, 10 Feb 2025 17:59:09 -0500 Subject: [PATCH 5/5] Remove test comments --- test/Model/AccountRequestTest.php | 8 +- test/Model/AccountResultTest.php | 44 ++---- ...AddToConferenceNotificationWebhookTest.php | 52 ++----- test/Model/AddToConferenceTest.php | 40 ++--- .../AddToQueueNotificationWebhookTest.php | 36 ++--- test/Model/ApplicationListTest.php | 32 +--- test/Model/ApplicationRequestTest.php | 28 +--- test/Model/ApplicationResultTest.php | 52 ++----- test/Model/AvailableNumberListTest.php | 32 +--- test/Model/AvailableNumberTest.php | 28 +--- test/Model/BuyIncomingNumberRequestTest.php | 12 +- test/Model/CallControlWebhookTest.php | 20 +-- test/Model/CallListTest.php | 32 +--- test/Model/CallResultTest.php | 80 +++------- test/Model/CallStatusWebhookTest.php | 40 ++--- test/Model/CapabilitiesTest.php | 20 +-- test/Model/CompletionRequestTest.php | 4 +- test/Model/CompletionResultTest.php | 8 +- test/Model/ConferenceListTest.php | 32 +--- test/Model/ConferenceParticipantListTest.php | 32 +--- .../Model/ConferenceParticipantResultTest.php | 44 ++---- .../ConferenceRecordingStatusWebhookTest.php | 52 ++----- test/Model/ConferenceResultTest.php | 56 ++----- test/Model/ConferenceStatusWebhookTest.php | 52 ++----- test/Model/CreateConferenceRequestTest.php | 20 +-- test/Model/CreateConferenceTest.php | 24 +-- test/Model/CreateConferenceWebhookTest.php | 52 ++----- test/Model/CreateWebRTCTokenTest.php | 12 +- test/Model/DequeueWebhookTest.php | 44 ++---- test/Model/EnqueueTest.php | 16 +- test/Model/FilterLogsRequestTest.php | 4 +- test/Model/GetDigitsTest.php | 36 ++--- test/Model/GetDigitsWebhookTest.php | 48 ++---- test/Model/GetSpeechTest.php | 52 ++----- test/Model/GetSpeechWebhookTest.php | 68 +++------ test/Model/HangupTest.php | 4 +- test/Model/InboundCallWebhookTest.php | 40 ++--- test/Model/IncomingNumberListTest.php | 32 +--- test/Model/IncomingNumberRequestTest.php | 12 +- test/Model/IncomingNumberResultTest.php | 68 +++------ test/Model/LeaveConferenceWebhookTest.php | 36 ++--- test/Model/LogListTest.php | 32 +--- test/Model/LogResultTest.php | 28 +--- test/Model/MachineDetectedWebhookTest.php | 44 ++---- test/Model/MakeCallRequestTest.php | 40 ++--- test/Model/MessageDeliveryWebhookTest.php | 40 ++--- test/Model/MessageRequestTest.php | 36 ++--- test/Model/MessageResultTest.php | 76 +++------ test/Model/MessageStatusWebhookTest.php | 44 ++---- test/Model/MessagesListTest.php | 32 +--- test/Model/MutableResourceModelTest.php | 16 +- test/Model/OutDialApiConnectWebhookTest.php | 40 ++--- test/Model/OutDialConnectWebhookTest.php | 40 ++--- test/Model/OutDialStartWebhookTest.php | 44 ++---- test/Model/OutDialTest.php | 40 ++--- test/Model/PaginationModelTest.php | 28 +--- test/Model/ParkTest.php | 12 +- test/Model/PauseTest.php | 4 +- test/Model/PerCLCommandTest.php | 4 +- test/Model/PerCLScriptTest.php | 4 +- test/Model/PlayEarlyMediaTest.php | 4 +- test/Model/PlayTest.php | 12 +- test/Model/QueueListTest.php | 32 +--- test/Model/QueueMemberListTest.php | 32 +--- test/Model/QueueMemberTest.php | 20 +-- test/Model/QueueRequestTest.php | 8 +- test/Model/QueueResultTest.php | 44 ++---- test/Model/QueueWaitWebhookTest.php | 48 ++---- test/Model/RecordUtteranceTest.php | 28 +--- test/Model/RecordWebhookTest.php | 68 +++------ test/Model/RecordingListTest.php | 32 +--- test/Model/RecordingResultTest.php | 36 ++--- test/Model/RedirectTest.php | 4 +- test/Model/RedirectWebhookTest.php | 40 ++--- test/Model/RejectTest.php | 4 +- ...RemoveFromQueueNotificationWebhookTest.php | 44 ++---- test/Model/SMSTenDLCBrandTest.php | 124 ++++----------- test/Model/SMSTenDLCBrandsListResultTest.php | 32 +--- test/Model/SMSTenDLCCampaignTest.php | 144 +++++------------- .../SMSTenDLCCampaignsListResultTest.php | 32 +--- .../SMSTenDLCPartnerCampaignBrandTest.php | 44 ++---- test/Model/SMSTenDLCPartnerCampaignTest.php | 116 ++++---------- ...MSTenDLCPartnerCampaignsListResultTest.php | 32 +--- test/Model/SMSTollFreeCampaignTest.php | 28 +--- .../SMSTollFreeCampaignsListResultTest.php | 32 +--- test/Model/SayTest.php | 16 +- test/Model/SendDigitsTest.php | 12 +- test/Model/SetDTMFPassThroughTest.php | 4 +- test/Model/SetListenTest.php | 4 +- test/Model/SetTalkTest.php | 4 +- test/Model/SmsTest.php | 16 +- test/Model/TFNCampaignTest.php | 36 ++--- test/Model/TFNTest.php | 4 +- test/Model/TranscribeUtteranceRecordTest.php | 12 +- test/Model/TranscribeUtteranceTest.php | 24 +-- test/Model/TranscribeWebhookTest.php | 92 +++-------- test/Model/UpdateCallRequestTest.php | 4 +- ...UpdateConferenceParticipantRequestTest.php | 12 +- test/Model/UpdateConferenceRequestTest.php | 12 +- test/Model/WebhookTest.php | 4 +- 100 files changed, 826 insertions(+), 2478 deletions(-) diff --git a/test/Model/AccountRequestTest.php b/test/Model/AccountRequestTest.php index c1a7c66..df0cf18 100644 --- a/test/Model/AccountRequestTest.php +++ b/test/Model/AccountRequestTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { @@ -83,9 +81,7 @@ public function testPropertyAlias() $this->assertEquals('TS', $this->AccountRequest->getAlias()); $this->assertIsString($this->AccountRequest->getAlias()); } - /** - * Test attribute "label" - */ + public function testPropertyLabel() { diff --git a/test/Model/AccountResultTest.php b/test/Model/AccountResultTest.php index 5d1feaf..07fe5c5 100644 --- a/test/Model/AccountResultTest.php +++ b/test/Model/AccountResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { @@ -83,9 +81,7 @@ public function testPropertyUri() $this->assertEquals('TS', $this->AccountResult->getUri()); $this->assertIsString($this->AccountResult->getUri()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -93,9 +89,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->AccountResult->getDateCreated()); $this->assertIsString($this->AccountResult->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -103,9 +97,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->AccountResult->getDateUpdated()); $this->assertIsString($this->AccountResult->getDateUpdated()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { @@ -115,9 +107,7 @@ public function testPropertyRevision() $this->assertIsNumeric($this->AccountResult->getrevision()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -125,9 +115,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->AccountResult->getAccountId()); $this->assertIsString($this->AccountResult->getAccountId()); } - /** - * Test attribute "api_key" - */ + public function testPropertyApiKey() { @@ -135,9 +123,7 @@ public function testPropertyApiKey() $this->assertEquals('TS', $this->AccountResult->getApiKey()); $this->assertIsString($this->AccountResult->getApiKey()); } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { @@ -145,9 +131,7 @@ public function testPropertyAlias() $this->assertEquals('TS', $this->AccountResult->getAlias()); $this->assertIsString($this->AccountResult->getAlias()); } - /** - * Test attribute "label" - */ + public function testPropertyLabel() { @@ -155,9 +139,7 @@ public function testPropertyLabel() $this->assertEquals('TS', $this->AccountResult->getLabel()); $this->assertIsString($this->AccountResult->getLabel()); } - /** - * Test attribute "type" - */ + public function testPropertyType() { $this->AccountResult->settype(\FreeClimb\Api\Model\AccountType::TRIAL); @@ -165,9 +147,7 @@ public function testPropertyType() $this->AccountResult->settype(\FreeClimb\Api\Model\AccountType::FULL); $this->assertEquals(\FreeClimb\Api\Model\AccountType::FULL, $this->AccountResult->gettype()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->AccountResult->setstatus(\FreeClimb\Api\Model\AccountStatus::CLOSED); @@ -177,9 +157,7 @@ public function testPropertyStatus() $this->AccountResult->setstatus(\FreeClimb\Api\Model\AccountStatus::ACTIVE); $this->assertEquals(\FreeClimb\Api\Model\AccountStatus::ACTIVE, $this->AccountResult->getstatus()); } - /** - * Test attribute "subresource_uris" - */ + public function testPropertySubresourceUris() { $this->AccountResult->setsubresourceUris(new \stdClass()); diff --git a/test/Model/AddToConferenceNotificationWebhookTest.php b/test/Model/AddToConferenceNotificationWebhookTest.php index 263142f..ff145bd 100644 --- a/test/Model/AddToConferenceNotificationWebhookTest.php +++ b/test/Model/AddToConferenceNotificationWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getRequestType()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getCallId()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getAccountId()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getFrom()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getTo()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->AddToConferenceNotificationWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->AddToConferenceNotificationWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->AddToConferenceNotificationWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->AddToConferenceNotificationWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->AddToConferenceNotificationWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->AddToConferenceNotificationWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getConferenceId()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getQueueId()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getQueueId()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->AddToConferenceNotificationWebhook->setstatus(\FreeClimb\Api\Model\ConferenceStatus::EMPTY); @@ -191,9 +171,7 @@ public function testPropertyStatus() $this->AddToConferenceNotificationWebhook->setstatus(\FreeClimb\Api\Model\ConferenceStatus::TERMINATED); $this->assertEquals(\FreeClimb\Api\Model\ConferenceStatus::TERMINATED, $this->AddToConferenceNotificationWebhook->getstatus()); } - /** - * Test attribute "recording_url" - */ + public function testPropertyRecordingUrl() { @@ -201,9 +179,7 @@ public function testPropertyRecordingUrl() $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getRecordingUrl()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getRecordingUrl()); } - /** - * Test attribute "recording_id" - */ + public function testPropertyRecordingId() { @@ -211,9 +187,7 @@ public function testPropertyRecordingId() $this->assertEquals('TS', $this->AddToConferenceNotificationWebhook->getRecordingId()); $this->assertIsString($this->AddToConferenceNotificationWebhook->getRecordingId()); } - /** - * Test attribute "recording_duration_sec" - */ + public function testPropertyRecordingDurationSec() { diff --git a/test/Model/AddToConferenceTest.php b/test/Model/AddToConferenceTest.php index 03728f2..e4887c8 100644 --- a/test/Model/AddToConferenceTest.php +++ b/test/Model/AddToConferenceTest.php @@ -73,18 +73,14 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "allow_call_control" - */ + public function testPropertyAllowCallControl() { $this->AddToConference->setallowCallControl(false); $this->assertFalse($this->AddToConference->getallowCallControl()); $this->assertIsBool($this->AddToConference->getallowCallControl()); } - /** - * Test attribute "call_control_sequence" - */ + public function testPropertyCallControlSequence() { @@ -92,9 +88,7 @@ public function testPropertyCallControlSequence() $this->assertEquals('TS', $this->AddToConference->getCallControlSequence()); $this->assertIsString($this->AddToConference->getCallControlSequence()); } - /** - * Test attribute "call_control_url" - */ + public function testPropertyCallControlUrl() { @@ -102,9 +96,7 @@ public function testPropertyCallControlUrl() $this->assertEquals('TS', $this->AddToConference->getCallControlUrl()); $this->assertIsString($this->AddToConference->getCallControlUrl()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -112,9 +104,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->AddToConference->getConferenceId()); $this->assertIsString($this->AddToConference->getConferenceId()); } - /** - * Test attribute "leave_conference_url" - */ + public function testPropertyLeaveConferenceUrl() { @@ -122,18 +112,14 @@ public function testPropertyLeaveConferenceUrl() $this->assertEquals('TS', $this->AddToConference->getLeaveConferenceUrl()); $this->assertIsString($this->AddToConference->getLeaveConferenceUrl()); } - /** - * Test attribute "listen" - */ + public function testPropertyListen() { $this->AddToConference->setlisten(false); $this->assertFalse($this->AddToConference->getlisten()); $this->assertIsBool($this->AddToConference->getlisten()); } - /** - * Test attribute "notification_url" - */ + public function testPropertyNotificationUrl() { @@ -141,27 +127,21 @@ public function testPropertyNotificationUrl() $this->assertEquals('TS', $this->AddToConference->getNotificationUrl()); $this->assertIsString($this->AddToConference->getNotificationUrl()); } - /** - * Test attribute "start_conf_on_enter" - */ + public function testPropertyStartConfOnEnter() { $this->AddToConference->setstartConfOnEnter(false); $this->assertFalse($this->AddToConference->getstartConfOnEnter()); $this->assertIsBool($this->AddToConference->getstartConfOnEnter()); } - /** - * Test attribute "talk" - */ + public function testPropertyTalk() { $this->AddToConference->settalk(false); $this->assertFalse($this->AddToConference->gettalk()); $this->assertIsBool($this->AddToConference->gettalk()); } - /** - * Test attribute "dtmf_pass_through" - */ + public function testPropertyDtmfPassThrough() { $this->AddToConference->setdtmfPassThrough(false); diff --git a/test/Model/AddToQueueNotificationWebhookTest.php b/test/Model/AddToQueueNotificationWebhookTest.php index d7ac9a3..209bfb1 100644 --- a/test/Model/AddToQueueNotificationWebhookTest.php +++ b/test/Model/AddToQueueNotificationWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getRequestType()); $this->assertIsString($this->AddToQueueNotificationWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getCallId()); $this->assertIsString($this->AddToQueueNotificationWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getAccountId()); $this->assertIsString($this->AddToQueueNotificationWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getFrom()); $this->assertIsString($this->AddToQueueNotificationWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getTo()); $this->assertIsString($this->AddToQueueNotificationWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->AddToQueueNotificationWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->AddToQueueNotificationWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->AddToQueueNotificationWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->AddToQueueNotificationWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->AddToQueueNotificationWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->AddToQueueNotificationWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->AddToQueueNotificationWebhook->getConferenceId()); $this->assertIsString($this->AddToQueueNotificationWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { diff --git a/test/Model/ApplicationListTest.php b/test/Model/ApplicationListTest.php index ff6983a..fc9cd3e 100644 --- a/test/Model/ApplicationListTest.php +++ b/test/Model/ApplicationListTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->ApplicationList->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->ApplicationList->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->ApplicationList->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->ApplicationList->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->ApplicationList->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->ApplicationList->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->ApplicationList->getNextPageUri()); $this->assertIsString($this->ApplicationList->getNextPageUri()); } - /** - * Test attribute "applications" - */ + public function testPropertyApplications() { $this->ApplicationList->setapplications([]); diff --git a/test/Model/ApplicationRequestTest.php b/test/Model/ApplicationRequestTest.php index 73e2030..1274994 100644 --- a/test/Model/ApplicationRequestTest.php +++ b/test/Model/ApplicationRequestTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { @@ -83,9 +81,7 @@ public function testPropertyAlias() $this->assertEquals('TS', $this->ApplicationRequest->getAlias()); $this->assertIsString($this->ApplicationRequest->getAlias()); } - /** - * Test attribute "voice_url" - */ + public function testPropertyVoiceUrl() { @@ -93,9 +89,7 @@ public function testPropertyVoiceUrl() $this->assertEquals('TS', $this->ApplicationRequest->getVoiceUrl()); $this->assertIsString($this->ApplicationRequest->getVoiceUrl()); } - /** - * Test attribute "voice_fallback_url" - */ + public function testPropertyVoiceFallbackUrl() { @@ -103,9 +97,7 @@ public function testPropertyVoiceFallbackUrl() $this->assertEquals('TS', $this->ApplicationRequest->getVoiceFallbackUrl()); $this->assertIsString($this->ApplicationRequest->getVoiceFallbackUrl()); } - /** - * Test attribute "call_connect_url" - */ + public function testPropertyCallConnectUrl() { @@ -113,9 +105,7 @@ public function testPropertyCallConnectUrl() $this->assertEquals('TS', $this->ApplicationRequest->getCallConnectUrl()); $this->assertIsString($this->ApplicationRequest->getCallConnectUrl()); } - /** - * Test attribute "status_callback_url" - */ + public function testPropertyStatusCallbackUrl() { @@ -123,9 +113,7 @@ public function testPropertyStatusCallbackUrl() $this->assertEquals('TS', $this->ApplicationRequest->getStatusCallbackUrl()); $this->assertIsString($this->ApplicationRequest->getStatusCallbackUrl()); } - /** - * Test attribute "sms_url" - */ + public function testPropertySmsUrl() { @@ -133,9 +121,7 @@ public function testPropertySmsUrl() $this->assertEquals('TS', $this->ApplicationRequest->getSmsUrl()); $this->assertIsString($this->ApplicationRequest->getSmsUrl()); } - /** - * Test attribute "sms_fallback_url" - */ + public function testPropertySmsFallbackUrl() { diff --git a/test/Model/ApplicationResultTest.php b/test/Model/ApplicationResultTest.php index 8c3aa5f..2649d8b 100644 --- a/test/Model/ApplicationResultTest.php +++ b/test/Model/ApplicationResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { @@ -83,9 +81,7 @@ public function testPropertyUri() $this->assertEquals('TS', $this->ApplicationResult->getUri()); $this->assertIsString($this->ApplicationResult->getUri()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -93,9 +89,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->ApplicationResult->getDateCreated()); $this->assertIsString($this->ApplicationResult->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -103,9 +97,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->ApplicationResult->getDateUpdated()); $this->assertIsString($this->ApplicationResult->getDateUpdated()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { @@ -115,9 +107,7 @@ public function testPropertyRevision() $this->assertIsNumeric($this->ApplicationResult->getrevision()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -125,9 +115,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->ApplicationResult->getAccountId()); $this->assertIsString($this->ApplicationResult->getAccountId()); } - /** - * Test attribute "application_id" - */ + public function testPropertyApplicationId() { @@ -135,9 +123,7 @@ public function testPropertyApplicationId() $this->assertEquals('TS', $this->ApplicationResult->getApplicationId()); $this->assertIsString($this->ApplicationResult->getApplicationId()); } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { @@ -145,9 +131,7 @@ public function testPropertyAlias() $this->assertEquals('TS', $this->ApplicationResult->getAlias()); $this->assertIsString($this->ApplicationResult->getAlias()); } - /** - * Test attribute "voice_url" - */ + public function testPropertyVoiceUrl() { @@ -155,9 +139,7 @@ public function testPropertyVoiceUrl() $this->assertEquals('TS', $this->ApplicationResult->getVoiceUrl()); $this->assertIsString($this->ApplicationResult->getVoiceUrl()); } - /** - * Test attribute "voice_fallback_url" - */ + public function testPropertyVoiceFallbackUrl() { @@ -165,9 +147,7 @@ public function testPropertyVoiceFallbackUrl() $this->assertEquals('TS', $this->ApplicationResult->getVoiceFallbackUrl()); $this->assertIsString($this->ApplicationResult->getVoiceFallbackUrl()); } - /** - * Test attribute "call_connect_url" - */ + public function testPropertyCallConnectUrl() { @@ -175,9 +155,7 @@ public function testPropertyCallConnectUrl() $this->assertEquals('TS', $this->ApplicationResult->getCallConnectUrl()); $this->assertIsString($this->ApplicationResult->getCallConnectUrl()); } - /** - * Test attribute "status_callback_url" - */ + public function testPropertyStatusCallbackUrl() { @@ -185,9 +163,7 @@ public function testPropertyStatusCallbackUrl() $this->assertEquals('TS', $this->ApplicationResult->getStatusCallbackUrl()); $this->assertIsString($this->ApplicationResult->getStatusCallbackUrl()); } - /** - * Test attribute "sms_url" - */ + public function testPropertySmsUrl() { @@ -195,9 +171,7 @@ public function testPropertySmsUrl() $this->assertEquals('TS', $this->ApplicationResult->getSmsUrl()); $this->assertIsString($this->ApplicationResult->getSmsUrl()); } - /** - * Test attribute "sms_fallback_url" - */ + public function testPropertySmsFallbackUrl() { diff --git a/test/Model/AvailableNumberListTest.php b/test/Model/AvailableNumberListTest.php index 997a9d9..91dc643 100644 --- a/test/Model/AvailableNumberListTest.php +++ b/test/Model/AvailableNumberListTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->AvailableNumberList->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->AvailableNumberList->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->AvailableNumberList->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->AvailableNumberList->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->AvailableNumberList->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->AvailableNumberList->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->AvailableNumberList->getNextPageUri()); $this->assertIsString($this->AvailableNumberList->getNextPageUri()); } - /** - * Test attribute "available_phone_numbers" - */ + public function testPropertyAvailablePhoneNumbers() { $this->AvailableNumberList->setavailablePhoneNumbers([]); diff --git a/test/Model/AvailableNumberTest.php b/test/Model/AvailableNumberTest.php index 937ef6b..eb954f3 100644 --- a/test/Model/AvailableNumberTest.php +++ b/test/Model/AvailableNumberTest.php @@ -73,17 +73,13 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "capabilities" - */ + public function testPropertyCapabilities() { $this->AvailableNumber->setcapabilities(new \stdClass()); $this->assertInstanceOf(\stdClass::class, $this->AvailableNumber->getcapabilities()); } - /** - * Test attribute "campaign_id" - */ + public function testPropertyCampaignId() { @@ -91,9 +87,7 @@ public function testPropertyCampaignId() $this->assertEquals('TS', $this->AvailableNumber->getCampaignId()); $this->assertIsString($this->AvailableNumber->getCampaignId()); } - /** - * Test attribute "phone_number" - */ + public function testPropertyPhoneNumber() { @@ -101,27 +95,21 @@ public function testPropertyPhoneNumber() $this->assertEquals('TS', $this->AvailableNumber->getPhoneNumber()); $this->assertIsString($this->AvailableNumber->getPhoneNumber()); } - /** - * Test attribute "voice_enabled" - */ + public function testPropertyVoiceEnabled() { $this->AvailableNumber->setvoiceEnabled(false); $this->assertFalse($this->AvailableNumber->getvoiceEnabled()); $this->assertIsBool($this->AvailableNumber->getvoiceEnabled()); } - /** - * Test attribute "sms_enabled" - */ + public function testPropertySmsEnabled() { $this->AvailableNumber->setsmsEnabled(false); $this->assertFalse($this->AvailableNumber->getsmsEnabled()); $this->assertIsBool($this->AvailableNumber->getsmsEnabled()); } - /** - * Test attribute "region" - */ + public function testPropertyRegion() { @@ -129,9 +117,7 @@ public function testPropertyRegion() $this->assertEquals('TS', $this->AvailableNumber->getRegion()); $this->assertIsString($this->AvailableNumber->getRegion()); } - /** - * Test attribute "country" - */ + public function testPropertyCountry() { diff --git a/test/Model/BuyIncomingNumberRequestTest.php b/test/Model/BuyIncomingNumberRequestTest.php index 3aa03ab..dfdd005 100644 --- a/test/Model/BuyIncomingNumberRequestTest.php +++ b/test/Model/BuyIncomingNumberRequestTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "phone_number" - */ + public function testPropertyPhoneNumber() { @@ -83,9 +81,7 @@ public function testPropertyPhoneNumber() $this->assertEquals('TS', $this->BuyIncomingNumberRequest->getPhoneNumber()); $this->assertIsString($this->BuyIncomingNumberRequest->getPhoneNumber()); } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { @@ -93,9 +89,7 @@ public function testPropertyAlias() $this->assertEquals('TS', $this->BuyIncomingNumberRequest->getAlias()); $this->assertIsString($this->BuyIncomingNumberRequest->getAlias()); } - /** - * Test attribute "application_id" - */ + public function testPropertyApplicationId() { diff --git a/test/Model/CallControlWebhookTest.php b/test/Model/CallControlWebhookTest.php index 30296b8..b50d773 100644 --- a/test/Model/CallControlWebhookTest.php +++ b/test/Model/CallControlWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->CallControlWebhook->getRequestType()); $this->assertIsString($this->CallControlWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->CallControlWebhook->getCallId()); $this->assertIsString($this->CallControlWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->CallControlWebhook->getAccountId()); $this->assertIsString($this->CallControlWebhook->getAccountId()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -113,9 +105,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->CallControlWebhook->getConferenceId()); $this->assertIsString($this->CallControlWebhook->getConferenceId()); } - /** - * Test attribute "digits" - */ + public function testPropertyDigits() { diff --git a/test/Model/CallListTest.php b/test/Model/CallListTest.php index 378f025..15983a1 100644 --- a/test/Model/CallListTest.php +++ b/test/Model/CallListTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->CallList->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->CallList->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->CallList->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->CallList->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->CallList->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->CallList->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->CallList->getNextPageUri()); $this->assertIsString($this->CallList->getNextPageUri()); } - /** - * Test attribute "calls" - */ + public function testPropertyCalls() { $this->CallList->setcalls([]); diff --git a/test/Model/CallResultTest.php b/test/Model/CallResultTest.php index 645db8b..68a14f9 100644 --- a/test/Model/CallResultTest.php +++ b/test/Model/CallResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { @@ -83,9 +81,7 @@ public function testPropertyUri() $this->assertEquals('TS', $this->CallResult->getUri()); $this->assertIsString($this->CallResult->getUri()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -93,9 +89,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->CallResult->getDateCreated()); $this->assertIsString($this->CallResult->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -103,9 +97,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->CallResult->getDateUpdated()); $this->assertIsString($this->CallResult->getDateUpdated()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { @@ -115,9 +107,7 @@ public function testPropertyRevision() $this->assertIsNumeric($this->CallResult->getrevision()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -125,9 +115,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->CallResult->getCallId()); $this->assertIsString($this->CallResult->getCallId()); } - /** - * Test attribute "parent_call_id" - */ + public function testPropertyParentCallId() { @@ -135,9 +123,7 @@ public function testPropertyParentCallId() $this->assertEquals('TS', $this->CallResult->getParentCallId()); $this->assertIsString($this->CallResult->getParentCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -145,9 +131,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->CallResult->getAccountId()); $this->assertIsString($this->CallResult->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -155,9 +139,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->CallResult->getFrom()); $this->assertIsString($this->CallResult->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -165,9 +147,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->CallResult->getTo()); $this->assertIsString($this->CallResult->getTo()); } - /** - * Test attribute "phone_number_id" - */ + public function testPropertyPhoneNumberId() { @@ -175,9 +155,7 @@ public function testPropertyPhoneNumberId() $this->assertEquals('TS', $this->CallResult->getPhoneNumberId()); $this->assertIsString($this->CallResult->getPhoneNumberId()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->CallResult->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -197,9 +175,7 @@ public function testPropertyCallStatus() $this->CallResult->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->CallResult->getcallStatus()); } - /** - * Test attribute "start_time" - */ + public function testPropertyStartTime() { @@ -207,9 +183,7 @@ public function testPropertyStartTime() $this->assertEquals('TS', $this->CallResult->getStartTime()); $this->assertIsString($this->CallResult->getStartTime()); } - /** - * Test attribute "connect_time" - */ + public function testPropertyConnectTime() { @@ -217,9 +191,7 @@ public function testPropertyConnectTime() $this->assertEquals('TS', $this->CallResult->getConnectTime()); $this->assertIsString($this->CallResult->getConnectTime()); } - /** - * Test attribute "end_time" - */ + public function testPropertyEndTime() { @@ -227,9 +199,7 @@ public function testPropertyEndTime() $this->assertEquals('TS', $this->CallResult->getEndTime()); $this->assertIsString($this->CallResult->getEndTime()); } - /** - * Test attribute "duration" - */ + public function testPropertyDuration() { @@ -239,9 +209,7 @@ public function testPropertyDuration() $this->assertIsNumeric($this->CallResult->getduration()); } - /** - * Test attribute "connect_duration" - */ + public function testPropertyConnectDuration() { @@ -251,9 +219,7 @@ public function testPropertyConnectDuration() $this->assertIsNumeric($this->CallResult->getconnectDuration()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->CallResult->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -263,9 +229,7 @@ public function testPropertyDirection() $this->CallResult->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->CallResult->getdirection()); } - /** - * Test attribute "answered_by" - */ + public function testPropertyAnsweredBy() { $this->CallResult->setansweredBy(\FreeClimb\Api\Model\AnsweredBy::HUMAN); @@ -273,17 +237,13 @@ public function testPropertyAnsweredBy() $this->CallResult->setansweredBy(\FreeClimb\Api\Model\AnsweredBy::MACHINE); $this->assertEquals(\FreeClimb\Api\Model\AnsweredBy::MACHINE, $this->CallResult->getansweredBy()); } - /** - * Test attribute "subresource_uris" - */ + public function testPropertySubresourceUris() { $this->CallResult->setsubresourceUris(new \stdClass()); $this->assertInstanceOf(\stdClass::class, $this->CallResult->getsubresourceUris()); } - /** - * Test attribute "application_id" - */ + public function testPropertyApplicationId() { diff --git a/test/Model/CallStatusWebhookTest.php b/test/Model/CallStatusWebhookTest.php index 3786194..1950183 100644 --- a/test/Model/CallStatusWebhookTest.php +++ b/test/Model/CallStatusWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->CallStatusWebhook->getRequestType()); $this->assertIsString($this->CallStatusWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->CallStatusWebhook->getCallId()); $this->assertIsString($this->CallStatusWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->CallStatusWebhook->getAccountId()); $this->assertIsString($this->CallStatusWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->CallStatusWebhook->getFrom()); $this->assertIsString($this->CallStatusWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->CallStatusWebhook->getTo()); $this->assertIsString($this->CallStatusWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->CallStatusWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->CallStatusWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->CallStatusWebhook->getcallStatus()); } - /** - * Test attribute "call_ended_reason" - */ + public function testPropertyCallEndedReason() { $this->CallStatusWebhook->setcallEndedReason(\FreeClimb\Api\Model\CallEndedReason::BUSY); @@ -197,9 +183,7 @@ public function testPropertyCallEndedReason() $this->CallStatusWebhook->setcallEndedReason(\FreeClimb\Api\Model\CallEndedReason::MAX_DURATION); $this->assertEquals(\FreeClimb\Api\Model\CallEndedReason::MAX_DURATION, $this->CallStatusWebhook->getcallEndedReason()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->CallStatusWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -209,9 +193,7 @@ public function testPropertyDirection() $this->CallStatusWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->CallStatusWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -219,9 +201,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->CallStatusWebhook->getConferenceId()); $this->assertIsString($this->CallStatusWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { diff --git a/test/Model/CapabilitiesTest.php b/test/Model/CapabilitiesTest.php index 5e961d9..63e560c 100644 --- a/test/Model/CapabilitiesTest.php +++ b/test/Model/CapabilitiesTest.php @@ -73,45 +73,35 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "voice" - */ + public function testPropertyVoice() { $this->Capabilities->setvoice(false); $this->assertFalse($this->Capabilities->getvoice()); $this->assertIsBool($this->Capabilities->getvoice()); } - /** - * Test attribute "sms" - */ + public function testPropertySms() { $this->Capabilities->setsms(false); $this->assertFalse($this->Capabilities->getsms()); $this->assertIsBool($this->Capabilities->getsms()); } - /** - * Test attribute "toll_free" - */ + public function testPropertyTollFree() { $this->Capabilities->settollFree(false); $this->assertFalse($this->Capabilities->gettollFree()); $this->assertIsBool($this->Capabilities->gettollFree()); } - /** - * Test attribute "ten_dlc" - */ + public function testPropertyTenDlc() { $this->Capabilities->settenDlc(false); $this->assertFalse($this->Capabilities->gettenDlc()); $this->assertIsBool($this->Capabilities->gettenDlc()); } - /** - * Test attribute "short_code" - */ + public function testPropertyShortCode() { $this->Capabilities->setshortCode(false); diff --git a/test/Model/CompletionRequestTest.php b/test/Model/CompletionRequestTest.php index dab6e60..f46ae5a 100644 --- a/test/Model/CompletionRequestTest.php +++ b/test/Model/CompletionRequestTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "query" - */ + public function testPropertyQuery() { diff --git a/test/Model/CompletionResultTest.php b/test/Model/CompletionResultTest.php index 01f6bcb..410c867 100644 --- a/test/Model/CompletionResultTest.php +++ b/test/Model/CompletionResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "response" - */ + public function testPropertyResponse() { @@ -83,9 +81,7 @@ public function testPropertyResponse() $this->assertEquals('TS', $this->CompletionResult->getResponse()); $this->assertIsString($this->CompletionResult->getResponse()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->CompletionResult->setstatus(\FreeClimb\Api\Model\CompletionResultStatus::SUCCESS); diff --git a/test/Model/ConferenceListTest.php b/test/Model/ConferenceListTest.php index f12bce2..21373fd 100644 --- a/test/Model/ConferenceListTest.php +++ b/test/Model/ConferenceListTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->ConferenceList->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->ConferenceList->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->ConferenceList->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->ConferenceList->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->ConferenceList->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->ConferenceList->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->ConferenceList->getNextPageUri()); $this->assertIsString($this->ConferenceList->getNextPageUri()); } - /** - * Test attribute "conferences" - */ + public function testPropertyConferences() { $this->ConferenceList->setconferences([]); diff --git a/test/Model/ConferenceParticipantListTest.php b/test/Model/ConferenceParticipantListTest.php index db5495b..fdf2767 100644 --- a/test/Model/ConferenceParticipantListTest.php +++ b/test/Model/ConferenceParticipantListTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->ConferenceParticipantList->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->ConferenceParticipantList->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->ConferenceParticipantList->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->ConferenceParticipantList->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->ConferenceParticipantList->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->ConferenceParticipantList->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->ConferenceParticipantList->getNextPageUri()); $this->assertIsString($this->ConferenceParticipantList->getNextPageUri()); } - /** - * Test attribute "participants" - */ + public function testPropertyParticipants() { $this->ConferenceParticipantList->setparticipants([]); diff --git a/test/Model/ConferenceParticipantResultTest.php b/test/Model/ConferenceParticipantResultTest.php index a2c16df..3d25ca5 100644 --- a/test/Model/ConferenceParticipantResultTest.php +++ b/test/Model/ConferenceParticipantResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { @@ -83,9 +81,7 @@ public function testPropertyUri() $this->assertEquals('TS', $this->ConferenceParticipantResult->getUri()); $this->assertIsString($this->ConferenceParticipantResult->getUri()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -93,9 +89,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->ConferenceParticipantResult->getDateCreated()); $this->assertIsString($this->ConferenceParticipantResult->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -103,9 +97,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->ConferenceParticipantResult->getDateUpdated()); $this->assertIsString($this->ConferenceParticipantResult->getDateUpdated()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { @@ -115,9 +107,7 @@ public function testPropertyRevision() $this->assertIsNumeric($this->ConferenceParticipantResult->getrevision()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -125,9 +115,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->ConferenceParticipantResult->getAccountId()); $this->assertIsString($this->ConferenceParticipantResult->getAccountId()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -135,9 +123,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->ConferenceParticipantResult->getConferenceId()); $this->assertIsString($this->ConferenceParticipantResult->getConferenceId()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -145,36 +131,28 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->ConferenceParticipantResult->getCallId()); $this->assertIsString($this->ConferenceParticipantResult->getCallId()); } - /** - * Test attribute "talk" - */ + public function testPropertyTalk() { $this->ConferenceParticipantResult->settalk(false); $this->assertFalse($this->ConferenceParticipantResult->gettalk()); $this->assertIsBool($this->ConferenceParticipantResult->gettalk()); } - /** - * Test attribute "listen" - */ + public function testPropertyListen() { $this->ConferenceParticipantResult->setlisten(false); $this->assertFalse($this->ConferenceParticipantResult->getlisten()); $this->assertIsBool($this->ConferenceParticipantResult->getlisten()); } - /** - * Test attribute "dtmf_pass_through" - */ + public function testPropertyDtmfPassThrough() { $this->ConferenceParticipantResult->setdtmfPassThrough(false); $this->assertFalse($this->ConferenceParticipantResult->getdtmfPassThrough()); $this->assertIsBool($this->ConferenceParticipantResult->getdtmfPassThrough()); } - /** - * Test attribute "start_conf_on_enter" - */ + public function testPropertyStartConfOnEnter() { $this->ConferenceParticipantResult->setstartConfOnEnter(false); diff --git a/test/Model/ConferenceRecordingStatusWebhookTest.php b/test/Model/ConferenceRecordingStatusWebhookTest.php index 72bb814..d36dc8c 100644 --- a/test/Model/ConferenceRecordingStatusWebhookTest.php +++ b/test/Model/ConferenceRecordingStatusWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getRequestType()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getCallId()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getAccountId()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getFrom()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getTo()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->ConferenceRecordingStatusWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->ConferenceRecordingStatusWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->ConferenceRecordingStatusWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->ConferenceRecordingStatusWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->ConferenceRecordingStatusWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->ConferenceRecordingStatusWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getConferenceId()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getQueueId()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getQueueId()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->ConferenceRecordingStatusWebhook->setstatus(\FreeClimb\Api\Model\ConferenceStatus::EMPTY); @@ -191,9 +171,7 @@ public function testPropertyStatus() $this->ConferenceRecordingStatusWebhook->setstatus(\FreeClimb\Api\Model\ConferenceStatus::TERMINATED); $this->assertEquals(\FreeClimb\Api\Model\ConferenceStatus::TERMINATED, $this->ConferenceRecordingStatusWebhook->getstatus()); } - /** - * Test attribute "recording_url" - */ + public function testPropertyRecordingUrl() { @@ -201,9 +179,7 @@ public function testPropertyRecordingUrl() $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getRecordingUrl()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getRecordingUrl()); } - /** - * Test attribute "recording_id" - */ + public function testPropertyRecordingId() { @@ -211,9 +187,7 @@ public function testPropertyRecordingId() $this->assertEquals('TS', $this->ConferenceRecordingStatusWebhook->getRecordingId()); $this->assertIsString($this->ConferenceRecordingStatusWebhook->getRecordingId()); } - /** - * Test attribute "recording_duration_sec" - */ + public function testPropertyRecordingDurationSec() { diff --git a/test/Model/ConferenceResultTest.php b/test/Model/ConferenceResultTest.php index 8c505c2..3920983 100644 --- a/test/Model/ConferenceResultTest.php +++ b/test/Model/ConferenceResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { @@ -83,9 +81,7 @@ public function testPropertyUri() $this->assertEquals('TS', $this->ConferenceResult->getUri()); $this->assertIsString($this->ConferenceResult->getUri()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -93,9 +89,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->ConferenceResult->getDateCreated()); $this->assertIsString($this->ConferenceResult->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -103,9 +97,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->ConferenceResult->getDateUpdated()); $this->assertIsString($this->ConferenceResult->getDateUpdated()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { @@ -115,9 +107,7 @@ public function testPropertyRevision() $this->assertIsNumeric($this->ConferenceResult->getrevision()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -125,9 +115,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->ConferenceResult->getConferenceId()); $this->assertIsString($this->ConferenceResult->getConferenceId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -135,9 +123,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->ConferenceResult->getAccountId()); $this->assertIsString($this->ConferenceResult->getAccountId()); } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { @@ -145,9 +131,7 @@ public function testPropertyAlias() $this->assertEquals('TS', $this->ConferenceResult->getAlias()); $this->assertIsString($this->ConferenceResult->getAlias()); } - /** - * Test attribute "play_beep" - */ + public function testPropertyPlayBeep() { $this->ConferenceResult->setplayBeep(\FreeClimb\Api\Model\PlayBeep::ALWAYS); @@ -159,18 +143,14 @@ public function testPropertyPlayBeep() $this->ConferenceResult->setplayBeep(\FreeClimb\Api\Model\PlayBeep::EXIT_ONLY); $this->assertEquals(\FreeClimb\Api\Model\PlayBeep::EXIT_ONLY, $this->ConferenceResult->getplayBeep()); } - /** - * Test attribute "record" - */ + public function testPropertyRecord() { $this->ConferenceResult->setrecord(false); $this->assertFalse($this->ConferenceResult->getrecord()); $this->assertIsBool($this->ConferenceResult->getrecord()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->ConferenceResult->setstatus(\FreeClimb\Api\Model\ConferenceStatus::EMPTY); @@ -182,9 +162,7 @@ public function testPropertyStatus() $this->ConferenceResult->setstatus(\FreeClimb\Api\Model\ConferenceStatus::TERMINATED); $this->assertEquals(\FreeClimb\Api\Model\ConferenceStatus::TERMINATED, $this->ConferenceResult->getstatus()); } - /** - * Test attribute "wait_url" - */ + public function testPropertyWaitUrl() { @@ -192,9 +170,7 @@ public function testPropertyWaitUrl() $this->assertEquals('TS', $this->ConferenceResult->getWaitUrl()); $this->assertIsString($this->ConferenceResult->getWaitUrl()); } - /** - * Test attribute "action_url" - */ + public function testPropertyActionUrl() { @@ -202,9 +178,7 @@ public function testPropertyActionUrl() $this->assertEquals('TS', $this->ConferenceResult->getActionUrl()); $this->assertIsString($this->ConferenceResult->getActionUrl()); } - /** - * Test attribute "status_callback_url" - */ + public function testPropertyStatusCallbackUrl() { @@ -212,9 +186,7 @@ public function testPropertyStatusCallbackUrl() $this->assertEquals('TS', $this->ConferenceResult->getStatusCallbackUrl()); $this->assertIsString($this->ConferenceResult->getStatusCallbackUrl()); } - /** - * Test attribute "subresource_uris" - */ + public function testPropertySubresourceUris() { $this->ConferenceResult->setsubresourceUris(new \stdClass()); diff --git a/test/Model/ConferenceStatusWebhookTest.php b/test/Model/ConferenceStatusWebhookTest.php index 3f1dfa5..7372b74 100644 --- a/test/Model/ConferenceStatusWebhookTest.php +++ b/test/Model/ConferenceStatusWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->ConferenceStatusWebhook->getRequestType()); $this->assertIsString($this->ConferenceStatusWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->ConferenceStatusWebhook->getCallId()); $this->assertIsString($this->ConferenceStatusWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->ConferenceStatusWebhook->getAccountId()); $this->assertIsString($this->ConferenceStatusWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->ConferenceStatusWebhook->getFrom()); $this->assertIsString($this->ConferenceStatusWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->ConferenceStatusWebhook->getTo()); $this->assertIsString($this->ConferenceStatusWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->ConferenceStatusWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->ConferenceStatusWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->ConferenceStatusWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->ConferenceStatusWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->ConferenceStatusWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->ConferenceStatusWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->ConferenceStatusWebhook->getConferenceId()); $this->assertIsString($this->ConferenceStatusWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->ConferenceStatusWebhook->getQueueId()); $this->assertIsString($this->ConferenceStatusWebhook->getQueueId()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->ConferenceStatusWebhook->setstatus(\FreeClimb\Api\Model\ConferenceStatus::EMPTY); @@ -191,9 +171,7 @@ public function testPropertyStatus() $this->ConferenceStatusWebhook->setstatus(\FreeClimb\Api\Model\ConferenceStatus::TERMINATED); $this->assertEquals(\FreeClimb\Api\Model\ConferenceStatus::TERMINATED, $this->ConferenceStatusWebhook->getstatus()); } - /** - * Test attribute "recording_url" - */ + public function testPropertyRecordingUrl() { @@ -201,9 +179,7 @@ public function testPropertyRecordingUrl() $this->assertEquals('TS', $this->ConferenceStatusWebhook->getRecordingUrl()); $this->assertIsString($this->ConferenceStatusWebhook->getRecordingUrl()); } - /** - * Test attribute "recording_id" - */ + public function testPropertyRecordingId() { @@ -211,9 +187,7 @@ public function testPropertyRecordingId() $this->assertEquals('TS', $this->ConferenceStatusWebhook->getRecordingId()); $this->assertIsString($this->ConferenceStatusWebhook->getRecordingId()); } - /** - * Test attribute "recording_duration_sec" - */ + public function testPropertyRecordingDurationSec() { diff --git a/test/Model/CreateConferenceRequestTest.php b/test/Model/CreateConferenceRequestTest.php index 1ebaec4..1cd84a6 100644 --- a/test/Model/CreateConferenceRequestTest.php +++ b/test/Model/CreateConferenceRequestTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { @@ -83,9 +81,7 @@ public function testPropertyAlias() $this->assertEquals('TS', $this->CreateConferenceRequest->getAlias()); $this->assertIsString($this->CreateConferenceRequest->getAlias()); } - /** - * Test attribute "play_beep" - */ + public function testPropertyPlayBeep() { $this->CreateConferenceRequest->setplayBeep(\FreeClimb\Api\Model\PlayBeep::ALWAYS); @@ -97,18 +93,14 @@ public function testPropertyPlayBeep() $this->CreateConferenceRequest->setplayBeep(\FreeClimb\Api\Model\PlayBeep::EXIT_ONLY); $this->assertEquals(\FreeClimb\Api\Model\PlayBeep::EXIT_ONLY, $this->CreateConferenceRequest->getplayBeep()); } - /** - * Test attribute "record" - */ + public function testPropertyRecord() { $this->CreateConferenceRequest->setrecord(false); $this->assertFalse($this->CreateConferenceRequest->getrecord()); $this->assertIsBool($this->CreateConferenceRequest->getrecord()); } - /** - * Test attribute "wait_url" - */ + public function testPropertyWaitUrl() { @@ -116,9 +108,7 @@ public function testPropertyWaitUrl() $this->assertEquals('TS', $this->CreateConferenceRequest->getWaitUrl()); $this->assertIsString($this->CreateConferenceRequest->getWaitUrl()); } - /** - * Test attribute "status_callback_url" - */ + public function testPropertyStatusCallbackUrl() { diff --git a/test/Model/CreateConferenceTest.php b/test/Model/CreateConferenceTest.php index 1faf5ee..5ed56cd 100644 --- a/test/Model/CreateConferenceTest.php +++ b/test/Model/CreateConferenceTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "action_url" - */ + public function testPropertyActionUrl() { @@ -83,18 +81,14 @@ public function testPropertyActionUrl() $this->assertEquals('TS', $this->CreateConference->getActionUrl()); $this->assertIsString($this->CreateConference->getActionUrl()); } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { $this->CreateConference->setalias(false); $this->assertFalse($this->CreateConference->getalias()); $this->assertIsBool($this->CreateConference->getalias()); } - /** - * Test attribute "play_beep" - */ + public function testPropertyPlayBeep() { $this->CreateConference->setplayBeep(\FreeClimb\Api\Model\PlayBeep::ALWAYS); @@ -106,18 +100,14 @@ public function testPropertyPlayBeep() $this->CreateConference->setplayBeep(\FreeClimb\Api\Model\PlayBeep::EXIT_ONLY); $this->assertEquals(\FreeClimb\Api\Model\PlayBeep::EXIT_ONLY, $this->CreateConference->getplayBeep()); } - /** - * Test attribute "record" - */ + public function testPropertyRecord() { $this->CreateConference->setrecord(false); $this->assertFalse($this->CreateConference->getrecord()); $this->assertIsBool($this->CreateConference->getrecord()); } - /** - * Test attribute "status_callback_url" - */ + public function testPropertyStatusCallbackUrl() { @@ -125,9 +115,7 @@ public function testPropertyStatusCallbackUrl() $this->assertEquals('TS', $this->CreateConference->getStatusCallbackUrl()); $this->assertIsString($this->CreateConference->getStatusCallbackUrl()); } - /** - * Test attribute "wait_url" - */ + public function testPropertyWaitUrl() { diff --git a/test/Model/CreateConferenceWebhookTest.php b/test/Model/CreateConferenceWebhookTest.php index c124042..76dedc0 100644 --- a/test/Model/CreateConferenceWebhookTest.php +++ b/test/Model/CreateConferenceWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->CreateConferenceWebhook->getRequestType()); $this->assertIsString($this->CreateConferenceWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->CreateConferenceWebhook->getCallId()); $this->assertIsString($this->CreateConferenceWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->CreateConferenceWebhook->getAccountId()); $this->assertIsString($this->CreateConferenceWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->CreateConferenceWebhook->getFrom()); $this->assertIsString($this->CreateConferenceWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->CreateConferenceWebhook->getTo()); $this->assertIsString($this->CreateConferenceWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->CreateConferenceWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->CreateConferenceWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->CreateConferenceWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->CreateConferenceWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->CreateConferenceWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->CreateConferenceWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->CreateConferenceWebhook->getConferenceId()); $this->assertIsString($this->CreateConferenceWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->CreateConferenceWebhook->getQueueId()); $this->assertIsString($this->CreateConferenceWebhook->getQueueId()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->CreateConferenceWebhook->setstatus(\FreeClimb\Api\Model\ConferenceStatus::EMPTY); @@ -191,9 +171,7 @@ public function testPropertyStatus() $this->CreateConferenceWebhook->setstatus(\FreeClimb\Api\Model\ConferenceStatus::TERMINATED); $this->assertEquals(\FreeClimb\Api\Model\ConferenceStatus::TERMINATED, $this->CreateConferenceWebhook->getstatus()); } - /** - * Test attribute "recording_url" - */ + public function testPropertyRecordingUrl() { @@ -201,9 +179,7 @@ public function testPropertyRecordingUrl() $this->assertEquals('TS', $this->CreateConferenceWebhook->getRecordingUrl()); $this->assertIsString($this->CreateConferenceWebhook->getRecordingUrl()); } - /** - * Test attribute "recording_id" - */ + public function testPropertyRecordingId() { @@ -211,9 +187,7 @@ public function testPropertyRecordingId() $this->assertEquals('TS', $this->CreateConferenceWebhook->getRecordingId()); $this->assertIsString($this->CreateConferenceWebhook->getRecordingId()); } - /** - * Test attribute "recording_duration_sec" - */ + public function testPropertyRecordingDurationSec() { diff --git a/test/Model/CreateWebRTCTokenTest.php b/test/Model/CreateWebRTCTokenTest.php index b926c07..52758af 100644 --- a/test/Model/CreateWebRTCTokenTest.php +++ b/test/Model/CreateWebRTCTokenTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -83,9 +81,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->CreateWebRTCToken->getTo()); $this->assertIsString($this->CreateWebRTCToken->getTo()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -93,9 +89,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->CreateWebRTCToken->getFrom()); $this->assertIsString($this->CreateWebRTCToken->getFrom()); } - /** - * Test attribute "uses" - */ + public function testPropertyUses() { diff --git a/test/Model/DequeueWebhookTest.php b/test/Model/DequeueWebhookTest.php index 912e176..4d6e310 100644 --- a/test/Model/DequeueWebhookTest.php +++ b/test/Model/DequeueWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->DequeueWebhook->getRequestType()); $this->assertIsString($this->DequeueWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->DequeueWebhook->getCallId()); $this->assertIsString($this->DequeueWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->DequeueWebhook->getAccountId()); $this->assertIsString($this->DequeueWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->DequeueWebhook->getFrom()); $this->assertIsString($this->DequeueWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->DequeueWebhook->getTo()); $this->assertIsString($this->DequeueWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->DequeueWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->DequeueWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->DequeueWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->DequeueWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->DequeueWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->DequeueWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->DequeueWebhook->getConferenceId()); $this->assertIsString($this->DequeueWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->DequeueWebhook->getQueueId()); $this->assertIsString($this->DequeueWebhook->getQueueId()); } - /** - * Test attribute "queue_result" - */ + public function testPropertyQueueResult() { @@ -187,9 +167,7 @@ public function testPropertyQueueResult() $this->assertEquals('TS', $this->DequeueWebhook->getQueueResult()); $this->assertIsString($this->DequeueWebhook->getQueueResult()); } - /** - * Test attribute "queue_time" - */ + public function testPropertyQueueTime() { diff --git a/test/Model/EnqueueTest.php b/test/Model/EnqueueTest.php index 7bb2d86..3ac857b 100644 --- a/test/Model/EnqueueTest.php +++ b/test/Model/EnqueueTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "action_url" - */ + public function testPropertyActionUrl() { @@ -83,9 +81,7 @@ public function testPropertyActionUrl() $this->assertEquals('TS', $this->Enqueue->getActionUrl()); $this->assertIsString($this->Enqueue->getActionUrl()); } - /** - * Test attribute "notification_url" - */ + public function testPropertyNotificationUrl() { @@ -93,9 +89,7 @@ public function testPropertyNotificationUrl() $this->assertEquals('TS', $this->Enqueue->getNotificationUrl()); $this->assertIsString($this->Enqueue->getNotificationUrl()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -103,9 +97,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->Enqueue->getQueueId()); $this->assertIsString($this->Enqueue->getQueueId()); } - /** - * Test attribute "wait_url" - */ + public function testPropertyWaitUrl() { diff --git a/test/Model/FilterLogsRequestTest.php b/test/Model/FilterLogsRequestTest.php index af5902f..d418c39 100644 --- a/test/Model/FilterLogsRequestTest.php +++ b/test/Model/FilterLogsRequestTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "pql" - */ + public function testPropertyPql() { diff --git a/test/Model/GetDigitsTest.php b/test/Model/GetDigitsTest.php index 31e5e3a..4b5e020 100644 --- a/test/Model/GetDigitsTest.php +++ b/test/Model/GetDigitsTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "action_url" - */ + public function testPropertyActionUrl() { @@ -83,9 +81,7 @@ public function testPropertyActionUrl() $this->assertEquals('TS', $this->GetDigits->getActionUrl()); $this->assertIsString($this->GetDigits->getActionUrl()); } - /** - * Test attribute "digit_timeout_ms" - */ + public function testPropertyDigitTimeoutMs() { @@ -95,9 +91,7 @@ public function testPropertyDigitTimeoutMs() $this->assertIsNumeric($this->GetDigits->getdigitTimeoutMs()); } - /** - * Test attribute "finish_on_key" - */ + public function testPropertyFinishOnKey() { @@ -105,18 +99,14 @@ public function testPropertyFinishOnKey() $this->assertEquals('TS', $this->GetDigits->getFinishOnKey()); $this->assertIsString($this->GetDigits->getFinishOnKey()); } - /** - * Test attribute "flush_buffer" - */ + public function testPropertyFlushBuffer() { $this->GetDigits->setflushBuffer(false); $this->assertFalse($this->GetDigits->getflushBuffer()); $this->assertIsBool($this->GetDigits->getflushBuffer()); } - /** - * Test attribute "initial_timeout_ms" - */ + public function testPropertyInitialTimeoutMs() { @@ -126,9 +116,7 @@ public function testPropertyInitialTimeoutMs() $this->assertIsNumeric($this->GetDigits->getinitialTimeoutMs()); } - /** - * Test attribute "max_digits" - */ + public function testPropertyMaxDigits() { @@ -138,9 +126,7 @@ public function testPropertyMaxDigits() $this->assertIsNumeric($this->GetDigits->getmaxDigits()); } - /** - * Test attribute "min_digits" - */ + public function testPropertyMinDigits() { @@ -150,18 +136,14 @@ public function testPropertyMinDigits() $this->assertIsNumeric($this->GetDigits->getminDigits()); } - /** - * Test attribute "prompts" - */ + public function testPropertyPrompts() { $this->GetDigits->setprompts([]); $this->assertEquals([], $this->GetDigits->getprompts()); $this->assertIsArray($this->GetDigits->getprompts()); } - /** - * Test attribute "privacy_mode" - */ + public function testPropertyPrivacyMode() { $this->GetDigits->setprivacyMode(false); diff --git a/test/Model/GetDigitsWebhookTest.php b/test/Model/GetDigitsWebhookTest.php index 83a19b0..46fa10f 100644 --- a/test/Model/GetDigitsWebhookTest.php +++ b/test/Model/GetDigitsWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->GetDigitsWebhook->getRequestType()); $this->assertIsString($this->GetDigitsWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->GetDigitsWebhook->getCallId()); $this->assertIsString($this->GetDigitsWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->GetDigitsWebhook->getAccountId()); $this->assertIsString($this->GetDigitsWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->GetDigitsWebhook->getFrom()); $this->assertIsString($this->GetDigitsWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->GetDigitsWebhook->getTo()); $this->assertIsString($this->GetDigitsWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->GetDigitsWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->GetDigitsWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->GetDigitsWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->GetDigitsWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->GetDigitsWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->GetDigitsWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->GetDigitsWebhook->getConferenceId()); $this->assertIsString($this->GetDigitsWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->GetDigitsWebhook->getQueueId()); $this->assertIsString($this->GetDigitsWebhook->getQueueId()); } - /** - * Test attribute "digits" - */ + public function testPropertyDigits() { @@ -187,9 +167,7 @@ public function testPropertyDigits() $this->assertEquals('TS', $this->GetDigitsWebhook->getDigits()); $this->assertIsString($this->GetDigitsWebhook->getDigits()); } - /** - * Test attribute "reason" - */ + public function testPropertyReason() { $this->GetDigitsWebhook->setreason(\FreeClimb\Api\Model\GetDigitsReason::FINISH_KEY); @@ -201,9 +179,7 @@ public function testPropertyReason() $this->GetDigitsWebhook->setreason(\FreeClimb\Api\Model\GetDigitsReason::TONE); $this->assertEquals(\FreeClimb\Api\Model\GetDigitsReason::TONE, $this->GetDigitsWebhook->getreason()); } - /** - * Test attribute "parent_call_id" - */ + public function testPropertyParentCallId() { diff --git a/test/Model/GetSpeechTest.php b/test/Model/GetSpeechTest.php index 77bd5f1..66bcd7b 100644 --- a/test/Model/GetSpeechTest.php +++ b/test/Model/GetSpeechTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "action_url" - */ + public function testPropertyActionUrl() { @@ -83,9 +81,7 @@ public function testPropertyActionUrl() $this->assertEquals('TS', $this->GetSpeech->getActionUrl()); $this->assertIsString($this->GetSpeech->getActionUrl()); } - /** - * Test attribute "grammar_type" - */ + public function testPropertyGrammarType() { $this->GetSpeech->setgrammarType(\FreeClimb\Api\Model\GrammarType::URL); @@ -93,9 +89,7 @@ public function testPropertyGrammarType() $this->GetSpeech->setgrammarType(\FreeClimb\Api\Model\GrammarType::BUILT_IN); $this->assertEquals(\FreeClimb\Api\Model\GrammarType::BUILT_IN, $this->GetSpeech->getgrammarType()); } - /** - * Test attribute "grammar_file" - */ + public function testPropertyGrammarFile() { @@ -103,9 +97,7 @@ public function testPropertyGrammarFile() $this->assertEquals('TS', $this->GetSpeech->getGrammarFile()); $this->assertIsString($this->GetSpeech->getGrammarFile()); } - /** - * Test attribute "grammar_rule" - */ + public function testPropertyGrammarRule() { @@ -113,27 +105,21 @@ public function testPropertyGrammarRule() $this->assertEquals('TS', $this->GetSpeech->getGrammarRule()); $this->assertIsString($this->GetSpeech->getGrammarRule()); } - /** - * Test attribute "play_beep" - */ + public function testPropertyPlayBeep() { $this->GetSpeech->setplayBeep(false); $this->assertFalse($this->GetSpeech->getplayBeep()); $this->assertIsBool($this->GetSpeech->getplayBeep()); } - /** - * Test attribute "prompts" - */ + public function testPropertyPrompts() { $this->GetSpeech->setprompts([]); $this->assertEquals([], $this->GetSpeech->getprompts()); $this->assertIsArray($this->GetSpeech->getprompts()); } - /** - * Test attribute "no_input_timeout_ms" - */ + public function testPropertyNoInputTimeoutMs() { @@ -143,9 +129,7 @@ public function testPropertyNoInputTimeoutMs() $this->assertIsNumeric($this->GetSpeech->getnoInputTimeoutMs()); } - /** - * Test attribute "recognition_timeout_ms" - */ + public function testPropertyRecognitionTimeoutMs() { @@ -155,9 +139,7 @@ public function testPropertyRecognitionTimeoutMs() $this->assertIsNumeric($this->GetSpeech->getrecognitionTimeoutMs()); } - /** - * Test attribute "confidence_threshold" - */ + public function testPropertyConfidenceThreshold() { @@ -167,9 +149,7 @@ public function testPropertyConfidenceThreshold() $this->assertIsNumeric($this->GetSpeech->getconfidenceThreshold()); } - /** - * Test attribute "sensitivity_level" - */ + public function testPropertySensitivityLevel() { @@ -179,9 +159,7 @@ public function testPropertySensitivityLevel() $this->assertIsNumeric($this->GetSpeech->getsensitivityLevel()); } - /** - * Test attribute "speech_complete_timeout_ms" - */ + public function testPropertySpeechCompleteTimeoutMs() { @@ -191,9 +169,7 @@ public function testPropertySpeechCompleteTimeoutMs() $this->assertIsNumeric($this->GetSpeech->getspeechCompleteTimeoutMs()); } - /** - * Test attribute "speech_incomplete_timeout_ms" - */ + public function testPropertySpeechIncompleteTimeoutMs() { @@ -203,9 +179,7 @@ public function testPropertySpeechIncompleteTimeoutMs() $this->assertIsNumeric($this->GetSpeech->getspeechIncompleteTimeoutMs()); } - /** - * Test attribute "privacy_mode" - */ + public function testPropertyPrivacyMode() { $this->GetSpeech->setprivacyMode(false); diff --git a/test/Model/GetSpeechWebhookTest.php b/test/Model/GetSpeechWebhookTest.php index a1e1124..dfb8ee5 100644 --- a/test/Model/GetSpeechWebhookTest.php +++ b/test/Model/GetSpeechWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->GetSpeechWebhook->getRequestType()); $this->assertIsString($this->GetSpeechWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->GetSpeechWebhook->getCallId()); $this->assertIsString($this->GetSpeechWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->GetSpeechWebhook->getAccountId()); $this->assertIsString($this->GetSpeechWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->GetSpeechWebhook->getFrom()); $this->assertIsString($this->GetSpeechWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->GetSpeechWebhook->getTo()); $this->assertIsString($this->GetSpeechWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->GetSpeechWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->GetSpeechWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->GetSpeechWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->GetSpeechWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->GetSpeechWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->GetSpeechWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->GetSpeechWebhook->getConferenceId()); $this->assertIsString($this->GetSpeechWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->GetSpeechWebhook->getQueueId()); $this->assertIsString($this->GetSpeechWebhook->getQueueId()); } - /** - * Test attribute "reason" - */ + public function testPropertyReason() { $this->GetSpeechWebhook->setreason(\FreeClimb\Api\Model\GetSpeechReason::ERROR); @@ -195,9 +175,7 @@ public function testPropertyReason() $this->GetSpeechWebhook->setreason(\FreeClimb\Api\Model\GetSpeechReason::RECOGNITION); $this->assertEquals(\FreeClimb\Api\Model\GetSpeechReason::RECOGNITION, $this->GetSpeechWebhook->getreason()); } - /** - * Test attribute "recognition_result" - */ + public function testPropertyRecognitionResult() { @@ -205,9 +183,7 @@ public function testPropertyRecognitionResult() $this->assertEquals('TS', $this->GetSpeechWebhook->getRecognitionResult()); $this->assertIsString($this->GetSpeechWebhook->getRecognitionResult()); } - /** - * Test attribute "confidence" - */ + public function testPropertyConfidence() { @@ -217,9 +193,7 @@ public function testPropertyConfidence() $this->assertIsNumeric($this->GetSpeechWebhook->getconfidence()); } - /** - * Test attribute "parent_call_id" - */ + public function testPropertyParentCallId() { @@ -227,9 +201,7 @@ public function testPropertyParentCallId() $this->assertEquals('TS', $this->GetSpeechWebhook->getParentCallId()); $this->assertIsString($this->GetSpeechWebhook->getParentCallId()); } - /** - * Test attribute "completion_reason" - */ + public function testPropertyCompletionReason() { @@ -237,9 +209,7 @@ public function testPropertyCompletionReason() $this->assertEquals('TS', $this->GetSpeechWebhook->getCompletionReason()); $this->assertIsString($this->GetSpeechWebhook->getCompletionReason()); } - /** - * Test attribute "completion_cause" - */ + public function testPropertyCompletionCause() { @@ -247,9 +217,7 @@ public function testPropertyCompletionCause() $this->assertEquals('TS', $this->GetSpeechWebhook->getCompletionCause()); $this->assertIsString($this->GetSpeechWebhook->getCompletionCause()); } - /** - * Test attribute "mrcp_code" - */ + public function testPropertyMrcpCode() { @@ -259,9 +227,7 @@ public function testPropertyMrcpCode() $this->assertIsNumeric($this->GetSpeechWebhook->getmrcpCode()); } - /** - * Test attribute "mrcp_diagnostic" - */ + public function testPropertyMrcpDiagnostic() { diff --git a/test/Model/HangupTest.php b/test/Model/HangupTest.php index 537d887..d270658 100644 --- a/test/Model/HangupTest.php +++ b/test/Model/HangupTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "reason" - */ + public function testPropertyReason() { diff --git a/test/Model/InboundCallWebhookTest.php b/test/Model/InboundCallWebhookTest.php index fa0f341..f77507a 100644 --- a/test/Model/InboundCallWebhookTest.php +++ b/test/Model/InboundCallWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->InboundCallWebhook->getRequestType()); $this->assertIsString($this->InboundCallWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->InboundCallWebhook->getCallId()); $this->assertIsString($this->InboundCallWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->InboundCallWebhook->getAccountId()); $this->assertIsString($this->InboundCallWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->InboundCallWebhook->getFrom()); $this->assertIsString($this->InboundCallWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->InboundCallWebhook->getTo()); $this->assertIsString($this->InboundCallWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->InboundCallWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->InboundCallWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->InboundCallWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->InboundCallWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->InboundCallWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->InboundCallWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->InboundCallWebhook->getConferenceId()); $this->assertIsString($this->InboundCallWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->InboundCallWebhook->getQueueId()); $this->assertIsString($this->InboundCallWebhook->getQueueId()); } - /** - * Test attribute "parent_call_id" - */ + public function testPropertyParentCallId() { diff --git a/test/Model/IncomingNumberListTest.php b/test/Model/IncomingNumberListTest.php index 652a171..4fa65b8 100644 --- a/test/Model/IncomingNumberListTest.php +++ b/test/Model/IncomingNumberListTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->IncomingNumberList->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->IncomingNumberList->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->IncomingNumberList->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->IncomingNumberList->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->IncomingNumberList->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->IncomingNumberList->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->IncomingNumberList->getNextPageUri()); $this->assertIsString($this->IncomingNumberList->getNextPageUri()); } - /** - * Test attribute "incoming_phone_numbers" - */ + public function testPropertyIncomingPhoneNumbers() { $this->IncomingNumberList->setincomingPhoneNumbers([]); diff --git a/test/Model/IncomingNumberRequestTest.php b/test/Model/IncomingNumberRequestTest.php index 66cc139..95b93f7 100644 --- a/test/Model/IncomingNumberRequestTest.php +++ b/test/Model/IncomingNumberRequestTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "application_id" - */ + public function testPropertyApplicationId() { @@ -83,9 +81,7 @@ public function testPropertyApplicationId() $this->assertEquals('TS', $this->IncomingNumberRequest->getApplicationId()); $this->assertIsString($this->IncomingNumberRequest->getApplicationId()); } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { @@ -93,9 +89,7 @@ public function testPropertyAlias() $this->assertEquals('TS', $this->IncomingNumberRequest->getAlias()); $this->assertIsString($this->IncomingNumberRequest->getAlias()); } - /** - * Test attribute "campaign_id" - */ + public function testPropertyCampaignId() { diff --git a/test/Model/IncomingNumberResultTest.php b/test/Model/IncomingNumberResultTest.php index 45cf6f5..a3de558 100644 --- a/test/Model/IncomingNumberResultTest.php +++ b/test/Model/IncomingNumberResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { @@ -83,9 +81,7 @@ public function testPropertyUri() $this->assertEquals('TS', $this->IncomingNumberResult->getUri()); $this->assertIsString($this->IncomingNumberResult->getUri()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -93,9 +89,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->IncomingNumberResult->getDateCreated()); $this->assertIsString($this->IncomingNumberResult->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -103,9 +97,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->IncomingNumberResult->getDateUpdated()); $this->assertIsString($this->IncomingNumberResult->getDateUpdated()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { @@ -115,17 +107,13 @@ public function testPropertyRevision() $this->assertIsNumeric($this->IncomingNumberResult->getrevision()); } - /** - * Test attribute "capabilities" - */ + public function testPropertyCapabilities() { $this->IncomingNumberResult->setcapabilities(new \stdClass()); $this->assertInstanceOf(\stdClass::class, $this->IncomingNumberResult->getcapabilities()); } - /** - * Test attribute "campaign_id" - */ + public function testPropertyCampaignId() { @@ -133,9 +121,7 @@ public function testPropertyCampaignId() $this->assertEquals('TS', $this->IncomingNumberResult->getCampaignId()); $this->assertIsString($this->IncomingNumberResult->getCampaignId()); } - /** - * Test attribute "phone_number_id" - */ + public function testPropertyPhoneNumberId() { @@ -143,9 +129,7 @@ public function testPropertyPhoneNumberId() $this->assertEquals('TS', $this->IncomingNumberResult->getPhoneNumberId()); $this->assertIsString($this->IncomingNumberResult->getPhoneNumberId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -153,9 +137,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->IncomingNumberResult->getAccountId()); $this->assertIsString($this->IncomingNumberResult->getAccountId()); } - /** - * Test attribute "application_id" - */ + public function testPropertyApplicationId() { @@ -163,9 +145,7 @@ public function testPropertyApplicationId() $this->assertEquals('TS', $this->IncomingNumberResult->getApplicationId()); $this->assertIsString($this->IncomingNumberResult->getApplicationId()); } - /** - * Test attribute "phone_number" - */ + public function testPropertyPhoneNumber() { @@ -173,9 +153,7 @@ public function testPropertyPhoneNumber() $this->assertEquals('TS', $this->IncomingNumberResult->getPhoneNumber()); $this->assertIsString($this->IncomingNumberResult->getPhoneNumber()); } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { @@ -183,9 +161,7 @@ public function testPropertyAlias() $this->assertEquals('TS', $this->IncomingNumberResult->getAlias()); $this->assertIsString($this->IncomingNumberResult->getAlias()); } - /** - * Test attribute "region" - */ + public function testPropertyRegion() { @@ -193,9 +169,7 @@ public function testPropertyRegion() $this->assertEquals('TS', $this->IncomingNumberResult->getRegion()); $this->assertIsString($this->IncomingNumberResult->getRegion()); } - /** - * Test attribute "country" - */ + public function testPropertyCountry() { @@ -203,36 +177,28 @@ public function testPropertyCountry() $this->assertEquals('TS', $this->IncomingNumberResult->getCountry()); $this->assertIsString($this->IncomingNumberResult->getCountry()); } - /** - * Test attribute "voice_enabled" - */ + public function testPropertyVoiceEnabled() { $this->IncomingNumberResult->setvoiceEnabled(false); $this->assertFalse($this->IncomingNumberResult->getvoiceEnabled()); $this->assertIsBool($this->IncomingNumberResult->getvoiceEnabled()); } - /** - * Test attribute "sms_enabled" - */ + public function testPropertySmsEnabled() { $this->IncomingNumberResult->setsmsEnabled(false); $this->assertFalse($this->IncomingNumberResult->getsmsEnabled()); $this->assertIsBool($this->IncomingNumberResult->getsmsEnabled()); } - /** - * Test attribute "offnet" - */ + public function testPropertyOffnet() { $this->IncomingNumberResult->setoffnet(false); $this->assertFalse($this->IncomingNumberResult->getoffnet()); $this->assertIsBool($this->IncomingNumberResult->getoffnet()); } - /** - * Test attribute "tfn" - */ + public function testPropertyTfn() { $this->IncomingNumberResult->settfn(new \stdClass()); diff --git a/test/Model/LeaveConferenceWebhookTest.php b/test/Model/LeaveConferenceWebhookTest.php index 26de8d7..bad01c1 100644 --- a/test/Model/LeaveConferenceWebhookTest.php +++ b/test/Model/LeaveConferenceWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->LeaveConferenceWebhook->getRequestType()); $this->assertIsString($this->LeaveConferenceWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->LeaveConferenceWebhook->getCallId()); $this->assertIsString($this->LeaveConferenceWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->LeaveConferenceWebhook->getAccountId()); $this->assertIsString($this->LeaveConferenceWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->LeaveConferenceWebhook->getFrom()); $this->assertIsString($this->LeaveConferenceWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->LeaveConferenceWebhook->getTo()); $this->assertIsString($this->LeaveConferenceWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->LeaveConferenceWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->LeaveConferenceWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->LeaveConferenceWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->LeaveConferenceWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->LeaveConferenceWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->LeaveConferenceWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->LeaveConferenceWebhook->getConferenceId()); $this->assertIsString($this->LeaveConferenceWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { diff --git a/test/Model/LogListTest.php b/test/Model/LogListTest.php index 11c06c1..6026194 100644 --- a/test/Model/LogListTest.php +++ b/test/Model/LogListTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->LogList->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->LogList->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->LogList->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->LogList->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->LogList->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->LogList->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->LogList->getNextPageUri()); $this->assertIsString($this->LogList->getNextPageUri()); } - /** - * Test attribute "logs" - */ + public function testPropertyLogs() { $this->LogList->setlogs([]); diff --git a/test/Model/LogResultTest.php b/test/Model/LogResultTest.php index 400085e..e23aaa1 100644 --- a/test/Model/LogResultTest.php +++ b/test/Model/LogResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "timestamp" - */ + public function testPropertyTimestamp() { @@ -85,9 +83,7 @@ public function testPropertyTimestamp() $this->assertIsNumeric($this->LogResult->gettimestamp()); } - /** - * Test attribute "level" - */ + public function testPropertyLevel() { $this->LogResult->setlevel(\FreeClimb\Api\Model\LogLevel::INFO); @@ -97,9 +93,7 @@ public function testPropertyLevel() $this->LogResult->setlevel(\FreeClimb\Api\Model\LogLevel::ERROR); $this->assertEquals(\FreeClimb\Api\Model\LogLevel::ERROR, $this->LogResult->getlevel()); } - /** - * Test attribute "request_id" - */ + public function testPropertyRequestId() { @@ -107,9 +101,7 @@ public function testPropertyRequestId() $this->assertEquals('TS', $this->LogResult->getRequestId()); $this->assertIsString($this->LogResult->getRequestId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -117,9 +109,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->LogResult->getAccountId()); $this->assertIsString($this->LogResult->getAccountId()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -127,9 +117,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->LogResult->getCallId()); $this->assertIsString($this->LogResult->getCallId()); } - /** - * Test attribute "message" - */ + public function testPropertyMessage() { @@ -137,9 +125,7 @@ public function testPropertyMessage() $this->assertEquals('TS', $this->LogResult->getMessage()); $this->assertIsString($this->LogResult->getMessage()); } - /** - * Test attribute "metadata" - */ + public function testPropertyMetadata() { $this->LogResult->setmetadata(new \stdClass()); diff --git a/test/Model/MachineDetectedWebhookTest.php b/test/Model/MachineDetectedWebhookTest.php index eaef773..e00cc2e 100644 --- a/test/Model/MachineDetectedWebhookTest.php +++ b/test/Model/MachineDetectedWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->MachineDetectedWebhook->getRequestType()); $this->assertIsString($this->MachineDetectedWebhook->getRequestType()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->MachineDetectedWebhook->getCallId()); $this->assertIsString($this->MachineDetectedWebhook->getCallId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -103,9 +97,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->MachineDetectedWebhook->getAccountId()); $this->assertIsString($this->MachineDetectedWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->MachineDetectedWebhook->getFrom()); $this->assertIsString($this->MachineDetectedWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->MachineDetectedWebhook->getTo()); $this->assertIsString($this->MachineDetectedWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->MachineDetectedWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->MachineDetectedWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->MachineDetectedWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->MachineDetectedWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->MachineDetectedWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->MachineDetectedWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->MachineDetectedWebhook->getConferenceId()); $this->assertIsString($this->MachineDetectedWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->MachineDetectedWebhook->getQueueId()); $this->assertIsString($this->MachineDetectedWebhook->getQueueId()); } - /** - * Test attribute "parent_call_id" - */ + public function testPropertyParentCallId() { @@ -187,9 +167,7 @@ public function testPropertyParentCallId() $this->assertEquals('TS', $this->MachineDetectedWebhook->getParentCallId()); $this->assertIsString($this->MachineDetectedWebhook->getParentCallId()); } - /** - * Test attribute "machine_type" - */ + public function testPropertyMachineType() { $this->MachineDetectedWebhook->setmachineType(\FreeClimb\Api\Model\MachineType::ANSWERING_MACHINE); diff --git a/test/Model/MakeCallRequestTest.php b/test/Model/MakeCallRequestTest.php index 8815fcc..b7cde14 100644 --- a/test/Model/MakeCallRequestTest.php +++ b/test/Model/MakeCallRequestTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -83,9 +81,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->MakeCallRequest->getFrom()); $this->assertIsString($this->MakeCallRequest->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -93,9 +89,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->MakeCallRequest->getTo()); $this->assertIsString($this->MakeCallRequest->getTo()); } - /** - * Test attribute "application_id" - */ + public function testPropertyApplicationId() { @@ -103,9 +97,7 @@ public function testPropertyApplicationId() $this->assertEquals('TS', $this->MakeCallRequest->getApplicationId()); $this->assertIsString($this->MakeCallRequest->getApplicationId()); } - /** - * Test attribute "send_digits" - */ + public function testPropertySendDigits() { @@ -113,9 +105,7 @@ public function testPropertySendDigits() $this->assertEquals('TS', $this->MakeCallRequest->getSendDigits()); $this->assertIsString($this->MakeCallRequest->getSendDigits()); } - /** - * Test attribute "if_machine" - */ + public function testPropertyIfMachine() { @@ -123,9 +113,7 @@ public function testPropertyIfMachine() $this->assertEquals('TS', $this->MakeCallRequest->getIfMachine()); $this->assertIsString($this->MakeCallRequest->getIfMachine()); } - /** - * Test attribute "if_machine_url" - */ + public function testPropertyIfMachineUrl() { @@ -133,9 +121,7 @@ public function testPropertyIfMachineUrl() $this->assertEquals('TS', $this->MakeCallRequest->getIfMachineUrl()); $this->assertIsString($this->MakeCallRequest->getIfMachineUrl()); } - /** - * Test attribute "timeout" - */ + public function testPropertyTimeout() { @@ -145,9 +131,7 @@ public function testPropertyTimeout() $this->assertIsNumeric($this->MakeCallRequest->gettimeout()); } - /** - * Test attribute "parent_call_id" - */ + public function testPropertyParentCallId() { @@ -155,18 +139,14 @@ public function testPropertyParentCallId() $this->assertEquals('TS', $this->MakeCallRequest->getParentCallId()); $this->assertIsString($this->MakeCallRequest->getParentCallId()); } - /** - * Test attribute "privacy_mode" - */ + public function testPropertyPrivacyMode() { $this->MakeCallRequest->setprivacyMode(false); $this->assertFalse($this->MakeCallRequest->getprivacyMode()); $this->assertIsBool($this->MakeCallRequest->getprivacyMode()); } - /** - * Test attribute "call_connect_url" - */ + public function testPropertyCallConnectUrl() { diff --git a/test/Model/MessageDeliveryWebhookTest.php b/test/Model/MessageDeliveryWebhookTest.php index 7eac458..0821115 100644 --- a/test/Model/MessageDeliveryWebhookTest.php +++ b/test/Model/MessageDeliveryWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->MessageDeliveryWebhook->getRequestType()); $this->assertIsString($this->MessageDeliveryWebhook->getRequestType()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -93,9 +89,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->MessageDeliveryWebhook->getAccountId()); $this->assertIsString($this->MessageDeliveryWebhook->getAccountId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -103,9 +97,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->MessageDeliveryWebhook->getFrom()); $this->assertIsString($this->MessageDeliveryWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -113,9 +105,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->MessageDeliveryWebhook->getTo()); $this->assertIsString($this->MessageDeliveryWebhook->getTo()); } - /** - * Test attribute "text" - */ + public function testPropertyText() { @@ -123,9 +113,7 @@ public function testPropertyText() $this->assertEquals('TS', $this->MessageDeliveryWebhook->getText()); $this->assertIsString($this->MessageDeliveryWebhook->getText()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { @@ -133,9 +121,7 @@ public function testPropertyDirection() $this->assertEquals('TS', $this->MessageDeliveryWebhook->getDirection()); $this->assertIsString($this->MessageDeliveryWebhook->getDirection()); } - /** - * Test attribute "application_id" - */ + public function testPropertyApplicationId() { @@ -143,9 +129,7 @@ public function testPropertyApplicationId() $this->assertEquals('TS', $this->MessageDeliveryWebhook->getApplicationId()); $this->assertIsString($this->MessageDeliveryWebhook->getApplicationId()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { @@ -153,9 +137,7 @@ public function testPropertyStatus() $this->assertEquals('TS', $this->MessageDeliveryWebhook->getStatus()); $this->assertIsString($this->MessageDeliveryWebhook->getStatus()); } - /** - * Test attribute "phone_number_id" - */ + public function testPropertyPhoneNumberId() { @@ -163,9 +145,7 @@ public function testPropertyPhoneNumberId() $this->assertEquals('TS', $this->MessageDeliveryWebhook->getPhoneNumberId()); $this->assertIsString($this->MessageDeliveryWebhook->getPhoneNumberId()); } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { diff --git a/test/Model/MessageRequestTest.php b/test/Model/MessageRequestTest.php index 71244e7..bf3460e 100644 --- a/test/Model/MessageRequestTest.php +++ b/test/Model/MessageRequestTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { @@ -83,9 +81,7 @@ public function testPropertyUri() $this->assertEquals('TS', $this->MessageRequest->getUri()); $this->assertIsString($this->MessageRequest->getUri()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -93,9 +89,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->MessageRequest->getDateCreated()); $this->assertIsString($this->MessageRequest->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -103,9 +97,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->MessageRequest->getDateUpdated()); $this->assertIsString($this->MessageRequest->getDateUpdated()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { @@ -115,9 +107,7 @@ public function testPropertyRevision() $this->assertIsNumeric($this->MessageRequest->getrevision()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -125,9 +115,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->MessageRequest->getFrom()); $this->assertIsString($this->MessageRequest->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -135,9 +123,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->MessageRequest->getTo()); $this->assertIsString($this->MessageRequest->getTo()); } - /** - * Test attribute "text" - */ + public function testPropertyText() { @@ -145,9 +131,7 @@ public function testPropertyText() $this->assertEquals('TS', $this->MessageRequest->getText()); $this->assertIsString($this->MessageRequest->getText()); } - /** - * Test attribute "notification_url" - */ + public function testPropertyNotificationUrl() { @@ -155,9 +139,7 @@ public function testPropertyNotificationUrl() $this->assertEquals('TS', $this->MessageRequest->getNotificationUrl()); $this->assertIsString($this->MessageRequest->getNotificationUrl()); } - /** - * Test attribute "media_urls" - */ + public function testPropertyMediaUrls() { $this->MessageRequest->setmediaUrls([]); diff --git a/test/Model/MessageResultTest.php b/test/Model/MessageResultTest.php index ead853f..3915dff 100644 --- a/test/Model/MessageResultTest.php +++ b/test/Model/MessageResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { @@ -83,9 +81,7 @@ public function testPropertyUri() $this->assertEquals('TS', $this->MessageResult->getUri()); $this->assertIsString($this->MessageResult->getUri()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -93,9 +89,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->MessageResult->getDateCreated()); $this->assertIsString($this->MessageResult->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -103,9 +97,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->MessageResult->getDateUpdated()); $this->assertIsString($this->MessageResult->getDateUpdated()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { @@ -115,9 +107,7 @@ public function testPropertyRevision() $this->assertIsNumeric($this->MessageResult->getrevision()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -125,9 +115,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->MessageResult->getAccountId()); $this->assertIsString($this->MessageResult->getAccountId()); } - /** - * Test attribute "message_id" - */ + public function testPropertyMessageId() { @@ -135,9 +123,7 @@ public function testPropertyMessageId() $this->assertEquals('TS', $this->MessageResult->getMessageId()); $this->assertIsString($this->MessageResult->getMessageId()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->MessageResult->setstatus(\FreeClimb\Api\Model\MessageStatus::NEW); @@ -163,9 +149,7 @@ public function testPropertyStatus() $this->MessageResult->setstatus(\FreeClimb\Api\Model\MessageStatus::UNKNOWN); $this->assertEquals(\FreeClimb\Api\Model\MessageStatus::UNKNOWN, $this->MessageResult->getstatus()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -173,9 +157,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->MessageResult->getFrom()); $this->assertIsString($this->MessageResult->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -183,9 +165,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->MessageResult->getTo()); $this->assertIsString($this->MessageResult->getTo()); } - /** - * Test attribute "text" - */ + public function testPropertyText() { @@ -193,9 +173,7 @@ public function testPropertyText() $this->assertEquals('TS', $this->MessageResult->getText()); $this->assertIsString($this->MessageResult->getText()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { @@ -203,9 +181,7 @@ public function testPropertyDirection() $this->assertEquals('TS', $this->MessageResult->getDirection()); $this->assertIsString($this->MessageResult->getDirection()); } - /** - * Test attribute "notification_url" - */ + public function testPropertyNotificationUrl() { @@ -213,9 +189,7 @@ public function testPropertyNotificationUrl() $this->assertEquals('TS', $this->MessageResult->getNotificationUrl()); $this->assertIsString($this->MessageResult->getNotificationUrl()); } - /** - * Test attribute "brand_id" - */ + public function testPropertyBrandId() { @@ -223,9 +197,7 @@ public function testPropertyBrandId() $this->assertEquals('TS', $this->MessageResult->getBrandId()); $this->assertIsString($this->MessageResult->getBrandId()); } - /** - * Test attribute "campaign_id" - */ + public function testPropertyCampaignId() { @@ -233,9 +205,7 @@ public function testPropertyCampaignId() $this->assertEquals('TS', $this->MessageResult->getCampaignId()); $this->assertIsString($this->MessageResult->getCampaignId()); } - /** - * Test attribute "segment_count" - */ + public function testPropertySegmentCount() { @@ -245,26 +215,20 @@ public function testPropertySegmentCount() $this->assertIsNumeric($this->MessageResult->getsegmentCount()); } - /** - * Test attribute "media_urls" - */ + public function testPropertyMediaUrls() { $this->MessageResult->setmediaUrls([]); $this->assertEquals([], $this->MessageResult->getmediaUrls()); $this->assertIsArray($this->MessageResult->getmediaUrls()); } - /** - * Test attribute "tfn" - */ + public function testPropertyTfn() { $this->MessageResult->settfn(new \stdClass()); $this->assertInstanceOf(\stdClass::class, $this->MessageResult->gettfn()); } - /** - * Test attribute "phone_number_id" - */ + public function testPropertyPhoneNumberId() { @@ -272,9 +236,7 @@ public function testPropertyPhoneNumberId() $this->assertEquals('TS', $this->MessageResult->getPhoneNumberId()); $this->assertIsString($this->MessageResult->getPhoneNumberId()); } - /** - * Test attribute "application_id" - */ + public function testPropertyApplicationId() { diff --git a/test/Model/MessageStatusWebhookTest.php b/test/Model/MessageStatusWebhookTest.php index b002875..48e99cf 100644 --- a/test/Model/MessageStatusWebhookTest.php +++ b/test/Model/MessageStatusWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->MessageStatusWebhook->getRequestType()); $this->assertIsString($this->MessageStatusWebhook->getRequestType()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -93,9 +89,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->MessageStatusWebhook->getAccountId()); $this->assertIsString($this->MessageStatusWebhook->getAccountId()); } - /** - * Test attribute "message_id" - */ + public function testPropertyMessageId() { @@ -103,9 +97,7 @@ public function testPropertyMessageId() $this->assertEquals('TS', $this->MessageStatusWebhook->getMessageId()); $this->assertIsString($this->MessageStatusWebhook->getMessageId()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -113,9 +105,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->MessageStatusWebhook->getCallId()); $this->assertIsString($this->MessageStatusWebhook->getCallId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -123,9 +113,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->MessageStatusWebhook->getFrom()); $this->assertIsString($this->MessageStatusWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -133,9 +121,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->MessageStatusWebhook->getTo()); $this->assertIsString($this->MessageStatusWebhook->getTo()); } - /** - * Test attribute "text" - */ + public function testPropertyText() { @@ -143,9 +129,7 @@ public function testPropertyText() $this->assertEquals('TS', $this->MessageStatusWebhook->getText()); $this->assertIsString($this->MessageStatusWebhook->getText()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { @@ -153,9 +137,7 @@ public function testPropertyDirection() $this->assertEquals('TS', $this->MessageStatusWebhook->getDirection()); $this->assertIsString($this->MessageStatusWebhook->getDirection()); } - /** - * Test attribute "application_id" - */ + public function testPropertyApplicationId() { @@ -163,9 +145,7 @@ public function testPropertyApplicationId() $this->assertEquals('TS', $this->MessageStatusWebhook->getApplicationId()); $this->assertIsString($this->MessageStatusWebhook->getApplicationId()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->MessageStatusWebhook->setstatus(\FreeClimb\Api\Model\MessageStatus::NEW); @@ -191,9 +171,7 @@ public function testPropertyStatus() $this->MessageStatusWebhook->setstatus(\FreeClimb\Api\Model\MessageStatus::UNKNOWN); $this->assertEquals(\FreeClimb\Api\Model\MessageStatus::UNKNOWN, $this->MessageStatusWebhook->getstatus()); } - /** - * Test attribute "phone_number_id" - */ + public function testPropertyPhoneNumberId() { diff --git a/test/Model/MessagesListTest.php b/test/Model/MessagesListTest.php index e5d5d20..35e8247 100644 --- a/test/Model/MessagesListTest.php +++ b/test/Model/MessagesListTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->MessagesList->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->MessagesList->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->MessagesList->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->MessagesList->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->MessagesList->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->MessagesList->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->MessagesList->getNextPageUri()); $this->assertIsString($this->MessagesList->getNextPageUri()); } - /** - * Test attribute "messages" - */ + public function testPropertyMessages() { $this->MessagesList->setmessages([]); diff --git a/test/Model/MutableResourceModelTest.php b/test/Model/MutableResourceModelTest.php index 494a3c9..aa9b7ba 100644 --- a/test/Model/MutableResourceModelTest.php +++ b/test/Model/MutableResourceModelTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { @@ -83,9 +81,7 @@ public function testPropertyUri() $this->assertEquals('TS', $this->MutableResourceModel->getUri()); $this->assertIsString($this->MutableResourceModel->getUri()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -93,9 +89,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->MutableResourceModel->getDateCreated()); $this->assertIsString($this->MutableResourceModel->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -103,9 +97,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->MutableResourceModel->getDateUpdated()); $this->assertIsString($this->MutableResourceModel->getDateUpdated()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { diff --git a/test/Model/OutDialApiConnectWebhookTest.php b/test/Model/OutDialApiConnectWebhookTest.php index 922684c..1796c32 100644 --- a/test/Model/OutDialApiConnectWebhookTest.php +++ b/test/Model/OutDialApiConnectWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getRequestType()); $this->assertIsString($this->OutDialApiConnectWebhook->getRequestType()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -93,9 +89,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getAccountId()); $this->assertIsString($this->OutDialApiConnectWebhook->getAccountId()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -103,9 +97,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getCallId()); $this->assertIsString($this->OutDialApiConnectWebhook->getCallId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getFrom()); $this->assertIsString($this->OutDialApiConnectWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getTo()); $this->assertIsString($this->OutDialApiConnectWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->OutDialApiConnectWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->OutDialApiConnectWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->OutDialApiConnectWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->OutDialApiConnectWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->OutDialApiConnectWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->OutDialApiConnectWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getConferenceId()); $this->assertIsString($this->OutDialApiConnectWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->OutDialApiConnectWebhook->getQueueId()); $this->assertIsString($this->OutDialApiConnectWebhook->getQueueId()); } - /** - * Test attribute "parent_call_id" - */ + public function testPropertyParentCallId() { diff --git a/test/Model/OutDialConnectWebhookTest.php b/test/Model/OutDialConnectWebhookTest.php index a93409d..454142d 100644 --- a/test/Model/OutDialConnectWebhookTest.php +++ b/test/Model/OutDialConnectWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->OutDialConnectWebhook->getRequestType()); $this->assertIsString($this->OutDialConnectWebhook->getRequestType()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -93,9 +89,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->OutDialConnectWebhook->getAccountId()); $this->assertIsString($this->OutDialConnectWebhook->getAccountId()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -103,9 +97,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->OutDialConnectWebhook->getCallId()); $this->assertIsString($this->OutDialConnectWebhook->getCallId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->OutDialConnectWebhook->getFrom()); $this->assertIsString($this->OutDialConnectWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->OutDialConnectWebhook->getTo()); $this->assertIsString($this->OutDialConnectWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->OutDialConnectWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->OutDialConnectWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->OutDialConnectWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->OutDialConnectWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->OutDialConnectWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->OutDialConnectWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->OutDialConnectWebhook->getConferenceId()); $this->assertIsString($this->OutDialConnectWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->OutDialConnectWebhook->getQueueId()); $this->assertIsString($this->OutDialConnectWebhook->getQueueId()); } - /** - * Test attribute "parent_call_id" - */ + public function testPropertyParentCallId() { diff --git a/test/Model/OutDialStartWebhookTest.php b/test/Model/OutDialStartWebhookTest.php index b59589f..0eeb584 100644 --- a/test/Model/OutDialStartWebhookTest.php +++ b/test/Model/OutDialStartWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->OutDialStartWebhook->getRequestType()); $this->assertIsString($this->OutDialStartWebhook->getRequestType()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -93,9 +89,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->OutDialStartWebhook->getAccountId()); $this->assertIsString($this->OutDialStartWebhook->getAccountId()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -103,9 +97,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->OutDialStartWebhook->getCallId()); $this->assertIsString($this->OutDialStartWebhook->getCallId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->OutDialStartWebhook->getFrom()); $this->assertIsString($this->OutDialStartWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->OutDialStartWebhook->getTo()); $this->assertIsString($this->OutDialStartWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->OutDialStartWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->OutDialStartWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->OutDialStartWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->OutDialStartWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->OutDialStartWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->OutDialStartWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->OutDialStartWebhook->getConferenceId()); $this->assertIsString($this->OutDialStartWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->OutDialStartWebhook->getQueueId()); $this->assertIsString($this->OutDialStartWebhook->getQueueId()); } - /** - * Test attribute "dial_call_id" - */ + public function testPropertyDialCallId() { @@ -187,9 +167,7 @@ public function testPropertyDialCallId() $this->assertEquals('TS', $this->OutDialStartWebhook->getDialCallId()); $this->assertIsString($this->OutDialStartWebhook->getDialCallId()); } - /** - * Test attribute "parent_call_id" - */ + public function testPropertyParentCallId() { diff --git a/test/Model/OutDialTest.php b/test/Model/OutDialTest.php index 0bffa43..7ece8a2 100644 --- a/test/Model/OutDialTest.php +++ b/test/Model/OutDialTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "action_url" - */ + public function testPropertyActionUrl() { @@ -83,9 +81,7 @@ public function testPropertyActionUrl() $this->assertEquals('TS', $this->OutDial->getActionUrl()); $this->assertIsString($this->OutDial->getActionUrl()); } - /** - * Test attribute "call_connect_url" - */ + public function testPropertyCallConnectUrl() { @@ -93,9 +89,7 @@ public function testPropertyCallConnectUrl() $this->assertEquals('TS', $this->OutDial->getCallConnectUrl()); $this->assertIsString($this->OutDial->getCallConnectUrl()); } - /** - * Test attribute "calling_number" - */ + public function testPropertyCallingNumber() { @@ -103,9 +97,7 @@ public function testPropertyCallingNumber() $this->assertEquals('TS', $this->OutDial->getCallingNumber()); $this->assertIsString($this->OutDial->getCallingNumber()); } - /** - * Test attribute "destination" - */ + public function testPropertyDestination() { @@ -113,9 +105,7 @@ public function testPropertyDestination() $this->assertEquals('TS', $this->OutDial->getDestination()); $this->assertIsString($this->OutDial->getDestination()); } - /** - * Test attribute "if_machine" - */ + public function testPropertyIfMachine() { $this->OutDial->setifMachine(\FreeClimb\Api\Model\IfMachine::REDIRECT); @@ -123,9 +113,7 @@ public function testPropertyIfMachine() $this->OutDial->setifMachine(\FreeClimb\Api\Model\IfMachine::HANGUP); $this->assertEquals(\FreeClimb\Api\Model\IfMachine::HANGUP, $this->OutDial->getifMachine()); } - /** - * Test attribute "if_machine_url" - */ + public function testPropertyIfMachineUrl() { @@ -133,9 +121,7 @@ public function testPropertyIfMachineUrl() $this->assertEquals('TS', $this->OutDial->getIfMachineUrl()); $this->assertIsString($this->OutDial->getIfMachineUrl()); } - /** - * Test attribute "send_digits" - */ + public function testPropertySendDigits() { @@ -143,9 +129,7 @@ public function testPropertySendDigits() $this->assertEquals('TS', $this->OutDial->getSendDigits()); $this->assertIsString($this->OutDial->getSendDigits()); } - /** - * Test attribute "status_callback_url" - */ + public function testPropertyStatusCallbackUrl() { @@ -153,9 +137,7 @@ public function testPropertyStatusCallbackUrl() $this->assertEquals('TS', $this->OutDial->getStatusCallbackUrl()); $this->assertIsString($this->OutDial->getStatusCallbackUrl()); } - /** - * Test attribute "timeout" - */ + public function testPropertyTimeout() { @@ -165,9 +147,7 @@ public function testPropertyTimeout() $this->assertIsNumeric($this->OutDial->gettimeout()); } - /** - * Test attribute "privacy_mode" - */ + public function testPropertyPrivacyMode() { $this->OutDial->setprivacyMode(false); diff --git a/test/Model/PaginationModelTest.php b/test/Model/PaginationModelTest.php index 6beec39..bd07ff2 100644 --- a/test/Model/PaginationModelTest.php +++ b/test/Model/PaginationModelTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->PaginationModel->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->PaginationModel->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->PaginationModel->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->PaginationModel->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->PaginationModel->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->PaginationModel->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { diff --git a/test/Model/ParkTest.php b/test/Model/ParkTest.php index 376095d..8f72a16 100644 --- a/test/Model/ParkTest.php +++ b/test/Model/ParkTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "wait_url" - */ + public function testPropertyWaitUrl() { @@ -83,9 +81,7 @@ public function testPropertyWaitUrl() $this->assertEquals('TS', $this->Park->getWaitUrl()); $this->assertIsString($this->Park->getWaitUrl()); } - /** - * Test attribute "action_url" - */ + public function testPropertyActionUrl() { @@ -93,9 +89,7 @@ public function testPropertyActionUrl() $this->assertEquals('TS', $this->Park->getActionUrl()); $this->assertIsString($this->Park->getActionUrl()); } - /** - * Test attribute "notification_url" - */ + public function testPropertyNotificationUrl() { diff --git a/test/Model/PauseTest.php b/test/Model/PauseTest.php index 82f5680..6cf6a17 100644 --- a/test/Model/PauseTest.php +++ b/test/Model/PauseTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "length" - */ + public function testPropertyLength() { diff --git a/test/Model/PerCLCommandTest.php b/test/Model/PerCLCommandTest.php index c9962a7..6428643 100644 --- a/test/Model/PerCLCommandTest.php +++ b/test/Model/PerCLCommandTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "command" - */ + public function testPropertyCommand() { diff --git a/test/Model/PerCLScriptTest.php b/test/Model/PerCLScriptTest.php index 72a8886..fa8f437 100644 --- a/test/Model/PerCLScriptTest.php +++ b/test/Model/PerCLScriptTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "commands" - */ + public function testPropertyCommands() { $this->PerclScript->setcommands([]); diff --git a/test/Model/PlayEarlyMediaTest.php b/test/Model/PlayEarlyMediaTest.php index 2fdef9a..6c3033c 100644 --- a/test/Model/PlayEarlyMediaTest.php +++ b/test/Model/PlayEarlyMediaTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "file" - */ + public function testPropertyFile() { diff --git a/test/Model/PlayTest.php b/test/Model/PlayTest.php index e8d5c66..a2ade02 100644 --- a/test/Model/PlayTest.php +++ b/test/Model/PlayTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "file" - */ + public function testPropertyFile() { @@ -83,9 +81,7 @@ public function testPropertyFile() $this->assertEquals('TS', $this->Play->getFile()); $this->assertIsString($this->Play->getFile()); } - /** - * Test attribute "loop" - */ + public function testPropertyLoop() { @@ -95,9 +91,7 @@ public function testPropertyLoop() $this->assertIsNumeric($this->Play->getloop()); } - /** - * Test attribute "privacy_mode" - */ + public function testPropertyPrivacyMode() { $this->Play->setprivacyMode(false); diff --git a/test/Model/QueueListTest.php b/test/Model/QueueListTest.php index a575469..dc32991 100644 --- a/test/Model/QueueListTest.php +++ b/test/Model/QueueListTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->QueueList->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->QueueList->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->QueueList->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->QueueList->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->QueueList->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->QueueList->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->QueueList->getNextPageUri()); $this->assertIsString($this->QueueList->getNextPageUri()); } - /** - * Test attribute "queues" - */ + public function testPropertyQueues() { $this->QueueList->setqueues([]); diff --git a/test/Model/QueueMemberListTest.php b/test/Model/QueueMemberListTest.php index 714177b..09531b8 100644 --- a/test/Model/QueueMemberListTest.php +++ b/test/Model/QueueMemberListTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->QueueMemberList->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->QueueMemberList->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->QueueMemberList->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->QueueMemberList->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->QueueMemberList->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->QueueMemberList->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->QueueMemberList->getNextPageUri()); $this->assertIsString($this->QueueMemberList->getNextPageUri()); } - /** - * Test attribute "queue_members" - */ + public function testPropertyQueueMembers() { $this->QueueMemberList->setqueueMembers([]); diff --git a/test/Model/QueueMemberTest.php b/test/Model/QueueMemberTest.php index 86c04dd..9fe469a 100644 --- a/test/Model/QueueMemberTest.php +++ b/test/Model/QueueMemberTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { @@ -83,9 +81,7 @@ public function testPropertyUri() $this->assertEquals('TS', $this->QueueMember->getUri()); $this->assertIsString($this->QueueMember->getUri()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -93,9 +89,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->QueueMember->getCallId()); $this->assertIsString($this->QueueMember->getCallId()); } - /** - * Test attribute "wait_time" - */ + public function testPropertyWaitTime() { @@ -105,9 +99,7 @@ public function testPropertyWaitTime() $this->assertIsNumeric($this->QueueMember->getwaitTime()); } - /** - * Test attribute "position" - */ + public function testPropertyPosition() { @@ -117,9 +109,7 @@ public function testPropertyPosition() $this->assertIsNumeric($this->QueueMember->getposition()); } - /** - * Test attribute "date_enqueued" - */ + public function testPropertyDateEnqueued() { diff --git a/test/Model/QueueRequestTest.php b/test/Model/QueueRequestTest.php index bc5bde3..1de1779 100644 --- a/test/Model/QueueRequestTest.php +++ b/test/Model/QueueRequestTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { @@ -83,9 +81,7 @@ public function testPropertyAlias() $this->assertEquals('TS', $this->QueueRequest->getAlias()); $this->assertIsString($this->QueueRequest->getAlias()); } - /** - * Test attribute "max_size" - */ + public function testPropertyMaxSize() { diff --git a/test/Model/QueueResultTest.php b/test/Model/QueueResultTest.php index 58b104d..286ca79 100644 --- a/test/Model/QueueResultTest.php +++ b/test/Model/QueueResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { @@ -83,9 +81,7 @@ public function testPropertyUri() $this->assertEquals('TS', $this->QueueResult->getUri()); $this->assertIsString($this->QueueResult->getUri()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -93,9 +89,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->QueueResult->getDateCreated()); $this->assertIsString($this->QueueResult->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -103,9 +97,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->QueueResult->getDateUpdated()); $this->assertIsString($this->QueueResult->getDateUpdated()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { @@ -115,9 +107,7 @@ public function testPropertyRevision() $this->assertIsNumeric($this->QueueResult->getrevision()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -125,9 +115,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->QueueResult->getAccountId()); $this->assertIsString($this->QueueResult->getAccountId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -135,9 +123,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->QueueResult->getQueueId()); $this->assertIsString($this->QueueResult->getQueueId()); } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { @@ -145,9 +131,7 @@ public function testPropertyAlias() $this->assertEquals('TS', $this->QueueResult->getAlias()); $this->assertIsString($this->QueueResult->getAlias()); } - /** - * Test attribute "max_size" - */ + public function testPropertyMaxSize() { @@ -157,9 +141,7 @@ public function testPropertyMaxSize() $this->assertIsNumeric($this->QueueResult->getmaxSize()); } - /** - * Test attribute "current_size" - */ + public function testPropertyCurrentSize() { @@ -169,9 +151,7 @@ public function testPropertyCurrentSize() $this->assertIsNumeric($this->QueueResult->getcurrentSize()); } - /** - * Test attribute "average_queue_removal_time" - */ + public function testPropertyAverageQueueRemovalTime() { @@ -181,9 +161,7 @@ public function testPropertyAverageQueueRemovalTime() $this->assertIsNumeric($this->QueueResult->getaverageQueueRemovalTime()); } - /** - * Test attribute "subresource_uris" - */ + public function testPropertySubresourceUris() { $this->QueueResult->setsubresourceUris(new \stdClass()); diff --git a/test/Model/QueueWaitWebhookTest.php b/test/Model/QueueWaitWebhookTest.php index 2214d66..a1330ba 100644 --- a/test/Model/QueueWaitWebhookTest.php +++ b/test/Model/QueueWaitWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->QueueWaitWebhook->getRequestType()); $this->assertIsString($this->QueueWaitWebhook->getRequestType()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -93,9 +89,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->QueueWaitWebhook->getAccountId()); $this->assertIsString($this->QueueWaitWebhook->getAccountId()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -103,9 +97,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->QueueWaitWebhook->getCallId()); $this->assertIsString($this->QueueWaitWebhook->getCallId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->QueueWaitWebhook->getFrom()); $this->assertIsString($this->QueueWaitWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->QueueWaitWebhook->getTo()); $this->assertIsString($this->QueueWaitWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->QueueWaitWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->QueueWaitWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->QueueWaitWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->QueueWaitWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->QueueWaitWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->QueueWaitWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->QueueWaitWebhook->getConferenceId()); $this->assertIsString($this->QueueWaitWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->QueueWaitWebhook->getQueueId()); $this->assertIsString($this->QueueWaitWebhook->getQueueId()); } - /** - * Test attribute "queue_position" - */ + public function testPropertyQueuePosition() { @@ -187,9 +167,7 @@ public function testPropertyQueuePosition() $this->assertEquals('TS', $this->QueueWaitWebhook->getQueuePosition()); $this->assertIsString($this->QueueWaitWebhook->getQueuePosition()); } - /** - * Test attribute "queue_time" - */ + public function testPropertyQueueTime() { @@ -199,9 +177,7 @@ public function testPropertyQueueTime() $this->assertIsNumeric($this->QueueWaitWebhook->getqueueTime()); } - /** - * Test attribute "current_queue_size" - */ + public function testPropertyCurrentQueueSize() { diff --git a/test/Model/RecordUtteranceTest.php b/test/Model/RecordUtteranceTest.php index ccdecab..58ebe9a 100644 --- a/test/Model/RecordUtteranceTest.php +++ b/test/Model/RecordUtteranceTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "action_url" - */ + public function testPropertyActionUrl() { @@ -83,9 +81,7 @@ public function testPropertyActionUrl() $this->assertEquals('TS', $this->RecordUtterance->getActionUrl()); $this->assertIsString($this->RecordUtterance->getActionUrl()); } - /** - * Test attribute "silence_timeout_ms" - */ + public function testPropertySilenceTimeoutMs() { @@ -95,9 +91,7 @@ public function testPropertySilenceTimeoutMs() $this->assertIsNumeric($this->RecordUtterance->getsilenceTimeoutMs()); } - /** - * Test attribute "finish_on_key" - */ + public function testPropertyFinishOnKey() { @@ -105,9 +99,7 @@ public function testPropertyFinishOnKey() $this->assertEquals('TS', $this->RecordUtterance->getFinishOnKey()); $this->assertIsString($this->RecordUtterance->getFinishOnKey()); } - /** - * Test attribute "max_length_sec" - */ + public function testPropertyMaxLengthSec() { @@ -117,27 +109,21 @@ public function testPropertyMaxLengthSec() $this->assertIsNumeric($this->RecordUtterance->getmaxLengthSec()); } - /** - * Test attribute "play_beep" - */ + public function testPropertyPlayBeep() { $this->RecordUtterance->setplayBeep(false); $this->assertFalse($this->RecordUtterance->getplayBeep()); $this->assertIsBool($this->RecordUtterance->getplayBeep()); } - /** - * Test attribute "auto_start" - */ + public function testPropertyAutoStart() { $this->RecordUtterance->setautoStart(false); $this->assertFalse($this->RecordUtterance->getautoStart()); $this->assertIsBool($this->RecordUtterance->getautoStart()); } - /** - * Test attribute "privacy_mode" - */ + public function testPropertyPrivacyMode() { $this->RecordUtterance->setprivacyMode(false); diff --git a/test/Model/RecordWebhookTest.php b/test/Model/RecordWebhookTest.php index 2f606c9..0b9d4d0 100644 --- a/test/Model/RecordWebhookTest.php +++ b/test/Model/RecordWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->RecordWebhook->getRequestType()); $this->assertIsString($this->RecordWebhook->getRequestType()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -93,9 +89,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->RecordWebhook->getAccountId()); $this->assertIsString($this->RecordWebhook->getAccountId()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -103,9 +97,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->RecordWebhook->getCallId()); $this->assertIsString($this->RecordWebhook->getCallId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->RecordWebhook->getFrom()); $this->assertIsString($this->RecordWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->RecordWebhook->getTo()); $this->assertIsString($this->RecordWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->RecordWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->RecordWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->RecordWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->RecordWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->RecordWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->RecordWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->RecordWebhook->getConferenceId()); $this->assertIsString($this->RecordWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->RecordWebhook->getQueueId()); $this->assertIsString($this->RecordWebhook->getQueueId()); } - /** - * Test attribute "recording_id" - */ + public function testPropertyRecordingId() { @@ -187,9 +167,7 @@ public function testPropertyRecordingId() $this->assertEquals('TS', $this->RecordWebhook->getRecordingId()); $this->assertIsString($this->RecordWebhook->getRecordingId()); } - /** - * Test attribute "recording_url" - */ + public function testPropertyRecordingUrl() { @@ -197,9 +175,7 @@ public function testPropertyRecordingUrl() $this->assertEquals('TS', $this->RecordWebhook->getRecordingUrl()); $this->assertIsString($this->RecordWebhook->getRecordingUrl()); } - /** - * Test attribute "recording_size" - */ + public function testPropertyRecordingSize() { @@ -207,9 +183,7 @@ public function testPropertyRecordingSize() $this->assertEquals('TS', $this->RecordWebhook->getRecordingSize()); $this->assertIsString($this->RecordWebhook->getRecordingSize()); } - /** - * Test attribute "recording_format" - */ + public function testPropertyRecordingFormat() { @@ -217,9 +191,7 @@ public function testPropertyRecordingFormat() $this->assertEquals('TS', $this->RecordWebhook->getRecordingFormat()); $this->assertIsString($this->RecordWebhook->getRecordingFormat()); } - /** - * Test attribute "recording_duration_sec" - */ + public function testPropertyRecordingDurationSec() { @@ -229,9 +201,7 @@ public function testPropertyRecordingDurationSec() $this->assertIsNumeric($this->RecordWebhook->getrecordingDurationSec()); } - /** - * Test attribute "term_reason" - */ + public function testPropertyTermReason() { $this->RecordWebhook->settermReason(\FreeClimb\Api\Model\RecordUtteranceTermReason::FINISH_KEY); @@ -243,9 +213,7 @@ public function testPropertyTermReason() $this->RecordWebhook->settermReason(\FreeClimb\Api\Model\RecordUtteranceTermReason::MAX_LENGTH); $this->assertEquals(\FreeClimb\Api\Model\RecordUtteranceTermReason::MAX_LENGTH, $this->RecordWebhook->gettermReason()); } - /** - * Test attribute "parent_call_id" - */ + public function testPropertyParentCallId() { @@ -253,9 +221,7 @@ public function testPropertyParentCallId() $this->assertEquals('TS', $this->RecordWebhook->getParentCallId()); $this->assertIsString($this->RecordWebhook->getParentCallId()); } - /** - * Test attribute "privacy_mode" - */ + public function testPropertyPrivacyMode() { $this->RecordWebhook->setprivacyMode(false); diff --git a/test/Model/RecordingListTest.php b/test/Model/RecordingListTest.php index abd43ed..467a64b 100644 --- a/test/Model/RecordingListTest.php +++ b/test/Model/RecordingListTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->RecordingList->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->RecordingList->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->RecordingList->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->RecordingList->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->RecordingList->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->RecordingList->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->RecordingList->getNextPageUri()); $this->assertIsString($this->RecordingList->getNextPageUri()); } - /** - * Test attribute "recordings" - */ + public function testPropertyRecordings() { $this->RecordingList->setrecordings([]); diff --git a/test/Model/RecordingResultTest.php b/test/Model/RecordingResultTest.php index 74b71e6..17c1bca 100644 --- a/test/Model/RecordingResultTest.php +++ b/test/Model/RecordingResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "uri" - */ + public function testPropertyUri() { @@ -83,9 +81,7 @@ public function testPropertyUri() $this->assertEquals('TS', $this->RecordingResult->getUri()); $this->assertIsString($this->RecordingResult->getUri()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -93,9 +89,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->RecordingResult->getDateCreated()); $this->assertIsString($this->RecordingResult->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -103,9 +97,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->RecordingResult->getDateUpdated()); $this->assertIsString($this->RecordingResult->getDateUpdated()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { @@ -115,9 +107,7 @@ public function testPropertyRevision() $this->assertIsNumeric($this->RecordingResult->getrevision()); } - /** - * Test attribute "recording_id" - */ + public function testPropertyRecordingId() { @@ -125,9 +115,7 @@ public function testPropertyRecordingId() $this->assertEquals('TS', $this->RecordingResult->getRecordingId()); $this->assertIsString($this->RecordingResult->getRecordingId()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -135,9 +123,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->RecordingResult->getAccountId()); $this->assertIsString($this->RecordingResult->getAccountId()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -145,9 +131,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->RecordingResult->getCallId()); $this->assertIsString($this->RecordingResult->getCallId()); } - /** - * Test attribute "duration_sec" - */ + public function testPropertyDurationSec() { @@ -157,9 +141,7 @@ public function testPropertyDurationSec() $this->assertIsNumeric($this->RecordingResult->getdurationSec()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { diff --git a/test/Model/RedirectTest.php b/test/Model/RedirectTest.php index 624fe42..4233b0e 100644 --- a/test/Model/RedirectTest.php +++ b/test/Model/RedirectTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "action_url" - */ + public function testPropertyActionUrl() { diff --git a/test/Model/RedirectWebhookTest.php b/test/Model/RedirectWebhookTest.php index d86422f..59e5d8c 100644 --- a/test/Model/RedirectWebhookTest.php +++ b/test/Model/RedirectWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->RedirectWebhook->getRequestType()); $this->assertIsString($this->RedirectWebhook->getRequestType()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -93,9 +89,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->RedirectWebhook->getAccountId()); $this->assertIsString($this->RedirectWebhook->getAccountId()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -103,9 +97,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->RedirectWebhook->getCallId()); $this->assertIsString($this->RedirectWebhook->getCallId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->RedirectWebhook->getFrom()); $this->assertIsString($this->RedirectWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->RedirectWebhook->getTo()); $this->assertIsString($this->RedirectWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->RedirectWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->RedirectWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->RedirectWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->RedirectWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->RedirectWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->RedirectWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->RedirectWebhook->getConferenceId()); $this->assertIsString($this->RedirectWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->RedirectWebhook->getQueueId()); $this->assertIsString($this->RedirectWebhook->getQueueId()); } - /** - * Test attribute "parent_call_id" - */ + public function testPropertyParentCallId() { diff --git a/test/Model/RejectTest.php b/test/Model/RejectTest.php index f636534..4364226 100644 --- a/test/Model/RejectTest.php +++ b/test/Model/RejectTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "reason" - */ + public function testPropertyReason() { diff --git a/test/Model/RemoveFromQueueNotificationWebhookTest.php b/test/Model/RemoveFromQueueNotificationWebhookTest.php index 8b96005..40b9348 100644 --- a/test/Model/RemoveFromQueueNotificationWebhookTest.php +++ b/test/Model/RemoveFromQueueNotificationWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getRequestType()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getRequestType()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -93,9 +89,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getAccountId()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getAccountId()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -103,9 +97,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getCallId()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getCallId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getFrom()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getTo()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getTo()); } - /** - * Test attribute "call_status" - */ + public function testPropertyCallStatus() { $this->RemoveFromQueueNotificationWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::QUEUED); @@ -145,9 +133,7 @@ public function testPropertyCallStatus() $this->RemoveFromQueueNotificationWebhook->setcallStatus(\FreeClimb\Api\Model\CallStatus::NO_ANSWER); $this->assertEquals(\FreeClimb\Api\Model\CallStatus::NO_ANSWER, $this->RemoveFromQueueNotificationWebhook->getcallStatus()); } - /** - * Test attribute "direction" - */ + public function testPropertyDirection() { $this->RemoveFromQueueNotificationWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::INBOUND); @@ -157,9 +143,7 @@ public function testPropertyDirection() $this->RemoveFromQueueNotificationWebhook->setdirection(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL); $this->assertEquals(\FreeClimb\Api\Model\CallDirection::OUTBOUND_DIAL, $this->RemoveFromQueueNotificationWebhook->getdirection()); } - /** - * Test attribute "conference_id" - */ + public function testPropertyConferenceId() { @@ -167,9 +151,7 @@ public function testPropertyConferenceId() $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getConferenceId()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getConferenceId()); } - /** - * Test attribute "queue_id" - */ + public function testPropertyQueueId() { @@ -177,9 +159,7 @@ public function testPropertyQueueId() $this->assertEquals('TS', $this->RemoveFromQueueNotificationWebhook->getQueueId()); $this->assertIsString($this->RemoveFromQueueNotificationWebhook->getQueueId()); } - /** - * Test attribute "queue_result" - */ + public function testPropertyQueueResult() { $this->RemoveFromQueueNotificationWebhook->setqueueResult(\FreeClimb\Api\Model\QueueResultStatus::QUEUE_FULL); @@ -191,9 +171,7 @@ public function testPropertyQueueResult() $this->RemoveFromQueueNotificationWebhook->setqueueResult(\FreeClimb\Api\Model\QueueResultStatus::SYSTEM_ERROR); $this->assertEquals(\FreeClimb\Api\Model\QueueResultStatus::SYSTEM_ERROR, $this->RemoveFromQueueNotificationWebhook->getqueueResult()); } - /** - * Test attribute "queue_time" - */ + public function testPropertyQueueTime() { diff --git a/test/Model/SMSTenDLCBrandTest.php b/test/Model/SMSTenDLCBrandTest.php index 189f716..4ecb2e5 100644 --- a/test/Model/SMSTenDLCBrandTest.php +++ b/test/Model/SMSTenDLCBrandTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -83,9 +81,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->SMSTenDLCBrand->getAccountId()); $this->assertIsString($this->SMSTenDLCBrand->getAccountId()); } - /** - * Test attribute "entity_type" - */ + public function testPropertyEntityType() { $this->SMSTenDLCBrand->setentityType(\FreeClimb\Api\Model\SMSTenDLCBrandEntityType::PRIVATE_PROFIT); @@ -99,9 +95,7 @@ public function testPropertyEntityType() $this->SMSTenDLCBrand->setentityType(\FreeClimb\Api\Model\SMSTenDLCBrandEntityType::SOLE_PROPRIETOR); $this->assertEquals(\FreeClimb\Api\Model\SMSTenDLCBrandEntityType::SOLE_PROPRIETOR, $this->SMSTenDLCBrand->getentityType()); } - /** - * Test attribute "csp_id" - */ + public function testPropertyCspId() { @@ -109,9 +103,7 @@ public function testPropertyCspId() $this->assertEquals('TS', $this->SMSTenDLCBrand->getCspId()); $this->assertIsString($this->SMSTenDLCBrand->getCspId()); } - /** - * Test attribute "brand_id" - */ + public function testPropertyBrandId() { @@ -119,9 +111,7 @@ public function testPropertyBrandId() $this->assertEquals('TS', $this->SMSTenDLCBrand->getBrandId()); $this->assertIsString($this->SMSTenDLCBrand->getBrandId()); } - /** - * Test attribute "first_name" - */ + public function testPropertyFirstName() { @@ -129,9 +119,7 @@ public function testPropertyFirstName() $this->assertEquals('TS', $this->SMSTenDLCBrand->getFirstName()); $this->assertIsString($this->SMSTenDLCBrand->getFirstName()); } - /** - * Test attribute "last_name" - */ + public function testPropertyLastName() { @@ -139,9 +127,7 @@ public function testPropertyLastName() $this->assertEquals('TS', $this->SMSTenDLCBrand->getLastName()); $this->assertIsString($this->SMSTenDLCBrand->getLastName()); } - /** - * Test attribute "display_name" - */ + public function testPropertyDisplayName() { @@ -149,9 +135,7 @@ public function testPropertyDisplayName() $this->assertEquals('TS', $this->SMSTenDLCBrand->getDisplayName()); $this->assertIsString($this->SMSTenDLCBrand->getDisplayName()); } - /** - * Test attribute "company_name" - */ + public function testPropertyCompanyName() { @@ -159,9 +143,7 @@ public function testPropertyCompanyName() $this->assertEquals('TS', $this->SMSTenDLCBrand->getCompanyName()); $this->assertIsString($this->SMSTenDLCBrand->getCompanyName()); } - /** - * Test attribute "ein" - */ + public function testPropertyEin() { @@ -169,9 +151,7 @@ public function testPropertyEin() $this->assertEquals('TS', $this->SMSTenDLCBrand->getEin()); $this->assertIsString($this->SMSTenDLCBrand->getEin()); } - /** - * Test attribute "ein_issuing_country" - */ + public function testPropertyEinIssuingCountry() { @@ -179,9 +159,7 @@ public function testPropertyEinIssuingCountry() $this->assertEquals('TS', $this->SMSTenDLCBrand->getEinIssuingCountry()); $this->assertIsString($this->SMSTenDLCBrand->getEinIssuingCountry()); } - /** - * Test attribute "phone" - */ + public function testPropertyPhone() { @@ -189,9 +167,7 @@ public function testPropertyPhone() $this->assertEquals('TS', $this->SMSTenDLCBrand->getPhone()); $this->assertIsString($this->SMSTenDLCBrand->getPhone()); } - /** - * Test attribute "street" - */ + public function testPropertyStreet() { @@ -199,9 +175,7 @@ public function testPropertyStreet() $this->assertEquals('TS', $this->SMSTenDLCBrand->getStreet()); $this->assertIsString($this->SMSTenDLCBrand->getStreet()); } - /** - * Test attribute "city" - */ + public function testPropertyCity() { @@ -209,9 +183,7 @@ public function testPropertyCity() $this->assertEquals('TS', $this->SMSTenDLCBrand->getCity()); $this->assertIsString($this->SMSTenDLCBrand->getCity()); } - /** - * Test attribute "state" - */ + public function testPropertyState() { @@ -219,9 +191,7 @@ public function testPropertyState() $this->assertEquals('TS', $this->SMSTenDLCBrand->getState()); $this->assertIsString($this->SMSTenDLCBrand->getState()); } - /** - * Test attribute "postal_code" - */ + public function testPropertyPostalCode() { @@ -229,9 +199,7 @@ public function testPropertyPostalCode() $this->assertEquals('TS', $this->SMSTenDLCBrand->getPostalCode()); $this->assertIsString($this->SMSTenDLCBrand->getPostalCode()); } - /** - * Test attribute "country" - */ + public function testPropertyCountry() { @@ -239,9 +207,7 @@ public function testPropertyCountry() $this->assertEquals('TS', $this->SMSTenDLCBrand->getCountry()); $this->assertIsString($this->SMSTenDLCBrand->getCountry()); } - /** - * Test attribute "email" - */ + public function testPropertyEmail() { @@ -249,9 +215,7 @@ public function testPropertyEmail() $this->assertEquals('TS', $this->SMSTenDLCBrand->getEmail()); $this->assertIsString($this->SMSTenDLCBrand->getEmail()); } - /** - * Test attribute "stock_symbol" - */ + public function testPropertyStockSymbol() { @@ -259,9 +223,7 @@ public function testPropertyStockSymbol() $this->assertEquals('TS', $this->SMSTenDLCBrand->getStockSymbol()); $this->assertIsString($this->SMSTenDLCBrand->getStockSymbol()); } - /** - * Test attribute "stock_exchange" - */ + public function testPropertyStockExchange() { $this->SMSTenDLCBrand->setstockExchange(\FreeClimb\Api\Model\SMSTenDLCBrandStockExchange::NONE); @@ -319,9 +281,7 @@ public function testPropertyStockExchange() $this->SMSTenDLCBrand->setstockExchange(\FreeClimb\Api\Model\SMSTenDLCBrandStockExchange::OTHER); $this->assertEquals(\FreeClimb\Api\Model\SMSTenDLCBrandStockExchange::OTHER, $this->SMSTenDLCBrand->getstockExchange()); } - /** - * Test attribute "ip_address" - */ + public function testPropertyIpAddress() { @@ -329,9 +289,7 @@ public function testPropertyIpAddress() $this->assertEquals('TS', $this->SMSTenDLCBrand->getIpAddress()); $this->assertIsString($this->SMSTenDLCBrand->getIpAddress()); } - /** - * Test attribute "website" - */ + public function testPropertyWebsite() { @@ -339,9 +297,7 @@ public function testPropertyWebsite() $this->assertEquals('TS', $this->SMSTenDLCBrand->getWebsite()); $this->assertIsString($this->SMSTenDLCBrand->getWebsite()); } - /** - * Test attribute "brand_relationship" - */ + public function testPropertyBrandRelationship() { $this->SMSTenDLCBrand->setbrandRelationship(\FreeClimb\Api\Model\SMSTenDLCBrandRelationship::BASIC_ACCOUNT); @@ -355,9 +311,7 @@ public function testPropertyBrandRelationship() $this->SMSTenDLCBrand->setbrandRelationship(\FreeClimb\Api\Model\SMSTenDLCBrandRelationship::KEY_ACCOUNT); $this->assertEquals(\FreeClimb\Api\Model\SMSTenDLCBrandRelationship::KEY_ACCOUNT, $this->SMSTenDLCBrand->getbrandRelationship()); } - /** - * Test attribute "vertical" - */ + public function testPropertyVertical() { @@ -365,9 +319,7 @@ public function testPropertyVertical() $this->assertEquals('TS', $this->SMSTenDLCBrand->getVertical()); $this->assertIsString($this->SMSTenDLCBrand->getVertical()); } - /** - * Test attribute "alt_business_id" - */ + public function testPropertyAltBusinessId() { @@ -375,9 +327,7 @@ public function testPropertyAltBusinessId() $this->assertEquals('TS', $this->SMSTenDLCBrand->getAltBusinessId()); $this->assertIsString($this->SMSTenDLCBrand->getAltBusinessId()); } - /** - * Test attribute "alt_business_id_type" - */ + public function testPropertyAltBusinessIdType() { $this->SMSTenDLCBrand->setaltBusinessIdType(\FreeClimb\Api\Model\SMSTenDLCBrandAltBusinessIdType::NONE); @@ -389,9 +339,7 @@ public function testPropertyAltBusinessIdType() $this->SMSTenDLCBrand->setaltBusinessIdType(\FreeClimb\Api\Model\SMSTenDLCBrandAltBusinessIdType::LEI); $this->assertEquals(\FreeClimb\Api\Model\SMSTenDLCBrandAltBusinessIdType::LEI, $this->SMSTenDLCBrand->getaltBusinessIdType()); } - /** - * Test attribute "universal_ein" - */ + public function testPropertyUniversalEin() { @@ -399,9 +347,7 @@ public function testPropertyUniversalEin() $this->assertEquals('TS', $this->SMSTenDLCBrand->getUniversalEin()); $this->assertIsString($this->SMSTenDLCBrand->getUniversalEin()); } - /** - * Test attribute "reference_id" - */ + public function testPropertyReferenceId() { @@ -409,26 +355,20 @@ public function testPropertyReferenceId() $this->assertEquals('TS', $this->SMSTenDLCBrand->getReferenceId()); $this->assertIsString($this->SMSTenDLCBrand->getReferenceId()); } - /** - * Test attribute "optional_attributes" - */ + public function testPropertyOptionalAttributes() { $this->SMSTenDLCBrand->setoptionalAttributes(new \stdClass()); $this->assertInstanceOf(\stdClass::class, $this->SMSTenDLCBrand->getoptionalAttributes()); } - /** - * Test attribute "mock" - */ + public function testPropertyMock() { $this->SMSTenDLCBrand->setmock(false); $this->assertFalse($this->SMSTenDLCBrand->getmock()); $this->assertIsBool($this->SMSTenDLCBrand->getmock()); } - /** - * Test attribute "identity_status" - */ + public function testPropertyIdentityStatus() { $this->SMSTenDLCBrand->setidentityStatus(\FreeClimb\Api\Model\SMSTenDLCBrandIdentityStatus::SELF_DECLARED); @@ -440,9 +380,7 @@ public function testPropertyIdentityStatus() $this->SMSTenDLCBrand->setidentityStatus(\FreeClimb\Api\Model\SMSTenDLCBrandIdentityStatus::VETTED_VERIFIED); $this->assertEquals(\FreeClimb\Api\Model\SMSTenDLCBrandIdentityStatus::VETTED_VERIFIED, $this->SMSTenDLCBrand->getidentityStatus()); } - /** - * Test attribute "create_date" - */ + public function testPropertyCreateDate() { $this->SMSTenDLCBrand->setcreateDate('2023-09-21 15:30:00'); diff --git a/test/Model/SMSTenDLCBrandsListResultTest.php b/test/Model/SMSTenDLCBrandsListResultTest.php index 8e9ccab..6d8f82a 100644 --- a/test/Model/SMSTenDLCBrandsListResultTest.php +++ b/test/Model/SMSTenDLCBrandsListResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->SMSTenDLCBrandsListResult->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->SMSTenDLCBrandsListResult->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->SMSTenDLCBrandsListResult->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->SMSTenDLCBrandsListResult->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->SMSTenDLCBrandsListResult->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->SMSTenDLCBrandsListResult->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->SMSTenDLCBrandsListResult->getNextPageUri()); $this->assertIsString($this->SMSTenDLCBrandsListResult->getNextPageUri()); } - /** - * Test attribute "brands" - */ + public function testPropertyBrands() { $this->SMSTenDLCBrandsListResult->setbrands([]); diff --git a/test/Model/SMSTenDLCCampaignTest.php b/test/Model/SMSTenDLCCampaignTest.php index e4a5260..c820a40 100644 --- a/test/Model/SMSTenDLCCampaignTest.php +++ b/test/Model/SMSTenDLCCampaignTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -83,9 +81,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getAccountId()); $this->assertIsString($this->SMSTenDLCCampaign->getAccountId()); } - /** - * Test attribute "campaign_id" - */ + public function testPropertyCampaignId() { @@ -93,9 +89,7 @@ public function testPropertyCampaignId() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getCampaignId()); $this->assertIsString($this->SMSTenDLCCampaign->getCampaignId()); } - /** - * Test attribute "csp_id" - */ + public function testPropertyCspId() { @@ -103,9 +97,7 @@ public function testPropertyCspId() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getCspId()); $this->assertIsString($this->SMSTenDLCCampaign->getCspId()); } - /** - * Test attribute "reseller_id" - */ + public function testPropertyResellerId() { @@ -113,9 +105,7 @@ public function testPropertyResellerId() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getResellerId()); $this->assertIsString($this->SMSTenDLCCampaign->getResellerId()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->SMSTenDLCCampaign->setstatus(\FreeClimb\Api\Model\SMSTenDLCCampaignStatus::ACTIVE); @@ -123,34 +113,26 @@ public function testPropertyStatus() $this->SMSTenDLCCampaign->setstatus(\FreeClimb\Api\Model\SMSTenDLCCampaignStatus::EXPIRED); $this->assertEquals(\FreeClimb\Api\Model\SMSTenDLCCampaignStatus::EXPIRED, $this->SMSTenDLCCampaign->getstatus()); } - /** - * Test attribute "create_date" - */ + public function testPropertyCreateDate() { $this->SMSTenDLCCampaign->setcreateDate('2023-09-21 15:30:00'); $this->assertEquals('2023-09-21 15:30:00', $this->SMSTenDLCCampaign->getcreateDate()); } - /** - * Test attribute "auto_renewal" - */ + public function testPropertyAutoRenewal() { $this->SMSTenDLCCampaign->setautoRenewal(false); $this->assertFalse($this->SMSTenDLCCampaign->getautoRenewal()); $this->assertIsBool($this->SMSTenDLCCampaign->getautoRenewal()); } - /** - * Test attribute "billed_date" - */ + public function testPropertyBilledDate() { $this->SMSTenDLCCampaign->setbilledDate('2023-09-21 15:30:00'); $this->assertEquals('2023-09-21 15:30:00', $this->SMSTenDLCCampaign->getbilledDate()); } - /** - * Test attribute "brand_id" - */ + public function testPropertyBrandId() { @@ -158,9 +140,7 @@ public function testPropertyBrandId() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getBrandId()); $this->assertIsString($this->SMSTenDLCCampaign->getBrandId()); } - /** - * Test attribute "usecase" - */ + public function testPropertyUsecase() { @@ -168,18 +148,14 @@ public function testPropertyUsecase() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getUsecase()); $this->assertIsString($this->SMSTenDLCCampaign->getUsecase()); } - /** - * Test attribute "sub_usecases" - */ + public function testPropertySubUsecases() { $this->SMSTenDLCCampaign->setsubUsecases([]); $this->assertEquals([], $this->SMSTenDLCCampaign->getsubUsecases()); $this->assertIsArray($this->SMSTenDLCCampaign->getsubUsecases()); } - /** - * Test attribute "description" - */ + public function testPropertyDescription() { @@ -187,90 +163,70 @@ public function testPropertyDescription() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getDescription()); $this->assertIsString($this->SMSTenDLCCampaign->getDescription()); } - /** - * Test attribute "embedded_link" - */ + public function testPropertyEmbeddedLink() { $this->SMSTenDLCCampaign->setembeddedLink(false); $this->assertFalse($this->SMSTenDLCCampaign->getembeddedLink()); $this->assertIsBool($this->SMSTenDLCCampaign->getembeddedLink()); } - /** - * Test attribute "embedded_phone" - */ + public function testPropertyEmbeddedPhone() { $this->SMSTenDLCCampaign->setembeddedPhone(false); $this->assertFalse($this->SMSTenDLCCampaign->getembeddedPhone()); $this->assertIsBool($this->SMSTenDLCCampaign->getembeddedPhone()); } - /** - * Test attribute "affiliate_marketing" - */ + public function testPropertyAffiliateMarketing() { $this->SMSTenDLCCampaign->setaffiliateMarketing(false); $this->assertFalse($this->SMSTenDLCCampaign->getaffiliateMarketing()); $this->assertIsBool($this->SMSTenDLCCampaign->getaffiliateMarketing()); } - /** - * Test attribute "number_pool" - */ + public function testPropertyNumberPool() { $this->SMSTenDLCCampaign->setnumberPool(false); $this->assertFalse($this->SMSTenDLCCampaign->getnumberPool()); $this->assertIsBool($this->SMSTenDLCCampaign->getnumberPool()); } - /** - * Test attribute "age_gated" - */ + public function testPropertyAgeGated() { $this->SMSTenDLCCampaign->setageGated(false); $this->assertFalse($this->SMSTenDLCCampaign->getageGated()); $this->assertIsBool($this->SMSTenDLCCampaign->getageGated()); } - /** - * Test attribute "direct_lending" - */ + public function testPropertyDirectLending() { $this->SMSTenDLCCampaign->setdirectLending(false); $this->assertFalse($this->SMSTenDLCCampaign->getdirectLending()); $this->assertIsBool($this->SMSTenDLCCampaign->getdirectLending()); } - /** - * Test attribute "subscriber_optin" - */ + public function testPropertySubscriberOptin() { $this->SMSTenDLCCampaign->setsubscriberOptin(false); $this->assertFalse($this->SMSTenDLCCampaign->getsubscriberOptin()); $this->assertIsBool($this->SMSTenDLCCampaign->getsubscriberOptin()); } - /** - * Test attribute "subscriber_optout" - */ + public function testPropertySubscriberOptout() { $this->SMSTenDLCCampaign->setsubscriberOptout(false); $this->assertFalse($this->SMSTenDLCCampaign->getsubscriberOptout()); $this->assertIsBool($this->SMSTenDLCCampaign->getsubscriberOptout()); } - /** - * Test attribute "subscriber_help" - */ + public function testPropertySubscriberHelp() { $this->SMSTenDLCCampaign->setsubscriberHelp(false); $this->assertFalse($this->SMSTenDLCCampaign->getsubscriberHelp()); $this->assertIsBool($this->SMSTenDLCCampaign->getsubscriberHelp()); } - /** - * Test attribute "sample1" - */ + public function testPropertySample1() { @@ -278,9 +234,7 @@ public function testPropertySample1() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getSample1()); $this->assertIsString($this->SMSTenDLCCampaign->getSample1()); } - /** - * Test attribute "sample2" - */ + public function testPropertySample2() { @@ -288,9 +242,7 @@ public function testPropertySample2() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getSample2()); $this->assertIsString($this->SMSTenDLCCampaign->getSample2()); } - /** - * Test attribute "sample3" - */ + public function testPropertySample3() { @@ -298,9 +250,7 @@ public function testPropertySample3() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getSample3()); $this->assertIsString($this->SMSTenDLCCampaign->getSample3()); } - /** - * Test attribute "sample4" - */ + public function testPropertySample4() { @@ -308,9 +258,7 @@ public function testPropertySample4() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getSample4()); $this->assertIsString($this->SMSTenDLCCampaign->getSample4()); } - /** - * Test attribute "sample5" - */ + public function testPropertySample5() { @@ -318,9 +266,7 @@ public function testPropertySample5() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getSample5()); $this->assertIsString($this->SMSTenDLCCampaign->getSample5()); } - /** - * Test attribute "message_flow" - */ + public function testPropertyMessageFlow() { @@ -328,9 +274,7 @@ public function testPropertyMessageFlow() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getMessageFlow()); $this->assertIsString($this->SMSTenDLCCampaign->getMessageFlow()); } - /** - * Test attribute "help_message" - */ + public function testPropertyHelpMessage() { @@ -338,9 +282,7 @@ public function testPropertyHelpMessage() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getHelpMessage()); $this->assertIsString($this->SMSTenDLCCampaign->getHelpMessage()); } - /** - * Test attribute "optin_keywords" - */ + public function testPropertyOptinKeywords() { @@ -348,9 +290,7 @@ public function testPropertyOptinKeywords() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getOptinKeywords()); $this->assertIsString($this->SMSTenDLCCampaign->getOptinKeywords()); } - /** - * Test attribute "optout_keywords" - */ + public function testPropertyOptoutKeywords() { @@ -358,9 +298,7 @@ public function testPropertyOptoutKeywords() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getOptoutKeywords()); $this->assertIsString($this->SMSTenDLCCampaign->getOptoutKeywords()); } - /** - * Test attribute "help_keywords" - */ + public function testPropertyHelpKeywords() { @@ -368,9 +306,7 @@ public function testPropertyHelpKeywords() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getHelpKeywords()); $this->assertIsString($this->SMSTenDLCCampaign->getHelpKeywords()); } - /** - * Test attribute "optin_message" - */ + public function testPropertyOptinMessage() { @@ -378,9 +314,7 @@ public function testPropertyOptinMessage() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getOptinMessage()); $this->assertIsString($this->SMSTenDLCCampaign->getOptinMessage()); } - /** - * Test attribute "optout_message" - */ + public function testPropertyOptoutMessage() { @@ -388,9 +322,7 @@ public function testPropertyOptoutMessage() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getOptoutMessage()); $this->assertIsString($this->SMSTenDLCCampaign->getOptoutMessage()); } - /** - * Test attribute "reference_id" - */ + public function testPropertyReferenceId() { @@ -398,18 +330,14 @@ public function testPropertyReferenceId() $this->assertEquals('TS', $this->SMSTenDLCCampaign->getReferenceId()); $this->assertIsString($this->SMSTenDLCCampaign->getReferenceId()); } - /** - * Test attribute "mock" - */ + public function testPropertyMock() { $this->SMSTenDLCCampaign->setmock(false); $this->assertFalse($this->SMSTenDLCCampaign->getmock()); $this->assertIsBool($this->SMSTenDLCCampaign->getmock()); } - /** - * Test attribute "next_renewal_or_expiration_date" - */ + public function testPropertyNextRenewalOrExpirationDate() { $this->SMSTenDLCCampaign->setnextRenewalOrExpirationDate('2023-09-21 15:30:00'); diff --git a/test/Model/SMSTenDLCCampaignsListResultTest.php b/test/Model/SMSTenDLCCampaignsListResultTest.php index b01ebb4..26d4f9a 100644 --- a/test/Model/SMSTenDLCCampaignsListResultTest.php +++ b/test/Model/SMSTenDLCCampaignsListResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->SMSTenDLCCampaignsListResult->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->SMSTenDLCCampaignsListResult->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->SMSTenDLCCampaignsListResult->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->SMSTenDLCCampaignsListResult->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->SMSTenDLCCampaignsListResult->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->SMSTenDLCCampaignsListResult->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->SMSTenDLCCampaignsListResult->getNextPageUri()); $this->assertIsString($this->SMSTenDLCCampaignsListResult->getNextPageUri()); } - /** - * Test attribute "campaigns" - */ + public function testPropertyCampaigns() { $this->SMSTenDLCCampaignsListResult->setcampaigns([]); diff --git a/test/Model/SMSTenDLCPartnerCampaignBrandTest.php b/test/Model/SMSTenDLCPartnerCampaignBrandTest.php index a6bbd98..7952597 100644 --- a/test/Model/SMSTenDLCPartnerCampaignBrandTest.php +++ b/test/Model/SMSTenDLCPartnerCampaignBrandTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -83,9 +81,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getAccountId()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getAccountId()); } - /** - * Test attribute "brand_id" - */ + public function testPropertyBrandId() { @@ -93,9 +89,7 @@ public function testPropertyBrandId() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getBrandId()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getBrandId()); } - /** - * Test attribute "first_name" - */ + public function testPropertyFirstName() { @@ -103,9 +97,7 @@ public function testPropertyFirstName() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getFirstName()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getFirstName()); } - /** - * Test attribute "last_name" - */ + public function testPropertyLastName() { @@ -113,9 +105,7 @@ public function testPropertyLastName() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getLastName()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getLastName()); } - /** - * Test attribute "display_name" - */ + public function testPropertyDisplayName() { @@ -123,9 +113,7 @@ public function testPropertyDisplayName() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getDisplayName()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getDisplayName()); } - /** - * Test attribute "company_name" - */ + public function testPropertyCompanyName() { @@ -133,9 +121,7 @@ public function testPropertyCompanyName() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getCompanyName()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getCompanyName()); } - /** - * Test attribute "phone" - */ + public function testPropertyPhone() { @@ -143,9 +129,7 @@ public function testPropertyPhone() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getPhone()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getPhone()); } - /** - * Test attribute "email" - */ + public function testPropertyEmail() { @@ -153,9 +137,7 @@ public function testPropertyEmail() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getEmail()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getEmail()); } - /** - * Test attribute "website" - */ + public function testPropertyWebsite() { @@ -163,17 +145,13 @@ public function testPropertyWebsite() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignBrand->getWebsite()); $this->assertIsString($this->SMSTenDLCPartnerCampaignBrand->getWebsite()); } - /** - * Test attribute "optional_attributes" - */ + public function testPropertyOptionalAttributes() { $this->SMSTenDLCPartnerCampaignBrand->setoptionalAttributes(new \stdClass()); $this->assertInstanceOf(\stdClass::class, $this->SMSTenDLCPartnerCampaignBrand->getoptionalAttributes()); } - /** - * Test attribute "evp_vetting_score" - */ + public function testPropertyEvpVettingScore() { diff --git a/test/Model/SMSTenDLCPartnerCampaignTest.php b/test/Model/SMSTenDLCPartnerCampaignTest.php index 6a92c6a..3cb7053 100644 --- a/test/Model/SMSTenDLCPartnerCampaignTest.php +++ b/test/Model/SMSTenDLCPartnerCampaignTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -83,9 +81,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getAccountId()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getAccountId()); } - /** - * Test attribute "campaign_id" - */ + public function testPropertyCampaignId() { @@ -93,9 +89,7 @@ public function testPropertyCampaignId() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getCampaignId()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getCampaignId()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->SMSTenDLCPartnerCampaign->setstatus(\FreeClimb\Api\Model\SMSTenDLCPartnerCampaignStatus::ACTIVE); @@ -103,17 +97,13 @@ public function testPropertyStatus() $this->SMSTenDLCPartnerCampaign->setstatus(\FreeClimb\Api\Model\SMSTenDLCPartnerCampaignStatus::EXPIRED); $this->assertEquals(\FreeClimb\Api\Model\SMSTenDLCPartnerCampaignStatus::EXPIRED, $this->SMSTenDLCPartnerCampaign->getstatus()); } - /** - * Test attribute "create_date" - */ + public function testPropertyCreateDate() { $this->SMSTenDLCPartnerCampaign->setcreateDate('2023-09-21 15:30:00'); $this->assertEquals('2023-09-21 15:30:00', $this->SMSTenDLCPartnerCampaign->getcreateDate()); } - /** - * Test attribute "brand_id" - */ + public function testPropertyBrandId() { @@ -121,9 +111,7 @@ public function testPropertyBrandId() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getBrandId()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getBrandId()); } - /** - * Test attribute "usecase" - */ + public function testPropertyUsecase() { @@ -131,9 +119,7 @@ public function testPropertyUsecase() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getUsecase()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getUsecase()); } - /** - * Test attribute "description" - */ + public function testPropertyDescription() { @@ -141,90 +127,70 @@ public function testPropertyDescription() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getDescription()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getDescription()); } - /** - * Test attribute "embedded_link" - */ + public function testPropertyEmbeddedLink() { $this->SMSTenDLCPartnerCampaign->setembeddedLink(false); $this->assertFalse($this->SMSTenDLCPartnerCampaign->getembeddedLink()); $this->assertIsBool($this->SMSTenDLCPartnerCampaign->getembeddedLink()); } - /** - * Test attribute "embedded_phone" - */ + public function testPropertyEmbeddedPhone() { $this->SMSTenDLCPartnerCampaign->setembeddedPhone(false); $this->assertFalse($this->SMSTenDLCPartnerCampaign->getembeddedPhone()); $this->assertIsBool($this->SMSTenDLCPartnerCampaign->getembeddedPhone()); } - /** - * Test attribute "affiliate_marketing" - */ + public function testPropertyAffiliateMarketing() { $this->SMSTenDLCPartnerCampaign->setaffiliateMarketing(false); $this->assertFalse($this->SMSTenDLCPartnerCampaign->getaffiliateMarketing()); $this->assertIsBool($this->SMSTenDLCPartnerCampaign->getaffiliateMarketing()); } - /** - * Test attribute "number_pool" - */ + public function testPropertyNumberPool() { $this->SMSTenDLCPartnerCampaign->setnumberPool(false); $this->assertFalse($this->SMSTenDLCPartnerCampaign->getnumberPool()); $this->assertIsBool($this->SMSTenDLCPartnerCampaign->getnumberPool()); } - /** - * Test attribute "age_gated" - */ + public function testPropertyAgeGated() { $this->SMSTenDLCPartnerCampaign->setageGated(false); $this->assertFalse($this->SMSTenDLCPartnerCampaign->getageGated()); $this->assertIsBool($this->SMSTenDLCPartnerCampaign->getageGated()); } - /** - * Test attribute "direct_lending" - */ + public function testPropertyDirectLending() { $this->SMSTenDLCPartnerCampaign->setdirectLending(false); $this->assertFalse($this->SMSTenDLCPartnerCampaign->getdirectLending()); $this->assertIsBool($this->SMSTenDLCPartnerCampaign->getdirectLending()); } - /** - * Test attribute "subscriber_optin" - */ + public function testPropertySubscriberOptin() { $this->SMSTenDLCPartnerCampaign->setsubscriberOptin(false); $this->assertFalse($this->SMSTenDLCPartnerCampaign->getsubscriberOptin()); $this->assertIsBool($this->SMSTenDLCPartnerCampaign->getsubscriberOptin()); } - /** - * Test attribute "subscriber_optout" - */ + public function testPropertySubscriberOptout() { $this->SMSTenDLCPartnerCampaign->setsubscriberOptout(false); $this->assertFalse($this->SMSTenDLCPartnerCampaign->getsubscriberOptout()); $this->assertIsBool($this->SMSTenDLCPartnerCampaign->getsubscriberOptout()); } - /** - * Test attribute "subscriber_help" - */ + public function testPropertySubscriberHelp() { $this->SMSTenDLCPartnerCampaign->setsubscriberHelp(false); $this->assertFalse($this->SMSTenDLCPartnerCampaign->getsubscriberHelp()); $this->assertIsBool($this->SMSTenDLCPartnerCampaign->getsubscriberHelp()); } - /** - * Test attribute "sample1" - */ + public function testPropertySample1() { @@ -232,9 +198,7 @@ public function testPropertySample1() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getSample1()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getSample1()); } - /** - * Test attribute "sample2" - */ + public function testPropertySample2() { @@ -242,9 +206,7 @@ public function testPropertySample2() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getSample2()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getSample2()); } - /** - * Test attribute "sample3" - */ + public function testPropertySample3() { @@ -252,9 +214,7 @@ public function testPropertySample3() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getSample3()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getSample3()); } - /** - * Test attribute "sample4" - */ + public function testPropertySample4() { @@ -262,9 +222,7 @@ public function testPropertySample4() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getSample4()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getSample4()); } - /** - * Test attribute "sample5" - */ + public function testPropertySample5() { @@ -272,9 +230,7 @@ public function testPropertySample5() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getSample5()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getSample5()); } - /** - * Test attribute "message_flow" - */ + public function testPropertyMessageFlow() { @@ -282,9 +238,7 @@ public function testPropertyMessageFlow() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getMessageFlow()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getMessageFlow()); } - /** - * Test attribute "help_message" - */ + public function testPropertyHelpMessage() { @@ -292,9 +246,7 @@ public function testPropertyHelpMessage() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getHelpMessage()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getHelpMessage()); } - /** - * Test attribute "optin_keywords" - */ + public function testPropertyOptinKeywords() { @@ -302,9 +254,7 @@ public function testPropertyOptinKeywords() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getOptinKeywords()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getOptinKeywords()); } - /** - * Test attribute "optout_keywords" - */ + public function testPropertyOptoutKeywords() { @@ -312,9 +262,7 @@ public function testPropertyOptoutKeywords() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getOptoutKeywords()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getOptoutKeywords()); } - /** - * Test attribute "help_keywords" - */ + public function testPropertyHelpKeywords() { @@ -322,9 +270,7 @@ public function testPropertyHelpKeywords() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getHelpKeywords()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getHelpKeywords()); } - /** - * Test attribute "optin_message" - */ + public function testPropertyOptinMessage() { @@ -332,9 +278,7 @@ public function testPropertyOptinMessage() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getOptinMessage()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getOptinMessage()); } - /** - * Test attribute "optout_message" - */ + public function testPropertyOptoutMessage() { @@ -342,9 +286,7 @@ public function testPropertyOptoutMessage() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaign->getOptoutMessage()); $this->assertIsString($this->SMSTenDLCPartnerCampaign->getOptoutMessage()); } - /** - * Test attribute "brand" - */ + public function testPropertyBrand() { $this->SMSTenDLCPartnerCampaign->setbrand(new \stdClass()); diff --git a/test/Model/SMSTenDLCPartnerCampaignsListResultTest.php b/test/Model/SMSTenDLCPartnerCampaignsListResultTest.php index 2ed5582..ed06034 100644 --- a/test/Model/SMSTenDLCPartnerCampaignsListResultTest.php +++ b/test/Model/SMSTenDLCPartnerCampaignsListResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->SMSTenDLCPartnerCampaignsListResult->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->SMSTenDLCPartnerCampaignsListResult->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->SMSTenDLCPartnerCampaignsListResult->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->SMSTenDLCPartnerCampaignsListResult->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->SMSTenDLCPartnerCampaignsListResult->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->SMSTenDLCPartnerCampaignsListResult->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->SMSTenDLCPartnerCampaignsListResult->getNextPageUri()); $this->assertIsString($this->SMSTenDLCPartnerCampaignsListResult->getNextPageUri()); } - /** - * Test attribute "partner_campaigns" - */ + public function testPropertyPartnerCampaigns() { $this->SMSTenDLCPartnerCampaignsListResult->setpartnerCampaigns([]); diff --git a/test/Model/SMSTollFreeCampaignTest.php b/test/Model/SMSTollFreeCampaignTest.php index 8811fad..d312c53 100644 --- a/test/Model/SMSTollFreeCampaignTest.php +++ b/test/Model/SMSTollFreeCampaignTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -83,9 +81,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->SMSTollFreeCampaign->getAccountId()); $this->assertIsString($this->SMSTollFreeCampaign->getAccountId()); } - /** - * Test attribute "campaign_id" - */ + public function testPropertyCampaignId() { @@ -93,9 +89,7 @@ public function testPropertyCampaignId() $this->assertEquals('TS', $this->SMSTollFreeCampaign->getCampaignId()); $this->assertIsString($this->SMSTollFreeCampaign->getCampaignId()); } - /** - * Test attribute "use_case" - */ + public function testPropertyUseCase() { @@ -103,9 +97,7 @@ public function testPropertyUseCase() $this->assertEquals('TS', $this->SMSTollFreeCampaign->getUseCase()); $this->assertIsString($this->SMSTollFreeCampaign->getUseCase()); } - /** - * Test attribute "registration_status" - */ + public function testPropertyRegistrationStatus() { $this->SMSTollFreeCampaign->setregistrationStatus(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::UNREGISTERED); @@ -119,9 +111,7 @@ public function testPropertyRegistrationStatus() $this->SMSTollFreeCampaign->setregistrationStatus(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::REGISTERED); $this->assertEquals(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::REGISTERED, $this->SMSTollFreeCampaign->getregistrationStatus()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -129,9 +119,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->SMSTollFreeCampaign->getDateCreated()); $this->assertIsString($this->SMSTollFreeCampaign->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -139,9 +127,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->SMSTollFreeCampaign->getDateUpdated()); $this->assertIsString($this->SMSTollFreeCampaign->getDateUpdated()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { diff --git a/test/Model/SMSTollFreeCampaignsListResultTest.php b/test/Model/SMSTollFreeCampaignsListResultTest.php index eebecb9..7e723df 100644 --- a/test/Model/SMSTollFreeCampaignsListResultTest.php +++ b/test/Model/SMSTollFreeCampaignsListResultTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "total" - */ + public function testPropertyTotal() { @@ -85,9 +83,7 @@ public function testPropertyTotal() $this->assertIsNumeric($this->SMSTollFreeCampaignsListResult->gettotal()); } - /** - * Test attribute "start" - */ + public function testPropertyStart() { @@ -97,9 +93,7 @@ public function testPropertyStart() $this->assertIsNumeric($this->SMSTollFreeCampaignsListResult->getstart()); } - /** - * Test attribute "end" - */ + public function testPropertyEnd() { @@ -109,9 +103,7 @@ public function testPropertyEnd() $this->assertIsNumeric($this->SMSTollFreeCampaignsListResult->getend()); } - /** - * Test attribute "page" - */ + public function testPropertyPage() { @@ -121,9 +113,7 @@ public function testPropertyPage() $this->assertIsNumeric($this->SMSTollFreeCampaignsListResult->getpage()); } - /** - * Test attribute "num_pages" - */ + public function testPropertyNumPages() { @@ -133,9 +123,7 @@ public function testPropertyNumPages() $this->assertIsNumeric($this->SMSTollFreeCampaignsListResult->getnumPages()); } - /** - * Test attribute "page_size" - */ + public function testPropertyPageSize() { @@ -145,9 +133,7 @@ public function testPropertyPageSize() $this->assertIsNumeric($this->SMSTollFreeCampaignsListResult->getpageSize()); } - /** - * Test attribute "next_page_uri" - */ + public function testPropertyNextPageUri() { @@ -155,9 +141,7 @@ public function testPropertyNextPageUri() $this->assertEquals('TS', $this->SMSTollFreeCampaignsListResult->getNextPageUri()); $this->assertIsString($this->SMSTollFreeCampaignsListResult->getNextPageUri()); } - /** - * Test attribute "brands" - */ + public function testPropertyBrands() { $this->SMSTollFreeCampaignsListResult->setbrands([]); diff --git a/test/Model/SayTest.php b/test/Model/SayTest.php index c1552d5..4589052 100644 --- a/test/Model/SayTest.php +++ b/test/Model/SayTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "text" - */ + public function testPropertyText() { @@ -83,9 +81,7 @@ public function testPropertyText() $this->assertEquals('TS', $this->Say->getText()); $this->assertIsString($this->Say->getText()); } - /** - * Test attribute "language" - */ + public function testPropertyLanguage() { @@ -93,9 +89,7 @@ public function testPropertyLanguage() $this->assertEquals('TS', $this->Say->getLanguage()); $this->assertIsString($this->Say->getLanguage()); } - /** - * Test attribute "loop" - */ + public function testPropertyLoop() { @@ -105,9 +99,7 @@ public function testPropertyLoop() $this->assertIsNumeric($this->Say->getloop()); } - /** - * Test attribute "privacy_mode" - */ + public function testPropertyPrivacyMode() { $this->Say->setprivacyMode(false); diff --git a/test/Model/SendDigitsTest.php b/test/Model/SendDigitsTest.php index 08f073d..9d34664 100644 --- a/test/Model/SendDigitsTest.php +++ b/test/Model/SendDigitsTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "digits" - */ + public function testPropertyDigits() { @@ -83,9 +81,7 @@ public function testPropertyDigits() $this->assertEquals('TS', $this->SendDigits->getDigits()); $this->assertIsString($this->SendDigits->getDigits()); } - /** - * Test attribute "pause_ms" - */ + public function testPropertyPauseMs() { @@ -95,9 +91,7 @@ public function testPropertyPauseMs() $this->assertIsNumeric($this->SendDigits->getpauseMs()); } - /** - * Test attribute "privacy_mode" - */ + public function testPropertyPrivacyMode() { $this->SendDigits->setprivacyMode(false); diff --git a/test/Model/SetDTMFPassThroughTest.php b/test/Model/SetDTMFPassThroughTest.php index 816ddb1..93115fd 100644 --- a/test/Model/SetDTMFPassThroughTest.php +++ b/test/Model/SetDTMFPassThroughTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "dtmf_pass_through" - */ + public function testPropertyDtmfPassThrough() { $this->SetDTMFPassThrough->setdtmfPassThrough(false); diff --git a/test/Model/SetListenTest.php b/test/Model/SetListenTest.php index f1e98f6..196a4dd 100644 --- a/test/Model/SetListenTest.php +++ b/test/Model/SetListenTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "listen" - */ + public function testPropertyListen() { $this->SetListen->setlisten(false); diff --git a/test/Model/SetTalkTest.php b/test/Model/SetTalkTest.php index eae8929..13400f8 100644 --- a/test/Model/SetTalkTest.php +++ b/test/Model/SetTalkTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "talk" - */ + public function testPropertyTalk() { $this->SetTalk->settalk(false); diff --git a/test/Model/SmsTest.php b/test/Model/SmsTest.php index 30ce36c..1d0bec8 100644 --- a/test/Model/SmsTest.php +++ b/test/Model/SmsTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -83,9 +81,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->Sms->getTo()); $this->assertIsString($this->Sms->getTo()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -93,9 +89,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->Sms->getFrom()); $this->assertIsString($this->Sms->getFrom()); } - /** - * Test attribute "text" - */ + public function testPropertyText() { @@ -103,9 +97,7 @@ public function testPropertyText() $this->assertEquals('TS', $this->Sms->getText()); $this->assertIsString($this->Sms->getText()); } - /** - * Test attribute "notification_url" - */ + public function testPropertyNotificationUrl() { diff --git a/test/Model/TFNCampaignTest.php b/test/Model/TFNCampaignTest.php index c722969..f9b66f8 100644 --- a/test/Model/TFNCampaignTest.php +++ b/test/Model/TFNCampaignTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -83,9 +81,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->TFNCampaign->getAccountId()); $this->assertIsString($this->TFNCampaign->getAccountId()); } - /** - * Test attribute "campaign_id" - */ + public function testPropertyCampaignId() { @@ -94,9 +90,7 @@ public function testPropertyCampaignId() $this->assertIsString($this->TFNCampaign->getCampaignId()); } - /** - * Test attribute "use_case" - */ + public function testPropertyUseCase() { @@ -104,9 +98,7 @@ public function testPropertyUseCase() $this->assertEquals('TS', $this->TFNCampaign->getUseCase()); $this->assertIsString($this->TFNCampaign->getUseCase()); } - /** - * Test attribute "registration_status" - */ + public function testPropertyRegistrationStatus() { $this->TFNCampaign->setregistrationStatus(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::UNREGISTERED); @@ -120,9 +112,7 @@ public function testPropertyRegistrationStatus() $this->TFNCampaign->setregistrationStatus(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::REGISTERED); $this->assertEquals(\FreeClimb\Api\Model\SMSTollFreeCampaignRegistrationStatus::REGISTERED, $this->TFNCampaign->getregistrationStatus()); } - /** - * Test attribute "date_created" - */ + public function testPropertyDateCreated() { @@ -130,9 +120,7 @@ public function testPropertyDateCreated() $this->assertEquals('TS', $this->TFNCampaign->getDateCreated()); $this->assertIsString($this->TFNCampaign->getDateCreated()); } - /** - * Test attribute "date_updated" - */ + public function testPropertyDateUpdated() { @@ -140,9 +128,7 @@ public function testPropertyDateUpdated() $this->assertEquals('TS', $this->TFNCampaign->getDateUpdated()); $this->assertIsString($this->TFNCampaign->getDateUpdated()); } - /** - * Test attribute "date_created_iso" - */ + public function testPropertyDateCreatedIso() { @@ -150,9 +136,7 @@ public function testPropertyDateCreatedIso() $this->assertEquals('TS', $this->TFNCampaign->getDateCreatedIso()); $this->assertIsString($this->TFNCampaign->getDateCreatedIso()); } - /** - * Test attribute "date_updated_iso" - */ + public function testPropertyDateUpdatedIso() { @@ -160,9 +144,7 @@ public function testPropertyDateUpdatedIso() $this->assertEquals('TS', $this->TFNCampaign->getDateUpdatedIso()); $this->assertIsString($this->TFNCampaign->getDateUpdatedIso()); } - /** - * Test attribute "revision" - */ + public function testPropertyRevision() { diff --git a/test/Model/TFNTest.php b/test/Model/TFNTest.php index f36e164..fcabab2 100644 --- a/test/Model/TFNTest.php +++ b/test/Model/TFNTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "campaign_id" - */ + public function testPropertyCampaignId() { diff --git a/test/Model/TranscribeUtteranceRecordTest.php b/test/Model/TranscribeUtteranceRecordTest.php index b9af9b4..17a9d02 100644 --- a/test/Model/TranscribeUtteranceRecordTest.php +++ b/test/Model/TranscribeUtteranceRecordTest.php @@ -73,18 +73,14 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "save_recording" - */ + public function testPropertySaveRecording() { $this->TranscribeUtteranceRecord->setsaveRecording(false); $this->assertFalse($this->TranscribeUtteranceRecord->getsaveRecording()); $this->assertIsBool($this->TranscribeUtteranceRecord->getsaveRecording()); } - /** - * Test attribute "max_length_sec" - */ + public function testPropertyMaxLengthSec() { $this->TranscribeUtteranceRecord->setmaxLengthSec(60); @@ -93,9 +89,7 @@ public function testPropertyMaxLengthSec() } - /** - * Test attribute "rcrd_termination_silence_time_ms" - */ + public function testPropertyRcrdTerminationSilenceTimeMs() { $this->TranscribeUtteranceRecord->setrcrdTerminationSilenceTimeMs(3000); diff --git a/test/Model/TranscribeUtteranceTest.php b/test/Model/TranscribeUtteranceTest.php index 2443580..7c60b72 100644 --- a/test/Model/TranscribeUtteranceTest.php +++ b/test/Model/TranscribeUtteranceTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "action_url" - */ + public function testPropertyActionUrl() { @@ -83,44 +81,34 @@ public function testPropertyActionUrl() $this->assertEquals('TS', $this->TranscribeUtterance->getActionUrl()); $this->assertIsString($this->TranscribeUtterance->getActionUrl()); } - /** - * Test attribute "play_beep" - */ + public function testPropertyPlayBeep() { $this->TranscribeUtterance->setplayBeep(false); $this->assertFalse($this->TranscribeUtterance->getplayBeep()); $this->assertIsBool($this->TranscribeUtterance->getplayBeep()); } - /** - * Test attribute "record" - */ + public function testPropertyRecord() { $this->TranscribeUtterance->setrecord(new \stdClass()); $this->assertInstanceOf(\stdClass::class, $this->TranscribeUtterance->getrecord()); } - /** - * Test attribute "privacy_for_logging" - */ + public function testPropertyPrivacyForLogging() { $this->TranscribeUtterance->setprivacyForLogging(false); $this->assertFalse($this->TranscribeUtterance->getprivacyForLogging()); $this->assertIsBool($this->TranscribeUtterance->getprivacyForLogging()); } - /** - * Test attribute "privacy_for_recording" - */ + public function testPropertyPrivacyForRecording() { $this->TranscribeUtterance->setprivacyForRecording(false); $this->assertFalse($this->TranscribeUtterance->getprivacyForRecording()); $this->assertIsBool($this->TranscribeUtterance->getprivacyForRecording()); } - /** - * Test attribute "prompts" - */ + public function testPropertyPrompts() { $this->TranscribeUtterance->setprompts([]); diff --git a/test/Model/TranscribeWebhookTest.php b/test/Model/TranscribeWebhookTest.php index feda54a..5c0986a 100644 --- a/test/Model/TranscribeWebhookTest.php +++ b/test/Model/TranscribeWebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() { @@ -83,9 +81,7 @@ public function testPropertyRequestType() $this->assertEquals('TS', $this->TranscribeWebhook->getRequestType()); $this->assertIsString($this->TranscribeWebhook->getRequestType()); } - /** - * Test attribute "account_id" - */ + public function testPropertyAccountId() { @@ -93,9 +89,7 @@ public function testPropertyAccountId() $this->assertEquals('TS', $this->TranscribeWebhook->getAccountId()); $this->assertIsString($this->TranscribeWebhook->getAccountId()); } - /** - * Test attribute "call_id" - */ + public function testPropertyCallId() { @@ -103,9 +97,7 @@ public function testPropertyCallId() $this->assertEquals('TS', $this->TranscribeWebhook->getCallId()); $this->assertIsString($this->TranscribeWebhook->getCallId()); } - /** - * Test attribute "from" - */ + public function testPropertyFrom() { @@ -113,9 +105,7 @@ public function testPropertyFrom() $this->assertEquals('TS', $this->TranscribeWebhook->getFrom()); $this->assertIsString($this->TranscribeWebhook->getFrom()); } - /** - * Test attribute "to" - */ + public function testPropertyTo() { @@ -123,9 +113,7 @@ public function testPropertyTo() $this->assertEquals('TS', $this->TranscribeWebhook->getTo()); $this->assertIsString($this->TranscribeWebhook->getTo()); } - /** - * Test attribute "recording_id" - */ + public function testPropertyRecordingId() { @@ -133,9 +121,7 @@ public function testPropertyRecordingId() $this->assertEquals('TS', $this->TranscribeWebhook->getRecordingId()); $this->assertIsString($this->TranscribeWebhook->getRecordingId()); } - /** - * Test attribute "recording_url" - */ + public function testPropertyRecordingUrl() { @@ -143,9 +129,7 @@ public function testPropertyRecordingUrl() $this->assertEquals('TS', $this->TranscribeWebhook->getRecordingUrl()); $this->assertIsString($this->TranscribeWebhook->getRecordingUrl()); } - /** - * Test attribute "recording_size" - */ + public function testPropertyRecordingSize() { @@ -155,9 +139,7 @@ public function testPropertyRecordingSize() $this->assertIsNumeric($this->TranscribeWebhook->getrecordingSize()); } - /** - * Test attribute "recording_format" - */ + public function testPropertyRecordingFormat() { @@ -165,9 +147,7 @@ public function testPropertyRecordingFormat() $this->assertEquals('TS', $this->TranscribeWebhook->getRecordingFormat()); $this->assertIsString($this->TranscribeWebhook->getRecordingFormat()); } - /** - * Test attribute "recording_duration_ms" - */ + public function testPropertyRecordingDurationMs() { @@ -177,9 +157,7 @@ public function testPropertyRecordingDurationMs() $this->assertIsNumeric($this->TranscribeWebhook->getrecordingDurationMs()); } - /** - * Test attribute "term_reason" - */ + public function testPropertyTermReason() { $this->TranscribeWebhook->settermReason(\FreeClimb\Api\Model\TranscribeTermReason::ERROR); @@ -187,9 +165,7 @@ public function testPropertyTermReason() $this->TranscribeWebhook->settermReason(\FreeClimb\Api\Model\TranscribeTermReason::COMPLETED); $this->assertEquals(\FreeClimb\Api\Model\TranscribeTermReason::COMPLETED, $this->TranscribeWebhook->gettermReason()); } - /** - * Test attribute "record_term_reason" - */ + public function testPropertyRecordTermReason() { $this->TranscribeWebhook->setrecordTermReason(\FreeClimb\Api\Model\RecordUtteranceTermReason::FINISH_KEY); @@ -201,9 +177,7 @@ public function testPropertyRecordTermReason() $this->TranscribeWebhook->setrecordTermReason(\FreeClimb\Api\Model\RecordUtteranceTermReason::MAX_LENGTH); $this->assertEquals(\FreeClimb\Api\Model\RecordUtteranceTermReason::MAX_LENGTH, $this->TranscribeWebhook->getrecordTermReason()); } - /** - * Test attribute "digit" - */ + public function testPropertyDigit() { @@ -211,27 +185,21 @@ public function testPropertyDigit() $this->assertEquals('TS', $this->TranscribeWebhook->getDigit()); $this->assertIsString($this->TranscribeWebhook->getDigit()); } - /** - * Test attribute "privacy_for_logging" - */ + public function testPropertyPrivacyForLogging() { $this->TranscribeWebhook->setprivacyForLogging(false); $this->assertFalse($this->TranscribeWebhook->getprivacyForLogging()); $this->assertIsBool($this->TranscribeWebhook->getprivacyForLogging()); } - /** - * Test attribute "privacy_for_recording" - */ + public function testPropertyPrivacyForRecording() { $this->TranscribeWebhook->setprivacyForRecording(false); $this->assertFalse($this->TranscribeWebhook->getprivacyForRecording()); $this->assertIsBool($this->TranscribeWebhook->getprivacyForRecording()); } - /** - * Test attribute "barge_in_reason" - */ + public function testPropertyBargeInReason() { $this->TranscribeWebhook->setbargeInReason(\FreeClimb\Api\Model\BargeInReason::NO_BARGE_IN); @@ -241,9 +209,7 @@ public function testPropertyBargeInReason() $this->TranscribeWebhook->setbargeInReason(\FreeClimb\Api\Model\BargeInReason::BARGE_IN_BY_ENERGY); $this->assertEquals(\FreeClimb\Api\Model\BargeInReason::BARGE_IN_BY_ENERGY, $this->TranscribeWebhook->getbargeInReason()); } - /** - * Test attribute "barged_in_prompt_no" - */ + public function testPropertyBargedInPromptNo() { @@ -253,9 +219,7 @@ public function testPropertyBargedInPromptNo() $this->assertIsNumeric($this->TranscribeWebhook->getbargedInPromptNo()); } - /** - * Test attribute "barged_in_prompt_ms" - */ + public function testPropertyBargedInPromptMs() { @@ -265,9 +229,7 @@ public function testPropertyBargedInPromptMs() $this->assertIsNumeric($this->TranscribeWebhook->getbargedInPromptMs()); } - /** - * Test attribute "barged_in_prompt_loop_no" - */ + public function testPropertyBargedInPromptLoopNo() { @@ -277,9 +239,7 @@ public function testPropertyBargedInPromptLoopNo() $this->assertIsNumeric($this->TranscribeWebhook->getbargedInPromptLoopNo()); } - /** - * Test attribute "barge_in_time_ms" - */ + public function testPropertyBargeInTimeMs() { @@ -289,9 +249,7 @@ public function testPropertyBargeInTimeMs() $this->assertIsNumeric($this->TranscribeWebhook->getbargeInTimeMs()); } - /** - * Test attribute "transcript" - */ + public function testPropertyTranscript() { @@ -299,9 +257,7 @@ public function testPropertyTranscript() $this->assertEquals('TS', $this->TranscribeWebhook->getTranscript()); $this->assertIsString($this->TranscribeWebhook->getTranscript()); } - /** - * Test attribute "transcribe_reason" - */ + public function testPropertyTranscribeReason() { $this->TranscribeWebhook->settranscribeReason(\FreeClimb\Api\Model\TranscribeReason::INTERNAL_ERROR); @@ -315,9 +271,7 @@ public function testPropertyTranscribeReason() $this->TranscribeWebhook->settranscribeReason(\FreeClimb\Api\Model\TranscribeReason::NO_INPUT); $this->assertEquals(\FreeClimb\Api\Model\TranscribeReason::NO_INPUT, $this->TranscribeWebhook->gettranscribeReason()); } - /** - * Test attribute "transcription_duration_ms" - */ + public function testPropertyTranscriptionDurationMs() { diff --git a/test/Model/UpdateCallRequestTest.php b/test/Model/UpdateCallRequestTest.php index a0762ff..64cc792 100644 --- a/test/Model/UpdateCallRequestTest.php +++ b/test/Model/UpdateCallRequestTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->UpdateCallRequest->setstatus(\FreeClimb\Api\Model\UpdateCallRequestStatus::CANCELED); diff --git a/test/Model/UpdateConferenceParticipantRequestTest.php b/test/Model/UpdateConferenceParticipantRequestTest.php index 8ff4f1a..865d4a1 100644 --- a/test/Model/UpdateConferenceParticipantRequestTest.php +++ b/test/Model/UpdateConferenceParticipantRequestTest.php @@ -73,27 +73,21 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "talk" - */ + public function testPropertyTalk() { $this->UpdateConferenceParticipantRequest->settalk(false); $this->assertFalse($this->UpdateConferenceParticipantRequest->gettalk()); $this->assertIsBool($this->UpdateConferenceParticipantRequest->gettalk()); } - /** - * Test attribute "listen" - */ + public function testPropertyListen() { $this->UpdateConferenceParticipantRequest->setlisten(false); $this->assertFalse($this->UpdateConferenceParticipantRequest->getlisten()); $this->assertIsBool($this->UpdateConferenceParticipantRequest->getlisten()); } - /** - * Test attribute "dtmf_pass_through" - */ + public function testPropertyDtmfPassThrough() { $this->UpdateConferenceParticipantRequest->setdtmfPassThrough(false); diff --git a/test/Model/UpdateConferenceRequestTest.php b/test/Model/UpdateConferenceRequestTest.php index 3903054..5e198cf 100644 --- a/test/Model/UpdateConferenceRequestTest.php +++ b/test/Model/UpdateConferenceRequestTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "alias" - */ + public function testPropertyAlias() { @@ -83,9 +81,7 @@ public function testPropertyAlias() $this->assertEquals('TS', $this->UpdateConferenceRequest->getAlias()); $this->assertIsString($this->UpdateConferenceRequest->getAlias()); } - /** - * Test attribute "play_beep" - */ + public function testPropertyPlayBeep() { $this->UpdateConferenceRequest->setplayBeep(\FreeClimb\Api\Model\PlayBeep::ALWAYS); @@ -97,9 +93,7 @@ public function testPropertyPlayBeep() $this->UpdateConferenceRequest->setplayBeep(\FreeClimb\Api\Model\PlayBeep::EXIT_ONLY); $this->assertEquals(\FreeClimb\Api\Model\PlayBeep::EXIT_ONLY, $this->UpdateConferenceRequest->getplayBeep()); } - /** - * Test attribute "status" - */ + public function testPropertyStatus() { $this->UpdateConferenceRequest->setstatus(\FreeClimb\Api\Model\UpdateConferenceRequestStatus::EMPTY); diff --git a/test/Model/WebhookTest.php b/test/Model/WebhookTest.php index c1e4934..2c8c112 100644 --- a/test/Model/WebhookTest.php +++ b/test/Model/WebhookTest.php @@ -73,9 +73,7 @@ public static function tearDownAfterClass(): void { } - /** - * Test attribute "request_type" - */ + public function testPropertyRequestType() {