Skip to content

Commit

Permalink
Merge pull request #8 from sendinblue/feature_fix-error-for-array-typ…
Browse files Browse the repository at this point in the history
…e-properties

Fix for array type properties error
  • Loading branch information
ekta-slit authored Sep 6, 2017
2 parents 1647814 + 9b63b41 commit fdf3933
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/Model/GetEmailCampaigns.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/Model/GetSmsCampaigns.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions lib/Model/GetEmailCampaigns.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class GetEmailCampaigns implements ArrayAccess
* @var string[]
*/
protected static $swaggerTypes = [
'campaigns' => 'null[]',
'campaigns' => 'object[]',
'count' => 'int'
];

Expand Down Expand Up @@ -174,7 +174,7 @@ public function valid()

/**
* Gets campaigns
* @return null[]
* @return object[]
*/
public function getCampaigns()
{
Expand All @@ -183,7 +183,7 @@ public function getCampaigns()

/**
* Sets campaigns
* @param null[] $campaigns
* @param object[] $campaigns
* @return $this
*/
public function setCampaigns($campaigns)
Expand Down
6 changes: 3 additions & 3 deletions lib/Model/GetSmsCampaigns.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class GetSmsCampaigns implements ArrayAccess
* @var string[]
*/
protected static $swaggerTypes = [
'campaigns' => 'null[]',
'campaigns' => 'object[]',
'count' => 'int'
];

Expand Down Expand Up @@ -174,7 +174,7 @@ public function valid()

/**
* Gets campaigns
* @return null[]
* @return object[]
*/
public function getCampaigns()
{
Expand All @@ -183,7 +183,7 @@ public function getCampaigns()

/**
* Sets campaigns
* @param null[] $campaigns
* @param object[] $campaigns
* @return $this
*/
public function setCampaigns($campaigns)
Expand Down

0 comments on commit fdf3933

Please sign in to comment.