From 9b63b41ec3709733b2002f26902464163b8e7fb6 Mon Sep 17 00:00:00 2001 From: ekta-slt Date: Wed, 6 Sep 2017 17:22:29 +0530 Subject: [PATCH] Fix for array type properties error --- docs/Model/GetEmailCampaigns.md | 2 +- docs/Model/GetSmsCampaigns.md | 2 +- lib/Model/GetEmailCampaigns.php | 6 +++--- lib/Model/GetSmsCampaigns.php | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) mode change 100755 => 100644 docs/Model/GetEmailCampaigns.md diff --git a/docs/Model/GetEmailCampaigns.md b/docs/Model/GetEmailCampaigns.md old mode 100755 new mode 100644 index 87fa0b14..6aa067be --- a/docs/Model/GetEmailCampaigns.md +++ b/docs/Model/GetEmailCampaigns.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaigns** | [**null[]**](.md) | | [optional] +**campaigns** | **object[]** | | [optional] **count** | **int** | Number of Email campaigns retrieved | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Model/GetSmsCampaigns.md b/docs/Model/GetSmsCampaigns.md index 776fc232..420bfc03 100755 --- a/docs/Model/GetSmsCampaigns.md +++ b/docs/Model/GetSmsCampaigns.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**campaigns** | [**null[]**](.md) | | [optional] +**campaigns** | **object[]** | | [optional] **count** | **int** | Number of SMS campaigns retrieved | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/lib/Model/GetEmailCampaigns.php b/lib/Model/GetEmailCampaigns.php index 4c42fadb..ad0b3a1a 100644 --- a/lib/Model/GetEmailCampaigns.php +++ b/lib/Model/GetEmailCampaigns.php @@ -54,7 +54,7 @@ class GetEmailCampaigns implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'campaigns' => 'null[]', + 'campaigns' => 'object[]', 'count' => 'int' ]; @@ -174,7 +174,7 @@ public function valid() /** * Gets campaigns - * @return null[] + * @return object[] */ public function getCampaigns() { @@ -183,7 +183,7 @@ public function getCampaigns() /** * Sets campaigns - * @param null[] $campaigns + * @param object[] $campaigns * @return $this */ public function setCampaigns($campaigns) diff --git a/lib/Model/GetSmsCampaigns.php b/lib/Model/GetSmsCampaigns.php index 100d8709..48481936 100644 --- a/lib/Model/GetSmsCampaigns.php +++ b/lib/Model/GetSmsCampaigns.php @@ -54,7 +54,7 @@ class GetSmsCampaigns implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'campaigns' => 'null[]', + 'campaigns' => 'object[]', 'count' => 'int' ]; @@ -174,7 +174,7 @@ public function valid() /** * Gets campaigns - * @return null[] + * @return object[] */ public function getCampaigns() { @@ -183,7 +183,7 @@ public function getCampaigns() /** * Sets campaigns - * @param null[] $campaigns + * @param object[] $campaigns * @return $this */ public function setCampaigns($campaigns)