diff --git a/README.md b/README.md index ccbe7683..db969350 100644 --- a/README.md +++ b/README.md @@ -63,11 +63,11 @@ Please follow the [installation procedure](#installation--usage) and then run th require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\AccountApi(); +$api_instance = new SendinBlue\Client\Api\AccountApi(); try { $result = $api_instance->getAccount(); diff --git a/autoload.php b/autoload.php index f27e989e..2869686b 100755 --- a/autoload.php +++ b/autoload.php @@ -15,10 +15,10 @@ * An example of a project-specific implementation. * * After registering this autoload function with SPL, the following line - * would cause the function to attempt to load the \Sendinblue\Client\Baz\Qux class + * would cause the function to attempt to load the \SendinBlue\Client\Baz\Qux class * from /path/to/project/lib/Baz/Qux.php: * - * new \Sendinblue\Client\Baz\Qux; + * new \SendinBlue\Client\Baz\Qux; * * @param string $class The fully-qualified class name. * @@ -27,7 +27,7 @@ spl_autoload_register(function ($class) { // project-specific namespace prefix - $prefix = 'Sendinblue\\Client\\'; + $prefix = 'SendinBlue\\Client\\'; // base directory for the namespace prefix $base_dir = __DIR__ . '/lib/'; diff --git a/composer.json b/composer.json index ef5d4179..f49f4c0b 100755 --- a/composer.json +++ b/composer.json @@ -30,14 +30,14 @@ "friendsofphp/php-cs-fixer": "~1.12" }, "autoload": { - "psr-4": { "Sendinblue\\Client\\" : "lib/" } + "psr-4": { "SendinBlue\\Client\\" : "lib/" } }, "autoload-dev": { - "psr-4": { "Sendinblue\\Client\\" : "test/" } + "psr-4": { "SendinBlue\\Client\\" : "test/" } }, "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "2.0.x-dev" } } } diff --git a/docs/Api/AccountApi.md b/docs/Api/AccountApi.md index b0f92d92..8a21dc39 100644 --- a/docs/Api/AccountApi.md +++ b/docs/Api/AccountApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\AccountApi +# SendinBlue\Client\AccountApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -8,7 +8,7 @@ Method | HTTP request | Description # **getAccount** -> \Sendinblue\Client\Model\GetAccount getAccount() +> \SendinBlue\Client\Model\GetAccount getAccount() Get your account informations, plans and credits details @@ -18,11 +18,11 @@ Get your account informations, plans and credits details require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\AccountApi(); +$api_instance = new SendinBlue\Client\Api\AccountApi(); try { $result = $api_instance->getAccount(); @@ -38,7 +38,7 @@ This endpoint does not need any parameter. ### Return type -[**\Sendinblue\Client\Model\GetAccount**](../Model/GetAccount.md) +[**\SendinBlue\Client\Model\GetAccount**](../Model/GetAccount.md) ### Authorization diff --git a/docs/Api/AttributesApi.md b/docs/Api/AttributesApi.md index 6f637c1e..f01deaa4 100644 --- a/docs/Api/AttributesApi.md +++ b/docs/Api/AttributesApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\AttributesApi +# SendinBlue\Client\AttributesApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -10,7 +10,7 @@ Method | HTTP request | Description # **createAttribute** -> \Sendinblue\Client\Model\CreateModel createAttribute($createAttribute) +> \SendinBlue\Client\Model\CreateModel createAttribute($createAttribute) Creates contact attributes @@ -20,12 +20,12 @@ Creates contact attributes require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\AttributesApi(); -$createAttribute = new \Sendinblue\Client\Model\CreateAttribute(); // \Sendinblue\Client\Model\CreateAttribute | Values to create an attribute +$api_instance = new SendinBlue\Client\Api\AttributesApi(); +$createAttribute = new \SendinBlue\Client\Model\CreateAttribute(); // \SendinBlue\Client\Model\CreateAttribute | Values to create an attribute try { $result = $api_instance->createAttribute($createAttribute); @@ -40,11 +40,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createAttribute** | [**\Sendinblue\Client\Model\CreateAttribute**](../Model/CreateAttribute.md)| Values to create an attribute | + **createAttribute** | [**\SendinBlue\Client\Model\CreateAttribute**](../Model/CreateAttribute.md)| Values to create an attribute | ### Return type -[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\SendinBlue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -68,11 +68,11 @@ Deletes an attribute require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\AttributesApi(); +$api_instance = new SendinBlue\Client\Api\AttributesApi(); $attributeId = "attributeId_example"; // string | id of the attribute try { @@ -105,7 +105,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getAttributes** -> \Sendinblue\Client\Model\GetAttributes getAttributes() +> \SendinBlue\Client\Model\GetAttributes getAttributes() Lists all attributes @@ -115,11 +115,11 @@ Lists all attributes require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\AttributesApi(); +$api_instance = new SendinBlue\Client\Api\AttributesApi(); try { $result = $api_instance->getAttributes(); @@ -135,7 +135,7 @@ This endpoint does not need any parameter. ### Return type -[**\Sendinblue\Client\Model\GetAttributes**](../Model/GetAttributes.md) +[**\SendinBlue\Client\Model\GetAttributes**](../Model/GetAttributes.md) ### Authorization diff --git a/docs/Api/ContactsApi.md b/docs/Api/ContactsApi.md index b3c7bb1a..cfaa4c96 100644 --- a/docs/Api/ContactsApi.md +++ b/docs/Api/ContactsApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\ContactsApi +# SendinBlue\Client\ContactsApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -31,7 +31,7 @@ Method | HTTP request | Description # **addContactToList** -> \Sendinblue\Client\Model\PostContactInfo addContactToList($listId, $contactEmails) +> \SendinBlue\Client\Model\PostContactInfo addContactToList($listId, $contactEmails) Add existing contacts to a list @@ -41,13 +41,13 @@ Add existing contacts to a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $listId = "listId_example"; // string | Id of the list -$contactEmails = new \Sendinblue\Client\Model\AddRemoveContactToList(); // \Sendinblue\Client\Model\AddRemoveContactToList | Emails addresses of the contacts +$contactEmails = new \SendinBlue\Client\Model\AddRemoveContactToList(); // \SendinBlue\Client\Model\AddRemoveContactToList | Emails addresses of the contacts try { $result = $api_instance->addContactToList($listId, $contactEmails); @@ -63,11 +63,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **string**| Id of the list | - **contactEmails** | [**\Sendinblue\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails addresses of the contacts | + **contactEmails** | [**\SendinBlue\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails addresses of the contacts | ### Return type -[**\Sendinblue\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) +[**\SendinBlue\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) ### Authorization @@ -81,7 +81,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createAttribute** -> \Sendinblue\Client\Model\CreateModel createAttribute($createAttribute) +> \SendinBlue\Client\Model\CreateModel createAttribute($createAttribute) Creates contact attributes @@ -91,12 +91,12 @@ Creates contact attributes require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); -$createAttribute = new \Sendinblue\Client\Model\CreateAttribute(); // \Sendinblue\Client\Model\CreateAttribute | Values to create an attribute +$api_instance = new SendinBlue\Client\Api\ContactsApi(); +$createAttribute = new \SendinBlue\Client\Model\CreateAttribute(); // \SendinBlue\Client\Model\CreateAttribute | Values to create an attribute try { $result = $api_instance->createAttribute($createAttribute); @@ -111,11 +111,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createAttribute** | [**\Sendinblue\Client\Model\CreateAttribute**](../Model/CreateAttribute.md)| Values to create an attribute | + **createAttribute** | [**\SendinBlue\Client\Model\CreateAttribute**](../Model/CreateAttribute.md)| Values to create an attribute | ### Return type -[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\SendinBlue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -129,7 +129,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createContact** -> \Sendinblue\Client\Model\CreateModel createContact($createContact) +> \SendinBlue\Client\Model\CreateModel createContact($createContact) Create a contact @@ -139,12 +139,12 @@ Create a contact require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); -$createContact = new \Sendinblue\Client\Model\CreateContact(); // \Sendinblue\Client\Model\CreateContact | Values to create a contact +$api_instance = new SendinBlue\Client\Api\ContactsApi(); +$createContact = new \SendinBlue\Client\Model\CreateContact(); // \SendinBlue\Client\Model\CreateContact | Values to create a contact try { $result = $api_instance->createContact($createContact); @@ -159,11 +159,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createContact** | [**\Sendinblue\Client\Model\CreateContact**](../Model/CreateContact.md)| Values to create a contact | + **createContact** | [**\SendinBlue\Client\Model\CreateContact**](../Model/CreateContact.md)| Values to create a contact | ### Return type -[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\SendinBlue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -177,7 +177,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createFolder** -> \Sendinblue\Client\Model\CreateModel createFolder($name) +> \SendinBlue\Client\Model\CreateModel createFolder($name) Create a folder @@ -187,12 +187,12 @@ Create a folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); -$name = new \Sendinblue\Client\Model\CreaUpdateFolder(); // \Sendinblue\Client\Model\CreaUpdateFolder | Name of the folder +$api_instance = new SendinBlue\Client\Api\ContactsApi(); +$name = new \SendinBlue\Client\Model\CreaUpdateFolder(); // \SendinBlue\Client\Model\CreaUpdateFolder | Name of the folder try { $result = $api_instance->createFolder($name); @@ -207,11 +207,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | [**\Sendinblue\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | + **name** | [**\SendinBlue\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | ### Return type -[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\SendinBlue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -225,7 +225,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createList** -> \Sendinblue\Client\Model\CreateModel createList($createList) +> \SendinBlue\Client\Model\CreateModel createList($createList) Create a list @@ -235,12 +235,12 @@ Create a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); -$createList = new \Sendinblue\Client\Model\CreateList(); // \Sendinblue\Client\Model\CreateList | Values to create a list +$api_instance = new SendinBlue\Client\Api\ContactsApi(); +$createList = new \SendinBlue\Client\Model\CreateList(); // \SendinBlue\Client\Model\CreateList | Values to create a list try { $result = $api_instance->createList($createList); @@ -255,11 +255,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createList** | [**\Sendinblue\Client\Model\CreateList**](../Model/CreateList.md)| Values to create a list | + **createList** | [**\SendinBlue\Client\Model\CreateList**](../Model/CreateList.md)| Values to create a list | ### Return type -[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\SendinBlue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -283,11 +283,11 @@ Deletes an attribute require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $attributeId = "attributeId_example"; // string | id of the attribute try { @@ -330,11 +330,11 @@ Delete a folder (and all its lists) require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $folderId = "folderId_example"; // string | Id of the folder try { @@ -377,11 +377,11 @@ Delete a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $listId = "listId_example"; // string | Id of the list try { @@ -414,7 +414,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getAttributes** -> \Sendinblue\Client\Model\GetAttributes getAttributes() +> \SendinBlue\Client\Model\GetAttributes getAttributes() Lists all attributes @@ -424,11 +424,11 @@ Lists all attributes require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); try { $result = $api_instance->getAttributes(); @@ -444,7 +444,7 @@ This endpoint does not need any parameter. ### Return type -[**\Sendinblue\Client\Model\GetAttributes**](../Model/GetAttributes.md) +[**\SendinBlue\Client\Model\GetAttributes**](../Model/GetAttributes.md) ### Authorization @@ -458,7 +458,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getContactInfo** -> \Sendinblue\Client\Model\GetExtendedContactDetails getContactInfo($email) +> \SendinBlue\Client\Model\GetExtendedContactDetails getContactInfo($email) Retrieves contact informations @@ -468,11 +468,11 @@ Retrieves contact informations require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $email = "email_example"; // string | Email (urlencoded) of the contact try { @@ -492,7 +492,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetExtendedContactDetails**](../Model/GetExtendedContactDetails.md) +[**\SendinBlue\Client\Model\GetExtendedContactDetails**](../Model/GetExtendedContactDetails.md) ### Authorization @@ -506,7 +506,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getContactStats** -> \Sendinblue\Client\Model\GetContactCampaignStats getContactStats($email) +> \SendinBlue\Client\Model\GetContactCampaignStats getContactStats($email) Get the campaigns statistics for a contact @@ -516,11 +516,11 @@ Get the campaigns statistics for a contact require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $email = "email_example"; // string | Email address (urlencoded) of the contact try { @@ -540,7 +540,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetContactCampaignStats**](../Model/GetContactCampaignStats.md) +[**\SendinBlue\Client\Model\GetContactCampaignStats**](../Model/GetContactCampaignStats.md) ### Authorization @@ -554,7 +554,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getContacts** -> \Sendinblue\Client\Model\GetContacts getContacts($limit, $offset) +> \SendinBlue\Client\Model\GetContacts getContacts($limit, $offset) Get all the contacts @@ -564,11 +564,11 @@ Get all the contacts require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $limit = 50; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -590,7 +590,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetContacts**](../Model/GetContacts.md) +[**\SendinBlue\Client\Model\GetContacts**](../Model/GetContacts.md) ### Authorization @@ -604,7 +604,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getContactsFromList** -> \Sendinblue\Client\Model\GetContacts getContactsFromList($listId, $modifiedSince, $limit, $offset) +> \SendinBlue\Client\Model\GetContacts getContactsFromList($listId, $modifiedSince, $limit, $offset) Get the contacts in a list @@ -614,11 +614,11 @@ Get the contacts in a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $listId = "listId_example"; // string | Id of the list $modifiedSince = "modifiedSince_example"; // string | Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) $limit = 50; // int | Number of documents per page @@ -644,7 +644,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetContacts**](../Model/GetContacts.md) +[**\SendinBlue\Client\Model\GetContacts**](../Model/GetContacts.md) ### Authorization @@ -658,7 +658,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolder** -> \Sendinblue\Client\Model\GetFolder getFolder($folderId) +> \SendinBlue\Client\Model\GetFolder getFolder($folderId) Returns folder details @@ -668,11 +668,11 @@ Returns folder details require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $folderId = "folderId_example"; // string | id of the folder try { @@ -692,7 +692,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetFolder**](../Model/GetFolder.md) +[**\SendinBlue\Client\Model\GetFolder**](../Model/GetFolder.md) ### Authorization @@ -706,7 +706,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolderLists** -> \Sendinblue\Client\Model\GetFolderLists getFolderLists($folderId, $limit, $offset) +> \SendinBlue\Client\Model\GetFolderLists getFolderLists($folderId, $limit, $offset) Get the lists in a folder @@ -716,11 +716,11 @@ Get the lists in a folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $folderId = "folderId_example"; // string | Id of the folder $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -744,7 +744,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetFolderLists**](../Model/GetFolderLists.md) +[**\SendinBlue\Client\Model\GetFolderLists**](../Model/GetFolderLists.md) ### Authorization @@ -758,7 +758,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolders** -> \Sendinblue\Client\Model\GetFolders getFolders($limit, $offset) +> \SendinBlue\Client\Model\GetFolders getFolders($limit, $offset) Get all the folders @@ -768,11 +768,11 @@ Get all the folders require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -794,7 +794,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetFolders**](../Model/GetFolders.md) +[**\SendinBlue\Client\Model\GetFolders**](../Model/GetFolders.md) ### Authorization @@ -808,7 +808,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getList** -> \Sendinblue\Client\Model\GetExtendedList getList($listId) +> \SendinBlue\Client\Model\GetExtendedList getList($listId) Get the details of a list @@ -818,11 +818,11 @@ Get the details of a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $listId = "listId_example"; // string | Id of the list try { @@ -842,7 +842,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetExtendedList**](../Model/GetExtendedList.md) +[**\SendinBlue\Client\Model\GetExtendedList**](../Model/GetExtendedList.md) ### Authorization @@ -856,7 +856,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getLists** -> \Sendinblue\Client\Model\GetLists getLists($limit, $offset) +> \SendinBlue\Client\Model\GetLists getLists($limit, $offset) Get all the lists @@ -866,11 +866,11 @@ Get all the lists require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -892,7 +892,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetLists**](../Model/GetLists.md) +[**\SendinBlue\Client\Model\GetLists**](../Model/GetLists.md) ### Authorization @@ -906,7 +906,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **importContacts** -> \Sendinblue\Client\Model\CreatedProcessId importContacts($requestContactImport) +> \SendinBlue\Client\Model\CreatedProcessId importContacts($requestContactImport) Import contacts @@ -918,12 +918,12 @@ It returns the background process ID which on completion calls the notify URL th require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); -$requestContactImport = new \Sendinblue\Client\Model\RequestContactImport(); // \Sendinblue\Client\Model\RequestContactImport | Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` +$api_instance = new SendinBlue\Client\Api\ContactsApi(); +$requestContactImport = new \SendinBlue\Client\Model\RequestContactImport(); // \SendinBlue\Client\Model\RequestContactImport | Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` try { $result = $api_instance->importContacts($requestContactImport); @@ -938,11 +938,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **requestContactImport** | [**\Sendinblue\Client\Model\RequestContactImport**](../Model/RequestContactImport.md)| Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` | + **requestContactImport** | [**\SendinBlue\Client\Model\RequestContactImport**](../Model/RequestContactImport.md)| Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` | ### Return type -[**\Sendinblue\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) +[**\SendinBlue\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) ### Authorization @@ -956,7 +956,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **removeContactToList** -> \Sendinblue\Client\Model\PostContactInfo removeContactToList($listId, $contactEmails) +> \SendinBlue\Client\Model\PostContactInfo removeContactToList($listId, $contactEmails) Remove existing contacts from a list @@ -966,13 +966,13 @@ Remove existing contacts from a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $listId = "listId_example"; // string | Id of the list -$contactEmails = new \Sendinblue\Client\Model\AddRemoveContactToList(); // \Sendinblue\Client\Model\AddRemoveContactToList | Emails adresses of the contact +$contactEmails = new \SendinBlue\Client\Model\AddRemoveContactToList(); // \SendinBlue\Client\Model\AddRemoveContactToList | Emails adresses of the contact try { $result = $api_instance->removeContactToList($listId, $contactEmails); @@ -988,11 +988,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **string**| Id of the list | - **contactEmails** | [**\Sendinblue\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails adresses of the contact | + **contactEmails** | [**\SendinBlue\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails adresses of the contact | ### Return type -[**\Sendinblue\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) +[**\SendinBlue\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) ### Authorization @@ -1006,7 +1006,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **requestContactExport** -> \Sendinblue\Client\Model\CreatedProcessId requestContactExport($requestContactExport) +> \SendinBlue\Client\Model\CreatedProcessId requestContactExport($requestContactExport) Export contacts @@ -1018,12 +1018,12 @@ It returns the background process ID which on completion calls the notify URL th require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); -$requestContactExport = new \Sendinblue\Client\Model\RequestContactExport(); // \Sendinblue\Client\Model\RequestContactExport | Values to request a contact export +$api_instance = new SendinBlue\Client\Api\ContactsApi(); +$requestContactExport = new \SendinBlue\Client\Model\RequestContactExport(); // \SendinBlue\Client\Model\RequestContactExport | Values to request a contact export try { $result = $api_instance->requestContactExport($requestContactExport); @@ -1038,11 +1038,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **requestContactExport** | [**\Sendinblue\Client\Model\RequestContactExport**](../Model/RequestContactExport.md)| Values to request a contact export | + **requestContactExport** | [**\SendinBlue\Client\Model\RequestContactExport**](../Model/RequestContactExport.md)| Values to request a contact export | ### Return type -[**\Sendinblue\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) +[**\SendinBlue\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) ### Authorization @@ -1066,13 +1066,13 @@ Updates a contact require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $email = "email_example"; // string | Email (urlencoded) of the contact -$updateContact = new \Sendinblue\Client\Model\UpdateContact(); // \Sendinblue\Client\Model\UpdateContact | Values to update a contact +$updateContact = new \SendinBlue\Client\Model\UpdateContact(); // \SendinBlue\Client\Model\UpdateContact | Values to update a contact try { $api_instance->updateContact($email, $updateContact); @@ -1087,7 +1087,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **email** | **string**| Email (urlencoded) of the contact | - **updateContact** | [**\Sendinblue\Client\Model\UpdateContact**](../Model/UpdateContact.md)| Values to update a contact | + **updateContact** | [**\SendinBlue\Client\Model\UpdateContact**](../Model/UpdateContact.md)| Values to update a contact | ### Return type @@ -1115,13 +1115,13 @@ Update a contact folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $folderId = "folderId_example"; // string | Id of the folder -$name = new \Sendinblue\Client\Model\CreaUpdateFolder(); // \Sendinblue\Client\Model\CreaUpdateFolder | Name of the folder +$name = new \SendinBlue\Client\Model\CreaUpdateFolder(); // \SendinBlue\Client\Model\CreaUpdateFolder | Name of the folder try { $api_instance->updateFolder($folderId, $name); @@ -1136,7 +1136,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **folderId** | **string**| Id of the folder | - **name** | [**\Sendinblue\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | + **name** | [**\SendinBlue\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | ### Return type @@ -1164,13 +1164,13 @@ Update a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ContactsApi(); +$api_instance = new SendinBlue\Client\Api\ContactsApi(); $listId = "listId_example"; // string | Id of the list -$updateList = new \Sendinblue\Client\Model\UpdateList(); // \Sendinblue\Client\Model\UpdateList | Values to update a list +$updateList = new \SendinBlue\Client\Model\UpdateList(); // \SendinBlue\Client\Model\UpdateList | Values to update a list try { $api_instance->updateList($listId, $updateList); @@ -1185,7 +1185,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **string**| Id of the list | - **updateList** | [**\Sendinblue\Client\Model\UpdateList**](../Model/UpdateList.md)| Values to update a list | + **updateList** | [**\SendinBlue\Client\Model\UpdateList**](../Model/UpdateList.md)| Values to update a list | ### Return type diff --git a/docs/Api/EmailCampaignsApi.md b/docs/Api/EmailCampaignsApi.md index f45988bc..b413138c 100644 --- a/docs/Api/EmailCampaignsApi.md +++ b/docs/Api/EmailCampaignsApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\EmailCampaignsApi +# SendinBlue\Client\EmailCampaignsApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -17,7 +17,7 @@ Method | HTTP request | Description # **createEmailCampaign** -> \Sendinblue\Client\Model\CreateModel createEmailCampaign($emailCampaigns) +> \SendinBlue\Client\Model\CreateModel createEmailCampaign($emailCampaigns) Create an email campaign @@ -27,12 +27,12 @@ Create an email campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); -$emailCampaigns = new \Sendinblue\Client\Model\CreateEmailCampaign(); // \Sendinblue\Client\Model\CreateEmailCampaign | Values to create a campaign +$api_instance = new SendinBlue\Client\Api\EmailCampaignsApi(); +$emailCampaigns = new \SendinBlue\Client\Model\CreateEmailCampaign(); // \SendinBlue\Client\Model\CreateEmailCampaign | Values to create a campaign try { $result = $api_instance->createEmailCampaign($emailCampaigns); @@ -47,11 +47,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **emailCampaigns** | [**\Sendinblue\Client\Model\CreateEmailCampaign**](../Model/CreateEmailCampaign.md)| Values to create a campaign | + **emailCampaigns** | [**\SendinBlue\Client\Model\CreateEmailCampaign**](../Model/CreateEmailCampaign.md)| Values to create a campaign | ### Return type -[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\SendinBlue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -75,11 +75,11 @@ Delete an email campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the campaign try { @@ -112,7 +112,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **emailExportRecipients** -> \Sendinblue\Client\Model\CreatedProcessId emailExportRecipients($campaignId, $recipientExport) +> \SendinBlue\Client\Model\CreatedProcessId emailExportRecipients($campaignId, $recipientExport) Export the recipients of a campaign @@ -122,13 +122,13 @@ Export the recipients of a campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign -$recipientExport = new \Sendinblue\Client\Model\EmailExportRecipients(); // \Sendinblue\Client\Model\EmailExportRecipients | Values to send for a recipient export request +$recipientExport = new \SendinBlue\Client\Model\EmailExportRecipients(); // \SendinBlue\Client\Model\EmailExportRecipients | Values to send for a recipient export request try { $result = $api_instance->emailExportRecipients($campaignId, $recipientExport); @@ -144,11 +144,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| Id of the campaign | - **recipientExport** | [**\Sendinblue\Client\Model\EmailExportRecipients**](../Model/EmailExportRecipients.md)| Values to send for a recipient export request | [optional] + **recipientExport** | [**\SendinBlue\Client\Model\EmailExportRecipients**](../Model/EmailExportRecipients.md)| Values to send for a recipient export request | [optional] ### Return type -[**\Sendinblue\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) +[**\SendinBlue\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) ### Authorization @@ -162,7 +162,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getEmailCampaign** -> \Sendinblue\Client\Model\GetEmailCampaign getEmailCampaign($campaignId) +> \SendinBlue\Client\Model\GetEmailCampaign getEmailCampaign($campaignId) Get campaign informations @@ -172,11 +172,11 @@ Get campaign informations require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign try { @@ -196,7 +196,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetEmailCampaign**](../Model/GetEmailCampaign.md) +[**\SendinBlue\Client\Model\GetEmailCampaign**](../Model/GetEmailCampaign.md) ### Authorization @@ -210,7 +210,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getEmailCampaigns** -> \Sendinblue\Client\Model\GetEmailCampaigns getEmailCampaigns($type, $status, $limit, $offset) +> \SendinBlue\Client\Model\GetEmailCampaigns getEmailCampaigns($type, $status, $limit, $offset) Return all your created campaigns @@ -220,11 +220,11 @@ Return all your created campaigns require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\EmailCampaignsApi(); $type = "type_example"; // string | Filter on the type of the campaigns $status = "status_example"; // string | Filter on the status of the campaign $limit = 500; // int | Number of documents per page @@ -250,7 +250,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetEmailCampaigns**](../Model/GetEmailCampaigns.md) +[**\SendinBlue\Client\Model\GetEmailCampaigns**](../Model/GetEmailCampaigns.md) ### Authorization @@ -274,11 +274,11 @@ Send an email campaign id of the campaign immediately require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign try { @@ -323,13 +323,13 @@ A PDF will be sent to the specified email addresses require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign -$sendReport = new \Sendinblue\Client\Model\SendReport(); // \Sendinblue\Client\Model\SendReport | Values for send a report +$sendReport = new \SendinBlue\Client\Model\SendReport(); // \SendinBlue\Client\Model\SendReport | Values for send a report try { $api_instance->sendReport($campaignId, $sendReport); @@ -344,7 +344,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| Id of the campaign | - **sendReport** | [**\Sendinblue\Client\Model\SendReport**](../Model/SendReport.md)| Values for send a report | + **sendReport** | [**\SendinBlue\Client\Model\SendReport**](../Model/SendReport.md)| Values for send a report | ### Return type @@ -372,13 +372,13 @@ Send an email campaign to your test list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign -$emailTo = new \Sendinblue\Client\Model\SendTestEmail(); // \Sendinblue\Client\Model\SendTestEmail | +$emailTo = new \SendinBlue\Client\Model\SendTestEmail(); // \SendinBlue\Client\Model\SendTestEmail | try { $api_instance->sendTestEmail($campaignId, $emailTo); @@ -393,7 +393,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| Id of the campaign | - **emailTo** | [**\Sendinblue\Client\Model\SendTestEmail**](../Model/SendTestEmail.md)| | + **emailTo** | [**\SendinBlue\Client\Model\SendTestEmail**](../Model/SendTestEmail.md)| | ### Return type @@ -421,13 +421,13 @@ Update a campaign status require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign -$status = new \Sendinblue\Client\Model\UpdateCampaignStatus(); // \Sendinblue\Client\Model\UpdateCampaignStatus | Status of the campaign +$status = new \SendinBlue\Client\Model\UpdateCampaignStatus(); // \SendinBlue\Client\Model\UpdateCampaignStatus | Status of the campaign try { $api_instance->updateCampaignStatus($campaignId, $status); @@ -442,7 +442,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| Id of the campaign | - **status** | [**\Sendinblue\Client\Model\UpdateCampaignStatus**](../Model/UpdateCampaignStatus.md)| Status of the campaign | + **status** | [**\SendinBlue\Client\Model\UpdateCampaignStatus**](../Model/UpdateCampaignStatus.md)| Status of the campaign | ### Return type @@ -470,13 +470,13 @@ Update a campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\EmailCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\EmailCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the campaign -$emailCampaign = new \Sendinblue\Client\Model\UpdateEmailCampaign(); // \Sendinblue\Client\Model\UpdateEmailCampaign | Values to update a campaign +$emailCampaign = new \SendinBlue\Client\Model\UpdateEmailCampaign(); // \SendinBlue\Client\Model\UpdateEmailCampaign | Values to update a campaign try { $api_instance->updateEmailCampaigns($campaignId, $emailCampaign); @@ -491,7 +491,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| Id of the campaign | - **emailCampaign** | [**\Sendinblue\Client\Model\UpdateEmailCampaign**](../Model/UpdateEmailCampaign.md)| Values to update a campaign | + **emailCampaign** | [**\SendinBlue\Client\Model\UpdateEmailCampaign**](../Model/UpdateEmailCampaign.md)| Values to update a campaign | ### Return type diff --git a/docs/Api/FoldersApi.md b/docs/Api/FoldersApi.md index 80de6316..0878ca2a 100644 --- a/docs/Api/FoldersApi.md +++ b/docs/Api/FoldersApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\FoldersApi +# SendinBlue\Client\FoldersApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -13,7 +13,7 @@ Method | HTTP request | Description # **createFolder** -> \Sendinblue\Client\Model\CreateModel createFolder($name) +> \SendinBlue\Client\Model\CreateModel createFolder($name) Create a folder @@ -23,12 +23,12 @@ Create a folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\FoldersApi(); -$name = new \Sendinblue\Client\Model\CreaUpdateFolder(); // \Sendinblue\Client\Model\CreaUpdateFolder | Name of the folder +$api_instance = new SendinBlue\Client\Api\FoldersApi(); +$name = new \SendinBlue\Client\Model\CreaUpdateFolder(); // \SendinBlue\Client\Model\CreaUpdateFolder | Name of the folder try { $result = $api_instance->createFolder($name); @@ -43,11 +43,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **name** | [**\Sendinblue\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | + **name** | [**\SendinBlue\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | ### Return type -[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\SendinBlue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -71,11 +71,11 @@ Delete a folder (and all its lists) require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\FoldersApi(); +$api_instance = new SendinBlue\Client\Api\FoldersApi(); $folderId = "folderId_example"; // string | Id of the folder try { @@ -108,7 +108,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolder** -> \Sendinblue\Client\Model\GetFolder getFolder($folderId) +> \SendinBlue\Client\Model\GetFolder getFolder($folderId) Returns folder details @@ -118,11 +118,11 @@ Returns folder details require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\FoldersApi(); +$api_instance = new SendinBlue\Client\Api\FoldersApi(); $folderId = "folderId_example"; // string | id of the folder try { @@ -142,7 +142,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetFolder**](../Model/GetFolder.md) +[**\SendinBlue\Client\Model\GetFolder**](../Model/GetFolder.md) ### Authorization @@ -156,7 +156,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolderLists** -> \Sendinblue\Client\Model\GetFolderLists getFolderLists($folderId, $limit, $offset) +> \SendinBlue\Client\Model\GetFolderLists getFolderLists($folderId, $limit, $offset) Get the lists in a folder @@ -166,11 +166,11 @@ Get the lists in a folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\FoldersApi(); +$api_instance = new SendinBlue\Client\Api\FoldersApi(); $folderId = "folderId_example"; // string | Id of the folder $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -194,7 +194,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetFolderLists**](../Model/GetFolderLists.md) +[**\SendinBlue\Client\Model\GetFolderLists**](../Model/GetFolderLists.md) ### Authorization @@ -208,7 +208,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolders** -> \Sendinblue\Client\Model\GetFolders getFolders($limit, $offset) +> \SendinBlue\Client\Model\GetFolders getFolders($limit, $offset) Get all the folders @@ -218,11 +218,11 @@ Get all the folders require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\FoldersApi(); +$api_instance = new SendinBlue\Client\Api\FoldersApi(); $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -244,7 +244,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetFolders**](../Model/GetFolders.md) +[**\SendinBlue\Client\Model\GetFolders**](../Model/GetFolders.md) ### Authorization @@ -268,13 +268,13 @@ Update a contact folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\FoldersApi(); +$api_instance = new SendinBlue\Client\Api\FoldersApi(); $folderId = "folderId_example"; // string | Id of the folder -$name = new \Sendinblue\Client\Model\CreaUpdateFolder(); // \Sendinblue\Client\Model\CreaUpdateFolder | Name of the folder +$name = new \SendinBlue\Client\Model\CreaUpdateFolder(); // \SendinBlue\Client\Model\CreaUpdateFolder | Name of the folder try { $api_instance->updateFolder($folderId, $name); @@ -289,7 +289,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **folderId** | **string**| Id of the folder | - **name** | [**\Sendinblue\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | + **name** | [**\SendinBlue\Client\Model\CreaUpdateFolder**](../Model/CreaUpdateFolder.md)| Name of the folder | ### Return type diff --git a/docs/Api/ListsApi.md b/docs/Api/ListsApi.md index aef7983a..2812f93e 100644 --- a/docs/Api/ListsApi.md +++ b/docs/Api/ListsApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\ListsApi +# SendinBlue\Client\ListsApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -16,7 +16,7 @@ Method | HTTP request | Description # **addContactToList** -> \Sendinblue\Client\Model\PostContactInfo addContactToList($listId, $contactEmails) +> \SendinBlue\Client\Model\PostContactInfo addContactToList($listId, $contactEmails) Add existing contacts to a list @@ -26,13 +26,13 @@ Add existing contacts to a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ListsApi(); +$api_instance = new SendinBlue\Client\Api\ListsApi(); $listId = "listId_example"; // string | Id of the list -$contactEmails = new \Sendinblue\Client\Model\AddRemoveContactToList(); // \Sendinblue\Client\Model\AddRemoveContactToList | Emails addresses of the contacts +$contactEmails = new \SendinBlue\Client\Model\AddRemoveContactToList(); // \SendinBlue\Client\Model\AddRemoveContactToList | Emails addresses of the contacts try { $result = $api_instance->addContactToList($listId, $contactEmails); @@ -48,11 +48,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **string**| Id of the list | - **contactEmails** | [**\Sendinblue\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails addresses of the contacts | + **contactEmails** | [**\SendinBlue\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails addresses of the contacts | ### Return type -[**\Sendinblue\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) +[**\SendinBlue\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) ### Authorization @@ -66,7 +66,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createList** -> \Sendinblue\Client\Model\CreateModel createList($createList) +> \SendinBlue\Client\Model\CreateModel createList($createList) Create a list @@ -76,12 +76,12 @@ Create a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ListsApi(); -$createList = new \Sendinblue\Client\Model\CreateList(); // \Sendinblue\Client\Model\CreateList | Values to create a list +$api_instance = new SendinBlue\Client\Api\ListsApi(); +$createList = new \SendinBlue\Client\Model\CreateList(); // \SendinBlue\Client\Model\CreateList | Values to create a list try { $result = $api_instance->createList($createList); @@ -96,11 +96,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createList** | [**\Sendinblue\Client\Model\CreateList**](../Model/CreateList.md)| Values to create a list | + **createList** | [**\SendinBlue\Client\Model\CreateList**](../Model/CreateList.md)| Values to create a list | ### Return type -[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\SendinBlue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -124,11 +124,11 @@ Delete a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ListsApi(); +$api_instance = new SendinBlue\Client\Api\ListsApi(); $listId = "listId_example"; // string | Id of the list try { @@ -161,7 +161,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getContactsFromList** -> \Sendinblue\Client\Model\GetContacts getContactsFromList($listId, $modifiedSince, $limit, $offset) +> \SendinBlue\Client\Model\GetContacts getContactsFromList($listId, $modifiedSince, $limit, $offset) Get the contacts in a list @@ -171,11 +171,11 @@ Get the contacts in a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ListsApi(); +$api_instance = new SendinBlue\Client\Api\ListsApi(); $listId = "listId_example"; // string | Id of the list $modifiedSince = "modifiedSince_example"; // string | Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) $limit = 50; // int | Number of documents per page @@ -201,7 +201,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetContacts**](../Model/GetContacts.md) +[**\SendinBlue\Client\Model\GetContacts**](../Model/GetContacts.md) ### Authorization @@ -215,7 +215,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getFolderLists** -> \Sendinblue\Client\Model\GetFolderLists getFolderLists($folderId, $limit, $offset) +> \SendinBlue\Client\Model\GetFolderLists getFolderLists($folderId, $limit, $offset) Get the lists in a folder @@ -225,11 +225,11 @@ Get the lists in a folder require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ListsApi(); +$api_instance = new SendinBlue\Client\Api\ListsApi(); $folderId = "folderId_example"; // string | Id of the folder $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -253,7 +253,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetFolderLists**](../Model/GetFolderLists.md) +[**\SendinBlue\Client\Model\GetFolderLists**](../Model/GetFolderLists.md) ### Authorization @@ -267,7 +267,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getList** -> \Sendinblue\Client\Model\GetExtendedList getList($listId) +> \SendinBlue\Client\Model\GetExtendedList getList($listId) Get the details of a list @@ -277,11 +277,11 @@ Get the details of a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ListsApi(); +$api_instance = new SendinBlue\Client\Api\ListsApi(); $listId = "listId_example"; // string | Id of the list try { @@ -301,7 +301,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetExtendedList**](../Model/GetExtendedList.md) +[**\SendinBlue\Client\Model\GetExtendedList**](../Model/GetExtendedList.md) ### Authorization @@ -315,7 +315,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getLists** -> \Sendinblue\Client\Model\GetLists getLists($limit, $offset) +> \SendinBlue\Client\Model\GetLists getLists($limit, $offset) Get all the lists @@ -325,11 +325,11 @@ Get all the lists require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ListsApi(); +$api_instance = new SendinBlue\Client\Api\ListsApi(); $limit = 10; // int | Number of documents per page $offset = 0; // int | Index of the first document of the page @@ -351,7 +351,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetLists**](../Model/GetLists.md) +[**\SendinBlue\Client\Model\GetLists**](../Model/GetLists.md) ### Authorization @@ -365,7 +365,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **removeContactToList** -> \Sendinblue\Client\Model\PostContactInfo removeContactToList($listId, $contactEmails) +> \SendinBlue\Client\Model\PostContactInfo removeContactToList($listId, $contactEmails) Remove existing contacts from a list @@ -375,13 +375,13 @@ Remove existing contacts from a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ListsApi(); +$api_instance = new SendinBlue\Client\Api\ListsApi(); $listId = "listId_example"; // string | Id of the list -$contactEmails = new \Sendinblue\Client\Model\AddRemoveContactToList(); // \Sendinblue\Client\Model\AddRemoveContactToList | Emails adresses of the contact +$contactEmails = new \SendinBlue\Client\Model\AddRemoveContactToList(); // \SendinBlue\Client\Model\AddRemoveContactToList | Emails adresses of the contact try { $result = $api_instance->removeContactToList($listId, $contactEmails); @@ -397,11 +397,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **string**| Id of the list | - **contactEmails** | [**\Sendinblue\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails adresses of the contact | + **contactEmails** | [**\SendinBlue\Client\Model\AddRemoveContactToList**](../Model/AddRemoveContactToList.md)| Emails adresses of the contact | ### Return type -[**\Sendinblue\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) +[**\SendinBlue\Client\Model\PostContactInfo**](../Model/PostContactInfo.md) ### Authorization @@ -425,13 +425,13 @@ Update a list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ListsApi(); +$api_instance = new SendinBlue\Client\Api\ListsApi(); $listId = "listId_example"; // string | Id of the list -$updateList = new \Sendinblue\Client\Model\UpdateList(); // \Sendinblue\Client\Model\UpdateList | Values to update a list +$updateList = new \SendinBlue\Client\Model\UpdateList(); // \SendinBlue\Client\Model\UpdateList | Values to update a list try { $api_instance->updateList($listId, $updateList); @@ -446,7 +446,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **listId** | **string**| Id of the list | - **updateList** | [**\Sendinblue\Client\Model\UpdateList**](../Model/UpdateList.md)| Values to update a list | + **updateList** | [**\SendinBlue\Client\Model\UpdateList**](../Model/UpdateList.md)| Values to update a list | ### Return type diff --git a/docs/Api/ProcessApi.md b/docs/Api/ProcessApi.md index be42a01c..89dfae26 100644 --- a/docs/Api/ProcessApi.md +++ b/docs/Api/ProcessApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\ProcessApi +# SendinBlue\Client\ProcessApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -9,7 +9,7 @@ Method | HTTP request | Description # **getProcess** -> \Sendinblue\Client\Model\GetProcess getProcess($processId) +> \SendinBlue\Client\Model\GetProcess getProcess($processId) Return the informations for a process @@ -19,11 +19,11 @@ Return the informations for a process require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ProcessApi(); +$api_instance = new SendinBlue\Client\Api\ProcessApi(); $processId = "processId_example"; // string | Id of the process try { @@ -43,7 +43,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetProcess**](../Model/GetProcess.md) +[**\SendinBlue\Client\Model\GetProcess**](../Model/GetProcess.md) ### Authorization @@ -57,7 +57,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getProcesses** -> \Sendinblue\Client\Model\GetProcesses getProcesses($limit, $offset) +> \SendinBlue\Client\Model\GetProcesses getProcesses($limit, $offset) Return all the processes for your account @@ -67,11 +67,11 @@ Return all the processes for your account require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ProcessApi(); +$api_instance = new SendinBlue\Client\Api\ProcessApi(); $limit = 10; // int | Number limitation for the result returned $offset = 0; // int | Beginning point in the list to retrieve from. @@ -93,7 +93,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetProcesses**](../Model/GetProcesses.md) +[**\SendinBlue\Client\Model\GetProcesses**](../Model/GetProcesses.md) ### Authorization diff --git a/docs/Api/ResellerApi.md b/docs/Api/ResellerApi.md index 9a915e03..8e963780 100644 --- a/docs/Api/ResellerApi.md +++ b/docs/Api/ResellerApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\ResellerApi +# SendinBlue\Client\ResellerApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -16,7 +16,7 @@ Method | HTTP request | Description # **addCredits** -> \Sendinblue\Client\Model\RemainingCreditModel addCredits($childId, $addCredits) +> \SendinBlue\Client\Model\RemainingCreditModel addCredits($childId, $addCredits) Add Email and/or SMS credits to a specific child account @@ -26,13 +26,13 @@ Add Email and/or SMS credits to a specific child account require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ResellerApi(); +$api_instance = new SendinBlue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child -$addCredits = new \Sendinblue\Client\Model\AddCredits(); // \Sendinblue\Client\Model\AddCredits | Values to post to add credit to a specific child account +$addCredits = new \SendinBlue\Client\Model\AddCredits(); // \SendinBlue\Client\Model\AddCredits | Values to post to add credit to a specific child account try { $result = $api_instance->addCredits($childId, $addCredits); @@ -48,11 +48,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **childId** | **int**| id of reseller's child | - **addCredits** | [**\Sendinblue\Client\Model\AddCredits**](../Model/AddCredits.md)| Values to post to add credit to a specific child account | + **addCredits** | [**\SendinBlue\Client\Model\AddCredits**](../Model/AddCredits.md)| Values to post to add credit to a specific child account | ### Return type -[**\Sendinblue\Client\Model\RemainingCreditModel**](../Model/RemainingCreditModel.md) +[**\SendinBlue\Client\Model\RemainingCreditModel**](../Model/RemainingCreditModel.md) ### Authorization @@ -76,13 +76,13 @@ Associate a dedicated IP to the child require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ResellerApi(); +$api_instance = new SendinBlue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child -$ipId = new \Sendinblue\Client\Model\ManageIp(); // \Sendinblue\Client\Model\ManageIp | IP's id +$ipId = new \SendinBlue\Client\Model\ManageIp(); // \SendinBlue\Client\Model\ManageIp | IP's id try { $api_instance->associateIpToChild($childId, $ipId); @@ -97,7 +97,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **childId** | **int**| id of reseller's child | - **ipId** | [**\Sendinblue\Client\Model\ManageIp**](../Model/ManageIp.md)| IP's id | + **ipId** | [**\SendinBlue\Client\Model\ManageIp**](../Model/ManageIp.md)| IP's id | ### Return type @@ -115,7 +115,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createResellerChild** -> \Sendinblue\Client\Model\CreateModel createResellerChild($resellerChild) +> \SendinBlue\Client\Model\CreateModel createResellerChild($resellerChild) Creates a reseller child @@ -125,12 +125,12 @@ Creates a reseller child require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ResellerApi(); -$resellerChild = new \Sendinblue\Client\Model\CreateChild(); // \Sendinblue\Client\Model\CreateChild | reseller child to add +$api_instance = new SendinBlue\Client\Api\ResellerApi(); +$resellerChild = new \SendinBlue\Client\Model\CreateChild(); // \SendinBlue\Client\Model\CreateChild | reseller child to add try { $result = $api_instance->createResellerChild($resellerChild); @@ -145,11 +145,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **resellerChild** | [**\Sendinblue\Client\Model\CreateChild**](../Model/CreateChild.md)| reseller child to add | [optional] + **resellerChild** | [**\SendinBlue\Client\Model\CreateChild**](../Model/CreateChild.md)| reseller child to add | [optional] ### Return type -[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\SendinBlue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -173,11 +173,11 @@ Deletes a single reseller child based on the childId supplied require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ResellerApi(); +$api_instance = new SendinBlue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child try { @@ -220,13 +220,13 @@ Dissociate a dedicated IP to the child require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ResellerApi(); +$api_instance = new SendinBlue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child -$ipId = new \Sendinblue\Client\Model\ManageIp(); // \Sendinblue\Client\Model\ManageIp | IP's id +$ipId = new \SendinBlue\Client\Model\ManageIp(); // \SendinBlue\Client\Model\ManageIp | IP's id try { $api_instance->dissociateIpFromChild($childId, $ipId); @@ -241,7 +241,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **childId** | **int**| id of reseller's child | - **ipId** | [**\Sendinblue\Client\Model\ManageIp**](../Model/ManageIp.md)| IP's id | + **ipId** | [**\SendinBlue\Client\Model\ManageIp**](../Model/ManageIp.md)| IP's id | ### Return type @@ -259,7 +259,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getChildInfo** -> \Sendinblue\Client\Model\GetChildInfo getChildInfo($childId) +> \SendinBlue\Client\Model\GetChildInfo getChildInfo($childId) Gets the info about a specific child account @@ -269,11 +269,11 @@ Gets the info about a specific child account require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ResellerApi(); +$api_instance = new SendinBlue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child try { @@ -293,7 +293,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetChildInfo**](../Model/GetChildInfo.md) +[**\SendinBlue\Client\Model\GetChildInfo**](../Model/GetChildInfo.md) ### Authorization @@ -307,7 +307,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getResellerChilds** -> \Sendinblue\Client\Model\GetChildrenList getResellerChilds() +> \SendinBlue\Client\Model\GetChildrenList getResellerChilds() Gets the list of all reseller's children accounts @@ -317,11 +317,11 @@ Gets the list of all reseller's children accounts require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ResellerApi(); +$api_instance = new SendinBlue\Client\Api\ResellerApi(); try { $result = $api_instance->getResellerChilds(); @@ -337,7 +337,7 @@ This endpoint does not need any parameter. ### Return type -[**\Sendinblue\Client\Model\GetChildrenList**](../Model/GetChildrenList.md) +[**\SendinBlue\Client\Model\GetChildrenList**](../Model/GetChildrenList.md) ### Authorization @@ -351,7 +351,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **removeCredits** -> \Sendinblue\Client\Model\RemainingCreditModel removeCredits($childId, $removeCredits) +> \SendinBlue\Client\Model\RemainingCreditModel removeCredits($childId, $removeCredits) Remove Email and/or SMS credits from a specific child account @@ -361,13 +361,13 @@ Remove Email and/or SMS credits from a specific child account require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ResellerApi(); +$api_instance = new SendinBlue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child -$removeCredits = new \Sendinblue\Client\Model\RemoveCredits(); // \Sendinblue\Client\Model\RemoveCredits | Values to post to remove email or SMS credits from a specific child account +$removeCredits = new \SendinBlue\Client\Model\RemoveCredits(); // \SendinBlue\Client\Model\RemoveCredits | Values to post to remove email or SMS credits from a specific child account try { $result = $api_instance->removeCredits($childId, $removeCredits); @@ -383,11 +383,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **childId** | **int**| id of reseller's child | - **removeCredits** | [**\Sendinblue\Client\Model\RemoveCredits**](../Model/RemoveCredits.md)| Values to post to remove email or SMS credits from a specific child account | + **removeCredits** | [**\SendinBlue\Client\Model\RemoveCredits**](../Model/RemoveCredits.md)| Values to post to remove email or SMS credits from a specific child account | ### Return type -[**\Sendinblue\Client\Model\RemainingCreditModel**](../Model/RemainingCreditModel.md) +[**\SendinBlue\Client\Model\RemainingCreditModel**](../Model/RemainingCreditModel.md) ### Authorization @@ -411,13 +411,13 @@ Updates infos of reseller's child based on the childId supplied require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\ResellerApi(); +$api_instance = new SendinBlue\Client\Api\ResellerApi(); $childId = 56; // int | id of reseller's child -$resellerChild = new \Sendinblue\Client\Model\UpdateChild(); // \Sendinblue\Client\Model\UpdateChild | values to update in child profile +$resellerChild = new \SendinBlue\Client\Model\UpdateChild(); // \SendinBlue\Client\Model\UpdateChild | values to update in child profile try { $api_instance->updateResellerChild($childId, $resellerChild); @@ -432,7 +432,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **childId** | **int**| id of reseller's child | - **resellerChild** | [**\Sendinblue\Client\Model\UpdateChild**](../Model/UpdateChild.md)| values to update in child profile | + **resellerChild** | [**\SendinBlue\Client\Model\UpdateChild**](../Model/UpdateChild.md)| values to update in child profile | ### Return type diff --git a/docs/Api/SMSCampaignsApi.md b/docs/Api/SMSCampaignsApi.md index efa4be05..25950ad8 100644 --- a/docs/Api/SMSCampaignsApi.md +++ b/docs/Api/SMSCampaignsApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\SMSCampaignsApi +# SendinBlue\Client\SMSCampaignsApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -17,7 +17,7 @@ Method | HTTP request | Description # **createSMSCampaign** -> \Sendinblue\Client\Model\CreateModel createSMSCampaign($createSmsCampaign) +> \SendinBlue\Client\Model\CreateModel createSMSCampaign($createSmsCampaign) Creates a SMS campaign @@ -27,12 +27,12 @@ Creates a SMS campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); -$createSmsCampaign = new \Sendinblue\Client\Model\CreateSmsCampaign(); // \Sendinblue\Client\Model\CreateSmsCampaign | Values to create an SMS Campaign +$api_instance = new SendinBlue\Client\Api\SMSCampaignsApi(); +$createSmsCampaign = new \SendinBlue\Client\Model\CreateSmsCampaign(); // \SendinBlue\Client\Model\CreateSmsCampaign | Values to create an SMS Campaign try { $result = $api_instance->createSMSCampaign($createSmsCampaign); @@ -47,11 +47,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createSmsCampaign** | [**\Sendinblue\Client\Model\CreateSmsCampaign**](../Model/CreateSmsCampaign.md)| Values to create an SMS Campaign | + **createSmsCampaign** | [**\SendinBlue\Client\Model\CreateSmsCampaign**](../Model/CreateSmsCampaign.md)| Values to create an SMS Campaign | ### Return type -[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\SendinBlue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -75,11 +75,11 @@ Delete the SMS campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the SMS campaign try { @@ -112,7 +112,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getSMSCampaigns** -> \Sendinblue\Client\Model\GetSmsCampaigns getSMSCampaigns($status, $limit, $offset) +> \SendinBlue\Client\Model\GetSmsCampaigns getSMSCampaigns($status, $limit, $offset) Returns the informations for all your created SMS campaigns @@ -122,11 +122,11 @@ Returns the informations for all your created SMS campaigns require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\SMSCampaignsApi(); $status = "status_example"; // string | Status of campaign. $limit = 500; // int | Number limitation for the result returned $offset = 0; // int | Beginning point in the list to retrieve from. @@ -150,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetSmsCampaigns**](../Model/GetSmsCampaigns.md) +[**\SendinBlue\Client\Model\GetSmsCampaigns**](../Model/GetSmsCampaigns.md) ### Authorization @@ -164,7 +164,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getSmsCampaign** -> \Sendinblue\Client\Model\GetSmsCampaign getSmsCampaign($campaignId, $getSmsCampaign) +> \SendinBlue\Client\Model\GetSmsCampaign getSmsCampaign($campaignId, $getSmsCampaign) Get a SMS campaign @@ -174,13 +174,13 @@ Get a SMS campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the SMS campaign -$getSmsCampaign = new \Sendinblue\Client\Model\GetSmsCampaign(); // \Sendinblue\Client\Model\GetSmsCampaign | Values to update an SMS Campaign +$getSmsCampaign = new \SendinBlue\Client\Model\GetSmsCampaign(); // \SendinBlue\Client\Model\GetSmsCampaign | Values to update an SMS Campaign try { $result = $api_instance->getSmsCampaign($campaignId, $getSmsCampaign); @@ -196,11 +196,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| id of the SMS campaign | - **getSmsCampaign** | [**\Sendinblue\Client\Model\GetSmsCampaign**](../Model/GetSmsCampaign.md)| Values to update an SMS Campaign | + **getSmsCampaign** | [**\SendinBlue\Client\Model\GetSmsCampaign**](../Model/GetSmsCampaign.md)| Values to update an SMS Campaign | ### Return type -[**\Sendinblue\Client\Model\GetSmsCampaign**](../Model/GetSmsCampaign.md) +[**\SendinBlue\Client\Model\GetSmsCampaign**](../Model/GetSmsCampaign.md) ### Authorization @@ -214,7 +214,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **requestSMSRecipientExport** -> \Sendinblue\Client\Model\CreatedProcessId requestSMSRecipientExport($campaignId, $recipientExport) +> \SendinBlue\Client\Model\CreatedProcessId requestSMSRecipientExport($campaignId, $recipientExport) Exports the recipients of the specified campaign. @@ -226,13 +226,13 @@ It returns the background process ID which on completion calls the notify URL th require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the campaign -$recipientExport = new \Sendinblue\Client\Model\RequestSMSRecipientExport(); // \Sendinblue\Client\Model\RequestSMSRecipientExport | Values to send for a recipient export request +$recipientExport = new \SendinBlue\Client\Model\RequestSMSRecipientExport(); // \SendinBlue\Client\Model\RequestSMSRecipientExport | Values to send for a recipient export request try { $result = $api_instance->requestSMSRecipientExport($campaignId, $recipientExport); @@ -248,11 +248,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| id of the campaign | - **recipientExport** | [**\Sendinblue\Client\Model\RequestSMSRecipientExport**](../Model/RequestSMSRecipientExport.md)| Values to send for a recipient export request | [optional] + **recipientExport** | [**\SendinBlue\Client\Model\RequestSMSRecipientExport**](../Model/RequestSMSRecipientExport.md)| Values to send for a recipient export request | [optional] ### Return type -[**\Sendinblue\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) +[**\SendinBlue\Client\Model\CreatedProcessId**](../Model/CreatedProcessId.md) ### Authorization @@ -276,11 +276,11 @@ Send your SMS campaign immediately require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the campaign try { @@ -325,13 +325,13 @@ Send report of Sent and Archived campaign, to the specified email addresses, wit require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the campaign -$sendReport = new \Sendinblue\Client\Model\SendReport(); // \Sendinblue\Client\Model\SendReport | Values for send a report +$sendReport = new \SendinBlue\Client\Model\SendReport(); // \SendinBlue\Client\Model\SendReport | Values for send a report try { $api_instance->sendSMSReport($campaignId, $sendReport); @@ -346,7 +346,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| id of the campaign | - **sendReport** | [**\Sendinblue\Client\Model\SendReport**](../Model/SendReport.md)| Values for send a report | + **sendReport** | [**\SendinBlue\Client\Model\SendReport**](../Model/SendReport.md)| Values for send a report | ### Return type @@ -374,13 +374,13 @@ Send an SMS require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | Id of the SMS campaign -$sendTestSms = new \Sendinblue\Client\Model\SendTestSms(); // \Sendinblue\Client\Model\SendTestSms | Mobile number to which send the test +$sendTestSms = new \SendinBlue\Client\Model\SendTestSms(); // \SendinBlue\Client\Model\SendTestSms | Mobile number to which send the test try { $api_instance->sendTestSms($campaignId, $sendTestSms); @@ -395,7 +395,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| Id of the SMS campaign | - **sendTestSms** | [**\Sendinblue\Client\Model\SendTestSms**](../Model/SendTestSms.md)| Mobile number to which send the test | + **sendTestSms** | [**\SendinBlue\Client\Model\SendTestSms**](../Model/SendTestSms.md)| Mobile number to which send the test | ### Return type @@ -423,13 +423,13 @@ Update the campaign status require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the campaign -$status = new \Sendinblue\Client\Model\UpdateCampaignStatus(); // \Sendinblue\Client\Model\UpdateCampaignStatus | Status of the campaign. +$status = new \SendinBlue\Client\Model\UpdateCampaignStatus(); // \SendinBlue\Client\Model\UpdateCampaignStatus | Status of the campaign. try { $api_instance->updateSMSCampaignStatus($campaignId, $status); @@ -444,7 +444,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| id of the campaign | - **status** | [**\Sendinblue\Client\Model\UpdateCampaignStatus**](../Model/UpdateCampaignStatus.md)| Status of the campaign. | + **status** | [**\SendinBlue\Client\Model\UpdateCampaignStatus**](../Model/UpdateCampaignStatus.md)| Status of the campaign. | ### Return type @@ -472,13 +472,13 @@ Updates a SMS campaign require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMSCampaignsApi(); +$api_instance = new SendinBlue\Client\Api\SMSCampaignsApi(); $campaignId = "campaignId_example"; // string | id of the SMS campaign -$updateSmsCampaign = new \Sendinblue\Client\Model\UpdateSmsCampaign(); // \Sendinblue\Client\Model\UpdateSmsCampaign | Values to update an SMS Campaign +$updateSmsCampaign = new \SendinBlue\Client\Model\UpdateSmsCampaign(); // \SendinBlue\Client\Model\UpdateSmsCampaign | Values to update an SMS Campaign try { $api_instance->updateSmsCampaign($campaignId, $updateSmsCampaign); @@ -493,7 +493,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **campaignId** | **string**| id of the SMS campaign | - **updateSmsCampaign** | [**\Sendinblue\Client\Model\UpdateSmsCampaign**](../Model/UpdateSmsCampaign.md)| Values to update an SMS Campaign | + **updateSmsCampaign** | [**\SendinBlue\Client\Model\UpdateSmsCampaign**](../Model/UpdateSmsCampaign.md)| Values to update an SMS Campaign | ### Return type diff --git a/docs/Api/SMTPApi.md b/docs/Api/SMTPApi.md index 9b882467..aa877176 100644 --- a/docs/Api/SMTPApi.md +++ b/docs/Api/SMTPApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\SMTPApi +# SendinBlue\Client\SMTPApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -18,7 +18,7 @@ Method | HTTP request | Description # **createSmtpTemplate** -> \Sendinblue\Client\Model\CreateModel createSmtpTemplate($smtpTemplate) +> \SendinBlue\Client\Model\CreateModel createSmtpTemplate($smtpTemplate) Create an smtp template @@ -28,12 +28,12 @@ Create an smtp template require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMTPApi(); -$smtpTemplate = new \Sendinblue\Client\Model\CreateSmtpTemplate(); // \Sendinblue\Client\Model\CreateSmtpTemplate | values to update in smtp template +$api_instance = new SendinBlue\Client\Api\SMTPApi(); +$smtpTemplate = new \SendinBlue\Client\Model\CreateSmtpTemplate(); // \SendinBlue\Client\Model\CreateSmtpTemplate | values to update in smtp template try { $result = $api_instance->createSmtpTemplate($smtpTemplate); @@ -48,11 +48,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **smtpTemplate** | [**\Sendinblue\Client\Model\CreateSmtpTemplate**](../Model/CreateSmtpTemplate.md)| values to update in smtp template | + **smtpTemplate** | [**\SendinBlue\Client\Model\CreateSmtpTemplate**](../Model/CreateSmtpTemplate.md)| values to update in smtp template | ### Return type -[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\SendinBlue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -78,12 +78,12 @@ Delete hardbounces. To use carefully (e.g. in case of temporary ISP failures) require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMTPApi(); -$deleteHardbounces = new \Sendinblue\Client\Model\DeleteHardbounces(); // \Sendinblue\Client\Model\DeleteHardbounces | values to delete hardbounces +$api_instance = new SendinBlue\Client\Api\SMTPApi(); +$deleteHardbounces = new \SendinBlue\Client\Model\DeleteHardbounces(); // \SendinBlue\Client\Model\DeleteHardbounces | values to delete hardbounces try { $api_instance->deleteHardbounces($deleteHardbounces); @@ -97,7 +97,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **deleteHardbounces** | [**\Sendinblue\Client\Model\DeleteHardbounces**](../Model/DeleteHardbounces.md)| values to delete hardbounces | [optional] + **deleteHardbounces** | [**\SendinBlue\Client\Model\DeleteHardbounces**](../Model/DeleteHardbounces.md)| values to delete hardbounces | [optional] ### Return type @@ -115,7 +115,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getAggregatedSmtpReport** -> \Sendinblue\Client\Model\GetAggregatedReport getAggregatedSmtpReport($startDate, $endDate, $days, $tag) +> \SendinBlue\Client\Model\GetAggregatedReport getAggregatedSmtpReport($startDate, $endDate, $days, $tag) Get your SMTP activity aggregated over a period of time @@ -125,11 +125,11 @@ Get your SMTP activity aggregated over a period of time require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMTPApi(); +$api_instance = new SendinBlue\Client\Api\SMTPApi(); $startDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate $endDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate $days = 56; // int | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' @@ -155,7 +155,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetAggregatedReport**](../Model/GetAggregatedReport.md) +[**\SendinBlue\Client\Model\GetAggregatedReport**](../Model/GetAggregatedReport.md) ### Authorization @@ -169,7 +169,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getEmailEventReport** -> \Sendinblue\Client\Model\GetEmailEventReport getEmailEventReport($limit, $offset, $startDate, $endDate, $days, $email, $event, $tags, $messageId, $templateId) +> \SendinBlue\Client\Model\GetEmailEventReport getEmailEventReport($limit, $offset, $startDate, $endDate, $days, $email, $event, $tags, $messageId, $templateId) Get all your SMTP activity (unaggregated events) @@ -179,11 +179,11 @@ Get all your SMTP activity (unaggregated events) require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMTPApi(); +$api_instance = new SendinBlue\Client\Api\SMTPApi(); $limit = 50; // int | Number limitation for the result returned $offset = 0; // int | Beginning point in the list to retrieve from. $startDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD). Must be lower than equal to endDate @@ -221,7 +221,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetEmailEventReport**](../Model/GetEmailEventReport.md) +[**\SendinBlue\Client\Model\GetEmailEventReport**](../Model/GetEmailEventReport.md) ### Authorization @@ -235,7 +235,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getSmtpReport** -> \Sendinblue\Client\Model\GetReports getSmtpReport($limit, $offset, $startDate, $endDate, $days, $tag) +> \SendinBlue\Client\Model\GetReports getSmtpReport($limit, $offset, $startDate, $endDate, $days, $tag) Get your SMTP activity aggregated per day @@ -245,11 +245,11 @@ Get your SMTP activity aggregated per day require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMTPApi(); +$api_instance = new SendinBlue\Client\Api\SMTPApi(); $limit = 50; // int | Number of documents returned per page $offset = 0; // int | Index of the first document on the page $startDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if endDate is used. Starting date of the report (YYYY-MM-DD) @@ -279,7 +279,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetReports**](../Model/GetReports.md) +[**\SendinBlue\Client\Model\GetReports**](../Model/GetReports.md) ### Authorization @@ -293,7 +293,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getSmtpTemplate** -> \Sendinblue\Client\Model\GetSmtpTemplateOverview getSmtpTemplate($templateId) +> \SendinBlue\Client\Model\GetSmtpTemplateOverview getSmtpTemplate($templateId) Returns the template informations @@ -303,11 +303,11 @@ Returns the template informations require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMTPApi(); +$api_instance = new SendinBlue\Client\Api\SMTPApi(); $templateId = "templateId_example"; // string | id of the template try { @@ -327,7 +327,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetSmtpTemplateOverview**](../Model/GetSmtpTemplateOverview.md) +[**\SendinBlue\Client\Model\GetSmtpTemplateOverview**](../Model/GetSmtpTemplateOverview.md) ### Authorization @@ -341,7 +341,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getSmtpTemplates** -> \Sendinblue\Client\Model\GetSmtpTemplates getSmtpTemplates($templateStatus, $limit, $offset) +> \SendinBlue\Client\Model\GetSmtpTemplates getSmtpTemplates($templateStatus, $limit, $offset) Get the list of SMTP templates @@ -351,11 +351,11 @@ Get the list of SMTP templates require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMTPApi(); +$api_instance = new SendinBlue\Client\Api\SMTPApi(); $templateStatus = true; // bool | Filter on the status of the template. Active = true, inactive = false $limit = 50; // int | Number of documents returned per page $offset = 0; // int | Index of the first document in the page @@ -379,7 +379,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetSmtpTemplates**](../Model/GetSmtpTemplates.md) +[**\SendinBlue\Client\Model\GetSmtpTemplates**](../Model/GetSmtpTemplates.md) ### Authorization @@ -393,7 +393,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **sendTemplate** -> \Sendinblue\Client\Model\SendTemplateEmail sendTemplate($templateId, $sendEmail) +> \SendinBlue\Client\Model\SendTemplateEmail sendTemplate($templateId, $sendEmail) Send a template @@ -403,13 +403,13 @@ Send a template require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMTPApi(); +$api_instance = new SendinBlue\Client\Api\SMTPApi(); $templateId = "templateId_example"; // string | Id of the template -$sendEmail = new \Sendinblue\Client\Model\SendEmail(); // \Sendinblue\Client\Model\SendEmail | +$sendEmail = new \SendinBlue\Client\Model\SendEmail(); // \SendinBlue\Client\Model\SendEmail | try { $result = $api_instance->sendTemplate($templateId, $sendEmail); @@ -425,11 +425,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **templateId** | **string**| Id of the template | - **sendEmail** | [**\Sendinblue\Client\Model\SendEmail**](../Model/SendEmail.md)| | + **sendEmail** | [**\SendinBlue\Client\Model\SendEmail**](../Model/SendEmail.md)| | ### Return type -[**\Sendinblue\Client\Model\SendTemplateEmail**](../Model/SendTemplateEmail.md) +[**\SendinBlue\Client\Model\SendTemplateEmail**](../Model/SendTemplateEmail.md) ### Authorization @@ -453,13 +453,13 @@ Send a template to your test list require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMTPApi(); +$api_instance = new SendinBlue\Client\Api\SMTPApi(); $templateId = "templateId_example"; // string | Id of the template -$sendTestEmail = new \Sendinblue\Client\Model\SendTestEmail(); // \Sendinblue\Client\Model\SendTestEmail | +$sendTestEmail = new \SendinBlue\Client\Model\SendTestEmail(); // \SendinBlue\Client\Model\SendTestEmail | try { $api_instance->sendTestTemplate($templateId, $sendTestEmail); @@ -474,7 +474,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **templateId** | **string**| Id of the template | - **sendTestEmail** | [**\Sendinblue\Client\Model\SendTestEmail**](../Model/SendTestEmail.md)| | + **sendTestEmail** | [**\SendinBlue\Client\Model\SendTestEmail**](../Model/SendTestEmail.md)| | ### Return type @@ -492,7 +492,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **sendTransacEmail** -> \Sendinblue\Client\Model\CreateSmtpEmail sendTransacEmail($sendSmtpEmail) +> \SendinBlue\Client\Model\CreateSmtpEmail sendTransacEmail($sendSmtpEmail) Send a transactional email @@ -502,12 +502,12 @@ Send a transactional email require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMTPApi(); -$sendSmtpEmail = new \Sendinblue\Client\Model\SendSmtpEmail(); // \Sendinblue\Client\Model\SendSmtpEmail | Values to send a transactional email +$api_instance = new SendinBlue\Client\Api\SMTPApi(); +$sendSmtpEmail = new \SendinBlue\Client\Model\SendSmtpEmail(); // \SendinBlue\Client\Model\SendSmtpEmail | Values to send a transactional email try { $result = $api_instance->sendTransacEmail($sendSmtpEmail); @@ -522,11 +522,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **sendSmtpEmail** | [**\Sendinblue\Client\Model\SendSmtpEmail**](../Model/SendSmtpEmail.md)| Values to send a transactional email | + **sendSmtpEmail** | [**\SendinBlue\Client\Model\SendSmtpEmail**](../Model/SendSmtpEmail.md)| Values to send a transactional email | ### Return type -[**\Sendinblue\Client\Model\CreateSmtpEmail**](../Model/CreateSmtpEmail.md) +[**\SendinBlue\Client\Model\CreateSmtpEmail**](../Model/CreateSmtpEmail.md) ### Authorization @@ -550,13 +550,13 @@ Updates an smtp templates require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SMTPApi(); +$api_instance = new SendinBlue\Client\Api\SMTPApi(); $templateId = "templateId_example"; // string | id of the template -$smtpTemplate = new \Sendinblue\Client\Model\UpdateSmtpTemplate(); // \Sendinblue\Client\Model\UpdateSmtpTemplate | values to update in smtp template +$smtpTemplate = new \SendinBlue\Client\Model\UpdateSmtpTemplate(); // \SendinBlue\Client\Model\UpdateSmtpTemplate | values to update in smtp template try { $api_instance->updateSmtpTemplate($templateId, $smtpTemplate); @@ -571,7 +571,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **templateId** | **string**| id of the template | - **smtpTemplate** | [**\Sendinblue\Client\Model\UpdateSmtpTemplate**](../Model/UpdateSmtpTemplate.md)| values to update in smtp template | + **smtpTemplate** | [**\SendinBlue\Client\Model\UpdateSmtpTemplate**](../Model/UpdateSmtpTemplate.md)| values to update in smtp template | ### Return type diff --git a/docs/Api/SendersApi.md b/docs/Api/SendersApi.md index 95109dd5..e4139354 100644 --- a/docs/Api/SendersApi.md +++ b/docs/Api/SendersApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\SendersApi +# SendinBlue\Client\SendersApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -13,7 +13,7 @@ Method | HTTP request | Description # **createSender** -> \Sendinblue\Client\Model\CreateSenderModel createSender($sender) +> \SendinBlue\Client\Model\CreateSenderModel createSender($sender) Create a new sender @@ -23,12 +23,12 @@ Create a new sender require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SendersApi(); -$sender = new \Sendinblue\Client\Model\CreateSender(); // \Sendinblue\Client\Model\CreateSender | sender's name +$api_instance = new SendinBlue\Client\Api\SendersApi(); +$sender = new \SendinBlue\Client\Model\CreateSender(); // \SendinBlue\Client\Model\CreateSender | sender's name try { $result = $api_instance->createSender($sender); @@ -43,11 +43,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **sender** | [**\Sendinblue\Client\Model\CreateSender**](../Model/CreateSender.md)| sender's name | [optional] + **sender** | [**\SendinBlue\Client\Model\CreateSender**](../Model/CreateSender.md)| sender's name | [optional] ### Return type -[**\Sendinblue\Client\Model\CreateSenderModel**](../Model/CreateSenderModel.md) +[**\SendinBlue\Client\Model\CreateSenderModel**](../Model/CreateSenderModel.md) ### Authorization @@ -71,11 +71,11 @@ Delete a sender require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SendersApi(); +$api_instance = new SendinBlue\Client\Api\SendersApi(); $senderId = "senderId_example"; // string | Id of the sender try { @@ -108,7 +108,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getIps** -> \Sendinblue\Client\Model\GetIps getIps() +> \SendinBlue\Client\Model\GetIps getIps() Return all the dedicated IPs for your account @@ -118,11 +118,11 @@ Return all the dedicated IPs for your account require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SendersApi(); +$api_instance = new SendinBlue\Client\Api\SendersApi(); try { $result = $api_instance->getIps(); @@ -138,7 +138,7 @@ This endpoint does not need any parameter. ### Return type -[**\Sendinblue\Client\Model\GetIps**](../Model/GetIps.md) +[**\SendinBlue\Client\Model\GetIps**](../Model/GetIps.md) ### Authorization @@ -152,7 +152,7 @@ This endpoint does not need any parameter. [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getIpsFromSender** -> \Sendinblue\Client\Model\GetIpsFromSender getIpsFromSender($senderId) +> \SendinBlue\Client\Model\GetIpsFromSender getIpsFromSender($senderId) Return all the dedicated IPs for a sender @@ -162,11 +162,11 @@ Return all the dedicated IPs for a sender require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SendersApi(); +$api_instance = new SendinBlue\Client\Api\SendersApi(); $senderId = "senderId_example"; // string | Id of the sender try { @@ -186,7 +186,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetIpsFromSender**](../Model/GetIpsFromSender.md) +[**\SendinBlue\Client\Model\GetIpsFromSender**](../Model/GetIpsFromSender.md) ### Authorization @@ -200,7 +200,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getSenders** -> \Sendinblue\Client\Model\GetSendersList getSenders($ip, $domain) +> \SendinBlue\Client\Model\GetSendersList getSenders($ip, $domain) Get the list of all your senders @@ -210,11 +210,11 @@ Get the list of all your senders require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SendersApi(); +$api_instance = new SendinBlue\Client\Api\SendersApi(); $ip = "ip_example"; // string | Filter your senders for a specific ip (available for dedicated IP usage only) $domain = "domain_example"; // string | Filter your senders for a specific domain @@ -236,7 +236,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetSendersList**](../Model/GetSendersList.md) +[**\SendinBlue\Client\Model\GetSendersList**](../Model/GetSendersList.md) ### Authorization @@ -260,13 +260,13 @@ Update a sender require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\SendersApi(); +$api_instance = new SendinBlue\Client\Api\SendersApi(); $senderId = "senderId_example"; // string | Id of the sender -$sender = new \Sendinblue\Client\Model\UpdateSender(); // \Sendinblue\Client\Model\UpdateSender | sender's name +$sender = new \SendinBlue\Client\Model\UpdateSender(); // \SendinBlue\Client\Model\UpdateSender | sender's name try { $api_instance->updateSender($senderId, $sender); @@ -281,7 +281,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **senderId** | **string**| Id of the sender | - **sender** | [**\Sendinblue\Client\Model\UpdateSender**](../Model/UpdateSender.md)| sender's name | [optional] + **sender** | [**\SendinBlue\Client\Model\UpdateSender**](../Model/UpdateSender.md)| sender's name | [optional] ### Return type diff --git a/docs/Api/TransactionalSMSApi.md b/docs/Api/TransactionalSMSApi.md index ed0a9223..d87b153d 100644 --- a/docs/Api/TransactionalSMSApi.md +++ b/docs/Api/TransactionalSMSApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\TransactionalSMSApi +# SendinBlue\Client\TransactionalSMSApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -11,7 +11,7 @@ Method | HTTP request | Description # **getSmsEvents** -> \Sendinblue\Client\Model\GetSmsEventReport getSmsEvents($limit, $startDate, $endDate, $offset, $days, $phoneNumber, $event, $tags) +> \SendinBlue\Client\Model\GetSmsEventReport getSmsEvents($limit, $startDate, $endDate, $offset, $days, $phoneNumber, $event, $tags) Get all the SMS activity (unaggregated events) @@ -21,11 +21,11 @@ Get all the SMS activity (unaggregated events) require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\TransactionalSMSApi(); +$api_instance = new SendinBlue\Client\Api\TransactionalSMSApi(); $limit = 50; // int | Number of documents per page $startDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report $endDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report @@ -59,7 +59,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetSmsEventReport**](../Model/GetSmsEventReport.md) +[**\SendinBlue\Client\Model\GetSmsEventReport**](../Model/GetSmsEventReport.md) ### Authorization @@ -73,7 +73,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getTransacAggregatedSmsReport** -> \Sendinblue\Client\Model\GetTransacAggregatedSmsReport getTransacAggregatedSmsReport($startDate, $endDate, $days, $tag) +> \SendinBlue\Client\Model\GetTransacAggregatedSmsReport getTransacAggregatedSmsReport($startDate, $endDate, $days, $tag) Get your SMS activity aggregated over a period of time @@ -83,11 +83,11 @@ Get your SMS activity aggregated over a period of time require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\TransactionalSMSApi(); +$api_instance = new SendinBlue\Client\Api\TransactionalSMSApi(); $startDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report $endDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report $days = 56; // int | Number of days in the past including today (positive integer). Not compatible with startDate and endDate @@ -113,7 +113,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetTransacAggregatedSmsReport**](../Model/GetTransacAggregatedSmsReport.md) +[**\SendinBlue\Client\Model\GetTransacAggregatedSmsReport**](../Model/GetTransacAggregatedSmsReport.md) ### Authorization @@ -127,7 +127,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getTransacSmsReport** -> \Sendinblue\Client\Model\GetTransacSmsReport getTransacSmsReport($startDate, $endDate, $days, $tag) +> \SendinBlue\Client\Model\GetTransacSmsReport getTransacSmsReport($startDate, $endDate, $days, $tag) Get your SMS activity aggregated per day @@ -137,11 +137,11 @@ Get your SMS activity aggregated per day require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\TransactionalSMSApi(); +$api_instance = new SendinBlue\Client\Api\TransactionalSMSApi(); $startDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if endDate is used. Starting date (YYYY-MM-DD) of the report $endDate = new \DateTime("2013-10-20"); // \DateTime | Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report $days = 56; // int | Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' @@ -167,7 +167,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetTransacSmsReport**](../Model/GetTransacSmsReport.md) +[**\SendinBlue\Client\Model\GetTransacSmsReport**](../Model/GetTransacSmsReport.md) ### Authorization @@ -181,7 +181,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **sendTransacSms** -> \Sendinblue\Client\Model\SendSms sendTransacSms($sendTransacSms) +> \SendinBlue\Client\Model\SendSms sendTransacSms($sendTransacSms) Send the SMS campaign to the specified mobile number @@ -191,12 +191,12 @@ Send the SMS campaign to the specified mobile number require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\TransactionalSMSApi(); -$sendTransacSms = new \Sendinblue\Client\Model\SendTransacSms(); // \Sendinblue\Client\Model\SendTransacSms | Values to send a transactional SMS +$api_instance = new SendinBlue\Client\Api\TransactionalSMSApi(); +$sendTransacSms = new \SendinBlue\Client\Model\SendTransacSms(); // \SendinBlue\Client\Model\SendTransacSms | Values to send a transactional SMS try { $result = $api_instance->sendTransacSms($sendTransacSms); @@ -211,11 +211,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **sendTransacSms** | [**\Sendinblue\Client\Model\SendTransacSms**](../Model/SendTransacSms.md)| Values to send a transactional SMS | + **sendTransacSms** | [**\SendinBlue\Client\Model\SendTransacSms**](../Model/SendTransacSms.md)| Values to send a transactional SMS | ### Return type -[**\Sendinblue\Client\Model\SendSms**](../Model/SendSms.md) +[**\SendinBlue\Client\Model\SendSms**](../Model/SendSms.md) ### Authorization diff --git a/docs/Api/WebhooksApi.md b/docs/Api/WebhooksApi.md index cfb6e834..a78d499e 100644 --- a/docs/Api/WebhooksApi.md +++ b/docs/Api/WebhooksApi.md @@ -1,4 +1,4 @@ -# Sendinblue\Client\WebhooksApi +# SendinBlue\Client\WebhooksApi All URIs are relative to *https://api.sendinblue.com/v3* @@ -12,7 +12,7 @@ Method | HTTP request | Description # **createWebhook** -> \Sendinblue\Client\Model\CreateModel createWebhook($createWebhook) +> \SendinBlue\Client\Model\CreateModel createWebhook($createWebhook) Create a webhook @@ -22,12 +22,12 @@ Create a webhook require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\WebhooksApi(); -$createWebhook = new \Sendinblue\Client\Model\CreateWebhook(); // \Sendinblue\Client\Model\CreateWebhook | Values to create a webhook +$api_instance = new SendinBlue\Client\Api\WebhooksApi(); +$createWebhook = new \SendinBlue\Client\Model\CreateWebhook(); // \SendinBlue\Client\Model\CreateWebhook | Values to create a webhook try { $result = $api_instance->createWebhook($createWebhook); @@ -42,11 +42,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **createWebhook** | [**\Sendinblue\Client\Model\CreateWebhook**](../Model/CreateWebhook.md)| Values to create a webhook | + **createWebhook** | [**\SendinBlue\Client\Model\CreateWebhook**](../Model/CreateWebhook.md)| Values to create a webhook | ### Return type -[**\Sendinblue\Client\Model\CreateModel**](../Model/CreateModel.md) +[**\SendinBlue\Client\Model\CreateModel**](../Model/CreateModel.md) ### Authorization @@ -70,11 +70,11 @@ Delete a webhook require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\WebhooksApi(); +$api_instance = new SendinBlue\Client\Api\WebhooksApi(); $webhookId = "webhookId_example"; // string | Id of the webhook try { @@ -107,7 +107,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getWebhook** -> \Sendinblue\Client\Model\GetWebhook getWebhook($webhookId) +> \SendinBlue\Client\Model\GetWebhook getWebhook($webhookId) Get a webhook details @@ -117,11 +117,11 @@ Get a webhook details require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\WebhooksApi(); +$api_instance = new SendinBlue\Client\Api\WebhooksApi(); $webhookId = "webhookId_example"; // string | Id of the webhook try { @@ -141,7 +141,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetWebhook**](../Model/GetWebhook.md) +[**\SendinBlue\Client\Model\GetWebhook**](../Model/GetWebhook.md) ### Authorization @@ -155,7 +155,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getWebhooks** -> \Sendinblue\Client\Model\GetWebhooks getWebhooks($type) +> \SendinBlue\Client\Model\GetWebhooks getWebhooks($type) Get all webhooks @@ -165,11 +165,11 @@ Get all webhooks require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\WebhooksApi(); +$api_instance = new SendinBlue\Client\Api\WebhooksApi(); $type = "transactional"; // string | Filter on webhook type try { @@ -189,7 +189,7 @@ Name | Type | Description | Notes ### Return type -[**\Sendinblue\Client\Model\GetWebhooks**](../Model/GetWebhooks.md) +[**\SendinBlue\Client\Model\GetWebhooks**](../Model/GetWebhooks.md) ### Authorization @@ -213,13 +213,13 @@ Update a webhook require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: api-key -Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); +SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed -// Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); +// SendinBlue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer'); -$api_instance = new Sendinblue\Client\Api\WebhooksApi(); +$api_instance = new SendinBlue\Client\Api\WebhooksApi(); $webhookId = "webhookId_example"; // string | Id of the webhook -$updateWebhook = new \Sendinblue\Client\Model\UpdateWebhook(); // \Sendinblue\Client\Model\UpdateWebhook | Values to update a webhook +$updateWebhook = new \SendinBlue\Client\Model\UpdateWebhook(); // \SendinBlue\Client\Model\UpdateWebhook | Values to update a webhook try { $api_instance->updateWebhook($webhookId, $updateWebhook); @@ -234,7 +234,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **webhookId** | **string**| Id of the webhook | - **updateWebhook** | [**\Sendinblue\Client\Model\UpdateWebhook**](../Model/UpdateWebhook.md)| Values to update a webhook | + **updateWebhook** | [**\SendinBlue\Client\Model\UpdateWebhook**](../Model/UpdateWebhook.md)| Values to update a webhook | ### Return type diff --git a/docs/Model/CreateAttribute.md b/docs/Model/CreateAttribute.md index 2c5ab852..38f7ed31 100644 --- a/docs/Model/CreateAttribute.md +++ b/docs/Model/CreateAttribute.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **category** | **string** | Attribute categorisation. | **name** | **string** | Name of the attribute | **value** | **string** | Value of the attribute | -**enumemaration** | [**\Sendinblue\Client\Model\CreateAttributeEnumemaration[]**](CreateAttributeEnumemaration.md) | Values that the attribute can take. Use only if the attribute's category is category | [optional] +**enumemaration** | [**\SendinBlue\Client\Model\CreateAttributeEnumemaration[]**](CreateAttributeEnumemaration.md) | Values that the attribute can take. Use only if the attribute's category is category | [optional] **type** | **string** | Type of the attribute | [optional] [[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/CreateEmailCampaign.md b/docs/Model/CreateEmailCampaign.md index 2ac10929..32c0d1c7 100644 --- a/docs/Model/CreateEmailCampaign.md +++ b/docs/Model/CreateEmailCampaign.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **tag** | **string** | Tag of the campaign | [optional] -**sender** | [**\Sendinblue\Client\Model\CreateEmailCampaignSender**](CreateEmailCampaignSender.md) | | [optional] +**sender** | [**\SendinBlue\Client\Model\CreateEmailCampaignSender**](CreateEmailCampaignSender.md) | | [optional] **name** | **string** | Name of the campaign | **htmlContent** | **string** | Mandatory if htmlUrl is empty. Body of the message (HTML) | [optional] **htmlUrl** | **string** | Mandatory if htmlContent is empty. Url to the message (HTML) | [optional] @@ -12,7 +12,7 @@ Name | Type | Description | Notes **subject** | **string** | Subject of the campaign | **replyTo** | **string** | Email on which the campaign recipients will be able to reply to | [optional] **toField** | **string** | To personalize the «To» Field, e.g. if you want to include the first name and last name of your recipient, use [FNAME] [LNAME]. These attributes must already exist in your contact database | [optional] -**recipients** | [**\Sendinblue\Client\Model\CreateEmailCampaignRecipients**](CreateEmailCampaignRecipients.md) | | [optional] +**recipients** | [**\SendinBlue\Client\Model\CreateEmailCampaignRecipients**](CreateEmailCampaignRecipients.md) | | [optional] **attachmentUrl** | **string** | Absolute url of the attachment (no local file). Extensions allowed xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff and rtf | [optional] **inlineImageActivation** | **bool** | Use true to embedded the images in your email. Final size of the email should be less than 4MB. Campaigns with embedded images can not be sent to more than 5000 contacts | [optional] [default to false] **mirrorActive** | **bool** | Use true to enable the mirror link | [optional] diff --git a/docs/Model/CreateEmailCampaignSender.md b/docs/Model/CreateEmailCampaignSender.md index 11399025..a720dc35 100644 --- a/docs/Model/CreateEmailCampaignSender.md +++ b/docs/Model/CreateEmailCampaignSender.md @@ -1,4 +1,4 @@ -# CreateEmailCampaignSender +s# CreateEmailCampaignSender ## Properties Name | Type | Description | Notes diff --git a/docs/Model/CreateSender.md b/docs/Model/CreateSender.md index 04eee5dc..31bf1a89 100644 --- a/docs/Model/CreateSender.md +++ b/docs/Model/CreateSender.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | From Name to use for the sender | **email** | **string** | From Email to use for the sender | -**ips** | [**\Sendinblue\Client\Model\CreateSenderIps[]**](CreateSenderIps.md) | Mandatory in case of dedicated IP, IPs to associate to the sender | [optional] +**ips** | [**\SendinBlue\Client\Model\CreateSenderIps[]**](CreateSenderIps.md) | Mandatory in case of dedicated IP, IPs to associate to the sender | [optional] [[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/CreateSmsCampaign.md b/docs/Model/CreateSmsCampaign.md index 0506a0f1..0b8ab5ba 100644 --- a/docs/Model/CreateSmsCampaign.md +++ b/docs/Model/CreateSmsCampaign.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **name** | **string** | Name of the campaign | **sender** | **string** | Name of the sender. The number of characters is limited to 11 | **content** | **string** | Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS | [optional] -**recipients** | [**\Sendinblue\Client\Model\CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional] +**recipients** | [**\SendinBlue\Client\Model\CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional] **scheduledAt** | **string** | Date and time on which the campaign has to run (YYYY-MM-DD HH:mm:ss) | [optional] [[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/CreateSmtpTemplate.md b/docs/Model/CreateSmtpTemplate.md index bc169400..ac2b8c88 100644 --- a/docs/Model/CreateSmtpTemplate.md +++ b/docs/Model/CreateSmtpTemplate.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **tag** | **string** | Tag of the template | [optional] -**sender** | [**\Sendinblue\Client\Model\CreateSmtpTemplateSender**](CreateSmtpTemplateSender.md) | | [optional] +**sender** | [**\SendinBlue\Client\Model\CreateSmtpTemplateSender**](CreateSmtpTemplateSender.md) | | [optional] **templateName** | **string** | Name of the template | **htmlContent** | **string** | Body of the message (HTML version). The field must have more than 10 characters. REQUIRED if htmlUrl is empty | [optional] **htmlUrl** | **string** | Url which contents the body of the email message. REQUIRED if htmlContent is empty | [optional] diff --git a/docs/Model/GetAccount.md b/docs/Model/GetAccount.md index cb4809bf..a7a83de9 100644 --- a/docs/Model/GetAccount.md +++ b/docs/Model/GetAccount.md @@ -7,10 +7,10 @@ Name | Type | Description | Notes **firstName** | **string** | First Name | **lastName** | **string** | Last Name | **companyName** | **string** | Name of the company | -**address** | [**\Sendinblue\Client\Model\GetExtendedClientAddress**](GetExtendedClientAddress.md) | | [optional] -**plan** | [**\Sendinblue\Client\Model\GetAccountPlan[]**](GetAccountPlan.md) | Information about your plans and credits | -**relay** | [**\Sendinblue\Client\Model\GetAccountRelay**](GetAccountRelay.md) | | [optional] -**marketingAutomation** | [**\Sendinblue\Client\Model\GetAccountMarketingAutomation**](GetAccountMarketingAutomation.md) | | [optional] +**address** | [**\SendinBlue\Client\Model\GetExtendedClientAddress**](GetExtendedClientAddress.md) | | [optional] +**plan** | [**\SendinBlue\Client\Model\GetAccountPlan[]**](GetAccountPlan.md) | Information about your plans and credits | +**relay** | [**\SendinBlue\Client\Model\GetAccountRelay**](GetAccountRelay.md) | | [optional] +**marketingAutomation** | [**\SendinBlue\Client\Model\GetAccountMarketingAutomation**](GetAccountMarketingAutomation.md) | | [optional] [[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/GetAccountRelay.md b/docs/Model/GetAccountRelay.md index e6c700b8..8015a197 100644 --- a/docs/Model/GetAccountRelay.md +++ b/docs/Model/GetAccountRelay.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **enabled** | **bool** | Status of your SMTP Account (true=Enabled, false=Disabled) | -**data** | [**\Sendinblue\Client\Model\GetAccountRelayData**](GetAccountRelayData.md) | | [optional] +**data** | [**\SendinBlue\Client\Model\GetAccountRelayData**](GetAccountRelayData.md) | | [optional] [[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/GetAttributes.md b/docs/Model/GetAttributes.md index cfefda7d..76e0c7e4 100644 --- a/docs/Model/GetAttributes.md +++ b/docs/Model/GetAttributes.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**attributes** | [**\Sendinblue\Client\Model\GetAttributesAttributes[]**](GetAttributesAttributes.md) | Listing of available contact attributes in your account | +**attributes** | [**\SendinBlue\Client\Model\GetAttributesAttributes[]**](GetAttributesAttributes.md) | Listing of available contact attributes in your account | [[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/GetAttributesAttributes.md b/docs/Model/GetAttributesAttributes.md index 3d43ec3f..21f76c96 100644 --- a/docs/Model/GetAttributesAttributes.md +++ b/docs/Model/GetAttributesAttributes.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **name** | **string** | Name of the attribute | **category** | **string** | Category of the attribute | **type** | **string** | Type of the attribute | [optional] -**enumeration** | [**\Sendinblue\Client\Model\GetAttributesEnumeration[]**](GetAttributesEnumeration.md) | Parameter only available for \"category\" type attributes. | [optional] +**enumeration** | [**\SendinBlue\Client\Model\GetAttributesEnumeration[]**](GetAttributesEnumeration.md) | Parameter only available for \"category\" type attributes. | [optional] **calculatedValue** | **string** | Calculated value formula | [optional] [[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/GetCampaignRecipients.md b/docs/Model/GetCampaignRecipients.md index bc61bb34..c9950e49 100644 --- a/docs/Model/GetCampaignRecipients.md +++ b/docs/Model/GetCampaignRecipients.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**lists** | [**\Sendinblue\Client\Model\GetCampaignRecipientsLists[]**](GetCampaignRecipientsLists.md) | Lists included in the campaign | -**exclusionLists** | [**\Sendinblue\Client\Model\GetCampaignRecipientsExclusionLists[]**](GetCampaignRecipientsExclusionLists.md) | Lists excluded of the campaign | +**lists** | [**\SendinBlue\Client\Model\GetCampaignRecipientsLists[]**](GetCampaignRecipientsLists.md) | Lists included in the campaign | +**exclusionLists** | [**\SendinBlue\Client\Model\GetCampaignRecipientsExclusionLists[]**](GetCampaignRecipientsExclusionLists.md) | Lists excluded of the campaign | [[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/GetChildInfo.md b/docs/Model/GetChildInfo.md index 9ed72d3d..cedfcf5d 100644 --- a/docs/Model/GetChildInfo.md +++ b/docs/Model/GetChildInfo.md @@ -7,11 +7,11 @@ Name | Type | Description | Notes **firstName** | **string** | First Name | **lastName** | **string** | Last Name | **companyName** | **string** | Name of the company | -**credits** | [**\Sendinblue\Client\Model\GetChildInfoCredits**](GetChildInfoCredits.md) | | [optional] -**statistics** | [**\Sendinblue\Client\Model\GetChildInfoStatistics**](GetChildInfoStatistics.md) | | [optional] +**credits** | [**\SendinBlue\Client\Model\GetChildInfoCredits**](GetChildInfoCredits.md) | | [optional] +**statistics** | [**\SendinBlue\Client\Model\GetChildInfoStatistics**](GetChildInfoStatistics.md) | | [optional] **password** | **string** | The encrypted password of child account | -**ips** | [**\Sendinblue\Client\Model\GetChildInfoIps[]**](GetChildInfoIps.md) | IP(s) associated to a child account user | [optional] -**apiKeys** | [**\Sendinblue\Client\Model\GetChildInfoApiKeys[]**](GetChildInfoApiKeys.md) | API Keys associated to child account | [optional] +**ips** | [**\SendinBlue\Client\Model\GetChildInfoIps[]**](GetChildInfoIps.md) | IP(s) associated to a child account user | [optional] +**apiKeys** | [**\SendinBlue\Client\Model\GetChildInfoApiKeys[]**](GetChildInfoApiKeys.md) | API Keys associated to child account | [optional] [[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/GetContactCampaignStats.md b/docs/Model/GetContactCampaignStats.md index c34b7dac..97e22674 100644 --- a/docs/Model/GetContactCampaignStats.md +++ b/docs/Model/GetContactCampaignStats.md @@ -3,14 +3,14 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**messagesSent** | [**\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] -**hardBounces** | [**\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] -**softBounces** | [**\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] -**complaints** | [**\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] -**unsubscriptions** | [**\Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptions**](GetContactCampaignStatsUnsubscriptions.md) | | [optional] -**opened** | [**\Sendinblue\Client\Model\GetContactCampaignStatsOpened[]**](GetContactCampaignStatsOpened.md) | | [optional] -**clicked** | [**\Sendinblue\Client\Model\GetContactCampaignStatsClicked[]**](GetContactCampaignStatsClicked.md) | | [optional] -**transacAttributes** | [**\Sendinblue\Client\Model\GetContactCampaignStatsTransacAttributes[]**](GetContactCampaignStatsTransacAttributes.md) | | [optional] +**messagesSent** | [**\SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] +**hardBounces** | [**\SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] +**softBounces** | [**\SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] +**complaints** | [**\SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[]**](GetContactCampaignStatsMessagesSent.md) | | [optional] +**unsubscriptions** | [**\SendinBlue\Client\Model\GetContactCampaignStatsUnsubscriptions**](GetContactCampaignStatsUnsubscriptions.md) | | [optional] +**opened** | [**\SendinBlue\Client\Model\GetContactCampaignStatsOpened[]**](GetContactCampaignStatsOpened.md) | | [optional] +**clicked** | [**\SendinBlue\Client\Model\GetContactCampaignStatsClicked[]**](GetContactCampaignStatsClicked.md) | | [optional] +**transacAttributes** | [**\SendinBlue\Client\Model\GetContactCampaignStatsTransacAttributes[]**](GetContactCampaignStatsTransacAttributes.md) | | [optional] [[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/GetContactCampaignStatsClicked.md b/docs/Model/GetContactCampaignStatsClicked.md index e7c8a3f0..ab7a0cb5 100644 --- a/docs/Model/GetContactCampaignStatsClicked.md +++ b/docs/Model/GetContactCampaignStatsClicked.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **campaignId** | **int** | ID of the campaign which generated the event | -**links** | [**\Sendinblue\Client\Model\GetContactCampaignStatsLinks[]**](GetContactCampaignStatsLinks.md) | | +**links** | [**\SendinBlue\Client\Model\GetContactCampaignStatsLinks[]**](GetContactCampaignStatsLinks.md) | | [[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/GetContactCampaignStatsUnsubscriptions.md b/docs/Model/GetContactCampaignStatsUnsubscriptions.md index 31879ce9..d6eefbcc 100644 --- a/docs/Model/GetContactCampaignStatsUnsubscriptions.md +++ b/docs/Model/GetContactCampaignStatsUnsubscriptions.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**userUnsubscription** | [**\Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[]**](GetContactCampaignStatsUnsubscriptionsUserUnsubscription.md) | Contact has unsubscribed via the unsubscription link in the email | -**adminUnsubscription** | [**\Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[]**](GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.md) | Contact has been unsubscribed from the administrator | +**userUnsubscription** | [**\SendinBlue\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[]**](GetContactCampaignStatsUnsubscriptionsUserUnsubscription.md) | Contact has unsubscribed via the unsubscription link in the email | +**adminUnsubscription** | [**\SendinBlue\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[]**](GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.md) | Contact has been unsubscribed from the administrator | [[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/GetEmailCampaign.md b/docs/Model/GetEmailCampaign.md index ee58aa5b..79dcc7ce 100644 --- a/docs/Model/GetEmailCampaign.md +++ b/docs/Model/GetEmailCampaign.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **testSent** | **bool** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) | **header** | **string** | Header of the campaign | **footer** | **string** | Footer of the campaign | -**sender** | [**\Sendinblue\Client\Model\GetExtendedCampaignOverviewSender**](GetExtendedCampaignOverviewSender.md) | | [optional] +**sender** | [**\SendinBlue\Client\Model\GetExtendedCampaignOverviewSender**](GetExtendedCampaignOverviewSender.md) | | [optional] **replyTo** | **string** | Email defined as the \"Reply to\" of the campaign | **toField** | **string** | Customisation of the \"to\" field of the campaign | **htmlContent** | **string** | HTML content of the campaign | diff --git a/docs/Model/GetEmailEventReport.md b/docs/Model/GetEmailEventReport.md index c035a039..b19b9b38 100644 --- a/docs/Model/GetEmailEventReport.md +++ b/docs/Model/GetEmailEventReport.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**events** | [**\Sendinblue\Client\Model\GetEmailEventReportEvents[]**](GetEmailEventReportEvents.md) | | [optional] +**events** | [**\SendinBlue\Client\Model\GetEmailEventReportEvents[]**](GetEmailEventReportEvents.md) | | [optional] [[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/GetExtendedCampaignOverview.md b/docs/Model/GetExtendedCampaignOverview.md index 94bff227..054ebce5 100644 --- a/docs/Model/GetExtendedCampaignOverview.md +++ b/docs/Model/GetExtendedCampaignOverview.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **testSent** | **bool** | Retrieved the status of test email sending. (true=Test email has been sent false=Test email has not been sent) | **header** | **string** | Header of the campaign | **footer** | **string** | Footer of the campaign | -**sender** | [**\Sendinblue\Client\Model\GetExtendedCampaignOverviewSender**](GetExtendedCampaignOverviewSender.md) | | [optional] +**sender** | [**\SendinBlue\Client\Model\GetExtendedCampaignOverviewSender**](GetExtendedCampaignOverviewSender.md) | | [optional] **replyTo** | **string** | Email defined as the \"Reply to\" of the campaign | **toField** | **string** | Customisation of the \"to\" field of the campaign | **htmlContent** | **string** | HTML content of the campaign | diff --git a/docs/Model/GetExtendedCampaignStats.md b/docs/Model/GetExtendedCampaignStats.md index 62924717..0c3ecc88 100644 --- a/docs/Model/GetExtendedCampaignStats.md +++ b/docs/Model/GetExtendedCampaignStats.md @@ -6,8 +6,8 @@ Name | Type | Description | Notes **campaignStats** | **object[]** | | **mirrorClick** | **int** | Number of clicks on mirror link | **remaining** | **int** | Number of remaning emails to send | -**linksStats** | [**map[string,\Sendinblue\Client\Model\GetExtendedCampaignStatsLinksStats]**](GetExtendedCampaignStatsLinksStats.md) | | -**statsByDomain** | [**\Sendinblue\Client\Model\GetStatsByDomain**](GetStatsByDomain.md) | | +**linksStats** | [**map[string,\SendinBlue\Client\Model\GetExtendedCampaignStatsLinksStats]**](GetExtendedCampaignStatsLinksStats.md) | | +**statsByDomain** | [**\SendinBlue\Client\Model\GetStatsByDomain**](GetStatsByDomain.md) | | [[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/GetExtendedClient.md b/docs/Model/GetExtendedClient.md index 376a2f4d..24fc49f5 100644 --- a/docs/Model/GetExtendedClient.md +++ b/docs/Model/GetExtendedClient.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **firstName** | **string** | First Name | **lastName** | **string** | Last Name | **companyName** | **string** | Name of the company | -**address** | [**\Sendinblue\Client\Model\GetExtendedClientAddress**](GetExtendedClientAddress.md) | | [optional] +**address** | [**\SendinBlue\Client\Model\GetExtendedClientAddress**](GetExtendedClientAddress.md) | | [optional] [[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/GetExtendedList.md b/docs/Model/GetExtendedList.md index ae0d6f72..ef457141 100644 --- a/docs/Model/GetExtendedList.md +++ b/docs/Model/GetExtendedList.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **totalSubscribers** | **int** | Number of contacts in the list | **folderId** | **int** | ID of the folder | **createdAt** | **string** | Creation Date of the list (YYYY-MM-DD) | -**campaignStats** | [**\Sendinblue\Client\Model\GetExtendedListCampaignStats[]**](GetExtendedListCampaignStats.md) | | [optional] +**campaignStats** | [**\SendinBlue\Client\Model\GetExtendedListCampaignStats[]**](GetExtendedListCampaignStats.md) | | [optional] **dynamicList** | **bool** | Status telling if the list is dynamic or not (true=dynamic, false=not dynamic) | [optional] [[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/GetExtendedListCampaignStats.md b/docs/Model/GetExtendedListCampaignStats.md index dd3d5836..a330b019 100644 --- a/docs/Model/GetExtendedListCampaignStats.md +++ b/docs/Model/GetExtendedListCampaignStats.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **campaignId** | **int** | ID of the campaign | -**stats** | [**\Sendinblue\Client\Model\GetCampaignStats**](GetCampaignStats.md) | | +**stats** | [**\SendinBlue\Client\Model\GetCampaignStats**](GetCampaignStats.md) | | [[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/GetIps.md b/docs/Model/GetIps.md index baceaddf..3f616e3f 100644 --- a/docs/Model/GetIps.md +++ b/docs/Model/GetIps.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ips** | [**\Sendinblue\Client\Model\GetIp[]**](GetIp.md) | Dedicated IP(s) available on your account | +**ips** | [**\SendinBlue\Client\Model\GetIp[]**](GetIp.md) | Dedicated IP(s) available on your account | [[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/GetIpsFromSender.md b/docs/Model/GetIpsFromSender.md index 8c991ee4..7db066af 100644 --- a/docs/Model/GetIpsFromSender.md +++ b/docs/Model/GetIpsFromSender.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**ips** | [**\Sendinblue\Client\Model\GetIpFromSender[]**](GetIpFromSender.md) | Dedicated IP(s) linked to a sender | +**ips** | [**\SendinBlue\Client\Model\GetIpFromSender[]**](GetIpFromSender.md) | Dedicated IP(s) linked to a sender | [[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/GetLists.md b/docs/Model/GetLists.md index 0561bbb7..d4b508f4 100644 --- a/docs/Model/GetLists.md +++ b/docs/Model/GetLists.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **count** | **int** | Number of lists in your account | -**lists** | [**\Sendinblue\Client\Model\GetListsLists[]**](GetListsLists.md) | Listing of all the lists available in your account | +**lists** | [**\SendinBlue\Client\Model\GetListsLists[]**](GetListsLists.md) | Listing of all the lists available in your account | [[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/GetListsLists.md b/docs/Model/GetListsLists.md index 679f5930..37ae0bc8 100644 --- a/docs/Model/GetListsLists.md +++ b/docs/Model/GetListsLists.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**folder** | [**\Sendinblue\Client\Model\GetListsFolder**](GetListsFolder.md) | | [optional] +**folder** | [**\SendinBlue\Client\Model\GetListsFolder**](GetListsFolder.md) | | [optional] [[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/GetProcesses.md b/docs/Model/GetProcesses.md index 593ef4e4..be2e50b1 100644 --- a/docs/Model/GetProcesses.md +++ b/docs/Model/GetProcesses.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**processes** | [**\Sendinblue\Client\Model\GetProcess[]**](GetProcess.md) | List of processes available on your account | [optional] +**processes** | [**\SendinBlue\Client\Model\GetProcess[]**](GetProcess.md) | List of processes available on your account | [optional] **count** | **int** | Number of processes available on your account | [[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/GetReports.md b/docs/Model/GetReports.md index a6f77841..73deed42 100644 --- a/docs/Model/GetReports.md +++ b/docs/Model/GetReports.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**reports** | [**\Sendinblue\Client\Model\GetReportsReports[]**](GetReportsReports.md) | | [optional] +**reports** | [**\SendinBlue\Client\Model\GetReportsReports[]**](GetReportsReports.md) | | [optional] [[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/GetSendersList.md b/docs/Model/GetSendersList.md index 4e6c8c8f..26eda986 100644 --- a/docs/Model/GetSendersList.md +++ b/docs/Model/GetSendersList.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**senders** | [**\Sendinblue\Client\Model\GetSendersListSenders[]**](GetSendersListSenders.md) | List of the senders available in your account | [optional] +**senders** | [**\SendinBlue\Client\Model\GetSendersListSenders[]**](GetSendersListSenders.md) | List of the senders available in your account | [optional] [[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/GetSendersListSenders.md b/docs/Model/GetSendersListSenders.md index c88e5ce7..d15a2825 100644 --- a/docs/Model/GetSendersListSenders.md +++ b/docs/Model/GetSendersListSenders.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **name** | **string** | From Name associated to the sender | **email** | **string** | From Email associated to the sender | **active** | **bool** | Status of sender (true=activated, false=deactivated) | -**ips** | [**\Sendinblue\Client\Model\GetSendersListIps[]**](GetSendersListIps.md) | List of dedicated IP(s) available in the account. This data is displayed only for dedicated IPs | [optional] +**ips** | [**\SendinBlue\Client\Model\GetSendersListIps[]**](GetSendersListIps.md) | List of dedicated IP(s) available in the account. This data is displayed only for dedicated IPs | [optional] [[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/GetSmsEventReport.md b/docs/Model/GetSmsEventReport.md index 2c0b51aa..d7de44e8 100644 --- a/docs/Model/GetSmsEventReport.md +++ b/docs/Model/GetSmsEventReport.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**events** | [**\Sendinblue\Client\Model\GetSmsEventReportEvents[]**](GetSmsEventReportEvents.md) | | [optional] +**events** | [**\SendinBlue\Client\Model\GetSmsEventReportEvents[]**](GetSmsEventReportEvents.md) | | [optional] [[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/GetSmtpTemplateOverview.md b/docs/Model/GetSmtpTemplateOverview.md index e11b9f18..ddcb8d27 100644 --- a/docs/Model/GetSmtpTemplateOverview.md +++ b/docs/Model/GetSmtpTemplateOverview.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **subject** | **string** | Subject of the template | **isActive** | **bool** | Status of template (true=active, false=inactive) | **testSent** | **bool** | Status of test sending for the template (true=test email has been sent, false=test email has not been sent) | -**sender** | [**\Sendinblue\Client\Model\GetSmtpTemplateOverviewSender**](GetSmtpTemplateOverviewSender.md) | | [optional] +**sender** | [**\SendinBlue\Client\Model\GetSmtpTemplateOverviewSender**](GetSmtpTemplateOverviewSender.md) | | [optional] **replyTo** | **string** | Email defined as the \"Reply to\" for the template | **toField** | **string** | Customisation of the \"to\" field for the template | **tag** | **string** | Tag of the template | diff --git a/docs/Model/GetSmtpTemplates.md b/docs/Model/GetSmtpTemplates.md index 5c4418f9..4f0c2dd5 100644 --- a/docs/Model/GetSmtpTemplates.md +++ b/docs/Model/GetSmtpTemplates.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **count** | **int** | Count of smtp templates | [optional] -**templates** | [**\Sendinblue\Client\Model\GetSmtpTemplateOverview[]**](GetSmtpTemplateOverview.md) | | [optional] +**templates** | [**\SendinBlue\Client\Model\GetSmtpTemplateOverview[]**](GetSmtpTemplateOverview.md) | | [optional] [[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/GetTransacSmsReport.md b/docs/Model/GetTransacSmsReport.md index d5dd09de..fa422457 100644 --- a/docs/Model/GetTransacSmsReport.md +++ b/docs/Model/GetTransacSmsReport.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**reports** | [**\Sendinblue\Client\Model\GetTransacSmsReportReports[]**](GetTransacSmsReportReports.md) | | [optional] +**reports** | [**\SendinBlue\Client\Model\GetTransacSmsReportReports[]**](GetTransacSmsReportReports.md) | | [optional] [[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/PostContactInfo.md b/docs/Model/PostContactInfo.md index 44f48a7c..2ff866f7 100644 --- a/docs/Model/PostContactInfo.md +++ b/docs/Model/PostContactInfo.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**contacts** | [**\Sendinblue\Client\Model\PostContactInfoContacts**](PostContactInfoContacts.md) | | [optional] +**contacts** | [**\SendinBlue\Client\Model\PostContactInfoContacts**](PostContactInfoContacts.md) | | [optional] [[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/RemainingCreditModel.md b/docs/Model/RemainingCreditModel.md index a74a63dc..9bdbb1a2 100644 --- a/docs/Model/RemainingCreditModel.md +++ b/docs/Model/RemainingCreditModel.md @@ -3,8 +3,8 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**child** | [**\Sendinblue\Client\Model\RemainingCreditModelChild**](RemainingCreditModelChild.md) | | [optional] -**reseller** | [**\Sendinblue\Client\Model\RemainingCreditModelReseller**](RemainingCreditModelReseller.md) | | [optional] +**child** | [**\SendinBlue\Client\Model\RemainingCreditModelChild**](RemainingCreditModelChild.md) | | [optional] +**reseller** | [**\SendinBlue\Client\Model\RemainingCreditModelReseller**](RemainingCreditModelReseller.md) | | [optional] [[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/RequestContactExport.md b/docs/Model/RequestContactExport.md index e454e616..5c1243a1 100644 --- a/docs/Model/RequestContactExport.md +++ b/docs/Model/RequestContactExport.md @@ -1,4 +1,4 @@ -# RequestContactExport +s# RequestContactExport ## Properties Name | Type | Description | Notes diff --git a/docs/Model/RequestContactImport.md b/docs/Model/RequestContactImport.md index f8f6f5e5..b396739a 100644 --- a/docs/Model/RequestContactImport.md +++ b/docs/Model/RequestContactImport.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **fileBody** | **string** | Mandatory if fileUrl is not defined. CSV content to be imported. Use semicolon to separate multiple attributes | [optional] **listIds** | **int[]** | Manadatory if newList is not defined. Ids of the lists in which to add the contacts | [optional] **notifyUrl** | **string** | URL that will be called once the export process is finished | [optional] -**newList** | [**\Sendinblue\Client\Model\RequestContactImportNewList**](RequestContactImportNewList.md) | | [optional] +**newList** | [**\SendinBlue\Client\Model\RequestContactImportNewList**](RequestContactImportNewList.md) | | [optional] [[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/SendEmail.md b/docs/Model/SendEmail.md index 1fc0ea8e..18393c3a 100644 --- a/docs/Model/SendEmail.md +++ b/docs/Model/SendEmail.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **emailCc** | **string[]** | Email addresses of the recipients in cc | [optional] **replyTo** | **string** | Email on which campaign recipients will be able to reply to | [optional] **attachmentUrl** | **string** | Absolute url of the attachment (no local file). Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez | [optional] -**attachment** | [**\Sendinblue\Client\Model\SendEmailAttachment[]**](SendEmailAttachment.md) | Pass the base64 content of the attachment. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez | [optional] +**attachment** | [**\SendinBlue\Client\Model\SendEmailAttachment[]**](SendEmailAttachment.md) | Pass the base64 content of the attachment. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez | [optional] **headers** | **map[string,string]** | | [optional] **attributes** | **map[string,string]** | | [optional] diff --git a/docs/Model/SendReport.md b/docs/Model/SendReport.md index b1319cc8..22418bc2 100644 --- a/docs/Model/SendReport.md +++ b/docs/Model/SendReport.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **language** | **string** | Language of email content for campaign report sending. | [optional] [default to 'fr'] -**email** | [**\Sendinblue\Client\Model\SendReportEmail**](SendReportEmail.md) | | [optional] +**email** | [**\SendinBlue\Client\Model\SendReportEmail**](SendReportEmail.md) | | [optional] [[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/SendSmtpEmail.md b/docs/Model/SendSmtpEmail.md index b6158630..1b708574 100644 --- a/docs/Model/SendSmtpEmail.md +++ b/docs/Model/SendSmtpEmail.md @@ -3,15 +3,15 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**sender** | [**\Sendinblue\Client\Model\SendSmtpEmailSender**](SendSmtpEmailSender.md) | | [optional] -**to** | [**\Sendinblue\Client\Model\SendSmtpEmailTo[]**](SendSmtpEmailTo.md) | Email addresses and names of the recipients | -**bcc** | [**\Sendinblue\Client\Model\SendSmtpEmailBcc[]**](SendSmtpEmailBcc.md) | Email addresses and names of the recipients in bcc | [optional] -**cc** | [**\Sendinblue\Client\Model\SendSmtpEmailCc[]**](SendSmtpEmailCc.md) | Email addresses and names of the recipients in cc | [optional] +**sender** | [**\SendinBlue\Client\Model\SendSmtpEmailSender**](SendSmtpEmailSender.md) | | [optional] +**to** | [**\SendinBlue\Client\Model\SendSmtpEmailTo[]**](SendSmtpEmailTo.md) | Email addresses and names of the recipients | +**bcc** | [**\SendinBlue\Client\Model\SendSmtpEmailBcc[]**](SendSmtpEmailBcc.md) | Email addresses and names of the recipients in bcc | [optional] +**cc** | [**\SendinBlue\Client\Model\SendSmtpEmailCc[]**](SendSmtpEmailCc.md) | Email addresses and names of the recipients in cc | [optional] **htmlContent** | **string** | HTML body of the message | **textContent** | **string** | Plain Text body of the message | [optional] **subject** | **string** | Subject of the message | -**replyTo** | [**\Sendinblue\Client\Model\SendSmtpEmailReplyTo**](SendSmtpEmailReplyTo.md) | | [optional] -**attachment** | [**\Sendinblue\Client\Model\SendSmtpEmailAttachment[]**](SendSmtpEmailAttachment.md) | Pass the absolute URL (no local file) or the base64 content of the attachment. Name can be used in both cases to define the attachment name. It is mandatory in case of content. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez | [optional] +**replyTo** | [**\SendinBlue\Client\Model\SendSmtpEmailReplyTo**](SendSmtpEmailReplyTo.md) | | [optional] +**attachment** | [**\SendinBlue\Client\Model\SendSmtpEmailAttachment[]**](SendSmtpEmailAttachment.md) | Pass the absolute URL (no local file) or the base64 content of the attachment. Name can be used in both cases to define the attachment name. It is mandatory in case of content. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez | [optional] **headers** | **map[string,string]** | | [optional] [[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/UpdateEmailCampaign.md b/docs/Model/UpdateEmailCampaign.md index 5979d3aa..f9e59d34 100644 --- a/docs/Model/UpdateEmailCampaign.md +++ b/docs/Model/UpdateEmailCampaign.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **tag** | **string** | Tag of the campaign | [optional] -**sender** | [**\Sendinblue\Client\Model\UpdateEmailCampaignSender**](UpdateEmailCampaignSender.md) | | [optional] +**sender** | [**\SendinBlue\Client\Model\UpdateEmailCampaignSender**](UpdateEmailCampaignSender.md) | | [optional] **name** | **string** | Name of the campaign | [optional] **htmlContent** | **string** | Body of the message (HTML version). REQUIRED if htmlUrl is empty | [optional] **htmlUrl** | **string** | Url which contents the body of the email message. REQUIRED if htmlContent is empty | [optional] @@ -12,7 +12,7 @@ Name | Type | Description | Notes **subject** | **string** | Subject of the campaign | [optional] **replyTo** | **string** | Email on which campaign recipients will be able to reply to | [optional] **toField** | **string** | This is to personalize the «To» Field. If you want to include the first name and last name of your recipient, add [FNAME] [LNAME]. To use the contact attributes here, these must already exist in SendinBlue account | [optional] -**recipients** | [**\Sendinblue\Client\Model\UpdateEmailCampaignRecipients**](UpdateEmailCampaignRecipients.md) | | [optional] +**recipients** | [**\SendinBlue\Client\Model\UpdateEmailCampaignRecipients**](UpdateEmailCampaignRecipients.md) | | [optional] **attachmentUrl** | **string** | Absolute url of the attachment. Url not allowed from local machine. File must be hosted somewhere.Possilbe extension values are xlsx, xls, ods, docx, docm, doc, csv, pdf, txt, gif, jpg, jpeg, png, tif, tiff and rtf | [optional] **inlineImageActivation** | **bool** | Status of inline image. inlineImageActivation = false means image can’t be embedded, & inlineImageActivation = true means image can be embedded, in the email. You cannot send a campaign of more than 4MB with images embedded in the email. Campaigns with the images embedded in the email must be sent to less than 5000 contacts. | [optional] [default to false] **mirrorActive** | **bool** | Status of mirror links in campaign. mirrorActive = false means mirror links are deactivated, & mirrorActive = true means mirror links are activated, in the campaign | [optional] diff --git a/docs/Model/UpdateSender.md b/docs/Model/UpdateSender.md index 58152bba..16226de5 100644 --- a/docs/Model/UpdateSender.md +++ b/docs/Model/UpdateSender.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | From Name to update the sender | [optional] **email** | **string** | From Email to update the sender | [optional] -**ips** | [**\Sendinblue\Client\Model\CreateSenderIps[]**](CreateSenderIps.md) | Only in case of dedicated IP, IPs to associate to the sender. If passed, will replace all the existing IPs. | [optional] +**ips** | [**\SendinBlue\Client\Model\CreateSenderIps[]**](CreateSenderIps.md) | Only in case of dedicated IP, IPs to associate to the sender. If passed, will replace all the existing IPs. | [optional] [[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/UpdateSmsCampaign.md b/docs/Model/UpdateSmsCampaign.md index 2897c1ef..c8555df7 100644 --- a/docs/Model/UpdateSmsCampaign.md +++ b/docs/Model/UpdateSmsCampaign.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **name** | **string** | Name of the campaign | [optional] **sender** | **string** | Name of the sender. The number of characters is limited to 11 | [optional] **content** | **string** | Content of the message. The maximum characters used per SMS is 160, if used more than that, it will be counted as more than one SMS | [optional] -**recipients** | [**\Sendinblue\Client\Model\CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional] +**recipients** | [**\SendinBlue\Client\Model\CreateSmsCampaignRecipients**](CreateSmsCampaignRecipients.md) | | [optional] **scheduledAt** | **string** | Date and time on which the campaign has to run (YYYY-MM-DD HH:mm:ss) | [optional] [[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/UpdateSmtpTemplate.md b/docs/Model/UpdateSmtpTemplate.md index 5e53b1b8..eebed094 100644 --- a/docs/Model/UpdateSmtpTemplate.md +++ b/docs/Model/UpdateSmtpTemplate.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **tag** | **string** | Tag of the template | [optional] -**sender** | [**\Sendinblue\Client\Model\UpdateSmtpTemplateSender**](UpdateSmtpTemplateSender.md) | | [optional] +**sender** | [**\SendinBlue\Client\Model\UpdateSmtpTemplateSender**](UpdateSmtpTemplateSender.md) | | [optional] **templateName** | **string** | Name of the template | [optional] **htmlContent** | **string** | Required if htmlUrl is empty. Body of the message (HTML must have more than 10 characters) | [optional] **htmlUrl** | **string** | Required if htmlContent is empty. URL to the body of the email (HTML) | [optional] diff --git a/lib/Api/AccountApi.php b/lib/Api/AccountApi.php index 0a862e92..28fe8bb5 100644 --- a/lib/Api/AccountApi.php +++ b/lib/Api/AccountApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * AccountApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class AccountApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return AccountApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,8 +92,8 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * * Get your account informations, plans and credits details * - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetAccount + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetAccount */ public function getAccount() { @@ -106,8 +106,8 @@ public function getAccount() * * Get your account informations, plans and credits details * - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetAccount, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetAccount, HTTP status code, HTTP response headers (array of strings) */ public function getAccountWithHttpInfo() { @@ -143,15 +143,15 @@ public function getAccountWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetAccount', + '\SendinBlue\Client\Model\GetAccount', '/account' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetAccount', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetAccount', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetAccount', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetAccount', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/AttributesApi.php b/lib/Api/AttributesApi.php index d45759be..ea13f0be 100644 --- a/lib/Api/AttributesApi.php +++ b/lib/Api/AttributesApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * AttributesApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class AttributesApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return AttributesApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * * Creates contact attributes * - * @param \Sendinblue\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateModel + * @param \SendinBlue\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateModel */ public function createAttribute($createAttribute) { @@ -107,9 +107,9 @@ public function createAttribute($createAttribute) * * Creates contact attributes * - * @param \Sendinblue\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createAttributeWithHttpInfo($createAttribute) { @@ -154,19 +154,19 @@ public function createAttributeWithHttpInfo($createAttribute) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateModel', + '\SendinBlue\Client\Model\CreateModel', '/contacts/attributes' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -181,7 +181,7 @@ public function createAttributeWithHttpInfo($createAttribute) * Deletes an attribute * * @param string $attributeId id of the attribute (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function deleteAttribute($attributeId) @@ -196,7 +196,7 @@ public function deleteAttribute($attributeId) * Deletes an attribute * * @param string $attributeId id of the attribute (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteAttributeWithHttpInfo($attributeId) @@ -253,11 +253,11 @@ public function deleteAttributeWithHttpInfo($attributeId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -271,8 +271,8 @@ public function deleteAttributeWithHttpInfo($attributeId) * * Lists all attributes * - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetAttributes + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetAttributes */ public function getAttributes() { @@ -285,8 +285,8 @@ public function getAttributes() * * Lists all attributes * - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetAttributes, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetAttributes, HTTP status code, HTTP response headers (array of strings) */ public function getAttributesWithHttpInfo() { @@ -322,15 +322,15 @@ public function getAttributesWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetAttributes', + '\SendinBlue\Client\Model\GetAttributes', '/contacts/attributes' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetAttributes', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetAttributes', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetAttributes', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetAttributes', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/ContactsApi.php b/lib/Api/ContactsApi.php index 591f2679..17e97891 100644 --- a/lib/Api/ContactsApi.php +++ b/lib/Api/ContactsApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * ContactsApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class ContactsApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return ContactsApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -93,9 +93,9 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * Add existing contacts to a list * * @param string $listId Id of the list (required) - * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\PostContactInfo + * @param \SendinBlue\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\PostContactInfo */ public function addContactToList($listId, $contactEmails) { @@ -109,9 +109,9 @@ public function addContactToList($listId, $contactEmails) * Add existing contacts to a list * * @param string $listId Id of the list (required) - * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) */ public function addContactToListWithHttpInfo($listId, $contactEmails) { @@ -168,23 +168,23 @@ public function addContactToListWithHttpInfo($listId, $contactEmails) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\PostContactInfo', + '\SendinBlue\Client\Model\PostContactInfo', '/contacts/lists/{listId}/contacts/add' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostContactInfo', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\PostContactInfo', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -198,9 +198,9 @@ public function addContactToListWithHttpInfo($listId, $contactEmails) * * Creates contact attributes * - * @param \Sendinblue\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateModel + * @param \SendinBlue\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateModel */ public function createAttribute($createAttribute) { @@ -213,9 +213,9 @@ public function createAttribute($createAttribute) * * Creates contact attributes * - * @param \Sendinblue\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreateAttribute $createAttribute Values to create an attribute (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createAttributeWithHttpInfo($createAttribute) { @@ -260,19 +260,19 @@ public function createAttributeWithHttpInfo($createAttribute) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateModel', + '\SendinBlue\Client\Model\CreateModel', '/contacts/attributes' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -286,9 +286,9 @@ public function createAttributeWithHttpInfo($createAttribute) * * Create a contact * - * @param \Sendinblue\Client\Model\CreateContact $createContact Values to create a contact (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateModel + * @param \SendinBlue\Client\Model\CreateContact $createContact Values to create a contact (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateModel */ public function createContact($createContact) { @@ -301,9 +301,9 @@ public function createContact($createContact) * * Create a contact * - * @param \Sendinblue\Client\Model\CreateContact $createContact Values to create a contact (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreateContact $createContact Values to create a contact (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createContactWithHttpInfo($createContact) { @@ -348,19 +348,19 @@ public function createContactWithHttpInfo($createContact) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateModel', + '\SendinBlue\Client\Model\CreateModel', '/contacts' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -374,9 +374,9 @@ public function createContactWithHttpInfo($createContact) * * Create a folder * - * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateModel + * @param \SendinBlue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateModel */ public function createFolder($name) { @@ -389,9 +389,9 @@ public function createFolder($name) * * Create a folder * - * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createFolderWithHttpInfo($name) { @@ -436,19 +436,19 @@ public function createFolderWithHttpInfo($name) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateModel', + '\SendinBlue\Client\Model\CreateModel', '/contacts/folders' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -462,9 +462,9 @@ public function createFolderWithHttpInfo($name) * * Create a list * - * @param \Sendinblue\Client\Model\CreateList $createList Values to create a list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateModel + * @param \SendinBlue\Client\Model\CreateList $createList Values to create a list (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateModel */ public function createList($createList) { @@ -477,9 +477,9 @@ public function createList($createList) * * Create a list * - * @param \Sendinblue\Client\Model\CreateList $createList Values to create a list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreateList $createList Values to create a list (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createListWithHttpInfo($createList) { @@ -524,19 +524,19 @@ public function createListWithHttpInfo($createList) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateModel', + '\SendinBlue\Client\Model\CreateModel', '/contacts/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -551,7 +551,7 @@ public function createListWithHttpInfo($createList) * Deletes an attribute * * @param string $attributeId id of the attribute (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function deleteAttribute($attributeId) @@ -566,7 +566,7 @@ public function deleteAttribute($attributeId) * Deletes an attribute * * @param string $attributeId id of the attribute (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteAttributeWithHttpInfo($attributeId) @@ -623,11 +623,11 @@ public function deleteAttributeWithHttpInfo($attributeId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -642,7 +642,7 @@ public function deleteAttributeWithHttpInfo($attributeId) * Delete a folder (and all its lists) * * @param string $folderId Id of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function deleteFolder($folderId) @@ -657,7 +657,7 @@ public function deleteFolder($folderId) * Delete a folder (and all its lists) * * @param string $folderId Id of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteFolderWithHttpInfo($folderId) @@ -714,11 +714,11 @@ public function deleteFolderWithHttpInfo($folderId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -733,7 +733,7 @@ public function deleteFolderWithHttpInfo($folderId) * Delete a list * * @param string $listId Id of the list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function deleteList($listId) @@ -748,7 +748,7 @@ public function deleteList($listId) * Delete a list * * @param string $listId Id of the list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteListWithHttpInfo($listId) @@ -805,11 +805,11 @@ public function deleteListWithHttpInfo($listId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -823,8 +823,8 @@ public function deleteListWithHttpInfo($listId) * * Lists all attributes * - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetAttributes + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetAttributes */ public function getAttributes() { @@ -837,8 +837,8 @@ public function getAttributes() * * Lists all attributes * - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetAttributes, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetAttributes, HTTP status code, HTTP response headers (array of strings) */ public function getAttributesWithHttpInfo() { @@ -874,15 +874,15 @@ public function getAttributesWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetAttributes', + '\SendinBlue\Client\Model\GetAttributes', '/contacts/attributes' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetAttributes', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetAttributes', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetAttributes', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetAttributes', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -897,8 +897,8 @@ public function getAttributesWithHttpInfo() * Retrieves contact informations * * @param string $email Email (urlencoded) of the contact (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetExtendedContactDetails + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetExtendedContactDetails */ public function getContactInfo($email) { @@ -912,8 +912,8 @@ public function getContactInfo($email) * Retrieves contact informations * * @param string $email Email (urlencoded) of the contact (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetExtendedContactDetails, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetExtendedContactDetails, HTTP status code, HTTP response headers (array of strings) */ public function getContactInfoWithHttpInfo($email) { @@ -961,23 +961,23 @@ public function getContactInfoWithHttpInfo($email) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetExtendedContactDetails', + '\SendinBlue\Client\Model\GetExtendedContactDetails', '/contacts/{email}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetExtendedContactDetails', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetExtendedContactDetails', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetExtendedContactDetails', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetExtendedContactDetails', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -992,8 +992,8 @@ public function getContactInfoWithHttpInfo($email) * Get the campaigns statistics for a contact * * @param string $email Email address (urlencoded) of the contact (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetContactCampaignStats + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetContactCampaignStats */ public function getContactStats($email) { @@ -1007,8 +1007,8 @@ public function getContactStats($email) * Get the campaigns statistics for a contact * * @param string $email Email address (urlencoded) of the contact (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetContactCampaignStats, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetContactCampaignStats, HTTP status code, HTTP response headers (array of strings) */ public function getContactStatsWithHttpInfo($email) { @@ -1056,23 +1056,23 @@ public function getContactStatsWithHttpInfo($email) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetContactCampaignStats', + '\SendinBlue\Client\Model\GetContactCampaignStats', '/contacts/{email}/campaignStats' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetContactCampaignStats', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetContactCampaignStats', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetContactCampaignStats', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetContactCampaignStats', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1088,8 +1088,8 @@ public function getContactStatsWithHttpInfo($email) * * @param int $limit Number of documents per page (optional, default to 50) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetContacts + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetContacts */ public function getContacts($limit = '50', $offset = '0') { @@ -1104,8 +1104,8 @@ public function getContacts($limit = '50', $offset = '0') * * @param int $limit Number of documents per page (optional, default to 50) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetContacts, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetContacts, HTTP status code, HTTP response headers (array of strings) */ public function getContactsWithHttpInfo($limit = '50', $offset = '0') { @@ -1153,19 +1153,19 @@ public function getContactsWithHttpInfo($limit = '50', $offset = '0') $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetContacts', + '\SendinBlue\Client\Model\GetContacts', '/contacts' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetContacts', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetContacts', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetContacts', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetContacts', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1183,8 +1183,8 @@ public function getContactsWithHttpInfo($limit = '50', $offset = '0') * @param string $modifiedSince Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) (optional) * @param int $limit Number of documents per page (optional, default to 50) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetContacts + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetContacts */ public function getContactsFromList($listId, $modifiedSince = null, $limit = '50', $offset = '0') { @@ -1201,8 +1201,8 @@ public function getContactsFromList($listId, $modifiedSince = null, $limit = '50 * @param string $modifiedSince Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) (optional) * @param int $limit Number of documents per page (optional, default to 50) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetContacts, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetContacts, HTTP status code, HTTP response headers (array of strings) */ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, $limit = '50', $offset = '0') { @@ -1270,23 +1270,23 @@ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetContacts', + '\SendinBlue\Client\Model\GetContacts', '/contacts/lists/{listId}/contacts' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetContacts', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetContacts', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetContacts', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetContacts', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1301,8 +1301,8 @@ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, * Returns folder details * * @param string $folderId id of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetFolder + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetFolder */ public function getFolder($folderId) { @@ -1316,8 +1316,8 @@ public function getFolder($folderId) * Returns folder details * * @param string $folderId id of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetFolder, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetFolder, HTTP status code, HTTP response headers (array of strings) */ public function getFolderWithHttpInfo($folderId) { @@ -1365,23 +1365,23 @@ public function getFolderWithHttpInfo($folderId) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetFolder', + '\SendinBlue\Client\Model\GetFolder', '/contacts/folders/{folderId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolder', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetFolder', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolder', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetFolder', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1398,8 +1398,8 @@ public function getFolderWithHttpInfo($folderId) * @param string $folderId Id of the folder (required) * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetFolderLists + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetFolderLists */ public function getFolderLists($folderId, $limit = '10', $offset = '0') { @@ -1415,8 +1415,8 @@ public function getFolderLists($folderId, $limit = '10', $offset = '0') * @param string $folderId Id of the folder (required) * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetFolderLists, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetFolderLists, HTTP status code, HTTP response headers (array of strings) */ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = '0') { @@ -1476,23 +1476,23 @@ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = ' $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetFolderLists', + '\SendinBlue\Client\Model\GetFolderLists', '/contacts/folders/{folderId}/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolderLists', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetFolderLists', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolderLists', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetFolderLists', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1508,8 +1508,8 @@ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = ' * * @param int $limit Number of documents per page (required) * @param int $offset Index of the first document of the page (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetFolders + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetFolders */ public function getFolders($limit, $offset) { @@ -1524,8 +1524,8 @@ public function getFolders($limit, $offset) * * @param int $limit Number of documents per page (required) * @param int $offset Index of the first document of the page (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetFolders, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetFolders, HTTP status code, HTTP response headers (array of strings) */ public function getFoldersWithHttpInfo($limit, $offset) { @@ -1581,19 +1581,19 @@ public function getFoldersWithHttpInfo($limit, $offset) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetFolders', + '\SendinBlue\Client\Model\GetFolders', '/contacts/folders' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolders', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetFolders', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolders', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetFolders', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1608,8 +1608,8 @@ public function getFoldersWithHttpInfo($limit, $offset) * Get the details of a list * * @param string $listId Id of the list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetExtendedList + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetExtendedList */ public function getList($listId) { @@ -1623,8 +1623,8 @@ public function getList($listId) * Get the details of a list * * @param string $listId Id of the list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetExtendedList, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetExtendedList, HTTP status code, HTTP response headers (array of strings) */ public function getListWithHttpInfo($listId) { @@ -1672,23 +1672,23 @@ public function getListWithHttpInfo($listId) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetExtendedList', + '\SendinBlue\Client\Model\GetExtendedList', '/contacts/lists/{listId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetExtendedList', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetExtendedList', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetExtendedList', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetExtendedList', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1704,8 +1704,8 @@ public function getListWithHttpInfo($listId) * * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetLists + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetLists */ public function getLists($limit = '10', $offset = '0') { @@ -1720,8 +1720,8 @@ public function getLists($limit = '10', $offset = '0') * * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetLists, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetLists, HTTP status code, HTTP response headers (array of strings) */ public function getListsWithHttpInfo($limit = '10', $offset = '0') { @@ -1769,19 +1769,19 @@ public function getListsWithHttpInfo($limit = '10', $offset = '0') $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetLists', + '\SendinBlue\Client\Model\GetLists', '/contacts/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetLists', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetLists', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetLists', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetLists', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1795,9 +1795,9 @@ public function getListsWithHttpInfo($limit = '10', $offset = '0') * * Import contacts * - * @param \Sendinblue\Client\Model\RequestContactImport $requestContactImport Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreatedProcessId + * @param \SendinBlue\Client\Model\RequestContactImport $requestContactImport Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreatedProcessId */ public function importContacts($requestContactImport) { @@ -1810,9 +1810,9 @@ public function importContacts($requestContactImport) * * Import contacts * - * @param \Sendinblue\Client\Model\RequestContactImport $requestContactImport Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\RequestContactImport $requestContactImport Values to import contacts in Sendinblue. To know more about the expected format, please have a look at ``https://help.sendinblue.com/hc/en-us/articles/209499265-Build-contacts-lists-for-your-email-marketing-campaigns`` (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) */ public function importContactsWithHttpInfo($requestContactImport) { @@ -1857,19 +1857,19 @@ public function importContactsWithHttpInfo($requestContactImport) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreatedProcessId', + '\SendinBlue\Client\Model\CreatedProcessId', '/contacts/import' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 202: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreatedProcessId', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreatedProcessId', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1884,9 +1884,9 @@ public function importContactsWithHttpInfo($requestContactImport) * Remove existing contacts from a list * * @param string $listId Id of the list (required) - * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\PostContactInfo + * @param \SendinBlue\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\PostContactInfo */ public function removeContactToList($listId, $contactEmails) { @@ -1900,9 +1900,9 @@ public function removeContactToList($listId, $contactEmails) * Remove existing contacts from a list * * @param string $listId Id of the list (required) - * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) */ public function removeContactToListWithHttpInfo($listId, $contactEmails) { @@ -1959,23 +1959,23 @@ public function removeContactToListWithHttpInfo($listId, $contactEmails) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\PostContactInfo', + '\SendinBlue\Client\Model\PostContactInfo', '/contacts/lists/{listId}/contacts/remove' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostContactInfo', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\PostContactInfo', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1989,9 +1989,9 @@ public function removeContactToListWithHttpInfo($listId, $contactEmails) * * Export contacts * - * @param \Sendinblue\Client\Model\RequestContactExport $requestContactExport Values to request a contact export (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreatedProcessId + * @param \SendinBlue\Client\Model\RequestContactExport $requestContactExport Values to request a contact export (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreatedProcessId */ public function requestContactExport($requestContactExport) { @@ -2004,9 +2004,9 @@ public function requestContactExport($requestContactExport) * * Export contacts * - * @param \Sendinblue\Client\Model\RequestContactExport $requestContactExport Values to request a contact export (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\RequestContactExport $requestContactExport Values to request a contact export (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) */ public function requestContactExportWithHttpInfo($requestContactExport) { @@ -2051,19 +2051,19 @@ public function requestContactExportWithHttpInfo($requestContactExport) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreatedProcessId', + '\SendinBlue\Client\Model\CreatedProcessId', '/contacts/export' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 202: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreatedProcessId', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreatedProcessId', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -2078,8 +2078,8 @@ public function requestContactExportWithHttpInfo($requestContactExport) * Updates a contact * * @param string $email Email (urlencoded) of the contact (required) - * @param \Sendinblue\Client\Model\UpdateContact $updateContact Values to update a contact (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateContact $updateContact Values to update a contact (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateContact($email, $updateContact) @@ -2094,8 +2094,8 @@ public function updateContact($email, $updateContact) * Updates a contact * * @param string $email Email (urlencoded) of the contact (required) - * @param \Sendinblue\Client\Model\UpdateContact $updateContact Values to update a contact (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateContact $updateContact Values to update a contact (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateContactWithHttpInfo($email, $updateContact) @@ -2161,11 +2161,11 @@ public function updateContactWithHttpInfo($email, $updateContact) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -2180,8 +2180,8 @@ public function updateContactWithHttpInfo($email, $updateContact) * Update a contact folder * * @param string $folderId Id of the folder (required) - * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateFolder($folderId, $name) @@ -2196,8 +2196,8 @@ public function updateFolder($folderId, $name) * Update a contact folder * * @param string $folderId Id of the folder (required) - * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateFolderWithHttpInfo($folderId, $name) @@ -2263,11 +2263,11 @@ public function updateFolderWithHttpInfo($folderId, $name) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -2282,8 +2282,8 @@ public function updateFolderWithHttpInfo($folderId, $name) * Update a list * * @param string $listId Id of the list (required) - * @param \Sendinblue\Client\Model\UpdateList $updateList Values to update a list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateList $updateList Values to update a list (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateList($listId, $updateList) @@ -2298,8 +2298,8 @@ public function updateList($listId, $updateList) * Update a list * * @param string $listId Id of the list (required) - * @param \Sendinblue\Client\Model\UpdateList $updateList Values to update a list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateList $updateList Values to update a list (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateListWithHttpInfo($listId, $updateList) @@ -2365,11 +2365,11 @@ public function updateListWithHttpInfo($listId, $updateList) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/EmailCampaignsApi.php b/lib/Api/EmailCampaignsApi.php index e0fc3afa..3c026f63 100644 --- a/lib/Api/EmailCampaignsApi.php +++ b/lib/Api/EmailCampaignsApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * EmailCampaignsApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class EmailCampaignsApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return EmailCampaignsApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * * Create an email campaign * - * @param \Sendinblue\Client\Model\CreateEmailCampaign $emailCampaigns Values to create a campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateModel + * @param \SendinBlue\Client\Model\CreateEmailCampaign $emailCampaigns Values to create a campaign (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateModel */ public function createEmailCampaign($emailCampaigns) { @@ -107,9 +107,9 @@ public function createEmailCampaign($emailCampaigns) * * Create an email campaign * - * @param \Sendinblue\Client\Model\CreateEmailCampaign $emailCampaigns Values to create a campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreateEmailCampaign $emailCampaigns Values to create a campaign (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createEmailCampaignWithHttpInfo($emailCampaigns) { @@ -154,19 +154,19 @@ public function createEmailCampaignWithHttpInfo($emailCampaigns) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateModel', + '\SendinBlue\Client\Model\CreateModel', '/emailCampaigns' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -181,7 +181,7 @@ public function createEmailCampaignWithHttpInfo($emailCampaigns) * Delete an email campaign * * @param string $campaignId id of the campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function deleteEmailCampaigns($campaignId) @@ -196,7 +196,7 @@ public function deleteEmailCampaigns($campaignId) * Delete an email campaign * * @param string $campaignId id of the campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteEmailCampaignsWithHttpInfo($campaignId) @@ -253,11 +253,11 @@ public function deleteEmailCampaignsWithHttpInfo($campaignId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -272,9 +272,9 @@ public function deleteEmailCampaignsWithHttpInfo($campaignId) * Export the recipients of a campaign * * @param string $campaignId Id of the campaign (required) - * @param \Sendinblue\Client\Model\EmailExportRecipients $recipientExport Values to send for a recipient export request (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreatedProcessId + * @param \SendinBlue\Client\Model\EmailExportRecipients $recipientExport Values to send for a recipient export request (optional) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreatedProcessId */ public function emailExportRecipients($campaignId, $recipientExport = null) { @@ -288,9 +288,9 @@ public function emailExportRecipients($campaignId, $recipientExport = null) * Export the recipients of a campaign * * @param string $campaignId Id of the campaign (required) - * @param \Sendinblue\Client\Model\EmailExportRecipients $recipientExport Values to send for a recipient export request (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\EmailExportRecipients $recipientExport Values to send for a recipient export request (optional) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) */ public function emailExportRecipientsWithHttpInfo($campaignId, $recipientExport = null) { @@ -343,23 +343,23 @@ public function emailExportRecipientsWithHttpInfo($campaignId, $recipientExport $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreatedProcessId', + '\SendinBlue\Client\Model\CreatedProcessId', '/emailCampaigns/{campaignId}/exportRecipients' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 202: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreatedProcessId', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreatedProcessId', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -374,8 +374,8 @@ public function emailExportRecipientsWithHttpInfo($campaignId, $recipientExport * Get campaign informations * * @param string $campaignId Id of the campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetEmailCampaign + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetEmailCampaign */ public function getEmailCampaign($campaignId) { @@ -389,8 +389,8 @@ public function getEmailCampaign($campaignId) * Get campaign informations * * @param string $campaignId Id of the campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetEmailCampaign, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetEmailCampaign, HTTP status code, HTTP response headers (array of strings) */ public function getEmailCampaignWithHttpInfo($campaignId) { @@ -438,23 +438,23 @@ public function getEmailCampaignWithHttpInfo($campaignId) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetEmailCampaign', + '\SendinBlue\Client\Model\GetEmailCampaign', '/emailCampaigns/{campaignId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetEmailCampaign', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetEmailCampaign', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetEmailCampaign', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetEmailCampaign', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -472,8 +472,8 @@ public function getEmailCampaignWithHttpInfo($campaignId) * @param string $status Filter on the status of the campaign (optional) * @param int $limit Number of documents per page (optional, default to 500) * @param int $offset Index of the first document in the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetEmailCampaigns + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetEmailCampaigns */ public function getEmailCampaigns($type = null, $status = null, $limit = '500', $offset = '0') { @@ -490,8 +490,8 @@ public function getEmailCampaigns($type = null, $status = null, $limit = '500', * @param string $status Filter on the status of the campaign (optional) * @param int $limit Number of documents per page (optional, default to 500) * @param int $offset Index of the first document in the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetEmailCampaigns, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetEmailCampaigns, HTTP status code, HTTP response headers (array of strings) */ public function getEmailCampaignsWithHttpInfo($type = null, $status = null, $limit = '500', $offset = '0') { @@ -547,19 +547,19 @@ public function getEmailCampaignsWithHttpInfo($type = null, $status = null, $lim $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetEmailCampaigns', + '\SendinBlue\Client\Model\GetEmailCampaigns', '/emailCampaigns' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetEmailCampaigns', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetEmailCampaigns', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetEmailCampaigns', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetEmailCampaigns', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -574,7 +574,7 @@ public function getEmailCampaignsWithHttpInfo($type = null, $status = null, $lim * Send an email campaign id of the campaign immediately * * @param string $campaignId Id of the campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function sendEmailCampaignNow($campaignId) @@ -589,7 +589,7 @@ public function sendEmailCampaignNow($campaignId) * Send an email campaign id of the campaign immediately * * @param string $campaignId Id of the campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendEmailCampaignNowWithHttpInfo($campaignId) @@ -646,15 +646,15 @@ public function sendEmailCampaignNowWithHttpInfo($campaignId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 402: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -669,8 +669,8 @@ public function sendEmailCampaignNowWithHttpInfo($campaignId) * Send the report of a campaigns * * @param string $campaignId Id of the campaign (required) - * @param \Sendinblue\Client\Model\SendReport $sendReport Values for send a report (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\SendReport $sendReport Values for send a report (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function sendReport($campaignId, $sendReport) @@ -685,8 +685,8 @@ public function sendReport($campaignId, $sendReport) * Send the report of a campaigns * * @param string $campaignId Id of the campaign (required) - * @param \Sendinblue\Client\Model\SendReport $sendReport Values for send a report (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\SendReport $sendReport Values for send a report (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendReportWithHttpInfo($campaignId, $sendReport) @@ -752,11 +752,11 @@ public function sendReportWithHttpInfo($campaignId, $sendReport) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -771,8 +771,8 @@ public function sendReportWithHttpInfo($campaignId, $sendReport) * Send an email campaign to your test list * * @param string $campaignId Id of the campaign (required) - * @param \Sendinblue\Client\Model\SendTestEmail $emailTo (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\SendTestEmail $emailTo (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function sendTestEmail($campaignId, $emailTo) @@ -787,8 +787,8 @@ public function sendTestEmail($campaignId, $emailTo) * Send an email campaign to your test list * * @param string $campaignId Id of the campaign (required) - * @param \Sendinblue\Client\Model\SendTestEmail $emailTo (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\SendTestEmail $emailTo (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendTestEmailWithHttpInfo($campaignId, $emailTo) @@ -854,11 +854,11 @@ public function sendTestEmailWithHttpInfo($campaignId, $emailTo) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostSendFailed', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\PostSendFailed', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -873,8 +873,8 @@ public function sendTestEmailWithHttpInfo($campaignId, $emailTo) * Update a campaign status * * @param string $campaignId Id of the campaign (required) - * @param \Sendinblue\Client\Model\UpdateCampaignStatus $status Status of the campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateCampaignStatus $status Status of the campaign (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateCampaignStatus($campaignId, $status) @@ -889,8 +889,8 @@ public function updateCampaignStatus($campaignId, $status) * Update a campaign status * * @param string $campaignId Id of the campaign (required) - * @param \Sendinblue\Client\Model\UpdateCampaignStatus $status Status of the campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateCampaignStatus $status Status of the campaign (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateCampaignStatusWithHttpInfo($campaignId, $status) @@ -956,11 +956,11 @@ public function updateCampaignStatusWithHttpInfo($campaignId, $status) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -975,8 +975,8 @@ public function updateCampaignStatusWithHttpInfo($campaignId, $status) * Update a campaign * * @param string $campaignId Id of the campaign (required) - * @param \Sendinblue\Client\Model\UpdateEmailCampaign $emailCampaign Values to update a campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateEmailCampaign $emailCampaign Values to update a campaign (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateEmailCampaigns($campaignId, $emailCampaign) @@ -991,8 +991,8 @@ public function updateEmailCampaigns($campaignId, $emailCampaign) * Update a campaign * * @param string $campaignId Id of the campaign (required) - * @param \Sendinblue\Client\Model\UpdateEmailCampaign $emailCampaign Values to update a campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateEmailCampaign $emailCampaign Values to update a campaign (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateEmailCampaignsWithHttpInfo($campaignId, $emailCampaign) @@ -1058,11 +1058,11 @@ public function updateEmailCampaignsWithHttpInfo($campaignId, $emailCampaign) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/FoldersApi.php b/lib/Api/FoldersApi.php index 6069fe5a..832a4e3c 100644 --- a/lib/Api/FoldersApi.php +++ b/lib/Api/FoldersApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * FoldersApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class FoldersApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return FoldersApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * * Create a folder * - * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateModel + * @param \SendinBlue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateModel */ public function createFolder($name) { @@ -107,9 +107,9 @@ public function createFolder($name) * * Create a folder * - * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createFolderWithHttpInfo($name) { @@ -154,19 +154,19 @@ public function createFolderWithHttpInfo($name) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateModel', + '\SendinBlue\Client\Model\CreateModel', '/contacts/folders' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -181,7 +181,7 @@ public function createFolderWithHttpInfo($name) * Delete a folder (and all its lists) * * @param string $folderId Id of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function deleteFolder($folderId) @@ -196,7 +196,7 @@ public function deleteFolder($folderId) * Delete a folder (and all its lists) * * @param string $folderId Id of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteFolderWithHttpInfo($folderId) @@ -253,11 +253,11 @@ public function deleteFolderWithHttpInfo($folderId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -272,8 +272,8 @@ public function deleteFolderWithHttpInfo($folderId) * Returns folder details * * @param string $folderId id of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetFolder + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetFolder */ public function getFolder($folderId) { @@ -287,8 +287,8 @@ public function getFolder($folderId) * Returns folder details * * @param string $folderId id of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetFolder, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetFolder, HTTP status code, HTTP response headers (array of strings) */ public function getFolderWithHttpInfo($folderId) { @@ -336,23 +336,23 @@ public function getFolderWithHttpInfo($folderId) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetFolder', + '\SendinBlue\Client\Model\GetFolder', '/contacts/folders/{folderId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolder', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetFolder', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolder', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetFolder', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -369,8 +369,8 @@ public function getFolderWithHttpInfo($folderId) * @param string $folderId Id of the folder (required) * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetFolderLists + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetFolderLists */ public function getFolderLists($folderId, $limit = '10', $offset = '0') { @@ -386,8 +386,8 @@ public function getFolderLists($folderId, $limit = '10', $offset = '0') * @param string $folderId Id of the folder (required) * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetFolderLists, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetFolderLists, HTTP status code, HTTP response headers (array of strings) */ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = '0') { @@ -447,23 +447,23 @@ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = ' $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetFolderLists', + '\SendinBlue\Client\Model\GetFolderLists', '/contacts/folders/{folderId}/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolderLists', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetFolderLists', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolderLists', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetFolderLists', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -479,8 +479,8 @@ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = ' * * @param int $limit Number of documents per page (required) * @param int $offset Index of the first document of the page (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetFolders + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetFolders */ public function getFolders($limit, $offset) { @@ -495,8 +495,8 @@ public function getFolders($limit, $offset) * * @param int $limit Number of documents per page (required) * @param int $offset Index of the first document of the page (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetFolders, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetFolders, HTTP status code, HTTP response headers (array of strings) */ public function getFoldersWithHttpInfo($limit, $offset) { @@ -552,19 +552,19 @@ public function getFoldersWithHttpInfo($limit, $offset) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetFolders', + '\SendinBlue\Client\Model\GetFolders', '/contacts/folders' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolders', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetFolders', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolders', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetFolders', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -579,8 +579,8 @@ public function getFoldersWithHttpInfo($limit, $offset) * Update a contact folder * * @param string $folderId Id of the folder (required) - * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateFolder($folderId, $name) @@ -595,8 +595,8 @@ public function updateFolder($folderId, $name) * Update a contact folder * * @param string $folderId Id of the folder (required) - * @param \Sendinblue\Client\Model\CreaUpdateFolder $name Name of the folder (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\CreaUpdateFolder $name Name of the folder (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateFolderWithHttpInfo($folderId, $name) @@ -662,11 +662,11 @@ public function updateFolderWithHttpInfo($folderId, $name) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/ListsApi.php b/lib/Api/ListsApi.php index 571f2d4b..dabb62ec 100644 --- a/lib/Api/ListsApi.php +++ b/lib/Api/ListsApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * ListsApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class ListsApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return ListsApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -93,9 +93,9 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * Add existing contacts to a list * * @param string $listId Id of the list (required) - * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\PostContactInfo + * @param \SendinBlue\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\PostContactInfo */ public function addContactToList($listId, $contactEmails) { @@ -109,9 +109,9 @@ public function addContactToList($listId, $contactEmails) * Add existing contacts to a list * * @param string $listId Id of the list (required) - * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\AddRemoveContactToList $contactEmails Emails addresses of the contacts (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) */ public function addContactToListWithHttpInfo($listId, $contactEmails) { @@ -168,23 +168,23 @@ public function addContactToListWithHttpInfo($listId, $contactEmails) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\PostContactInfo', + '\SendinBlue\Client\Model\PostContactInfo', '/contacts/lists/{listId}/contacts/add' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostContactInfo', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\PostContactInfo', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -198,9 +198,9 @@ public function addContactToListWithHttpInfo($listId, $contactEmails) * * Create a list * - * @param \Sendinblue\Client\Model\CreateList $createList Values to create a list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateModel + * @param \SendinBlue\Client\Model\CreateList $createList Values to create a list (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateModel */ public function createList($createList) { @@ -213,9 +213,9 @@ public function createList($createList) * * Create a list * - * @param \Sendinblue\Client\Model\CreateList $createList Values to create a list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreateList $createList Values to create a list (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createListWithHttpInfo($createList) { @@ -260,19 +260,19 @@ public function createListWithHttpInfo($createList) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateModel', + '\SendinBlue\Client\Model\CreateModel', '/contacts/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -287,7 +287,7 @@ public function createListWithHttpInfo($createList) * Delete a list * * @param string $listId Id of the list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function deleteList($listId) @@ -302,7 +302,7 @@ public function deleteList($listId) * Delete a list * * @param string $listId Id of the list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteListWithHttpInfo($listId) @@ -359,11 +359,11 @@ public function deleteListWithHttpInfo($listId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -381,8 +381,8 @@ public function deleteListWithHttpInfo($listId) * @param string $modifiedSince Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) (optional) * @param int $limit Number of documents per page (optional, default to 50) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetContacts + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetContacts */ public function getContactsFromList($listId, $modifiedSince = null, $limit = '50', $offset = '0') { @@ -399,8 +399,8 @@ public function getContactsFromList($listId, $modifiedSince = null, $limit = '50 * @param string $modifiedSince Filter the contacts modified after a given date (YYYY-MM-DD HH:mm:ss) (optional) * @param int $limit Number of documents per page (optional, default to 50) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetContacts, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetContacts, HTTP status code, HTTP response headers (array of strings) */ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, $limit = '50', $offset = '0') { @@ -468,23 +468,23 @@ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetContacts', + '\SendinBlue\Client\Model\GetContacts', '/contacts/lists/{listId}/contacts' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetContacts', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetContacts', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetContacts', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetContacts', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -501,8 +501,8 @@ public function getContactsFromListWithHttpInfo($listId, $modifiedSince = null, * @param string $folderId Id of the folder (required) * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetFolderLists + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetFolderLists */ public function getFolderLists($folderId, $limit = '10', $offset = '0') { @@ -518,8 +518,8 @@ public function getFolderLists($folderId, $limit = '10', $offset = '0') * @param string $folderId Id of the folder (required) * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetFolderLists, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetFolderLists, HTTP status code, HTTP response headers (array of strings) */ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = '0') { @@ -579,23 +579,23 @@ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = ' $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetFolderLists', + '\SendinBlue\Client\Model\GetFolderLists', '/contacts/folders/{folderId}/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetFolderLists', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetFolderLists', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetFolderLists', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetFolderLists', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -610,8 +610,8 @@ public function getFolderListsWithHttpInfo($folderId, $limit = '10', $offset = ' * Get the details of a list * * @param string $listId Id of the list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetExtendedList + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetExtendedList */ public function getList($listId) { @@ -625,8 +625,8 @@ public function getList($listId) * Get the details of a list * * @param string $listId Id of the list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetExtendedList, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetExtendedList, HTTP status code, HTTP response headers (array of strings) */ public function getListWithHttpInfo($listId) { @@ -674,23 +674,23 @@ public function getListWithHttpInfo($listId) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetExtendedList', + '\SendinBlue\Client\Model\GetExtendedList', '/contacts/lists/{listId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetExtendedList', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetExtendedList', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetExtendedList', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetExtendedList', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -706,8 +706,8 @@ public function getListWithHttpInfo($listId) * * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetLists + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetLists */ public function getLists($limit = '10', $offset = '0') { @@ -722,8 +722,8 @@ public function getLists($limit = '10', $offset = '0') * * @param int $limit Number of documents per page (optional, default to 10) * @param int $offset Index of the first document of the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetLists, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetLists, HTTP status code, HTTP response headers (array of strings) */ public function getListsWithHttpInfo($limit = '10', $offset = '0') { @@ -771,19 +771,19 @@ public function getListsWithHttpInfo($limit = '10', $offset = '0') $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetLists', + '\SendinBlue\Client\Model\GetLists', '/contacts/lists' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetLists', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetLists', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetLists', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetLists', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -798,9 +798,9 @@ public function getListsWithHttpInfo($limit = '10', $offset = '0') * Remove existing contacts from a list * * @param string $listId Id of the list (required) - * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\PostContactInfo + * @param \SendinBlue\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\PostContactInfo */ public function removeContactToList($listId, $contactEmails) { @@ -814,9 +814,9 @@ public function removeContactToList($listId, $contactEmails) * Remove existing contacts from a list * * @param string $listId Id of the list (required) - * @param \Sendinblue\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\AddRemoveContactToList $contactEmails Emails adresses of the contact (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\PostContactInfo, HTTP status code, HTTP response headers (array of strings) */ public function removeContactToListWithHttpInfo($listId, $contactEmails) { @@ -873,23 +873,23 @@ public function removeContactToListWithHttpInfo($listId, $contactEmails) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\PostContactInfo', + '\SendinBlue\Client\Model\PostContactInfo', '/contacts/lists/{listId}/contacts/remove' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\PostContactInfo', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostContactInfo', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\PostContactInfo', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -904,8 +904,8 @@ public function removeContactToListWithHttpInfo($listId, $contactEmails) * Update a list * * @param string $listId Id of the list (required) - * @param \Sendinblue\Client\Model\UpdateList $updateList Values to update a list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateList $updateList Values to update a list (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateList($listId, $updateList) @@ -920,8 +920,8 @@ public function updateList($listId, $updateList) * Update a list * * @param string $listId Id of the list (required) - * @param \Sendinblue\Client\Model\UpdateList $updateList Values to update a list (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateList $updateList Values to update a list (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateListWithHttpInfo($listId, $updateList) @@ -987,11 +987,11 @@ public function updateListWithHttpInfo($listId, $updateList) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/ProcessApi.php b/lib/Api/ProcessApi.php index 256827df..219cab9b 100644 --- a/lib/Api/ProcessApi.php +++ b/lib/Api/ProcessApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * ProcessApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class ProcessApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return ProcessApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -93,8 +93,8 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * Return the informations for a process * * @param string $processId Id of the process (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetProcess + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetProcess */ public function getProcess($processId) { @@ -108,8 +108,8 @@ public function getProcess($processId) * Return the informations for a process * * @param string $processId Id of the process (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetProcess, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetProcess, HTTP status code, HTTP response headers (array of strings) */ public function getProcessWithHttpInfo($processId) { @@ -157,23 +157,23 @@ public function getProcessWithHttpInfo($processId) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetProcess', + '\SendinBlue\Client\Model\GetProcess', '/processes/{processId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetProcess', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetProcess', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetProcess', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetProcess', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -189,8 +189,8 @@ public function getProcessWithHttpInfo($processId) * * @param int $limit Number limitation for the result returned (optional, default to 10) * @param int $offset Beginning point in the list to retrieve from. (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetProcesses + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetProcesses */ public function getProcesses($limit = '10', $offset = '0') { @@ -205,8 +205,8 @@ public function getProcesses($limit = '10', $offset = '0') * * @param int $limit Number limitation for the result returned (optional, default to 10) * @param int $offset Beginning point in the list to retrieve from. (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetProcesses, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetProcesses, HTTP status code, HTTP response headers (array of strings) */ public function getProcessesWithHttpInfo($limit = '10', $offset = '0') { @@ -254,19 +254,19 @@ public function getProcessesWithHttpInfo($limit = '10', $offset = '0') $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetProcesses', + '\SendinBlue\Client\Model\GetProcesses', '/processes' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetProcesses', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetProcesses', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetProcesses', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetProcesses', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/ResellerApi.php b/lib/Api/ResellerApi.php index 571bf3dc..d0c89c15 100644 --- a/lib/Api/ResellerApi.php +++ b/lib/Api/ResellerApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * ResellerApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class ResellerApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return ResellerApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -93,9 +93,9 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * Add Email and/or SMS credits to a specific child account * * @param int $childId id of reseller's child (required) - * @param \Sendinblue\Client\Model\AddCredits $addCredits Values to post to add credit to a specific child account (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\RemainingCreditModel + * @param \SendinBlue\Client\Model\AddCredits $addCredits Values to post to add credit to a specific child account (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\RemainingCreditModel */ public function addCredits($childId, $addCredits) { @@ -109,9 +109,9 @@ public function addCredits($childId, $addCredits) * Add Email and/or SMS credits to a specific child account * * @param int $childId id of reseller's child (required) - * @param \Sendinblue\Client\Model\AddCredits $addCredits Values to post to add credit to a specific child account (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\RemainingCreditModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\AddCredits $addCredits Values to post to add credit to a specific child account (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\RemainingCreditModel, HTTP status code, HTTP response headers (array of strings) */ public function addCreditsWithHttpInfo($childId, $addCredits) { @@ -168,27 +168,27 @@ public function addCreditsWithHttpInfo($childId, $addCredits) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\RemainingCreditModel', + '\SendinBlue\Client\Model\RemainingCreditModel', '/reseller/children/{childId}/credits/add' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\RemainingCreditModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\RemainingCreditModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\RemainingCreditModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\RemainingCreditModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -203,8 +203,8 @@ public function addCreditsWithHttpInfo($childId, $addCredits) * Associate a dedicated IP to the child * * @param int $childId id of reseller's child (required) - * @param \Sendinblue\Client\Model\ManageIp $ipId IP's id (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\ManageIp $ipId IP's id (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function associateIpToChild($childId, $ipId) @@ -219,8 +219,8 @@ public function associateIpToChild($childId, $ipId) * Associate a dedicated IP to the child * * @param int $childId id of reseller's child (required) - * @param \Sendinblue\Client\Model\ManageIp $ipId IP's id (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\ManageIp $ipId IP's id (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function associateIpToChildWithHttpInfo($childId, $ipId) @@ -286,11 +286,11 @@ public function associateIpToChildWithHttpInfo($childId, $ipId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -304,9 +304,9 @@ public function associateIpToChildWithHttpInfo($childId, $ipId) * * Creates a reseller child * - * @param \Sendinblue\Client\Model\CreateChild $resellerChild reseller child to add (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateModel + * @param \SendinBlue\Client\Model\CreateChild $resellerChild reseller child to add (optional) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateModel */ public function createResellerChild($resellerChild = null) { @@ -319,9 +319,9 @@ public function createResellerChild($resellerChild = null) * * Creates a reseller child * - * @param \Sendinblue\Client\Model\CreateChild $resellerChild reseller child to add (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreateChild $resellerChild reseller child to add (optional) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createResellerChildWithHttpInfo($resellerChild = null) { @@ -362,23 +362,23 @@ public function createResellerChildWithHttpInfo($resellerChild = null) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateModel', + '\SendinBlue\Client\Model\CreateModel', '/reseller/children' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -393,7 +393,7 @@ public function createResellerChildWithHttpInfo($resellerChild = null) * Deletes a single reseller child based on the childId supplied * * @param int $childId id of reseller's child (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function deleteResellerChild($childId) @@ -408,7 +408,7 @@ public function deleteResellerChild($childId) * Deletes a single reseller child based on the childId supplied * * @param int $childId id of reseller's child (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteResellerChildWithHttpInfo($childId) @@ -465,15 +465,15 @@ public function deleteResellerChildWithHttpInfo($childId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -488,8 +488,8 @@ public function deleteResellerChildWithHttpInfo($childId) * Dissociate a dedicated IP to the child * * @param int $childId id of reseller's child (required) - * @param \Sendinblue\Client\Model\ManageIp $ipId IP's id (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\ManageIp $ipId IP's id (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function dissociateIpFromChild($childId, $ipId) @@ -504,8 +504,8 @@ public function dissociateIpFromChild($childId, $ipId) * Dissociate a dedicated IP to the child * * @param int $childId id of reseller's child (required) - * @param \Sendinblue\Client\Model\ManageIp $ipId IP's id (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\ManageIp $ipId IP's id (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function dissociateIpFromChildWithHttpInfo($childId, $ipId) @@ -571,11 +571,11 @@ public function dissociateIpFromChildWithHttpInfo($childId, $ipId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -590,8 +590,8 @@ public function dissociateIpFromChildWithHttpInfo($childId, $ipId) * Gets the info about a specific child account * * @param int $childId id of reseller's child (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetChildInfo + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetChildInfo */ public function getChildInfo($childId) { @@ -605,8 +605,8 @@ public function getChildInfo($childId) * Gets the info about a specific child account * * @param int $childId id of reseller's child (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetChildInfo, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetChildInfo, HTTP status code, HTTP response headers (array of strings) */ public function getChildInfoWithHttpInfo($childId) { @@ -654,27 +654,27 @@ public function getChildInfoWithHttpInfo($childId) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetChildInfo', + '\SendinBlue\Client\Model\GetChildInfo', '/reseller/children/{childId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetChildInfo', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetChildInfo', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetChildInfo', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetChildInfo', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -688,8 +688,8 @@ public function getChildInfoWithHttpInfo($childId) * * Gets the list of all reseller's children accounts * - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetChildrenList + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetChildrenList */ public function getResellerChilds() { @@ -702,8 +702,8 @@ public function getResellerChilds() * * Gets the list of all reseller's children accounts * - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetChildrenList, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetChildrenList, HTTP status code, HTTP response headers (array of strings) */ public function getResellerChildsWithHttpInfo() { @@ -739,19 +739,19 @@ public function getResellerChildsWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetChildrenList', + '\SendinBlue\Client\Model\GetChildrenList', '/reseller/children' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetChildrenList', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetChildrenList', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetChildrenList', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetChildrenList', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -766,9 +766,9 @@ public function getResellerChildsWithHttpInfo() * Remove Email and/or SMS credits from a specific child account * * @param int $childId id of reseller's child (required) - * @param \Sendinblue\Client\Model\RemoveCredits $removeCredits Values to post to remove email or SMS credits from a specific child account (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\RemainingCreditModel + * @param \SendinBlue\Client\Model\RemoveCredits $removeCredits Values to post to remove email or SMS credits from a specific child account (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\RemainingCreditModel */ public function removeCredits($childId, $removeCredits) { @@ -782,9 +782,9 @@ public function removeCredits($childId, $removeCredits) * Remove Email and/or SMS credits from a specific child account * * @param int $childId id of reseller's child (required) - * @param \Sendinblue\Client\Model\RemoveCredits $removeCredits Values to post to remove email or SMS credits from a specific child account (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\RemainingCreditModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\RemoveCredits $removeCredits Values to post to remove email or SMS credits from a specific child account (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\RemainingCreditModel, HTTP status code, HTTP response headers (array of strings) */ public function removeCreditsWithHttpInfo($childId, $removeCredits) { @@ -841,27 +841,27 @@ public function removeCreditsWithHttpInfo($childId, $removeCredits) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\RemainingCreditModel', + '\SendinBlue\Client\Model\RemainingCreditModel', '/reseller/children/{childId}/credits/remove' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\RemainingCreditModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\RemainingCreditModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\RemainingCreditModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\RemainingCreditModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -876,8 +876,8 @@ public function removeCreditsWithHttpInfo($childId, $removeCredits) * Updates infos of reseller's child based on the childId supplied * * @param int $childId id of reseller's child (required) - * @param \Sendinblue\Client\Model\UpdateChild $resellerChild values to update in child profile (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateChild $resellerChild values to update in child profile (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateResellerChild($childId, $resellerChild) @@ -892,8 +892,8 @@ public function updateResellerChild($childId, $resellerChild) * Updates infos of reseller's child based on the childId supplied * * @param int $childId id of reseller's child (required) - * @param \Sendinblue\Client\Model\UpdateChild $resellerChild values to update in child profile (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateChild $resellerChild values to update in child profile (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateResellerChildWithHttpInfo($childId, $resellerChild) @@ -959,15 +959,15 @@ public function updateResellerChildWithHttpInfo($childId, $resellerChild) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 403: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/SMSCampaignsApi.php b/lib/Api/SMSCampaignsApi.php index 14de68dd..733c5ce0 100644 --- a/lib/Api/SMSCampaignsApi.php +++ b/lib/Api/SMSCampaignsApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * SMSCampaignsApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class SMSCampaignsApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return SMSCampaignsApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * * Creates a SMS campaign * - * @param \Sendinblue\Client\Model\CreateSmsCampaign $createSmsCampaign Values to create an SMS Campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateModel + * @param \SendinBlue\Client\Model\CreateSmsCampaign $createSmsCampaign Values to create an SMS Campaign (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateModel */ public function createSMSCampaign($createSmsCampaign) { @@ -107,9 +107,9 @@ public function createSMSCampaign($createSmsCampaign) * * Creates a SMS campaign * - * @param \Sendinblue\Client\Model\CreateSmsCampaign $createSmsCampaign Values to create an SMS Campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreateSmsCampaign $createSmsCampaign Values to create an SMS Campaign (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createSMSCampaignWithHttpInfo($createSmsCampaign) { @@ -154,19 +154,19 @@ public function createSMSCampaignWithHttpInfo($createSmsCampaign) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateModel', + '\SendinBlue\Client\Model\CreateModel', '/smsCampaigns' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -181,7 +181,7 @@ public function createSMSCampaignWithHttpInfo($createSmsCampaign) * Delete the SMS campaign * * @param string $campaignId id of the SMS campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function deleteSMSCampaigns($campaignId) @@ -196,7 +196,7 @@ public function deleteSMSCampaigns($campaignId) * Delete the SMS campaign * * @param string $campaignId id of the SMS campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteSMSCampaignsWithHttpInfo($campaignId) @@ -253,11 +253,11 @@ public function deleteSMSCampaignsWithHttpInfo($campaignId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -274,8 +274,8 @@ public function deleteSMSCampaignsWithHttpInfo($campaignId) * @param string $status Status of campaign. (optional) * @param int $limit Number limitation for the result returned (optional, default to 500) * @param int $offset Beginning point in the list to retrieve from. (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetSmsCampaigns + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetSmsCampaigns */ public function getSMSCampaigns($status = null, $limit = '500', $offset = '0') { @@ -291,8 +291,8 @@ public function getSMSCampaigns($status = null, $limit = '500', $offset = '0') * @param string $status Status of campaign. (optional) * @param int $limit Number limitation for the result returned (optional, default to 500) * @param int $offset Beginning point in the list to retrieve from. (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetSmsCampaigns, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetSmsCampaigns, HTTP status code, HTTP response headers (array of strings) */ public function getSMSCampaignsWithHttpInfo($status = null, $limit = '500', $offset = '0') { @@ -344,19 +344,19 @@ public function getSMSCampaignsWithHttpInfo($status = null, $limit = '500', $off $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetSmsCampaigns', + '\SendinBlue\Client\Model\GetSmsCampaigns', '/smsCampaigns' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetSmsCampaigns', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetSmsCampaigns', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetSmsCampaigns', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetSmsCampaigns', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -371,9 +371,9 @@ public function getSMSCampaignsWithHttpInfo($status = null, $limit = '500', $off * Get a SMS campaign * * @param string $campaignId id of the SMS campaign (required) - * @param \Sendinblue\Client\Model\GetSmsCampaign $getSmsCampaign Values to update an SMS Campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetSmsCampaign + * @param \SendinBlue\Client\Model\GetSmsCampaign $getSmsCampaign Values to update an SMS Campaign (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetSmsCampaign */ public function getSmsCampaign($campaignId, $getSmsCampaign) { @@ -387,9 +387,9 @@ public function getSmsCampaign($campaignId, $getSmsCampaign) * Get a SMS campaign * * @param string $campaignId id of the SMS campaign (required) - * @param \Sendinblue\Client\Model\GetSmsCampaign $getSmsCampaign Values to update an SMS Campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetSmsCampaign, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\GetSmsCampaign $getSmsCampaign Values to update an SMS Campaign (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetSmsCampaign, HTTP status code, HTTP response headers (array of strings) */ public function getSmsCampaignWithHttpInfo($campaignId, $getSmsCampaign) { @@ -446,23 +446,23 @@ public function getSmsCampaignWithHttpInfo($campaignId, $getSmsCampaign) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetSmsCampaign', + '\SendinBlue\Client\Model\GetSmsCampaign', '/smsCampaigns/{campaignId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetSmsCampaign', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetSmsCampaign', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetSmsCampaign', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetSmsCampaign', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -477,9 +477,9 @@ public function getSmsCampaignWithHttpInfo($campaignId, $getSmsCampaign) * Exports the recipients of the specified campaign. * * @param string $campaignId id of the campaign (required) - * @param \Sendinblue\Client\Model\RequestSMSRecipientExport $recipientExport Values to send for a recipient export request (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreatedProcessId + * @param \SendinBlue\Client\Model\RequestSMSRecipientExport $recipientExport Values to send for a recipient export request (optional) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreatedProcessId */ public function requestSMSRecipientExport($campaignId, $recipientExport = null) { @@ -493,9 +493,9 @@ public function requestSMSRecipientExport($campaignId, $recipientExport = null) * Exports the recipients of the specified campaign. * * @param string $campaignId id of the campaign (required) - * @param \Sendinblue\Client\Model\RequestSMSRecipientExport $recipientExport Values to send for a recipient export request (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\RequestSMSRecipientExport $recipientExport Values to send for a recipient export request (optional) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreatedProcessId, HTTP status code, HTTP response headers (array of strings) */ public function requestSMSRecipientExportWithHttpInfo($campaignId, $recipientExport = null) { @@ -548,23 +548,23 @@ public function requestSMSRecipientExportWithHttpInfo($campaignId, $recipientExp $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreatedProcessId', + '\SendinBlue\Client\Model\CreatedProcessId', '/smsCampaigns/{campaignId}/exportRecipients' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreatedProcessId', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 202: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreatedProcessId', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreatedProcessId', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -579,7 +579,7 @@ public function requestSMSRecipientExportWithHttpInfo($campaignId, $recipientExp * Send your SMS campaign immediately * * @param string $campaignId id of the campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function sendSMSCampaignNow($campaignId) @@ -594,7 +594,7 @@ public function sendSMSCampaignNow($campaignId) * Send your SMS campaign immediately * * @param string $campaignId id of the campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendSMSCampaignNowWithHttpInfo($campaignId) @@ -651,15 +651,15 @@ public function sendSMSCampaignNowWithHttpInfo($campaignId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 402: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -674,8 +674,8 @@ public function sendSMSCampaignNowWithHttpInfo($campaignId) * Send report of SMS campaigns * * @param string $campaignId id of the campaign (required) - * @param \Sendinblue\Client\Model\SendReport $sendReport Values for send a report (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\SendReport $sendReport Values for send a report (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function sendSMSReport($campaignId, $sendReport) @@ -690,8 +690,8 @@ public function sendSMSReport($campaignId, $sendReport) * Send report of SMS campaigns * * @param string $campaignId id of the campaign (required) - * @param \Sendinblue\Client\Model\SendReport $sendReport Values for send a report (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\SendReport $sendReport Values for send a report (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendSMSReportWithHttpInfo($campaignId, $sendReport) @@ -757,11 +757,11 @@ public function sendSMSReportWithHttpInfo($campaignId, $sendReport) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -776,8 +776,8 @@ public function sendSMSReportWithHttpInfo($campaignId, $sendReport) * Send an SMS * * @param string $campaignId Id of the SMS campaign (required) - * @param \Sendinblue\Client\Model\SendTestSms $sendTestSms Mobile number to which send the test (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\SendTestSms $sendTestSms Mobile number to which send the test (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function sendTestSms($campaignId, $sendTestSms) @@ -792,8 +792,8 @@ public function sendTestSms($campaignId, $sendTestSms) * Send an SMS * * @param string $campaignId Id of the SMS campaign (required) - * @param \Sendinblue\Client\Model\SendTestSms $sendTestSms Mobile number to which send the test (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\SendTestSms $sendTestSms Mobile number to which send the test (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendTestSmsWithHttpInfo($campaignId, $sendTestSms) @@ -859,11 +859,11 @@ public function sendTestSmsWithHttpInfo($campaignId, $sendTestSms) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostSendSmsTestFailed', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\PostSendSmsTestFailed', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -878,8 +878,8 @@ public function sendTestSmsWithHttpInfo($campaignId, $sendTestSms) * Update the campaign status * * @param string $campaignId id of the campaign (required) - * @param \Sendinblue\Client\Model\UpdateCampaignStatus $status Status of the campaign. (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateCampaignStatus $status Status of the campaign. (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateSMSCampaignStatus($campaignId, $status) @@ -894,8 +894,8 @@ public function updateSMSCampaignStatus($campaignId, $status) * Update the campaign status * * @param string $campaignId id of the campaign (required) - * @param \Sendinblue\Client\Model\UpdateCampaignStatus $status Status of the campaign. (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateCampaignStatus $status Status of the campaign. (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateSMSCampaignStatusWithHttpInfo($campaignId, $status) @@ -961,11 +961,11 @@ public function updateSMSCampaignStatusWithHttpInfo($campaignId, $status) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -980,8 +980,8 @@ public function updateSMSCampaignStatusWithHttpInfo($campaignId, $status) * Updates a SMS campaign * * @param string $campaignId id of the SMS campaign (required) - * @param \Sendinblue\Client\Model\UpdateSmsCampaign $updateSmsCampaign Values to update an SMS Campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateSmsCampaign $updateSmsCampaign Values to update an SMS Campaign (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateSmsCampaign($campaignId, $updateSmsCampaign) @@ -996,8 +996,8 @@ public function updateSmsCampaign($campaignId, $updateSmsCampaign) * Updates a SMS campaign * * @param string $campaignId id of the SMS campaign (required) - * @param \Sendinblue\Client\Model\UpdateSmsCampaign $updateSmsCampaign Values to update an SMS Campaign (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateSmsCampaign $updateSmsCampaign Values to update an SMS Campaign (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateSmsCampaignWithHttpInfo($campaignId, $updateSmsCampaign) @@ -1063,11 +1063,11 @@ public function updateSmsCampaignWithHttpInfo($campaignId, $updateSmsCampaign) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/SMTPApi.php b/lib/Api/SMTPApi.php index 1c8c848a..a2ba8d89 100644 --- a/lib/Api/SMTPApi.php +++ b/lib/Api/SMTPApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * SMTPApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class SMTPApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return SMTPApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * * Create an smtp template * - * @param \Sendinblue\Client\Model\CreateSmtpTemplate $smtpTemplate values to update in smtp template (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateModel + * @param \SendinBlue\Client\Model\CreateSmtpTemplate $smtpTemplate values to update in smtp template (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateModel */ public function createSmtpTemplate($smtpTemplate) { @@ -107,9 +107,9 @@ public function createSmtpTemplate($smtpTemplate) * * Create an smtp template * - * @param \Sendinblue\Client\Model\CreateSmtpTemplate $smtpTemplate values to update in smtp template (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreateSmtpTemplate $smtpTemplate values to update in smtp template (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createSmtpTemplateWithHttpInfo($smtpTemplate) { @@ -154,19 +154,19 @@ public function createSmtpTemplateWithHttpInfo($smtpTemplate) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateModel', + '\SendinBlue\Client\Model\CreateModel', '/smtp/templates' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -180,8 +180,8 @@ public function createSmtpTemplateWithHttpInfo($smtpTemplate) * * Delete hardbounces * - * @param \Sendinblue\Client\Model\DeleteHardbounces $deleteHardbounces values to delete hardbounces (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\DeleteHardbounces $deleteHardbounces values to delete hardbounces (optional) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function deleteHardbounces($deleteHardbounces = null) @@ -195,8 +195,8 @@ public function deleteHardbounces($deleteHardbounces = null) * * Delete hardbounces * - * @param \Sendinblue\Client\Model\DeleteHardbounces $deleteHardbounces values to delete hardbounces (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\DeleteHardbounces $deleteHardbounces values to delete hardbounces (optional) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteHardbouncesWithHttpInfo($deleteHardbounces = null) @@ -246,7 +246,7 @@ public function deleteHardbouncesWithHttpInfo($deleteHardbounces = null) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -264,8 +264,8 @@ public function deleteHardbouncesWithHttpInfo($deleteHardbounces = null) * @param \DateTime $endDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param string $tag Tag of the emails (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetAggregatedReport + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetAggregatedReport */ public function getAggregatedSmtpReport($startDate = null, $endDate = null, $days = null, $tag = null) { @@ -282,8 +282,8 @@ public function getAggregatedSmtpReport($startDate = null, $endDate = null, $day * @param \DateTime $endDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD). Must be greater than equal to startDate (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param string $tag Tag of the emails (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetAggregatedReport, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetAggregatedReport, HTTP status code, HTTP response headers (array of strings) */ public function getAggregatedSmtpReportWithHttpInfo($startDate = null, $endDate = null, $days = null, $tag = null) { @@ -335,19 +335,19 @@ public function getAggregatedSmtpReportWithHttpInfo($startDate = null, $endDate $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetAggregatedReport', + '\SendinBlue\Client\Model\GetAggregatedReport', '/smtp/statistics/aggregatedReport' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetAggregatedReport', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetAggregatedReport', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetAggregatedReport', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetAggregatedReport', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -371,8 +371,8 @@ public function getAggregatedSmtpReportWithHttpInfo($startDate = null, $endDate * @param string $tags Filter the report for tags (serialized and urlencoded array) (optional) * @param string $messageId Filter on a specific message id (optional) * @param string $templateId Filter on a specific template id (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetEmailEventReport + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetEmailEventReport */ public function getEmailEventReport($limit = '50', $offset = '0', $startDate = null, $endDate = null, $days = null, $email = null, $event = null, $tags = null, $messageId = null, $templateId = null) { @@ -395,8 +395,8 @@ public function getEmailEventReport($limit = '50', $offset = '0', $startDate = n * @param string $tags Filter the report for tags (serialized and urlencoded array) (optional) * @param string $messageId Filter on a specific message id (optional) * @param string $templateId Filter on a specific template id (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetEmailEventReport, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetEmailEventReport, HTTP status code, HTTP response headers (array of strings) */ public function getEmailEventReportWithHttpInfo($limit = '50', $offset = '0', $startDate = null, $endDate = null, $days = null, $email = null, $event = null, $tags = null, $messageId = null, $templateId = null) { @@ -476,19 +476,19 @@ public function getEmailEventReportWithHttpInfo($limit = '50', $offset = '0', $s $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetEmailEventReport', + '\SendinBlue\Client\Model\GetEmailEventReport', '/smtp/statistics/events' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetEmailEventReport', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetEmailEventReport', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetEmailEventReport', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetEmailEventReport', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -508,8 +508,8 @@ public function getEmailEventReportWithHttpInfo($limit = '50', $offset = '0', $s * @param \DateTime $endDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param string $tag Tag of the emails (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetReports + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetReports */ public function getSmtpReport($limit = '50', $offset = '0', $startDate = null, $endDate = null, $days = null, $tag = null) { @@ -528,8 +528,8 @@ public function getSmtpReport($limit = '50', $offset = '0', $startDate = null, $ * @param \DateTime $endDate Mandatory if startDate is used. Ending date of the report (YYYY-MM-DD) (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param string $tag Tag of the emails (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetReports, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetReports, HTTP status code, HTTP response headers (array of strings) */ public function getSmtpReportWithHttpInfo($limit = '50', $offset = '0', $startDate = null, $endDate = null, $days = null, $tag = null) { @@ -593,19 +593,19 @@ public function getSmtpReportWithHttpInfo($limit = '50', $offset = '0', $startDa $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetReports', + '\SendinBlue\Client\Model\GetReports', '/smtp/statistics/reports' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetReports', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetReports', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetReports', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetReports', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -620,8 +620,8 @@ public function getSmtpReportWithHttpInfo($limit = '50', $offset = '0', $startDa * Returns the template informations * * @param string $templateId id of the template (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetSmtpTemplateOverview + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetSmtpTemplateOverview */ public function getSmtpTemplate($templateId) { @@ -635,8 +635,8 @@ public function getSmtpTemplate($templateId) * Returns the template informations * * @param string $templateId id of the template (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetSmtpTemplateOverview, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetSmtpTemplateOverview, HTTP status code, HTTP response headers (array of strings) */ public function getSmtpTemplateWithHttpInfo($templateId) { @@ -684,23 +684,23 @@ public function getSmtpTemplateWithHttpInfo($templateId) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetSmtpTemplateOverview', + '\SendinBlue\Client\Model\GetSmtpTemplateOverview', '/smtp/templates/{templateId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetSmtpTemplateOverview', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetSmtpTemplateOverview', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetSmtpTemplateOverview', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetSmtpTemplateOverview', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -717,8 +717,8 @@ public function getSmtpTemplateWithHttpInfo($templateId) * @param bool $templateStatus Filter on the status of the template. Active = true, inactive = false (optional) * @param int $limit Number of documents returned per page (optional, default to 50) * @param int $offset Index of the first document in the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetSmtpTemplates + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetSmtpTemplates */ public function getSmtpTemplates($templateStatus = null, $limit = '50', $offset = '0') { @@ -734,8 +734,8 @@ public function getSmtpTemplates($templateStatus = null, $limit = '50', $offset * @param bool $templateStatus Filter on the status of the template. Active = true, inactive = false (optional) * @param int $limit Number of documents returned per page (optional, default to 50) * @param int $offset Index of the first document in the page (optional, default to 0) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetSmtpTemplates, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetSmtpTemplates, HTTP status code, HTTP response headers (array of strings) */ public function getSmtpTemplatesWithHttpInfo($templateStatus = null, $limit = '50', $offset = '0') { @@ -787,19 +787,19 @@ public function getSmtpTemplatesWithHttpInfo($templateStatus = null, $limit = '5 $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetSmtpTemplates', + '\SendinBlue\Client\Model\GetSmtpTemplates', '/smtp/templates' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetSmtpTemplates', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetSmtpTemplates', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetSmtpTemplates', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetSmtpTemplates', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -814,9 +814,9 @@ public function getSmtpTemplatesWithHttpInfo($templateStatus = null, $limit = '5 * Send a template * * @param string $templateId Id of the template (required) - * @param \Sendinblue\Client\Model\SendEmail $sendEmail (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\SendTemplateEmail + * @param \SendinBlue\Client\Model\SendEmail $sendEmail (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\SendTemplateEmail */ public function sendTemplate($templateId, $sendEmail) { @@ -830,9 +830,9 @@ public function sendTemplate($templateId, $sendEmail) * Send a template * * @param string $templateId Id of the template (required) - * @param \Sendinblue\Client\Model\SendEmail $sendEmail (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\SendTemplateEmail, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\SendEmail $sendEmail (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\SendTemplateEmail, HTTP status code, HTTP response headers (array of strings) */ public function sendTemplateWithHttpInfo($templateId, $sendEmail) { @@ -889,23 +889,23 @@ public function sendTemplateWithHttpInfo($templateId, $sendEmail) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\SendTemplateEmail', + '\SendinBlue\Client\Model\SendTemplateEmail', '/smtp/templates/{templateId}/send' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\SendTemplateEmail', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\SendTemplateEmail', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\SendTemplateEmail', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\SendTemplateEmail', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostSendFailed', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\PostSendFailed', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -920,8 +920,8 @@ public function sendTemplateWithHttpInfo($templateId, $sendEmail) * Send a template to your test list * * @param string $templateId Id of the template (required) - * @param \Sendinblue\Client\Model\SendTestEmail $sendTestEmail (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\SendTestEmail $sendTestEmail (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function sendTestTemplate($templateId, $sendTestEmail) @@ -936,8 +936,8 @@ public function sendTestTemplate($templateId, $sendTestEmail) * Send a template to your test list * * @param string $templateId Id of the template (required) - * @param \Sendinblue\Client\Model\SendTestEmail $sendTestEmail (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\SendTestEmail $sendTestEmail (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function sendTestTemplateWithHttpInfo($templateId, $sendTestEmail) @@ -1003,11 +1003,11 @@ public function sendTestTemplateWithHttpInfo($templateId, $sendTestEmail) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\PostSendFailed', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\PostSendFailed', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1021,9 +1021,9 @@ public function sendTestTemplateWithHttpInfo($templateId, $sendTestEmail) * * Send a transactional email * - * @param \Sendinblue\Client\Model\SendSmtpEmail $sendSmtpEmail Values to send a transactional email (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateSmtpEmail + * @param \SendinBlue\Client\Model\SendSmtpEmail $sendSmtpEmail Values to send a transactional email (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateSmtpEmail */ public function sendTransacEmail($sendSmtpEmail) { @@ -1036,9 +1036,9 @@ public function sendTransacEmail($sendSmtpEmail) * * Send a transactional email * - * @param \Sendinblue\Client\Model\SendSmtpEmail $sendSmtpEmail Values to send a transactional email (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateSmtpEmail, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\SendSmtpEmail $sendSmtpEmail Values to send a transactional email (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateSmtpEmail, HTTP status code, HTTP response headers (array of strings) */ public function sendTransacEmailWithHttpInfo($sendSmtpEmail) { @@ -1083,19 +1083,19 @@ public function sendTransacEmailWithHttpInfo($sendSmtpEmail) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateSmtpEmail', + '\SendinBlue\Client\Model\CreateSmtpEmail', '/smtp/email' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateSmtpEmail', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateSmtpEmail', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateSmtpEmail', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateSmtpEmail', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -1110,8 +1110,8 @@ public function sendTransacEmailWithHttpInfo($sendSmtpEmail) * Updates an smtp templates * * @param string $templateId id of the template (required) - * @param \Sendinblue\Client\Model\UpdateSmtpTemplate $smtpTemplate values to update in smtp template (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateSmtpTemplate $smtpTemplate values to update in smtp template (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateSmtpTemplate($templateId, $smtpTemplate) @@ -1126,8 +1126,8 @@ public function updateSmtpTemplate($templateId, $smtpTemplate) * Updates an smtp templates * * @param string $templateId id of the template (required) - * @param \Sendinblue\Client\Model\UpdateSmtpTemplate $smtpTemplate values to update in smtp template (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateSmtpTemplate $smtpTemplate values to update in smtp template (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateSmtpTemplateWithHttpInfo($templateId, $smtpTemplate) @@ -1193,11 +1193,11 @@ public function updateSmtpTemplateWithHttpInfo($templateId, $smtpTemplate) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/SendersApi.php b/lib/Api/SendersApi.php index 00740a9d..4e00a576 100644 --- a/lib/Api/SendersApi.php +++ b/lib/Api/SendersApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * SendersApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class SendersApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return SendersApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * * Create a new sender * - * @param \Sendinblue\Client\Model\CreateSender $sender sender's name (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateSenderModel + * @param \SendinBlue\Client\Model\CreateSender $sender sender's name (optional) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateSenderModel */ public function createSender($sender = null) { @@ -107,9 +107,9 @@ public function createSender($sender = null) * * Create a new sender * - * @param \Sendinblue\Client\Model\CreateSender $sender sender's name (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateSenderModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreateSender $sender sender's name (optional) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateSenderModel, HTTP status code, HTTP response headers (array of strings) */ public function createSenderWithHttpInfo($sender = null) { @@ -150,19 +150,19 @@ public function createSenderWithHttpInfo($sender = null) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateSenderModel', + '\SendinBlue\Client\Model\CreateSenderModel', '/senders' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateSenderModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateSenderModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateSenderModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateSenderModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -177,7 +177,7 @@ public function createSenderWithHttpInfo($sender = null) * Delete a sender * * @param string $senderId Id of the sender (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function deleteSender($senderId) @@ -192,7 +192,7 @@ public function deleteSender($senderId) * Delete a sender * * @param string $senderId Id of the sender (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteSenderWithHttpInfo($senderId) @@ -249,11 +249,11 @@ public function deleteSenderWithHttpInfo($senderId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -267,8 +267,8 @@ public function deleteSenderWithHttpInfo($senderId) * * Return all the dedicated IPs for your account * - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetIps + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetIps */ public function getIps() { @@ -281,8 +281,8 @@ public function getIps() * * Return all the dedicated IPs for your account * - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetIps, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetIps, HTTP status code, HTTP response headers (array of strings) */ public function getIpsWithHttpInfo() { @@ -318,15 +318,15 @@ public function getIpsWithHttpInfo() $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetIps', + '\SendinBlue\Client\Model\GetIps', '/senders/ips' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetIps', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetIps', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetIps', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetIps', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -341,8 +341,8 @@ public function getIpsWithHttpInfo() * Return all the dedicated IPs for a sender * * @param string $senderId Id of the sender (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetIpsFromSender + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetIpsFromSender */ public function getIpsFromSender($senderId) { @@ -356,8 +356,8 @@ public function getIpsFromSender($senderId) * Return all the dedicated IPs for a sender * * @param string $senderId Id of the sender (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetIpsFromSender, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetIpsFromSender, HTTP status code, HTTP response headers (array of strings) */ public function getIpsFromSenderWithHttpInfo($senderId) { @@ -405,23 +405,23 @@ public function getIpsFromSenderWithHttpInfo($senderId) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetIpsFromSender', + '\SendinBlue\Client\Model\GetIpsFromSender', '/senders/{senderId}/ips' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetIpsFromSender', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetIpsFromSender', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetIpsFromSender', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetIpsFromSender', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -437,8 +437,8 @@ public function getIpsFromSenderWithHttpInfo($senderId) * * @param string $ip Filter your senders for a specific ip (available for dedicated IP usage only) (optional) * @param string $domain Filter your senders for a specific domain (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetSendersList + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetSendersList */ public function getSenders($ip = null, $domain = null) { @@ -453,8 +453,8 @@ public function getSenders($ip = null, $domain = null) * * @param string $ip Filter your senders for a specific ip (available for dedicated IP usage only) (optional) * @param string $domain Filter your senders for a specific domain (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetSendersList, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetSendersList, HTTP status code, HTTP response headers (array of strings) */ public function getSendersWithHttpInfo($ip = null, $domain = null) { @@ -498,19 +498,19 @@ public function getSendersWithHttpInfo($ip = null, $domain = null) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetSendersList', + '\SendinBlue\Client\Model\GetSendersList', '/senders' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetSendersList', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetSendersList', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetSendersList', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetSendersList', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -525,8 +525,8 @@ public function getSendersWithHttpInfo($ip = null, $domain = null) * Update a sender * * @param string $senderId Id of the sender (required) - * @param \Sendinblue\Client\Model\UpdateSender $sender sender's name (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateSender $sender sender's name (optional) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateSender($senderId, $sender = null) @@ -541,8 +541,8 @@ public function updateSender($senderId, $sender = null) * Update a sender * * @param string $senderId Id of the sender (required) - * @param \Sendinblue\Client\Model\UpdateSender $sender sender's name (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateSender $sender sender's name (optional) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateSenderWithHttpInfo($senderId, $sender = null) @@ -604,11 +604,11 @@ public function updateSenderWithHttpInfo($senderId, $sender = null) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/TransactionalSMSApi.php b/lib/Api/TransactionalSMSApi.php index 1d2cf434..cae80a28 100644 --- a/lib/Api/TransactionalSMSApi.php +++ b/lib/Api/TransactionalSMSApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * TransactionalSMSApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class TransactionalSMSApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return TransactionalSMSApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -100,8 +100,8 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * @param string $phoneNumber Filter the report for a specific phone number (optional) * @param string $event Filter the report for specific events (optional) * @param string $tags Filter the report for specific tags passed as a serialized urlencoded array (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetSmsEventReport + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetSmsEventReport */ public function getSmsEvents($limit = '50', $startDate = null, $endDate = null, $offset = '0', $days = null, $phoneNumber = null, $event = null, $tags = null) { @@ -122,8 +122,8 @@ public function getSmsEvents($limit = '50', $startDate = null, $endDate = null, * @param string $phoneNumber Filter the report for a specific phone number (optional) * @param string $event Filter the report for specific events (optional) * @param string $tags Filter the report for specific tags passed as a serialized urlencoded array (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetSmsEventReport, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetSmsEventReport, HTTP status code, HTTP response headers (array of strings) */ public function getSmsEventsWithHttpInfo($limit = '50', $startDate = null, $endDate = null, $offset = '0', $days = null, $phoneNumber = null, $event = null, $tags = null) { @@ -195,19 +195,19 @@ public function getSmsEventsWithHttpInfo($limit = '50', $startDate = null, $endD $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetSmsEventReport', + '\SendinBlue\Client\Model\GetSmsEventReport', '/transactionalSMS/statistics/events' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetSmsEventReport', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetSmsEventReport', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetSmsEventReport', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetSmsEventReport', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -225,8 +225,8 @@ public function getSmsEventsWithHttpInfo($limit = '50', $startDate = null, $endD * @param \DateTime $endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) * @param string $tag Filter on a tag (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetTransacAggregatedSmsReport + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetTransacAggregatedSmsReport */ public function getTransacAggregatedSmsReport($startDate = null, $endDate = null, $days = null, $tag = null) { @@ -243,8 +243,8 @@ public function getTransacAggregatedSmsReport($startDate = null, $endDate = null * @param \DateTime $endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with startDate and endDate (optional) * @param string $tag Filter on a tag (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetTransacAggregatedSmsReport, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetTransacAggregatedSmsReport, HTTP status code, HTTP response headers (array of strings) */ public function getTransacAggregatedSmsReportWithHttpInfo($startDate = null, $endDate = null, $days = null, $tag = null) { @@ -296,19 +296,19 @@ public function getTransacAggregatedSmsReportWithHttpInfo($startDate = null, $en $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetTransacAggregatedSmsReport', + '\SendinBlue\Client\Model\GetTransacAggregatedSmsReport', '/transactionalSMS/statistics/aggregatedReport' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetTransacAggregatedSmsReport', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetTransacAggregatedSmsReport', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetTransacAggregatedSmsReport', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetTransacAggregatedSmsReport', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -326,8 +326,8 @@ public function getTransacAggregatedSmsReportWithHttpInfo($startDate = null, $en * @param \DateTime $endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param string $tag Filter on a tag (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetTransacSmsReport + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetTransacSmsReport */ public function getTransacSmsReport($startDate = null, $endDate = null, $days = null, $tag = null) { @@ -344,8 +344,8 @@ public function getTransacSmsReport($startDate = null, $endDate = null, $days = * @param \DateTime $endDate Mandatory if startDate is used. Ending date (YYYY-MM-DD) of the report (optional) * @param int $days Number of days in the past including today (positive integer). Not compatible with 'startDate' and 'endDate' (optional) * @param string $tag Filter on a tag (optional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetTransacSmsReport, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetTransacSmsReport, HTTP status code, HTTP response headers (array of strings) */ public function getTransacSmsReportWithHttpInfo($startDate = null, $endDate = null, $days = null, $tag = null) { @@ -397,19 +397,19 @@ public function getTransacSmsReportWithHttpInfo($startDate = null, $endDate = nu $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetTransacSmsReport', + '\SendinBlue\Client\Model\GetTransacSmsReport', '/transactionalSMS/statistics/reports' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetTransacSmsReport', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetTransacSmsReport', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetTransacSmsReport', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetTransacSmsReport', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -423,9 +423,9 @@ public function getTransacSmsReportWithHttpInfo($startDate = null, $endDate = nu * * Send the SMS campaign to the specified mobile number * - * @param \Sendinblue\Client\Model\SendTransacSms $sendTransacSms Values to send a transactional SMS (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\SendSms + * @param \SendinBlue\Client\Model\SendTransacSms $sendTransacSms Values to send a transactional SMS (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\SendSms */ public function sendTransacSms($sendTransacSms) { @@ -438,9 +438,9 @@ public function sendTransacSms($sendTransacSms) * * Send the SMS campaign to the specified mobile number * - * @param \Sendinblue\Client\Model\SendTransacSms $sendTransacSms Values to send a transactional SMS (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\SendSms, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\SendTransacSms $sendTransacSms Values to send a transactional SMS (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\SendSms, HTTP status code, HTTP response headers (array of strings) */ public function sendTransacSmsWithHttpInfo($sendTransacSms) { @@ -485,23 +485,23 @@ public function sendTransacSmsWithHttpInfo($sendTransacSms) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\SendSms', + '\SendinBlue\Client\Model\SendSms', '/transactionalSMS/sms' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\SendSms', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\SendSms', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\SendSms', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\SendSms', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 402: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/Api/WebhooksApi.php b/lib/Api/WebhooksApi.php index 0bd04ae2..409c0ae7 100644 --- a/lib/Api/WebhooksApi.php +++ b/lib/Api/WebhooksApi.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Api; +namespace SendinBlue\Client\Api; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ObjectSerializer; /** * WebhooksApi Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -46,16 +46,16 @@ class WebhooksApi /** * API Client * - * @var \Sendinblue\Client\ApiClient instance of the ApiClient + * @var \SendinBlue\Client\ApiClient instance of the ApiClient */ protected $apiClient; /** * Constructor * - * @param \Sendinblue\Client\ApiClient|null $apiClient The api client to use + * @param \SendinBlue\Client\ApiClient|null $apiClient The api client to use */ - public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) + public function __construct(\SendinBlue\Client\ApiClient $apiClient = null) { if ($apiClient === null) { $apiClient = new ApiClient(); @@ -67,7 +67,7 @@ public function __construct(\Sendinblue\Client\ApiClient $apiClient = null) /** * Get API client * - * @return \Sendinblue\Client\ApiClient get the API client + * @return \SendinBlue\Client\ApiClient get the API client */ public function getApiClient() { @@ -77,11 +77,11 @@ public function getApiClient() /** * Set the API client * - * @param \Sendinblue\Client\ApiClient $apiClient set the API client + * @param \SendinBlue\Client\ApiClient $apiClient set the API client * * @return WebhooksApi */ - public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) + public function setApiClient(\SendinBlue\Client\ApiClient $apiClient) { $this->apiClient = $apiClient; return $this; @@ -92,9 +92,9 @@ public function setApiClient(\Sendinblue\Client\ApiClient $apiClient) * * Create a webhook * - * @param \Sendinblue\Client\Model\CreateWebhook $createWebhook Values to create a webhook (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\CreateModel + * @param \SendinBlue\Client\Model\CreateWebhook $createWebhook Values to create a webhook (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\CreateModel */ public function createWebhook($createWebhook) { @@ -107,9 +107,9 @@ public function createWebhook($createWebhook) * * Create a webhook * - * @param \Sendinblue\Client\Model\CreateWebhook $createWebhook Values to create a webhook (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) + * @param \SendinBlue\Client\Model\CreateWebhook $createWebhook Values to create a webhook (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\CreateModel, HTTP status code, HTTP response headers (array of strings) */ public function createWebhookWithHttpInfo($createWebhook) { @@ -154,19 +154,19 @@ public function createWebhookWithHttpInfo($createWebhook) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\CreateModel', + '\SendinBlue\Client\Model\CreateModel', '/webhooks' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\CreateModel', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 201: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\CreateModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\CreateModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -181,7 +181,7 @@ public function createWebhookWithHttpInfo($createWebhook) * Delete a webhook * * @param string $webhookId Id of the webhook (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function deleteWebhook($webhookId) @@ -196,7 +196,7 @@ public function deleteWebhook($webhookId) * Delete a webhook * * @param string $webhookId Id of the webhook (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function deleteWebhookWithHttpInfo($webhookId) @@ -253,11 +253,11 @@ public function deleteWebhookWithHttpInfo($webhookId) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -272,8 +272,8 @@ public function deleteWebhookWithHttpInfo($webhookId) * Get a webhook details * * @param string $webhookId Id of the webhook (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetWebhook + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetWebhook */ public function getWebhook($webhookId) { @@ -287,8 +287,8 @@ public function getWebhook($webhookId) * Get a webhook details * * @param string $webhookId Id of the webhook (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetWebhook, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetWebhook, HTTP status code, HTTP response headers (array of strings) */ public function getWebhookWithHttpInfo($webhookId) { @@ -336,23 +336,23 @@ public function getWebhookWithHttpInfo($webhookId) $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetWebhook', + '\SendinBlue\Client\Model\GetWebhook', '/webhooks/{webhookId}' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetWebhook', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetWebhook', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetWebhook', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetWebhook', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -367,8 +367,8 @@ public function getWebhookWithHttpInfo($webhookId) * Get all webhooks * * @param string $type Filter on webhook type (optional, default to transactional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return \Sendinblue\Client\Model\GetWebhooks + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return \SendinBlue\Client\Model\GetWebhooks */ public function getWebhooks($type = 'transactional') { @@ -382,8 +382,8 @@ public function getWebhooks($type = 'transactional') * Get all webhooks * * @param string $type Filter on webhook type (optional, default to transactional) - * @throws \Sendinblue\Client\ApiException on non-2xx response - * @return array of \Sendinblue\Client\Model\GetWebhooks, HTTP status code, HTTP response headers (array of strings) + * @throws \SendinBlue\Client\ApiException on non-2xx response + * @return array of \SendinBlue\Client\Model\GetWebhooks, HTTP status code, HTTP response headers (array of strings) */ public function getWebhooksWithHttpInfo($type = 'transactional') { @@ -423,19 +423,19 @@ public function getWebhooksWithHttpInfo($type = 'transactional') $queryParams, $httpBody, $headerParams, - '\Sendinblue\Client\Model\GetWebhooks', + '\SendinBlue\Client\Model\GetWebhooks', '/webhooks' ); - return [$this->apiClient->getSerializer()->deserialize($response, '\Sendinblue\Client\Model\GetWebhooks', $httpHeader), $statusCode, $httpHeader]; + return [$this->apiClient->getSerializer()->deserialize($response, '\SendinBlue\Client\Model\GetWebhooks', $httpHeader), $statusCode, $httpHeader]; } catch (ApiException $e) { switch ($e->getCode()) { case 200: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\GetWebhooks', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\GetWebhooks', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } @@ -450,8 +450,8 @@ public function getWebhooksWithHttpInfo($type = 'transactional') * Update a webhook * * @param string $webhookId Id of the webhook (required) - * @param \Sendinblue\Client\Model\UpdateWebhook $updateWebhook Values to update a webhook (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateWebhook $updateWebhook Values to update a webhook (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return void */ public function updateWebhook($webhookId, $updateWebhook) @@ -466,8 +466,8 @@ public function updateWebhook($webhookId, $updateWebhook) * Update a webhook * * @param string $webhookId Id of the webhook (required) - * @param \Sendinblue\Client\Model\UpdateWebhook $updateWebhook Values to update a webhook (required) - * @throws \Sendinblue\Client\ApiException on non-2xx response + * @param \SendinBlue\Client\Model\UpdateWebhook $updateWebhook Values to update a webhook (required) + * @throws \SendinBlue\Client\ApiException on non-2xx response * @return array of null, HTTP status code, HTTP response headers (array of strings) */ public function updateWebhookWithHttpInfo($webhookId, $updateWebhook) @@ -533,11 +533,11 @@ public function updateWebhookWithHttpInfo($webhookId, $updateWebhook) } catch (ApiException $e) { switch ($e->getCode()) { case 400: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; case 404: - $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Sendinblue\Client\Model\ErrorModel', $e->getResponseHeaders()); + $data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\SendinBlue\Client\Model\ErrorModel', $e->getResponseHeaders()); $e->setResponseObject($data); break; } diff --git a/lib/ApiClient.php b/lib/ApiClient.php index 29b2b88a..07a0461e 100644 --- a/lib/ApiClient.php +++ b/lib/ApiClient.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,13 +27,13 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * ApiClient Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -66,7 +66,7 @@ class ApiClient * * @param Configuration $config config for this ApiClient */ - public function __construct(\Sendinblue\Client\Configuration $config = null) + public function __construct(\SendinBlue\Client\Configuration $config = null) { if ($config === null) { $config = Configuration::getDefaultConfiguration(); @@ -132,7 +132,7 @@ public function getApiKeyWithPrefix($apiKeyIdentifier) * @param string $responseType expected response type of the endpoint * @param string $endpointPath path to method endpoint before expanding parameters * - * @throws \Sendinblue\Client\ApiException on a non 2xx response + * @throws \SendinBlue\Client\ApiException on a non 2xx response * @return mixed */ public function callApi($resourcePath, $method, $queryParams, $postData, $headerParams, $responseType = null, $endpointPath = null) @@ -153,7 +153,7 @@ public function callApi($resourcePath, $method, $queryParams, $postData, $header if ($postData and in_array('Content-Type: application/x-www-form-urlencoded', $headers, true)) { $postData = http_build_query($postData); } elseif ((is_object($postData) or is_array($postData)) and !in_array('Content-Type: multipart/form-data', $headers, true)) { // json model - $postData = json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($postData)); + $postData = json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($postData)); } $url = $this->config->getHost() . $resourcePath; diff --git a/lib/ApiException.php b/lib/ApiException.php index c75a2b05..e5fce860 100644 --- a/lib/ApiException.php +++ b/lib/ApiException.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,7 +26,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; use \Exception; @@ -34,7 +34,7 @@ * ApiException Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/lib/Configuration.php b/lib/Configuration.php index bd867469..791d6aa1 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,14 +26,14 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * Configuration Class Doc Comment * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -724,7 +724,7 @@ public static function setDefaultConfiguration(Configuration $config) */ public static function toDebugReport() { - $report = 'PHP SDK (Sendinblue\Client) Debug Report:' . PHP_EOL; + $report = 'PHP SDK (SendinBlue\Client) Debug Report:' . PHP_EOL; $report .= ' OS: ' . php_uname() . PHP_EOL; $report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; $report .= ' OpenAPI Spec Version: 3.0.0' . PHP_EOL; diff --git a/lib/Model/AddCredits.php b/lib/Model/AddCredits.php index 849607e5..0400aae2 100644 --- a/lib/Model/AddCredits.php +++ b/lib/Model/AddCredits.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * AddCredits Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/AddRemoveContactToList.php b/lib/Model/AddRemoveContactToList.php index 2ade88e9..31a82908 100644 --- a/lib/Model/AddRemoveContactToList.php +++ b/lib/Model/AddRemoveContactToList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * AddRemoveContactToList Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreaUpdateFolder.php b/lib/Model/CreaUpdateFolder.php index 34d6339a..e9da5086 100644 --- a/lib/Model/CreaUpdateFolder.php +++ b/lib/Model/CreaUpdateFolder.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreaUpdateFolder Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateAttribute.php b/lib/Model/CreateAttribute.php index d3eef18d..5575385a 100644 --- a/lib/Model/CreateAttribute.php +++ b/lib/Model/CreateAttribute.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateAttribute Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -57,7 +57,7 @@ class CreateAttribute implements ArrayAccess 'category' => 'string', 'name' => 'string', 'value' => 'string', - 'enumemaration' => '\Sendinblue\Client\Model\CreateAttributeEnumemaration[]', + 'enumemaration' => '\SendinBlue\Client\Model\CreateAttributeEnumemaration[]', 'type' => 'string' ]; @@ -338,7 +338,7 @@ public function setValue($value) /** * Gets enumemaration - * @return \Sendinblue\Client\Model\CreateAttributeEnumemaration[] + * @return \SendinBlue\Client\Model\CreateAttributeEnumemaration[] */ public function getEnumemaration() { @@ -347,7 +347,7 @@ public function getEnumemaration() /** * Sets enumemaration - * @param \Sendinblue\Client\Model\CreateAttributeEnumemaration[] $enumemaration Values that the attribute can take. Use only if the attribute's category is category + * @param \SendinBlue\Client\Model\CreateAttributeEnumemaration[] $enumemaration Values that the attribute can take. Use only if the attribute's category is category * @return $this */ public function setEnumemaration($enumemaration) @@ -438,10 +438,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateAttributeEnumemaration.php b/lib/Model/CreateAttributeEnumemaration.php index b9f452bc..7960b55e 100644 --- a/lib/Model/CreateAttributeEnumemaration.php +++ b/lib/Model/CreateAttributeEnumemaration.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateAttributeEnumemaration Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateChild.php b/lib/Model/CreateChild.php index 5a24ff80..50b324df 100644 --- a/lib/Model/CreateChild.php +++ b/lib/Model/CreateChild.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateChild Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -370,10 +370,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateContact.php b/lib/Model/CreateContact.php index cfc2916c..24489f62 100644 --- a/lib/Model/CreateContact.php +++ b/lib/Model/CreateContact.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateContact Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -340,10 +340,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateEmailCampaign.php b/lib/Model/CreateEmailCampaign.php index ab9ec765..3628b1f6 100644 --- a/lib/Model/CreateEmailCampaign.php +++ b/lib/Model/CreateEmailCampaign.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateEmailCampaign Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class CreateEmailCampaign implements ArrayAccess */ protected static $swaggerTypes = [ 'tag' => 'string', - 'sender' => '\Sendinblue\Client\Model\CreateEmailCampaignSender', + 'sender' => '\SendinBlue\Client\Model\CreateEmailCampaignSender', 'name' => 'string', 'htmlContent' => 'string', 'htmlUrl' => 'string', @@ -63,7 +63,7 @@ class CreateEmailCampaign implements ArrayAccess 'subject' => 'string', 'replyTo' => 'string', 'toField' => 'string', - 'recipients' => '\Sendinblue\Client\Model\CreateEmailCampaignRecipients', + 'recipients' => '\SendinBlue\Client\Model\CreateEmailCampaignRecipients', 'attachmentUrl' => 'string', 'inlineImageActivation' => 'bool', 'mirrorActive' => 'bool', @@ -336,7 +336,7 @@ public function setTag($tag) /** * Gets sender - * @return \Sendinblue\Client\Model\CreateEmailCampaignSender + * @return \SendinBlue\Client\Model\CreateEmailCampaignSender */ public function getSender() { @@ -345,7 +345,7 @@ public function getSender() /** * Sets sender - * @param \Sendinblue\Client\Model\CreateEmailCampaignSender $sender + * @param \SendinBlue\Client\Model\CreateEmailCampaignSender $sender * @return $this */ public function setSender($sender) @@ -509,7 +509,7 @@ public function setToField($toField) /** * Gets recipients - * @return \Sendinblue\Client\Model\CreateEmailCampaignRecipients + * @return \SendinBlue\Client\Model\CreateEmailCampaignRecipients */ public function getRecipients() { @@ -518,7 +518,7 @@ public function getRecipients() /** * Sets recipients - * @param \Sendinblue\Client\Model\CreateEmailCampaignRecipients $recipients + * @param \SendinBlue\Client\Model\CreateEmailCampaignRecipients $recipients * @return $this */ public function setRecipients($recipients) @@ -756,10 +756,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateEmailCampaignRecipients.php b/lib/Model/CreateEmailCampaignRecipients.php index b36028ae..250d945d 100644 --- a/lib/Model/CreateEmailCampaignRecipients.php +++ b/lib/Model/CreateEmailCampaignRecipients.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateEmailCampaignRecipients Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateEmailCampaignSender.php b/lib/Model/CreateEmailCampaignSender.php index fe9ff136..6f46233b 100644 --- a/lib/Model/CreateEmailCampaignSender.php +++ b/lib/Model/CreateEmailCampaignSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateEmailCampaignSender Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateList.php b/lib/Model/CreateList.php index 669c83a4..f3dcada8 100644 --- a/lib/Model/CreateList.php +++ b/lib/Model/CreateList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateList Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateModel.php b/lib/Model/CreateModel.php index 07372a03..b8dcab47 100644 --- a/lib/Model/CreateModel.php +++ b/lib/Model/CreateModel.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateModel Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSender.php b/lib/Model/CreateSender.php index e7d48397..9d86f8a9 100644 --- a/lib/Model/CreateSender.php +++ b/lib/Model/CreateSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSender Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -56,7 +56,7 @@ class CreateSender implements ArrayAccess protected static $swaggerTypes = [ 'name' => 'string', 'email' => 'string', - 'ips' => '\Sendinblue\Client\Model\CreateSenderIps[]' + 'ips' => '\SendinBlue\Client\Model\CreateSenderIps[]' ]; /** @@ -228,7 +228,7 @@ public function setEmail($email) /** * Gets ips - * @return \Sendinblue\Client\Model\CreateSenderIps[] + * @return \SendinBlue\Client\Model\CreateSenderIps[] */ public function getIps() { @@ -237,7 +237,7 @@ public function getIps() /** * Sets ips - * @param \Sendinblue\Client\Model\CreateSenderIps[] $ips Mandatory in case of dedicated IP, IPs to associate to the sender + * @param \SendinBlue\Client\Model\CreateSenderIps[] $ips Mandatory in case of dedicated IP, IPs to associate to the sender * @return $this */ public function setIps($ips) @@ -298,10 +298,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSenderIps.php b/lib/Model/CreateSenderIps.php index ef43f173..e0a68a53 100644 --- a/lib/Model/CreateSenderIps.php +++ b/lib/Model/CreateSenderIps.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSenderIps Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -320,10 +320,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSenderModel.php b/lib/Model/CreateSenderModel.php index c313e69c..a1c3bf5c 100644 --- a/lib/Model/CreateSenderModel.php +++ b/lib/Model/CreateSenderModel.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSenderModel Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -292,10 +292,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSmsCampaign.php b/lib/Model/CreateSmsCampaign.php index 0ffbc649..54ca521b 100644 --- a/lib/Model/CreateSmsCampaign.php +++ b/lib/Model/CreateSmsCampaign.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSmsCampaign Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -57,7 +57,7 @@ class CreateSmsCampaign implements ArrayAccess 'name' => 'string', 'sender' => 'string', 'content' => 'string', - 'recipients' => '\Sendinblue\Client\Model\CreateSmsCampaignRecipients', + 'recipients' => '\SendinBlue\Client\Model\CreateSmsCampaignRecipients', 'scheduledAt' => 'string' ]; @@ -279,7 +279,7 @@ public function setContent($content) /** * Gets recipients - * @return \Sendinblue\Client\Model\CreateSmsCampaignRecipients + * @return \SendinBlue\Client\Model\CreateSmsCampaignRecipients */ public function getRecipients() { @@ -288,7 +288,7 @@ public function getRecipients() /** * Sets recipients - * @param \Sendinblue\Client\Model\CreateSmsCampaignRecipients $recipients + * @param \SendinBlue\Client\Model\CreateSmsCampaignRecipients $recipients * @return $this */ public function setRecipients($recipients) @@ -375,10 +375,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSmsCampaignRecipients.php b/lib/Model/CreateSmsCampaignRecipients.php index 341b8fd0..62f61470 100644 --- a/lib/Model/CreateSmsCampaignRecipients.php +++ b/lib/Model/CreateSmsCampaignRecipients.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSmsCampaignRecipients Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSmtpEmail.php b/lib/Model/CreateSmtpEmail.php index 80061def..276fb3e1 100644 --- a/lib/Model/CreateSmtpEmail.php +++ b/lib/Model/CreateSmtpEmail.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSmtpEmail Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSmtpTemplate.php b/lib/Model/CreateSmtpTemplate.php index eaf1284b..432b2214 100644 --- a/lib/Model/CreateSmtpTemplate.php +++ b/lib/Model/CreateSmtpTemplate.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSmtpTemplate Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class CreateSmtpTemplate implements ArrayAccess */ protected static $swaggerTypes = [ 'tag' => 'string', - 'sender' => '\Sendinblue\Client\Model\CreateSmtpTemplateSender', + 'sender' => '\SendinBlue\Client\Model\CreateSmtpTemplateSender', 'templateName' => 'string', 'htmlContent' => 'string', 'htmlUrl' => 'string', @@ -249,7 +249,7 @@ public function setTag($tag) /** * Gets sender - * @return \Sendinblue\Client\Model\CreateSmtpTemplateSender + * @return \SendinBlue\Client\Model\CreateSmtpTemplateSender */ public function getSender() { @@ -258,7 +258,7 @@ public function getSender() /** * Sets sender - * @param \Sendinblue\Client\Model\CreateSmtpTemplateSender $sender + * @param \SendinBlue\Client\Model\CreateSmtpTemplateSender $sender * @return $this */ public function setSender($sender) @@ -487,10 +487,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateSmtpTemplateSender.php b/lib/Model/CreateSmtpTemplateSender.php index ea772836..b7160b7e 100644 --- a/lib/Model/CreateSmtpTemplateSender.php +++ b/lib/Model/CreateSmtpTemplateSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateSmtpTemplateSender Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreateWebhook.php b/lib/Model/CreateWebhook.php index 2b626b04..305716c0 100644 --- a/lib/Model/CreateWebhook.php +++ b/lib/Model/CreateWebhook.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreateWebhook Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -354,10 +354,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/CreatedProcessId.php b/lib/Model/CreatedProcessId.php index bab8a926..648fe3e9 100644 --- a/lib/Model/CreatedProcessId.php +++ b/lib/Model/CreatedProcessId.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * CreatedProcessId Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/DeleteHardbounces.php b/lib/Model/DeleteHardbounces.php index 3526bd3d..7723a8f9 100644 --- a/lib/Model/DeleteHardbounces.php +++ b/lib/Model/DeleteHardbounces.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * DeleteHardbounces Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -286,10 +286,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/EmailExportRecipients.php b/lib/Model/EmailExportRecipients.php index abf215bc..14d5fe79 100644 --- a/lib/Model/EmailExportRecipients.php +++ b/lib/Model/EmailExportRecipients.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * EmailExportRecipients Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -312,10 +312,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/ErrorModel.php b/lib/Model/ErrorModel.php index 80ec7c68..8751da0c 100644 --- a/lib/Model/ErrorModel.php +++ b/lib/Model/ErrorModel.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * ErrorModel Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -330,10 +330,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAccount.php b/lib/Model/GetAccount.php index 9fddeb9d..c022c91e 100644 --- a/lib/Model/GetAccount.php +++ b/lib/Model/GetAccount.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAccount Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,10 +58,10 @@ class GetAccount implements ArrayAccess 'firstName' => 'string', 'lastName' => 'string', 'companyName' => 'string', - 'address' => '\Sendinblue\Client\Model\GetExtendedClientAddress', - 'plan' => '\Sendinblue\Client\Model\GetAccountPlan[]', - 'relay' => '\Sendinblue\Client\Model\GetAccountRelay', - 'marketingAutomation' => '\Sendinblue\Client\Model\GetAccountMarketingAutomation' + 'address' => '\SendinBlue\Client\Model\GetExtendedClientAddress', + 'plan' => '\SendinBlue\Client\Model\GetAccountPlan[]', + 'relay' => '\SendinBlue\Client\Model\GetAccountRelay', + 'marketingAutomation' => '\SendinBlue\Client\Model\GetAccountMarketingAutomation' ]; /** @@ -318,7 +318,7 @@ public function setCompanyName($companyName) /** * Gets address - * @return \Sendinblue\Client\Model\GetExtendedClientAddress + * @return \SendinBlue\Client\Model\GetExtendedClientAddress */ public function getAddress() { @@ -327,7 +327,7 @@ public function getAddress() /** * Sets address - * @param \Sendinblue\Client\Model\GetExtendedClientAddress $address + * @param \SendinBlue\Client\Model\GetExtendedClientAddress $address * @return $this */ public function setAddress($address) @@ -339,7 +339,7 @@ public function setAddress($address) /** * Gets plan - * @return \Sendinblue\Client\Model\GetAccountPlan[] + * @return \SendinBlue\Client\Model\GetAccountPlan[] */ public function getPlan() { @@ -348,7 +348,7 @@ public function getPlan() /** * Sets plan - * @param \Sendinblue\Client\Model\GetAccountPlan[] $plan Information about your plans and credits + * @param \SendinBlue\Client\Model\GetAccountPlan[] $plan Information about your plans and credits * @return $this */ public function setPlan($plan) @@ -360,7 +360,7 @@ public function setPlan($plan) /** * Gets relay - * @return \Sendinblue\Client\Model\GetAccountRelay + * @return \SendinBlue\Client\Model\GetAccountRelay */ public function getRelay() { @@ -369,7 +369,7 @@ public function getRelay() /** * Sets relay - * @param \Sendinblue\Client\Model\GetAccountRelay $relay + * @param \SendinBlue\Client\Model\GetAccountRelay $relay * @return $this */ public function setRelay($relay) @@ -381,7 +381,7 @@ public function setRelay($relay) /** * Gets marketingAutomation - * @return \Sendinblue\Client\Model\GetAccountMarketingAutomation + * @return \SendinBlue\Client\Model\GetAccountMarketingAutomation */ public function getMarketingAutomation() { @@ -390,7 +390,7 @@ public function getMarketingAutomation() /** * Sets marketingAutomation - * @param \Sendinblue\Client\Model\GetAccountMarketingAutomation $marketingAutomation + * @param \SendinBlue\Client\Model\GetAccountMarketingAutomation $marketingAutomation * @return $this */ public function setMarketingAutomation($marketingAutomation) @@ -451,10 +451,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAccountMarketingAutomation.php b/lib/Model/GetAccountMarketingAutomation.php index 50e02ada..c1b55621 100644 --- a/lib/Model/GetAccountMarketingAutomation.php +++ b/lib/Model/GetAccountMarketingAutomation.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAccountMarketingAutomation Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAccountPlan.php b/lib/Model/GetAccountPlan.php index 2cb6d564..501e0818 100644 --- a/lib/Model/GetAccountPlan.php +++ b/lib/Model/GetAccountPlan.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAccountPlan Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -382,10 +382,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAccountRelay.php b/lib/Model/GetAccountRelay.php index 345a1e44..d016c23f 100644 --- a/lib/Model/GetAccountRelay.php +++ b/lib/Model/GetAccountRelay.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Information about your SMTP account - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -56,7 +56,7 @@ class GetAccountRelay implements ArrayAccess */ protected static $swaggerTypes = [ 'enabled' => 'bool', - 'data' => '\Sendinblue\Client\Model\GetAccountRelayData' + 'data' => '\SendinBlue\Client\Model\GetAccountRelayData' ]; /** @@ -196,7 +196,7 @@ public function setEnabled($enabled) /** * Gets data - * @return \Sendinblue\Client\Model\GetAccountRelayData + * @return \SendinBlue\Client\Model\GetAccountRelayData */ public function getData() { @@ -205,7 +205,7 @@ public function getData() /** * Sets data - * @param \Sendinblue\Client\Model\GetAccountRelayData $data + * @param \SendinBlue\Client\Model\GetAccountRelayData $data * @return $this */ public function setData($data) @@ -266,10 +266,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAccountRelayData.php b/lib/Model/GetAccountRelayData.php index e92387f8..a42f9ea5 100644 --- a/lib/Model/GetAccountRelayData.php +++ b/lib/Model/GetAccountRelayData.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Data regarding the SMTP account - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -305,10 +305,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAggregatedReport.php b/lib/Model/GetAggregatedReport.php index 50e95b46..1d4fd713 100644 --- a/lib/Model/GetAggregatedReport.php +++ b/lib/Model/GetAggregatedReport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAggregatedReport Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -601,10 +601,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAttributes.php b/lib/Model/GetAttributes.php index 66d1c06d..67200261 100644 --- a/lib/Model/GetAttributes.php +++ b/lib/Model/GetAttributes.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAttributes Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetAttributes implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'attributes' => '\Sendinblue\Client\Model\GetAttributesAttributes[]' + 'attributes' => '\SendinBlue\Client\Model\GetAttributesAttributes[]' ]; /** @@ -168,7 +168,7 @@ public function valid() /** * Gets attributes - * @return \Sendinblue\Client\Model\GetAttributesAttributes[] + * @return \SendinBlue\Client\Model\GetAttributesAttributes[] */ public function getAttributes() { @@ -177,7 +177,7 @@ public function getAttributes() /** * Sets attributes - * @param \Sendinblue\Client\Model\GetAttributesAttributes[] $attributes Listing of available contact attributes in your account + * @param \SendinBlue\Client\Model\GetAttributesAttributes[] $attributes Listing of available contact attributes in your account * @return $this */ public function setAttributes($attributes) @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAttributesAttributes.php b/lib/Model/GetAttributesAttributes.php index 06c5e2b7..feca442f 100644 --- a/lib/Model/GetAttributesAttributes.php +++ b/lib/Model/GetAttributesAttributes.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAttributesAttributes Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,7 +58,7 @@ class GetAttributesAttributes implements ArrayAccess 'name' => 'string', 'category' => 'string', 'type' => 'string', - 'enumeration' => '\Sendinblue\Client\Model\GetAttributesEnumeration[]', + 'enumeration' => '\SendinBlue\Client\Model\GetAttributesEnumeration[]', 'calculatedValue' => 'string' ]; @@ -374,7 +374,7 @@ public function setType($type) /** * Gets enumeration - * @return \Sendinblue\Client\Model\GetAttributesEnumeration[] + * @return \SendinBlue\Client\Model\GetAttributesEnumeration[] */ public function getEnumeration() { @@ -383,7 +383,7 @@ public function getEnumeration() /** * Sets enumeration - * @param \Sendinblue\Client\Model\GetAttributesEnumeration[] $enumeration Parameter only available for \"category\" type attributes. + * @param \SendinBlue\Client\Model\GetAttributesEnumeration[] $enumeration Parameter only available for \"category\" type attributes. * @return $this */ public function setEnumeration($enumeration) @@ -465,10 +465,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetAttributesEnumeration.php b/lib/Model/GetAttributesEnumeration.php index 7dcb5ff6..561d9cbd 100644 --- a/lib/Model/GetAttributesEnumeration.php +++ b/lib/Model/GetAttributesEnumeration.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetAttributesEnumeration Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetCampaignOverview.php b/lib/Model/GetCampaignOverview.php index 563e2a3f..996f11d0 100644 --- a/lib/Model/GetCampaignOverview.php +++ b/lib/Model/GetCampaignOverview.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetCampaignOverview Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -487,10 +487,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetCampaignRecipients.php b/lib/Model/GetCampaignRecipients.php index 8725bba1..4e7071d4 100644 --- a/lib/Model/GetCampaignRecipients.php +++ b/lib/Model/GetCampaignRecipients.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetCampaignRecipients Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,8 +54,8 @@ class GetCampaignRecipients implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'lists' => '\Sendinblue\Client\Model\GetCampaignRecipientsLists[]', - 'exclusionLists' => '\Sendinblue\Client\Model\GetCampaignRecipientsExclusionLists[]' + 'lists' => '\SendinBlue\Client\Model\GetCampaignRecipientsLists[]', + 'exclusionLists' => '\SendinBlue\Client\Model\GetCampaignRecipientsExclusionLists[]' ]; /** @@ -180,7 +180,7 @@ public function valid() /** * Gets lists - * @return \Sendinblue\Client\Model\GetCampaignRecipientsLists[] + * @return \SendinBlue\Client\Model\GetCampaignRecipientsLists[] */ public function getLists() { @@ -189,7 +189,7 @@ public function getLists() /** * Sets lists - * @param \Sendinblue\Client\Model\GetCampaignRecipientsLists[] $lists Lists included in the campaign + * @param \SendinBlue\Client\Model\GetCampaignRecipientsLists[] $lists Lists included in the campaign * @return $this */ public function setLists($lists) @@ -201,7 +201,7 @@ public function setLists($lists) /** * Gets exclusionLists - * @return \Sendinblue\Client\Model\GetCampaignRecipientsExclusionLists[] + * @return \SendinBlue\Client\Model\GetCampaignRecipientsExclusionLists[] */ public function getExclusionLists() { @@ -210,7 +210,7 @@ public function getExclusionLists() /** * Sets exclusionLists - * @param \Sendinblue\Client\Model\GetCampaignRecipientsExclusionLists[] $exclusionLists Lists excluded of the campaign + * @param \SendinBlue\Client\Model\GetCampaignRecipientsExclusionLists[] $exclusionLists Lists excluded of the campaign * @return $this */ public function setExclusionLists($exclusionLists) @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetCampaignRecipientsExclusionLists.php b/lib/Model/GetCampaignRecipientsExclusionLists.php index 0b3f4f91..c2356b85 100644 --- a/lib/Model/GetCampaignRecipientsExclusionLists.php +++ b/lib/Model/GetCampaignRecipientsExclusionLists.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetCampaignRecipientsExclusionLists Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetCampaignRecipientsLists.php b/lib/Model/GetCampaignRecipientsLists.php index 3d969349..a6cb9df8 100644 --- a/lib/Model/GetCampaignRecipientsLists.php +++ b/lib/Model/GetCampaignRecipientsLists.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetCampaignRecipientsLists Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetCampaignStats.php b/lib/Model/GetCampaignStats.php index 26782052..eb2935de 100644 --- a/lib/Model/GetCampaignStats.php +++ b/lib/Model/GetCampaignStats.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetCampaignStats Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -601,10 +601,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetChildInfo.php b/lib/Model/GetChildInfo.php index c3ca9db3..f0725b1f 100644 --- a/lib/Model/GetChildInfo.php +++ b/lib/Model/GetChildInfo.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetChildInfo Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,11 +58,11 @@ class GetChildInfo implements ArrayAccess 'firstName' => 'string', 'lastName' => 'string', 'companyName' => 'string', - 'credits' => '\Sendinblue\Client\Model\GetChildInfoCredits', - 'statistics' => '\Sendinblue\Client\Model\GetChildInfoStatistics', + 'credits' => '\SendinBlue\Client\Model\GetChildInfoCredits', + 'statistics' => '\SendinBlue\Client\Model\GetChildInfoStatistics', 'password' => 'string', - 'ips' => '\Sendinblue\Client\Model\GetChildInfoIps[]', - 'apiKeys' => '\Sendinblue\Client\Model\GetChildInfoApiKeys[]' + 'ips' => '\SendinBlue\Client\Model\GetChildInfoIps[]', + 'apiKeys' => '\SendinBlue\Client\Model\GetChildInfoApiKeys[]' ]; /** @@ -324,7 +324,7 @@ public function setCompanyName($companyName) /** * Gets credits - * @return \Sendinblue\Client\Model\GetChildInfoCredits + * @return \SendinBlue\Client\Model\GetChildInfoCredits */ public function getCredits() { @@ -333,7 +333,7 @@ public function getCredits() /** * Sets credits - * @param \Sendinblue\Client\Model\GetChildInfoCredits $credits + * @param \SendinBlue\Client\Model\GetChildInfoCredits $credits * @return $this */ public function setCredits($credits) @@ -345,7 +345,7 @@ public function setCredits($credits) /** * Gets statistics - * @return \Sendinblue\Client\Model\GetChildInfoStatistics + * @return \SendinBlue\Client\Model\GetChildInfoStatistics */ public function getStatistics() { @@ -354,7 +354,7 @@ public function getStatistics() /** * Sets statistics - * @param \Sendinblue\Client\Model\GetChildInfoStatistics $statistics + * @param \SendinBlue\Client\Model\GetChildInfoStatistics $statistics * @return $this */ public function setStatistics($statistics) @@ -387,7 +387,7 @@ public function setPassword($password) /** * Gets ips - * @return \Sendinblue\Client\Model\GetChildInfoIps[] + * @return \SendinBlue\Client\Model\GetChildInfoIps[] */ public function getIps() { @@ -396,7 +396,7 @@ public function getIps() /** * Sets ips - * @param \Sendinblue\Client\Model\GetChildInfoIps[] $ips IP(s) associated to a child account user + * @param \SendinBlue\Client\Model\GetChildInfoIps[] $ips IP(s) associated to a child account user * @return $this */ public function setIps($ips) @@ -408,7 +408,7 @@ public function setIps($ips) /** * Gets apiKeys - * @return \Sendinblue\Client\Model\GetChildInfoApiKeys[] + * @return \SendinBlue\Client\Model\GetChildInfoApiKeys[] */ public function getApiKeys() { @@ -417,7 +417,7 @@ public function getApiKeys() /** * Sets apiKeys - * @param \Sendinblue\Client\Model\GetChildInfoApiKeys[] $apiKeys API Keys associated to child account + * @param \SendinBlue\Client\Model\GetChildInfoApiKeys[] $apiKeys API Keys associated to child account * @return $this */ public function setApiKeys($apiKeys) @@ -478,10 +478,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetChildInfoApiKeys.php b/lib/Model/GetChildInfoApiKeys.php index 14ed26aa..d8d34b2a 100644 --- a/lib/Model/GetChildInfoApiKeys.php +++ b/lib/Model/GetChildInfoApiKeys.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetChildInfoApiKeys Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -298,10 +298,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetChildInfoCredits.php b/lib/Model/GetChildInfoCredits.php index c9e3a773..c324318d 100644 --- a/lib/Model/GetChildInfoCredits.php +++ b/lib/Model/GetChildInfoCredits.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Credits available for your child - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -260,10 +260,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetChildInfoIps.php b/lib/Model/GetChildInfoIps.php index c975c262..df7a897f 100644 --- a/lib/Model/GetChildInfoIps.php +++ b/lib/Model/GetChildInfoIps.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetChildInfoIps Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetChildInfoStatistics.php b/lib/Model/GetChildInfoStatistics.php index 0699d0b9..069a205e 100644 --- a/lib/Model/GetChildInfoStatistics.php +++ b/lib/Model/GetChildInfoStatistics.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Statistics about your child account activity - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -287,10 +287,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetChildrenList.php b/lib/Model/GetChildrenList.php index ee05ae38..56a49893 100644 --- a/lib/Model/GetChildrenList.php +++ b/lib/Model/GetChildrenList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetChildrenList Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetClient.php b/lib/Model/GetClient.php index 4b389bac..1bcbf91e 100644 --- a/lib/Model/GetClient.php +++ b/lib/Model/GetClient.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetClient Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -337,10 +337,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStats.php b/lib/Model/GetContactCampaignStats.php index 0ed98229..41ce147b 100644 --- a/lib/Model/GetContactCampaignStats.php +++ b/lib/Model/GetContactCampaignStats.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Campaign Statistics for the contact - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,14 +55,14 @@ class GetContactCampaignStats implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'messagesSent' => '\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]', - 'hardBounces' => '\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]', - 'softBounces' => '\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]', - 'complaints' => '\Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[]', - 'unsubscriptions' => '\Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptions', - 'opened' => '\Sendinblue\Client\Model\GetContactCampaignStatsOpened[]', - 'clicked' => '\Sendinblue\Client\Model\GetContactCampaignStatsClicked[]', - 'transacAttributes' => '\Sendinblue\Client\Model\GetContactCampaignStatsTransacAttributes[]' + 'messagesSent' => '\SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[]', + 'hardBounces' => '\SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[]', + 'softBounces' => '\SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[]', + 'complaints' => '\SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[]', + 'unsubscriptions' => '\SendinBlue\Client\Model\GetContactCampaignStatsUnsubscriptions', + 'opened' => '\SendinBlue\Client\Model\GetContactCampaignStatsOpened[]', + 'clicked' => '\SendinBlue\Client\Model\GetContactCampaignStatsClicked[]', + 'transacAttributes' => '\SendinBlue\Client\Model\GetContactCampaignStatsTransacAttributes[]' ]; /** @@ -205,7 +205,7 @@ public function valid() /** * Gets messagesSent - * @return \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] + * @return \SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[] */ public function getMessagesSent() { @@ -214,7 +214,7 @@ public function getMessagesSent() /** * Sets messagesSent - * @param \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] $messagesSent + * @param \SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[] $messagesSent * @return $this */ public function setMessagesSent($messagesSent) @@ -226,7 +226,7 @@ public function setMessagesSent($messagesSent) /** * Gets hardBounces - * @return \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] + * @return \SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[] */ public function getHardBounces() { @@ -235,7 +235,7 @@ public function getHardBounces() /** * Sets hardBounces - * @param \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] $hardBounces + * @param \SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[] $hardBounces * @return $this */ public function setHardBounces($hardBounces) @@ -247,7 +247,7 @@ public function setHardBounces($hardBounces) /** * Gets softBounces - * @return \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] + * @return \SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[] */ public function getSoftBounces() { @@ -256,7 +256,7 @@ public function getSoftBounces() /** * Sets softBounces - * @param \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] $softBounces + * @param \SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[] $softBounces * @return $this */ public function setSoftBounces($softBounces) @@ -268,7 +268,7 @@ public function setSoftBounces($softBounces) /** * Gets complaints - * @return \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] + * @return \SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[] */ public function getComplaints() { @@ -277,7 +277,7 @@ public function getComplaints() /** * Sets complaints - * @param \Sendinblue\Client\Model\GetContactCampaignStatsMessagesSent[] $complaints + * @param \SendinBlue\Client\Model\GetContactCampaignStatsMessagesSent[] $complaints * @return $this */ public function setComplaints($complaints) @@ -289,7 +289,7 @@ public function setComplaints($complaints) /** * Gets unsubscriptions - * @return \Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptions + * @return \SendinBlue\Client\Model\GetContactCampaignStatsUnsubscriptions */ public function getUnsubscriptions() { @@ -298,7 +298,7 @@ public function getUnsubscriptions() /** * Sets unsubscriptions - * @param \Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptions $unsubscriptions + * @param \SendinBlue\Client\Model\GetContactCampaignStatsUnsubscriptions $unsubscriptions * @return $this */ public function setUnsubscriptions($unsubscriptions) @@ -310,7 +310,7 @@ public function setUnsubscriptions($unsubscriptions) /** * Gets opened - * @return \Sendinblue\Client\Model\GetContactCampaignStatsOpened[] + * @return \SendinBlue\Client\Model\GetContactCampaignStatsOpened[] */ public function getOpened() { @@ -319,7 +319,7 @@ public function getOpened() /** * Sets opened - * @param \Sendinblue\Client\Model\GetContactCampaignStatsOpened[] $opened + * @param \SendinBlue\Client\Model\GetContactCampaignStatsOpened[] $opened * @return $this */ public function setOpened($opened) @@ -331,7 +331,7 @@ public function setOpened($opened) /** * Gets clicked - * @return \Sendinblue\Client\Model\GetContactCampaignStatsClicked[] + * @return \SendinBlue\Client\Model\GetContactCampaignStatsClicked[] */ public function getClicked() { @@ -340,7 +340,7 @@ public function getClicked() /** * Sets clicked - * @param \Sendinblue\Client\Model\GetContactCampaignStatsClicked[] $clicked + * @param \SendinBlue\Client\Model\GetContactCampaignStatsClicked[] $clicked * @return $this */ public function setClicked($clicked) @@ -352,7 +352,7 @@ public function setClicked($clicked) /** * Gets transacAttributes - * @return \Sendinblue\Client\Model\GetContactCampaignStatsTransacAttributes[] + * @return \SendinBlue\Client\Model\GetContactCampaignStatsTransacAttributes[] */ public function getTransacAttributes() { @@ -361,7 +361,7 @@ public function getTransacAttributes() /** * Sets transacAttributes - * @param \Sendinblue\Client\Model\GetContactCampaignStatsTransacAttributes[] $transacAttributes + * @param \SendinBlue\Client\Model\GetContactCampaignStatsTransacAttributes[] $transacAttributes * @return $this */ public function setTransacAttributes($transacAttributes) @@ -422,10 +422,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsClicked.php b/lib/Model/GetContactCampaignStatsClicked.php index 039355d9..9512a11e 100644 --- a/lib/Model/GetContactCampaignStatsClicked.php +++ b/lib/Model/GetContactCampaignStatsClicked.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsClicked Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetContactCampaignStatsClicked implements ArrayAccess */ protected static $swaggerTypes = [ 'campaignId' => 'int', - 'links' => '\Sendinblue\Client\Model\GetContactCampaignStatsLinks[]' + 'links' => '\SendinBlue\Client\Model\GetContactCampaignStatsLinks[]' ]; /** @@ -201,7 +201,7 @@ public function setCampaignId($campaignId) /** * Gets links - * @return \Sendinblue\Client\Model\GetContactCampaignStatsLinks[] + * @return \SendinBlue\Client\Model\GetContactCampaignStatsLinks[] */ public function getLinks() { @@ -210,7 +210,7 @@ public function getLinks() /** * Sets links - * @param \Sendinblue\Client\Model\GetContactCampaignStatsLinks[] $links + * @param \SendinBlue\Client\Model\GetContactCampaignStatsLinks[] $links * @return $this */ public function setLinks($links) @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsLinks.php b/lib/Model/GetContactCampaignStatsLinks.php index 22bd857e..92f32083 100644 --- a/lib/Model/GetContactCampaignStatsLinks.php +++ b/lib/Model/GetContactCampaignStatsLinks.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsLinks Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -337,10 +337,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsMessagesSent.php b/lib/Model/GetContactCampaignStatsMessagesSent.php index 9165807f..8449cb63 100644 --- a/lib/Model/GetContactCampaignStatsMessagesSent.php +++ b/lib/Model/GetContactCampaignStatsMessagesSent.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsMessagesSent Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsOpened.php b/lib/Model/GetContactCampaignStatsOpened.php index 687f4e0c..3e088f02 100644 --- a/lib/Model/GetContactCampaignStatsOpened.php +++ b/lib/Model/GetContactCampaignStatsOpened.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsOpened Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -337,10 +337,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsTransacAttributes.php b/lib/Model/GetContactCampaignStatsTransacAttributes.php index d92b4700..46cb471e 100644 --- a/lib/Model/GetContactCampaignStatsTransacAttributes.php +++ b/lib/Model/GetContactCampaignStatsTransacAttributes.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsTransacAttributes Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -304,10 +304,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsUnsubscriptions.php b/lib/Model/GetContactCampaignStatsUnsubscriptions.php index 16a98cb4..9d61d8d9 100644 --- a/lib/Model/GetContactCampaignStatsUnsubscriptions.php +++ b/lib/Model/GetContactCampaignStatsUnsubscriptions.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsUnsubscriptions Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,8 +54,8 @@ class GetContactCampaignStatsUnsubscriptions implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'userUnsubscription' => '\Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[]', - 'adminUnsubscription' => '\Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[]' + 'userUnsubscription' => '\SendinBlue\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[]', + 'adminUnsubscription' => '\SendinBlue\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[]' ]; /** @@ -180,7 +180,7 @@ public function valid() /** * Gets userUnsubscription - * @return \Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[] + * @return \SendinBlue\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[] */ public function getUserUnsubscription() { @@ -189,7 +189,7 @@ public function getUserUnsubscription() /** * Sets userUnsubscription - * @param \Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[] $userUnsubscription Contact has unsubscribed via the unsubscription link in the email + * @param \SendinBlue\Client\Model\GetContactCampaignStatsUnsubscriptionsUserUnsubscription[] $userUnsubscription Contact has unsubscribed via the unsubscription link in the email * @return $this */ public function setUserUnsubscription($userUnsubscription) @@ -201,7 +201,7 @@ public function setUserUnsubscription($userUnsubscription) /** * Gets adminUnsubscription - * @return \Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[] + * @return \SendinBlue\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[] */ public function getAdminUnsubscription() { @@ -210,7 +210,7 @@ public function getAdminUnsubscription() /** * Sets adminUnsubscription - * @param \Sendinblue\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[] $adminUnsubscription Contact has been unsubscribed from the administrator + * @param \SendinBlue\Client\Model\GetContactCampaignStatsUnsubscriptionsAdminUnsubscription[] $adminUnsubscription Contact has been unsubscribed from the administrator * @return $this */ public function setAdminUnsubscription($adminUnsubscription) @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.php b/lib/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.php index 4716b67c..b7a20c5b 100644 --- a/lib/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.php +++ b/lib/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscription.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsUnsubscriptionsAdminUnsubscription Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscription.php b/lib/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscription.php index df659934..dcc0d6fd 100644 --- a/lib/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscription.php +++ b/lib/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscription.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactCampaignStatsUnsubscriptionsUserUnsubscription Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -304,10 +304,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContactDetails.php b/lib/Model/GetContactDetails.php index 3d08c665..312b442a 100644 --- a/lib/Model/GetContactDetails.php +++ b/lib/Model/GetContactDetails.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContactDetails Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -475,10 +475,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetContacts.php b/lib/Model/GetContacts.php index 1a35b730..a2a133cd 100644 --- a/lib/Model/GetContacts.php +++ b/lib/Model/GetContacts.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetContacts Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetEmailCampaign.php b/lib/Model/GetEmailCampaign.php index deef833d..88a47806 100644 --- a/lib/Model/GetEmailCampaign.php +++ b/lib/Model/GetEmailCampaign.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetEmailCampaign Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -63,7 +63,7 @@ class GetEmailCampaign implements ArrayAccess 'testSent' => 'bool', 'header' => 'string', 'footer' => 'string', - 'sender' => '\Sendinblue\Client\Model\GetExtendedCampaignOverviewSender', + 'sender' => '\SendinBlue\Client\Model\GetExtendedCampaignOverviewSender', 'replyTo' => 'string', 'toField' => 'string', 'htmlContent' => 'string', @@ -659,7 +659,7 @@ public function setFooter($footer) /** * Gets sender - * @return \Sendinblue\Client\Model\GetExtendedCampaignOverviewSender + * @return \SendinBlue\Client\Model\GetExtendedCampaignOverviewSender */ public function getSender() { @@ -668,7 +668,7 @@ public function getSender() /** * Sets sender - * @param \Sendinblue\Client\Model\GetExtendedCampaignOverviewSender $sender + * @param \SendinBlue\Client\Model\GetExtendedCampaignOverviewSender $sender * @return $this */ public function setSender($sender) @@ -949,10 +949,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetEmailCampaigns.php b/lib/Model/GetEmailCampaigns.php index 02b29924..1c7434db 100644 --- a/lib/Model/GetEmailCampaigns.php +++ b/lib/Model/GetEmailCampaigns.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetEmailCampaigns Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetEmailEventReport.php b/lib/Model/GetEmailEventReport.php index 3de67d23..702870bf 100644 --- a/lib/Model/GetEmailEventReport.php +++ b/lib/Model/GetEmailEventReport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetEmailEventReport Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetEmailEventReport implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'events' => '\Sendinblue\Client\Model\GetEmailEventReportEvents[]' + 'events' => '\SendinBlue\Client\Model\GetEmailEventReportEvents[]' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets events - * @return \Sendinblue\Client\Model\GetEmailEventReportEvents[] + * @return \SendinBlue\Client\Model\GetEmailEventReportEvents[] */ public function getEvents() { @@ -171,7 +171,7 @@ public function getEvents() /** * Sets events - * @param \Sendinblue\Client\Model\GetEmailEventReportEvents[] $events + * @param \SendinBlue\Client\Model\GetEmailEventReportEvents[] $events * @return $this */ public function setEvents($events) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetEmailEventReportEvents.php b/lib/Model/GetEmailEventReportEvents.php index 66ae00c4..068434c9 100644 --- a/lib/Model/GetEmailEventReportEvents.php +++ b/lib/Model/GetEmailEventReportEvents.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetEmailEventReportEvents Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -483,10 +483,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedCampaignOverview.php b/lib/Model/GetExtendedCampaignOverview.php index 238c0499..9a63ed0e 100644 --- a/lib/Model/GetExtendedCampaignOverview.php +++ b/lib/Model/GetExtendedCampaignOverview.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedCampaignOverview Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -63,7 +63,7 @@ class GetExtendedCampaignOverview implements ArrayAccess 'testSent' => 'bool', 'header' => 'string', 'footer' => 'string', - 'sender' => '\Sendinblue\Client\Model\GetExtendedCampaignOverviewSender', + 'sender' => '\SendinBlue\Client\Model\GetExtendedCampaignOverviewSender', 'replyTo' => 'string', 'toField' => 'string', 'htmlContent' => 'string', @@ -659,7 +659,7 @@ public function setFooter($footer) /** * Gets sender - * @return \Sendinblue\Client\Model\GetExtendedCampaignOverviewSender + * @return \SendinBlue\Client\Model\GetExtendedCampaignOverviewSender */ public function getSender() { @@ -668,7 +668,7 @@ public function getSender() /** * Sets sender - * @param \Sendinblue\Client\Model\GetExtendedCampaignOverviewSender $sender + * @param \SendinBlue\Client\Model\GetExtendedCampaignOverviewSender $sender * @return $this */ public function setSender($sender) @@ -949,10 +949,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedCampaignOverviewSender.php b/lib/Model/GetExtendedCampaignOverviewSender.php index dec8308c..f0048df2 100644 --- a/lib/Model/GetExtendedCampaignOverviewSender.php +++ b/lib/Model/GetExtendedCampaignOverviewSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedCampaignOverviewSender Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedCampaignStats.php b/lib/Model/GetExtendedCampaignStats.php index eac547ef..580045e6 100644 --- a/lib/Model/GetExtendedCampaignStats.php +++ b/lib/Model/GetExtendedCampaignStats.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedCampaignStats Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -57,8 +57,8 @@ class GetExtendedCampaignStats implements ArrayAccess 'campaignStats' => 'object[]', 'mirrorClick' => 'int', 'remaining' => 'int', - 'linksStats' => 'map[string,\Sendinblue\Client\Model\GetExtendedCampaignStatsLinksStats]', - 'statsByDomain' => '\Sendinblue\Client\Model\GetStatsByDomain' + 'linksStats' => 'map[string,\SendinBlue\Client\Model\GetExtendedCampaignStatsLinksStats]', + 'statsByDomain' => '\SendinBlue\Client\Model\GetStatsByDomain' ]; /** @@ -279,7 +279,7 @@ public function setRemaining($remaining) /** * Gets linksStats - * @return map[string,\Sendinblue\Client\Model\GetExtendedCampaignStatsLinksStats] + * @return map[string,\SendinBlue\Client\Model\GetExtendedCampaignStatsLinksStats] */ public function getLinksStats() { @@ -288,7 +288,7 @@ public function getLinksStats() /** * Sets linksStats - * @param map[string,\Sendinblue\Client\Model\GetExtendedCampaignStatsLinksStats] $linksStats + * @param map[string,\SendinBlue\Client\Model\GetExtendedCampaignStatsLinksStats] $linksStats * @return $this */ public function setLinksStats($linksStats) @@ -300,7 +300,7 @@ public function setLinksStats($linksStats) /** * Gets statsByDomain - * @return \Sendinblue\Client\Model\GetStatsByDomain + * @return \SendinBlue\Client\Model\GetStatsByDomain */ public function getStatsByDomain() { @@ -309,7 +309,7 @@ public function getStatsByDomain() /** * Sets statsByDomain - * @param \Sendinblue\Client\Model\GetStatsByDomain $statsByDomain + * @param \SendinBlue\Client\Model\GetStatsByDomain $statsByDomain * @return $this */ public function setStatsByDomain($statsByDomain) @@ -370,10 +370,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedCampaignStatsLinksStats.php b/lib/Model/GetExtendedCampaignStatsLinksStats.php index 7461e506..4bcf8d39 100644 --- a/lib/Model/GetExtendedCampaignStatsLinksStats.php +++ b/lib/Model/GetExtendedCampaignStatsLinksStats.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Statistics about the clicked links - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -239,10 +239,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedClient.php b/lib/Model/GetExtendedClient.php index ee5a306c..5465cd14 100644 --- a/lib/Model/GetExtendedClient.php +++ b/lib/Model/GetExtendedClient.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedClient Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,7 +58,7 @@ class GetExtendedClient implements ArrayAccess 'firstName' => 'string', 'lastName' => 'string', 'companyName' => 'string', - 'address' => '\Sendinblue\Client\Model\GetExtendedClientAddress' + 'address' => '\SendinBlue\Client\Model\GetExtendedClientAddress' ]; /** @@ -294,7 +294,7 @@ public function setCompanyName($companyName) /** * Gets address - * @return \Sendinblue\Client\Model\GetExtendedClientAddress + * @return \SendinBlue\Client\Model\GetExtendedClientAddress */ public function getAddress() { @@ -303,7 +303,7 @@ public function getAddress() /** * Sets address - * @param \Sendinblue\Client\Model\GetExtendedClientAddress $address + * @param \SendinBlue\Client\Model\GetExtendedClientAddress $address * @return $this */ public function setAddress($address) @@ -364,10 +364,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedClientAddress.php b/lib/Model/GetExtendedClientAddress.php index b2009ab1..2ee7d77f 100644 --- a/lib/Model/GetExtendedClientAddress.php +++ b/lib/Model/GetExtendedClientAddress.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Address informations - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -338,10 +338,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedContactDetails.php b/lib/Model/GetExtendedContactDetails.php index 15ccec45..66b818f8 100644 --- a/lib/Model/GetExtendedContactDetails.php +++ b/lib/Model/GetExtendedContactDetails.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedContactDetails Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -475,10 +475,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedList.php b/lib/Model/GetExtendedList.php index b4f31975..6ec8a8f5 100644 --- a/lib/Model/GetExtendedList.php +++ b/lib/Model/GetExtendedList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedList Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -60,7 +60,7 @@ class GetExtendedList implements ArrayAccess 'totalSubscribers' => 'int', 'folderId' => 'int', 'createdAt' => 'string', - 'campaignStats' => '\Sendinblue\Client\Model\GetExtendedListCampaignStats[]', + 'campaignStats' => '\SendinBlue\Client\Model\GetExtendedListCampaignStats[]', 'dynamicList' => 'bool' ]; @@ -378,7 +378,7 @@ public function setCreatedAt($createdAt) /** * Gets campaignStats - * @return \Sendinblue\Client\Model\GetExtendedListCampaignStats[] + * @return \SendinBlue\Client\Model\GetExtendedListCampaignStats[] */ public function getCampaignStats() { @@ -387,7 +387,7 @@ public function getCampaignStats() /** * Sets campaignStats - * @param \Sendinblue\Client\Model\GetExtendedListCampaignStats[] $campaignStats + * @param \SendinBlue\Client\Model\GetExtendedListCampaignStats[] $campaignStats * @return $this */ public function setCampaignStats($campaignStats) @@ -469,10 +469,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetExtendedListCampaignStats.php b/lib/Model/GetExtendedListCampaignStats.php index c986b65d..f319babc 100644 --- a/lib/Model/GetExtendedListCampaignStats.php +++ b/lib/Model/GetExtendedListCampaignStats.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetExtendedListCampaignStats Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetExtendedListCampaignStats implements ArrayAccess */ protected static $swaggerTypes = [ 'campaignId' => 'int', - 'stats' => '\Sendinblue\Client\Model\GetCampaignStats' + 'stats' => '\SendinBlue\Client\Model\GetCampaignStats' ]; /** @@ -201,7 +201,7 @@ public function setCampaignId($campaignId) /** * Gets stats - * @return \Sendinblue\Client\Model\GetCampaignStats + * @return \SendinBlue\Client\Model\GetCampaignStats */ public function getStats() { @@ -210,7 +210,7 @@ public function getStats() /** * Sets stats - * @param \Sendinblue\Client\Model\GetCampaignStats $stats + * @param \SendinBlue\Client\Model\GetCampaignStats $stats * @return $this */ public function setStats($stats) @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetFolder.php b/lib/Model/GetFolder.php index 9b63d90b..c4dfe436 100644 --- a/lib/Model/GetFolder.php +++ b/lib/Model/GetFolder.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetFolder Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -370,10 +370,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetFolderLists.php b/lib/Model/GetFolderLists.php index fa100692..540c3707 100644 --- a/lib/Model/GetFolderLists.php +++ b/lib/Model/GetFolderLists.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetFolderLists Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetFolders.php b/lib/Model/GetFolders.php index f03d926d..79aeb514 100644 --- a/lib/Model/GetFolders.php +++ b/lib/Model/GetFolders.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetFolders Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetIp.php b/lib/Model/GetIp.php index 6ba2e998..3465f74a 100644 --- a/lib/Model/GetIp.php +++ b/lib/Model/GetIp.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetIp Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -337,10 +337,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetIpFromSender.php b/lib/Model/GetIpFromSender.php index 008a5a3b..de636a8f 100644 --- a/lib/Model/GetIpFromSender.php +++ b/lib/Model/GetIpFromSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetIpFromSender Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -337,10 +337,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetIps.php b/lib/Model/GetIps.php index 998e65fd..9b687e47 100644 --- a/lib/Model/GetIps.php +++ b/lib/Model/GetIps.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetIps Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetIps implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'ips' => '\Sendinblue\Client\Model\GetIp[]' + 'ips' => '\SendinBlue\Client\Model\GetIp[]' ]; /** @@ -168,7 +168,7 @@ public function valid() /** * Gets ips - * @return \Sendinblue\Client\Model\GetIp[] + * @return \SendinBlue\Client\Model\GetIp[] */ public function getIps() { @@ -177,7 +177,7 @@ public function getIps() /** * Sets ips - * @param \Sendinblue\Client\Model\GetIp[] $ips Dedicated IP(s) available on your account + * @param \SendinBlue\Client\Model\GetIp[] $ips Dedicated IP(s) available on your account * @return $this */ public function setIps($ips) @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetIpsFromSender.php b/lib/Model/GetIpsFromSender.php index 65d656d2..ce83b766 100644 --- a/lib/Model/GetIpsFromSender.php +++ b/lib/Model/GetIpsFromSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetIpsFromSender Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetIpsFromSender implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'ips' => '\Sendinblue\Client\Model\GetIpFromSender[]' + 'ips' => '\SendinBlue\Client\Model\GetIpFromSender[]' ]; /** @@ -168,7 +168,7 @@ public function valid() /** * Gets ips - * @return \Sendinblue\Client\Model\GetIpFromSender[] + * @return \SendinBlue\Client\Model\GetIpFromSender[] */ public function getIps() { @@ -177,7 +177,7 @@ public function getIps() /** * Sets ips - * @param \Sendinblue\Client\Model\GetIpFromSender[] $ips Dedicated IP(s) linked to a sender + * @param \SendinBlue\Client\Model\GetIpFromSender[] $ips Dedicated IP(s) linked to a sender * @return $this */ public function setIps($ips) @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetList.php b/lib/Model/GetList.php index f51ebe1c..eb2a73d9 100644 --- a/lib/Model/GetList.php +++ b/lib/Model/GetList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetList Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -337,10 +337,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetLists.php b/lib/Model/GetLists.php index c461cb08..fdbb5e05 100644 --- a/lib/Model/GetLists.php +++ b/lib/Model/GetLists.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetLists Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetLists implements ArrayAccess */ protected static $swaggerTypes = [ 'count' => 'int', - 'lists' => '\Sendinblue\Client\Model\GetListsLists[]' + 'lists' => '\SendinBlue\Client\Model\GetListsLists[]' ]; /** @@ -201,7 +201,7 @@ public function setCount($count) /** * Gets lists - * @return \Sendinblue\Client\Model\GetListsLists[] + * @return \SendinBlue\Client\Model\GetListsLists[] */ public function getLists() { @@ -210,7 +210,7 @@ public function getLists() /** * Sets lists - * @param \Sendinblue\Client\Model\GetListsLists[] $lists Listing of all the lists available in your account + * @param \SendinBlue\Client\Model\GetListsLists[] $lists Listing of all the lists available in your account * @return $this */ public function setLists($lists) @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetListsFolder.php b/lib/Model/GetListsFolder.php index 66dec431..c9064aac 100644 --- a/lib/Model/GetListsFolder.php +++ b/lib/Model/GetListsFolder.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetListsFolder Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetListsLists.php b/lib/Model/GetListsLists.php index 78df6385..0f3fa3fc 100644 --- a/lib/Model/GetListsLists.php +++ b/lib/Model/GetListsLists.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetListsLists Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetListsLists implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'folder' => '\Sendinblue\Client\Model\GetListsFolder' + 'folder' => '\SendinBlue\Client\Model\GetListsFolder' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets folder - * @return \Sendinblue\Client\Model\GetListsFolder + * @return \SendinBlue\Client\Model\GetListsFolder */ public function getFolder() { @@ -171,7 +171,7 @@ public function getFolder() /** * Sets folder - * @param \Sendinblue\Client\Model\GetListsFolder $folder + * @param \SendinBlue\Client\Model\GetListsFolder $folder * @return $this */ public function setFolder($folder) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetProcess.php b/lib/Model/GetProcess.php index 3eac27a8..d4a0f628 100644 --- a/lib/Model/GetProcess.php +++ b/lib/Model/GetProcess.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetProcess Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -368,10 +368,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetProcesses.php b/lib/Model/GetProcesses.php index 6d05b6ba..23033ebf 100644 --- a/lib/Model/GetProcesses.php +++ b/lib/Model/GetProcesses.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetProcesses Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetProcesses implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'processes' => '\Sendinblue\Client\Model\GetProcess[]', + 'processes' => '\SendinBlue\Client\Model\GetProcess[]', 'count' => 'int' ]; @@ -174,7 +174,7 @@ public function valid() /** * Gets processes - * @return \Sendinblue\Client\Model\GetProcess[] + * @return \SendinBlue\Client\Model\GetProcess[] */ public function getProcesses() { @@ -183,7 +183,7 @@ public function getProcesses() /** * Sets processes - * @param \Sendinblue\Client\Model\GetProcess[] $processes List of processes available on your account + * @param \SendinBlue\Client\Model\GetProcess[] $processes List of processes available on your account * @return $this */ public function setProcesses($processes) @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetReports.php b/lib/Model/GetReports.php index 775ca645..b4f76c05 100644 --- a/lib/Model/GetReports.php +++ b/lib/Model/GetReports.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetReports Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetReports implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'reports' => '\Sendinblue\Client\Model\GetReportsReports[]' + 'reports' => '\SendinBlue\Client\Model\GetReportsReports[]' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets reports - * @return \Sendinblue\Client\Model\GetReportsReports[] + * @return \SendinBlue\Client\Model\GetReportsReports[] */ public function getReports() { @@ -171,7 +171,7 @@ public function getReports() /** * Sets reports - * @param \Sendinblue\Client\Model\GetReportsReports[] $reports + * @param \SendinBlue\Client\Model\GetReportsReports[] $reports * @return $this */ public function setReports($reports) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetReportsReports.php b/lib/Model/GetReportsReports.php index 46fcc429..d6f44dc0 100644 --- a/lib/Model/GetReportsReports.php +++ b/lib/Model/GetReportsReports.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetReportsReports Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -634,10 +634,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSendersList.php b/lib/Model/GetSendersList.php index eadd397a..8d373c58 100644 --- a/lib/Model/GetSendersList.php +++ b/lib/Model/GetSendersList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSendersList Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetSendersList implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'senders' => '\Sendinblue\Client\Model\GetSendersListSenders[]' + 'senders' => '\SendinBlue\Client\Model\GetSendersListSenders[]' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets senders - * @return \Sendinblue\Client\Model\GetSendersListSenders[] + * @return \SendinBlue\Client\Model\GetSendersListSenders[] */ public function getSenders() { @@ -171,7 +171,7 @@ public function getSenders() /** * Sets senders - * @param \Sendinblue\Client\Model\GetSendersListSenders[] $senders List of the senders available in your account + * @param \SendinBlue\Client\Model\GetSendersListSenders[] $senders List of the senders available in your account * @return $this */ public function setSenders($senders) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSendersListIps.php b/lib/Model/GetSendersListIps.php index 8f220b4c..1e16a980 100644 --- a/lib/Model/GetSendersListIps.php +++ b/lib/Model/GetSendersListIps.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSendersListIps Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -304,10 +304,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSendersListSenders.php b/lib/Model/GetSendersListSenders.php index 449635c8..7c061f6f 100644 --- a/lib/Model/GetSendersListSenders.php +++ b/lib/Model/GetSendersListSenders.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSendersListSenders Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,7 +58,7 @@ class GetSendersListSenders implements ArrayAccess 'name' => 'string', 'email' => 'string', 'active' => 'bool', - 'ips' => '\Sendinblue\Client\Model\GetSendersListIps[]' + 'ips' => '\SendinBlue\Client\Model\GetSendersListIps[]' ]; /** @@ -294,7 +294,7 @@ public function setActive($active) /** * Gets ips - * @return \Sendinblue\Client\Model\GetSendersListIps[] + * @return \SendinBlue\Client\Model\GetSendersListIps[] */ public function getIps() { @@ -303,7 +303,7 @@ public function getIps() /** * Sets ips - * @param \Sendinblue\Client\Model\GetSendersListIps[] $ips List of dedicated IP(s) available in the account. This data is displayed only for dedicated IPs + * @param \SendinBlue\Client\Model\GetSendersListIps[] $ips List of dedicated IP(s) available in the account. This data is displayed only for dedicated IPs * @return $this */ public function setIps($ips) @@ -364,10 +364,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmsCampaign.php b/lib/Model/GetSmsCampaign.php index 476e2008..22901e7b 100644 --- a/lib/Model/GetSmsCampaign.php +++ b/lib/Model/GetSmsCampaign.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmsCampaign Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -581,10 +581,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmsCampaignOverview.php b/lib/Model/GetSmsCampaignOverview.php index 913ca8d5..2a2d5282 100644 --- a/lib/Model/GetSmsCampaignOverview.php +++ b/lib/Model/GetSmsCampaignOverview.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmsCampaignOverview Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -581,10 +581,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmsCampaignStats.php b/lib/Model/GetSmsCampaignStats.php index 5f46d1da..63d7aa7c 100644 --- a/lib/Model/GetSmsCampaignStats.php +++ b/lib/Model/GetSmsCampaignStats.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmsCampaignStats Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -436,10 +436,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmsCampaigns.php b/lib/Model/GetSmsCampaigns.php index d103eff8..44494ef0 100644 --- a/lib/Model/GetSmsCampaigns.php +++ b/lib/Model/GetSmsCampaigns.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmsCampaigns Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmsEventReport.php b/lib/Model/GetSmsEventReport.php index 7ffdf757..5b63eee9 100644 --- a/lib/Model/GetSmsEventReport.php +++ b/lib/Model/GetSmsEventReport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmsEventReport Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetSmsEventReport implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'events' => '\Sendinblue\Client\Model\GetSmsEventReportEvents[]' + 'events' => '\SendinBlue\Client\Model\GetSmsEventReportEvents[]' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets events - * @return \Sendinblue\Client\Model\GetSmsEventReportEvents[] + * @return \SendinBlue\Client\Model\GetSmsEventReportEvents[] */ public function getEvents() { @@ -171,7 +171,7 @@ public function getEvents() /** * Sets events - * @param \Sendinblue\Client\Model\GetSmsEventReportEvents[] $events + * @param \SendinBlue\Client\Model\GetSmsEventReportEvents[] $events * @return $this */ public function setEvents($events) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmsEventReportEvents.php b/lib/Model/GetSmsEventReportEvents.php index a63741e3..ce0d77f7 100644 --- a/lib/Model/GetSmsEventReportEvents.php +++ b/lib/Model/GetSmsEventReportEvents.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmsEventReportEvents Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -479,10 +479,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmtpTemplateOverview.php b/lib/Model/GetSmtpTemplateOverview.php index 7b81533e..5b136164 100644 --- a/lib/Model/GetSmtpTemplateOverview.php +++ b/lib/Model/GetSmtpTemplateOverview.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmtpTemplateOverview Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -59,7 +59,7 @@ class GetSmtpTemplateOverview implements ArrayAccess 'subject' => 'string', 'isActive' => 'bool', 'testSent' => 'bool', - 'sender' => '\Sendinblue\Client\Model\GetSmtpTemplateOverviewSender', + 'sender' => '\SendinBlue\Client\Model\GetSmtpTemplateOverviewSender', 'replyTo' => 'string', 'toField' => 'string', 'tag' => 'string', @@ -413,7 +413,7 @@ public function setTestSent($testSent) /** * Gets sender - * @return \Sendinblue\Client\Model\GetSmtpTemplateOverviewSender + * @return \SendinBlue\Client\Model\GetSmtpTemplateOverviewSender */ public function getSender() { @@ -422,7 +422,7 @@ public function getSender() /** * Sets sender - * @param \Sendinblue\Client\Model\GetSmtpTemplateOverviewSender $sender + * @param \SendinBlue\Client\Model\GetSmtpTemplateOverviewSender $sender * @return $this */ public function setSender($sender) @@ -619,10 +619,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmtpTemplateOverviewSender.php b/lib/Model/GetSmtpTemplateOverviewSender.php index d5fed144..a9f59866 100644 --- a/lib/Model/GetSmtpTemplateOverviewSender.php +++ b/lib/Model/GetSmtpTemplateOverviewSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmtpTemplateOverviewSender Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetSmtpTemplates.php b/lib/Model/GetSmtpTemplates.php index 962d8db9..eb3ea8f3 100644 --- a/lib/Model/GetSmtpTemplates.php +++ b/lib/Model/GetSmtpTemplates.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetSmtpTemplates Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class GetSmtpTemplates implements ArrayAccess */ protected static $swaggerTypes = [ 'count' => 'int', - 'templates' => '\Sendinblue\Client\Model\GetSmtpTemplateOverview[]' + 'templates' => '\SendinBlue\Client\Model\GetSmtpTemplateOverview[]' ]; /** @@ -189,7 +189,7 @@ public function setCount($count) /** * Gets templates - * @return \Sendinblue\Client\Model\GetSmtpTemplateOverview[] + * @return \SendinBlue\Client\Model\GetSmtpTemplateOverview[] */ public function getTemplates() { @@ -198,7 +198,7 @@ public function getTemplates() /** * Sets templates - * @param \Sendinblue\Client\Model\GetSmtpTemplateOverview[] $templates + * @param \SendinBlue\Client\Model\GetSmtpTemplateOverview[] $templates * @return $this */ public function setTemplates($templates) @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetStatsByDomain.php b/lib/Model/GetStatsByDomain.php index 04f3989b..a2c52673 100644 --- a/lib/Model/GetStatsByDomain.php +++ b/lib/Model/GetStatsByDomain.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetStatsByDomain Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -213,10 +213,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetTransacAggregatedSmsReport.php b/lib/Model/GetTransacAggregatedSmsReport.php index 1fe2633d..a718b5ea 100644 --- a/lib/Model/GetTransacAggregatedSmsReport.php +++ b/lib/Model/GetTransacAggregatedSmsReport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetTransacAggregatedSmsReport Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -535,10 +535,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetTransacSmsReport.php b/lib/Model/GetTransacSmsReport.php index 383d855b..d6ae74c6 100644 --- a/lib/Model/GetTransacSmsReport.php +++ b/lib/Model/GetTransacSmsReport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetTransacSmsReport Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class GetTransacSmsReport implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'reports' => '\Sendinblue\Client\Model\GetTransacSmsReportReports[]' + 'reports' => '\SendinBlue\Client\Model\GetTransacSmsReportReports[]' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets reports - * @return \Sendinblue\Client\Model\GetTransacSmsReportReports[] + * @return \SendinBlue\Client\Model\GetTransacSmsReportReports[] */ public function getReports() { @@ -171,7 +171,7 @@ public function getReports() /** * Sets reports - * @param \Sendinblue\Client\Model\GetTransacSmsReportReports[] $reports + * @param \SendinBlue\Client\Model\GetTransacSmsReportReports[] $reports * @return $this */ public function setReports($reports) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetTransacSmsReportReports.php b/lib/Model/GetTransacSmsReportReports.php index b3dd808d..c42b709a 100644 --- a/lib/Model/GetTransacSmsReportReports.php +++ b/lib/Model/GetTransacSmsReportReports.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetTransacSmsReportReports Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -568,10 +568,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetWebhook.php b/lib/Model/GetWebhook.php index 5fe66d7f..e5d76481 100644 --- a/lib/Model/GetWebhook.php +++ b/lib/Model/GetWebhook.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetWebhook Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -495,10 +495,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/GetWebhooks.php b/lib/Model/GetWebhooks.php index 04ce99e6..e0c7f5a4 100644 --- a/lib/Model/GetWebhooks.php +++ b/lib/Model/GetWebhooks.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * GetWebhooks Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/ManageIp.php b/lib/Model/ManageIp.php index 2a179ef0..32dddd4a 100644 --- a/lib/Model/ManageIp.php +++ b/lib/Model/ManageIp.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * ManageIp Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/PostContactInfo.php b/lib/Model/PostContactInfo.php index c40a0f55..0f12831d 100644 --- a/lib/Model/PostContactInfo.php +++ b/lib/Model/PostContactInfo.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * PostContactInfo Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,7 +54,7 @@ class PostContactInfo implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'contacts' => '\Sendinblue\Client\Model\PostContactInfoContacts' + 'contacts' => '\SendinBlue\Client\Model\PostContactInfoContacts' ]; /** @@ -162,7 +162,7 @@ public function valid() /** * Gets contacts - * @return \Sendinblue\Client\Model\PostContactInfoContacts + * @return \SendinBlue\Client\Model\PostContactInfoContacts */ public function getContacts() { @@ -171,7 +171,7 @@ public function getContacts() /** * Sets contacts - * @param \Sendinblue\Client\Model\PostContactInfoContacts $contacts + * @param \SendinBlue\Client\Model\PostContactInfoContacts $contacts * @return $this */ public function setContacts($contacts) @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/PostContactInfoContacts.php b/lib/Model/PostContactInfoContacts.php index 16c81cd5..ce9c71b7 100644 --- a/lib/Model/PostContactInfoContacts.php +++ b/lib/Model/PostContactInfoContacts.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * PostContactInfoContacts Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/PostSendFailed.php b/lib/Model/PostSendFailed.php index e1265c07..e82ed0ed 100644 --- a/lib/Model/PostSendFailed.php +++ b/lib/Model/PostSendFailed.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * PostSendFailed Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -352,10 +352,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/PostSendSmsTestFailed.php b/lib/Model/PostSendSmsTestFailed.php index 367e39b5..45560b9f 100644 --- a/lib/Model/PostSendSmsTestFailed.php +++ b/lib/Model/PostSendSmsTestFailed.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * PostSendSmsTestFailed Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -325,10 +325,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RemainingCreditModel.php b/lib/Model/RemainingCreditModel.php index 4f883fb4..da686745 100644 --- a/lib/Model/RemainingCreditModel.php +++ b/lib/Model/RemainingCreditModel.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RemainingCreditModel Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,8 +54,8 @@ class RemainingCreditModel implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'child' => '\Sendinblue\Client\Model\RemainingCreditModelChild', - 'reseller' => '\Sendinblue\Client\Model\RemainingCreditModelReseller' + 'child' => '\SendinBlue\Client\Model\RemainingCreditModelChild', + 'reseller' => '\SendinBlue\Client\Model\RemainingCreditModelReseller' ]; /** @@ -168,7 +168,7 @@ public function valid() /** * Gets child - * @return \Sendinblue\Client\Model\RemainingCreditModelChild + * @return \SendinBlue\Client\Model\RemainingCreditModelChild */ public function getChild() { @@ -177,7 +177,7 @@ public function getChild() /** * Sets child - * @param \Sendinblue\Client\Model\RemainingCreditModelChild $child + * @param \SendinBlue\Client\Model\RemainingCreditModelChild $child * @return $this */ public function setChild($child) @@ -189,7 +189,7 @@ public function setChild($child) /** * Gets reseller - * @return \Sendinblue\Client\Model\RemainingCreditModelReseller + * @return \SendinBlue\Client\Model\RemainingCreditModelReseller */ public function getReseller() { @@ -198,7 +198,7 @@ public function getReseller() /** * Sets reseller - * @param \Sendinblue\Client\Model\RemainingCreditModelReseller $reseller + * @param \SendinBlue\Client\Model\RemainingCreditModelReseller $reseller * @return $this */ public function setReseller($reseller) @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RemainingCreditModelChild.php b/lib/Model/RemainingCreditModelChild.php index 8e736c48..4155c647 100644 --- a/lib/Model/RemainingCreditModelChild.php +++ b/lib/Model/RemainingCreditModelChild.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Credits remaining for child account - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -272,10 +272,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RemainingCreditModelReseller.php b/lib/Model/RemainingCreditModelReseller.php index 24de0020..96755e94 100644 --- a/lib/Model/RemainingCreditModelReseller.php +++ b/lib/Model/RemainingCreditModelReseller.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RemainingCreditModelReseller Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RemoveCredits.php b/lib/Model/RemoveCredits.php index 91ad025e..64c56711 100644 --- a/lib/Model/RemoveCredits.php +++ b/lib/Model/RemoveCredits.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RemoveCredits Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RequestContactExport.php b/lib/Model/RequestContactExport.php index 8c8cbc82..f591a4d2 100644 --- a/lib/Model/RequestContactExport.php +++ b/lib/Model/RequestContactExport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RequestContactExport Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -292,10 +292,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RequestContactImport.php b/lib/Model/RequestContactImport.php index 06a6d4b9..3ed6d91d 100644 --- a/lib/Model/RequestContactImport.php +++ b/lib/Model/RequestContactImport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RequestContactImport Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -58,7 +58,7 @@ class RequestContactImport implements ArrayAccess 'fileBody' => 'string', 'listIds' => 'int[]', 'notifyUrl' => 'string', - 'newList' => '\Sendinblue\Client\Model\RequestContactImportNewList' + 'newList' => '\SendinBlue\Client\Model\RequestContactImportNewList' ]; /** @@ -270,7 +270,7 @@ public function setNotifyUrl($notifyUrl) /** * Gets newList - * @return \Sendinblue\Client\Model\RequestContactImportNewList + * @return \SendinBlue\Client\Model\RequestContactImportNewList */ public function getNewList() { @@ -279,7 +279,7 @@ public function getNewList() /** * Sets newList - * @param \Sendinblue\Client\Model\RequestContactImportNewList $newList + * @param \SendinBlue\Client\Model\RequestContactImportNewList $newList * @return $this */ public function setNewList($newList) @@ -340,10 +340,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RequestContactImportNewList.php b/lib/Model/RequestContactImportNewList.php index bc527119..0f706730 100644 --- a/lib/Model/RequestContactImportNewList.php +++ b/lib/Model/RequestContactImportNewList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RequestContactImportNewList Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/RequestSMSRecipientExport.php b/lib/Model/RequestSMSRecipientExport.php index 42c2c84b..28b47930 100644 --- a/lib/Model/RequestSMSRecipientExport.php +++ b/lib/Model/RequestSMSRecipientExport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * RequestSMSRecipientExport Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -308,10 +308,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendEmail.php b/lib/Model/SendEmail.php index ec379203..d02b4166 100644 --- a/lib/Model/SendEmail.php +++ b/lib/Model/SendEmail.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendEmail Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -59,7 +59,7 @@ class SendEmail implements ArrayAccess 'emailCc' => 'string[]', 'replyTo' => 'string', 'attachmentUrl' => 'string', - 'attachment' => '\Sendinblue\Client\Model\SendEmailAttachment[]', + 'attachment' => '\SendinBlue\Client\Model\SendEmailAttachment[]', 'headers' => 'map[string,string]', 'attributes' => 'map[string,string]' ]; @@ -315,7 +315,7 @@ public function setAttachmentUrl($attachmentUrl) /** * Gets attachment - * @return \Sendinblue\Client\Model\SendEmailAttachment[] + * @return \SendinBlue\Client\Model\SendEmailAttachment[] */ public function getAttachment() { @@ -324,7 +324,7 @@ public function getAttachment() /** * Sets attachment - * @param \Sendinblue\Client\Model\SendEmailAttachment[] $attachment Pass the base64 content of the attachment. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez + * @param \SendinBlue\Client\Model\SendEmailAttachment[] $attachment Pass the base64 content of the attachment. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez * @return $this */ public function setAttachment($attachment) @@ -427,10 +427,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendEmailAttachment.php b/lib/Model/SendEmailAttachment.php index da1c74a2..0ba52cb5 100644 --- a/lib/Model/SendEmailAttachment.php +++ b/lib/Model/SendEmailAttachment.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendEmailAttachment Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -271,10 +271,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendReport.php b/lib/Model/SendReport.php index 1a1d9c10..8aa208cb 100644 --- a/lib/Model/SendReport.php +++ b/lib/Model/SendReport.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendReport Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class SendReport implements ArrayAccess */ protected static $swaggerTypes = [ 'language' => 'string', - 'email' => '\Sendinblue\Client\Model\SendReportEmail' + 'email' => '\SendinBlue\Client\Model\SendReportEmail' ]; /** @@ -232,7 +232,7 @@ public function setLanguage($language) /** * Gets email - * @return \Sendinblue\Client\Model\SendReportEmail + * @return \SendinBlue\Client\Model\SendReportEmail */ public function getEmail() { @@ -241,7 +241,7 @@ public function getEmail() /** * Sets email - * @param \Sendinblue\Client\Model\SendReportEmail $email + * @param \SendinBlue\Client\Model\SendReportEmail $email * @return $this */ public function setEmail($email) @@ -302,10 +302,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendReportEmail.php b/lib/Model/SendReportEmail.php index 18d66e04..40ebbf71 100644 --- a/lib/Model/SendReportEmail.php +++ b/lib/Model/SendReportEmail.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendReportEmail Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -402,10 +402,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSms.php b/lib/Model/SendSms.php index a68afc2e..759624ee 100644 --- a/lib/Model/SendSms.php +++ b/lib/Model/SendSms.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSms Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmail.php b/lib/Model/SendSmtpEmail.php index 940872bc..4569e717 100644 --- a/lib/Model/SendSmtpEmail.php +++ b/lib/Model/SendSmtpEmail.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSmtpEmail Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -54,15 +54,15 @@ class SendSmtpEmail implements ArrayAccess * @var string[] */ protected static $swaggerTypes = [ - 'sender' => '\Sendinblue\Client\Model\SendSmtpEmailSender', - 'to' => '\Sendinblue\Client\Model\SendSmtpEmailTo[]', - 'bcc' => '\Sendinblue\Client\Model\SendSmtpEmailBcc[]', - 'cc' => '\Sendinblue\Client\Model\SendSmtpEmailCc[]', + 'sender' => '\SendinBlue\Client\Model\SendSmtpEmailSender', + 'to' => '\SendinBlue\Client\Model\SendSmtpEmailTo[]', + 'bcc' => '\SendinBlue\Client\Model\SendSmtpEmailBcc[]', + 'cc' => '\SendinBlue\Client\Model\SendSmtpEmailCc[]', 'htmlContent' => 'string', 'textContent' => 'string', 'subject' => 'string', - 'replyTo' => '\Sendinblue\Client\Model\SendSmtpEmailReplyTo', - 'attachment' => '\Sendinblue\Client\Model\SendSmtpEmailAttachment[]', + 'replyTo' => '\SendinBlue\Client\Model\SendSmtpEmailReplyTo', + 'attachment' => '\SendinBlue\Client\Model\SendSmtpEmailAttachment[]', 'headers' => 'map[string,string]' ]; @@ -234,7 +234,7 @@ public function valid() /** * Gets sender - * @return \Sendinblue\Client\Model\SendSmtpEmailSender + * @return \SendinBlue\Client\Model\SendSmtpEmailSender */ public function getSender() { @@ -243,7 +243,7 @@ public function getSender() /** * Sets sender - * @param \Sendinblue\Client\Model\SendSmtpEmailSender $sender + * @param \SendinBlue\Client\Model\SendSmtpEmailSender $sender * @return $this */ public function setSender($sender) @@ -255,7 +255,7 @@ public function setSender($sender) /** * Gets to - * @return \Sendinblue\Client\Model\SendSmtpEmailTo[] + * @return \SendinBlue\Client\Model\SendSmtpEmailTo[] */ public function getTo() { @@ -264,7 +264,7 @@ public function getTo() /** * Sets to - * @param \Sendinblue\Client\Model\SendSmtpEmailTo[] $to Email addresses and names of the recipients + * @param \SendinBlue\Client\Model\SendSmtpEmailTo[] $to Email addresses and names of the recipients * @return $this */ public function setTo($to) @@ -276,7 +276,7 @@ public function setTo($to) /** * Gets bcc - * @return \Sendinblue\Client\Model\SendSmtpEmailBcc[] + * @return \SendinBlue\Client\Model\SendSmtpEmailBcc[] */ public function getBcc() { @@ -285,7 +285,7 @@ public function getBcc() /** * Sets bcc - * @param \Sendinblue\Client\Model\SendSmtpEmailBcc[] $bcc Email addresses and names of the recipients in bcc + * @param \SendinBlue\Client\Model\SendSmtpEmailBcc[] $bcc Email addresses and names of the recipients in bcc * @return $this */ public function setBcc($bcc) @@ -297,7 +297,7 @@ public function setBcc($bcc) /** * Gets cc - * @return \Sendinblue\Client\Model\SendSmtpEmailCc[] + * @return \SendinBlue\Client\Model\SendSmtpEmailCc[] */ public function getCc() { @@ -306,7 +306,7 @@ public function getCc() /** * Sets cc - * @param \Sendinblue\Client\Model\SendSmtpEmailCc[] $cc Email addresses and names of the recipients in cc + * @param \SendinBlue\Client\Model\SendSmtpEmailCc[] $cc Email addresses and names of the recipients in cc * @return $this */ public function setCc($cc) @@ -381,7 +381,7 @@ public function setSubject($subject) /** * Gets replyTo - * @return \Sendinblue\Client\Model\SendSmtpEmailReplyTo + * @return \SendinBlue\Client\Model\SendSmtpEmailReplyTo */ public function getReplyTo() { @@ -390,7 +390,7 @@ public function getReplyTo() /** * Sets replyTo - * @param \Sendinblue\Client\Model\SendSmtpEmailReplyTo $replyTo + * @param \SendinBlue\Client\Model\SendSmtpEmailReplyTo $replyTo * @return $this */ public function setReplyTo($replyTo) @@ -402,7 +402,7 @@ public function setReplyTo($replyTo) /** * Gets attachment - * @return \Sendinblue\Client\Model\SendSmtpEmailAttachment[] + * @return \SendinBlue\Client\Model\SendSmtpEmailAttachment[] */ public function getAttachment() { @@ -411,7 +411,7 @@ public function getAttachment() /** * Sets attachment - * @param \Sendinblue\Client\Model\SendSmtpEmailAttachment[] $attachment Pass the absolute URL (no local file) or the base64 content of the attachment. Name can be used in both cases to define the attachment name. It is mandatory in case of content. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez + * @param \SendinBlue\Client\Model\SendSmtpEmailAttachment[] $attachment Pass the absolute URL (no local file) or the base64 content of the attachment. Name can be used in both cases to define the attachment name. It is mandatory in case of content. Extension allowed: gif, png, bmp, cgm, jpg, jpeg, tif, tiff, rtf, txt, css, shtml, html, htm, csv, zip, pdf, xml, ods, doc, docx, docm, ics, xls, xlsx, ppt, tar, and ez * @return $this */ public function setAttachment($attachment) @@ -493,10 +493,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmailAttachment.php b/lib/Model/SendSmtpEmailAttachment.php index fb378f5a..a6321fa9 100644 --- a/lib/Model/SendSmtpEmailAttachment.php +++ b/lib/Model/SendSmtpEmailAttachment.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSmtpEmailAttachment Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -298,10 +298,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmailBcc.php b/lib/Model/SendSmtpEmailBcc.php index 749a7a5a..61f2b411 100644 --- a/lib/Model/SendSmtpEmailBcc.php +++ b/lib/Model/SendSmtpEmailBcc.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSmtpEmailBcc Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmailCc.php b/lib/Model/SendSmtpEmailCc.php index 682722f5..0ef22709 100644 --- a/lib/Model/SendSmtpEmailCc.php +++ b/lib/Model/SendSmtpEmailCc.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSmtpEmailCc Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmailReplyTo.php b/lib/Model/SendSmtpEmailReplyTo.php index ae363920..f0ee2167 100644 --- a/lib/Model/SendSmtpEmailReplyTo.php +++ b/lib/Model/SendSmtpEmailReplyTo.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Email on which transactional mail recipients will be able to reply to - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -266,10 +266,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmailSender.php b/lib/Model/SendSmtpEmailSender.php index cf47ec8d..ab614952 100644 --- a/lib/Model/SendSmtpEmailSender.php +++ b/lib/Model/SendSmtpEmailSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSmtpEmailSender Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendSmtpEmailTo.php b/lib/Model/SendSmtpEmailTo.php index 64deae5b..c9b62240 100644 --- a/lib/Model/SendSmtpEmailTo.php +++ b/lib/Model/SendSmtpEmailTo.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendSmtpEmailTo Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -265,10 +265,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendTemplateEmail.php b/lib/Model/SendTemplateEmail.php index 21697d30..5b6591fb 100644 --- a/lib/Model/SendTemplateEmail.php +++ b/lib/Model/SendTemplateEmail.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendTemplateEmail Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -238,10 +238,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendTestEmail.php b/lib/Model/SendTestEmail.php index 8bda863a..dd016f74 100644 --- a/lib/Model/SendTestEmail.php +++ b/lib/Model/SendTestEmail.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendTestEmail Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendTestSms.php b/lib/Model/SendTestSms.php index 8cac2841..537acada 100644 --- a/lib/Model/SendTestSms.php +++ b/lib/Model/SendTestSms.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendTestSms Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -232,10 +232,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/SendTransacSms.php b/lib/Model/SendTransacSms.php index 196e24a6..e6d4fc68 100644 --- a/lib/Model/SendTransacSms.php +++ b/lib/Model/SendTransacSms.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * SendTransacSms Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -380,10 +380,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateCampaignStatus.php b/lib/Model/UpdateCampaignStatus.php index 40e2ae68..7f904379 100644 --- a/lib/Model/UpdateCampaignStatus.php +++ b/lib/Model/UpdateCampaignStatus.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -36,7 +36,7 @@ * * @category Class * @description Status of the campaign - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -280,10 +280,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateChild.php b/lib/Model/UpdateChild.php index 6d9ce13e..dbf9c9e2 100644 --- a/lib/Model/UpdateChild.php +++ b/lib/Model/UpdateChild.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateChild Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -367,10 +367,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateContact.php b/lib/Model/UpdateContact.php index 0f889c78..14131f50 100644 --- a/lib/Model/UpdateContact.php +++ b/lib/Model/UpdateContact.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateContact Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -340,10 +340,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateEmailCampaign.php b/lib/Model/UpdateEmailCampaign.php index 81d3b9fa..68fbe151 100644 --- a/lib/Model/UpdateEmailCampaign.php +++ b/lib/Model/UpdateEmailCampaign.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateEmailCampaign Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class UpdateEmailCampaign implements ArrayAccess */ protected static $swaggerTypes = [ 'tag' => 'string', - 'sender' => '\Sendinblue\Client\Model\UpdateEmailCampaignSender', + 'sender' => '\SendinBlue\Client\Model\UpdateEmailCampaignSender', 'name' => 'string', 'htmlContent' => 'string', 'htmlUrl' => 'string', @@ -63,7 +63,7 @@ class UpdateEmailCampaign implements ArrayAccess 'subject' => 'string', 'replyTo' => 'string', 'toField' => 'string', - 'recipients' => '\Sendinblue\Client\Model\UpdateEmailCampaignRecipients', + 'recipients' => '\SendinBlue\Client\Model\UpdateEmailCampaignRecipients', 'attachmentUrl' => 'string', 'inlineImageActivation' => 'bool', 'mirrorActive' => 'bool', @@ -286,7 +286,7 @@ public function setTag($tag) /** * Gets sender - * @return \Sendinblue\Client\Model\UpdateEmailCampaignSender + * @return \SendinBlue\Client\Model\UpdateEmailCampaignSender */ public function getSender() { @@ -295,7 +295,7 @@ public function getSender() /** * Sets sender - * @param \Sendinblue\Client\Model\UpdateEmailCampaignSender $sender + * @param \SendinBlue\Client\Model\UpdateEmailCampaignSender $sender * @return $this */ public function setSender($sender) @@ -459,7 +459,7 @@ public function setToField($toField) /** * Gets recipients - * @return \Sendinblue\Client\Model\UpdateEmailCampaignRecipients + * @return \SendinBlue\Client\Model\UpdateEmailCampaignRecipients */ public function getRecipients() { @@ -468,7 +468,7 @@ public function getRecipients() /** * Sets recipients - * @param \Sendinblue\Client\Model\UpdateEmailCampaignRecipients $recipients + * @param \SendinBlue\Client\Model\UpdateEmailCampaignRecipients $recipients * @return $this */ public function setRecipients($recipients) @@ -676,10 +676,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateEmailCampaignRecipients.php b/lib/Model/UpdateEmailCampaignRecipients.php index e912bfc4..a9626c7e 100644 --- a/lib/Model/UpdateEmailCampaignRecipients.php +++ b/lib/Model/UpdateEmailCampaignRecipients.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateEmailCampaignRecipients Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateEmailCampaignSender.php b/lib/Model/UpdateEmailCampaignSender.php index 7a91a6eb..e434b940 100644 --- a/lib/Model/UpdateEmailCampaignSender.php +++ b/lib/Model/UpdateEmailCampaignSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateEmailCampaignSender Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateList.php b/lib/Model/UpdateList.php index 786d8bab..5a875895 100644 --- a/lib/Model/UpdateList.php +++ b/lib/Model/UpdateList.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateList Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateSender.php b/lib/Model/UpdateSender.php index 630159eb..80b0db9f 100644 --- a/lib/Model/UpdateSender.php +++ b/lib/Model/UpdateSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateSender Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -56,7 +56,7 @@ class UpdateSender implements ArrayAccess protected static $swaggerTypes = [ 'name' => 'string', 'email' => 'string', - 'ips' => '\Sendinblue\Client\Model\CreateSenderIps[]' + 'ips' => '\SendinBlue\Client\Model\CreateSenderIps[]' ]; /** @@ -216,7 +216,7 @@ public function setEmail($email) /** * Gets ips - * @return \Sendinblue\Client\Model\CreateSenderIps[] + * @return \SendinBlue\Client\Model\CreateSenderIps[] */ public function getIps() { @@ -225,7 +225,7 @@ public function getIps() /** * Sets ips - * @param \Sendinblue\Client\Model\CreateSenderIps[] $ips Only in case of dedicated IP, IPs to associate to the sender. If passed, will replace all the existing IPs. + * @param \SendinBlue\Client\Model\CreateSenderIps[] $ips Only in case of dedicated IP, IPs to associate to the sender. If passed, will replace all the existing IPs. * @return $this */ public function setIps($ips) @@ -286,10 +286,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateSmsCampaign.php b/lib/Model/UpdateSmsCampaign.php index c99d448a..d3484431 100644 --- a/lib/Model/UpdateSmsCampaign.php +++ b/lib/Model/UpdateSmsCampaign.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateSmsCampaign Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -57,7 +57,7 @@ class UpdateSmsCampaign implements ArrayAccess 'name' => 'string', 'sender' => 'string', 'content' => 'string', - 'recipients' => '\Sendinblue\Client\Model\CreateSmsCampaignRecipients', + 'recipients' => '\SendinBlue\Client\Model\CreateSmsCampaignRecipients', 'scheduledAt' => 'string' ]; @@ -267,7 +267,7 @@ public function setContent($content) /** * Gets recipients - * @return \Sendinblue\Client\Model\CreateSmsCampaignRecipients + * @return \SendinBlue\Client\Model\CreateSmsCampaignRecipients */ public function getRecipients() { @@ -276,7 +276,7 @@ public function getRecipients() /** * Sets recipients - * @param \Sendinblue\Client\Model\CreateSmsCampaignRecipients $recipients + * @param \SendinBlue\Client\Model\CreateSmsCampaignRecipients $recipients * @return $this */ public function setRecipients($recipients) @@ -363,10 +363,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateSmtpTemplate.php b/lib/Model/UpdateSmtpTemplate.php index efa95ef9..daeb54b7 100644 --- a/lib/Model/UpdateSmtpTemplate.php +++ b/lib/Model/UpdateSmtpTemplate.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateSmtpTemplate Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -55,7 +55,7 @@ class UpdateSmtpTemplate implements ArrayAccess */ protected static $swaggerTypes = [ 'tag' => 'string', - 'sender' => '\Sendinblue\Client\Model\UpdateSmtpTemplateSender', + 'sender' => '\SendinBlue\Client\Model\UpdateSmtpTemplateSender', 'templateName' => 'string', 'htmlContent' => 'string', 'htmlUrl' => 'string', @@ -237,7 +237,7 @@ public function setTag($tag) /** * Gets sender - * @return \Sendinblue\Client\Model\UpdateSmtpTemplateSender + * @return \SendinBlue\Client\Model\UpdateSmtpTemplateSender */ public function getSender() { @@ -246,7 +246,7 @@ public function getSender() /** * Sets sender - * @param \Sendinblue\Client\Model\UpdateSmtpTemplateSender $sender + * @param \SendinBlue\Client\Model\UpdateSmtpTemplateSender $sender * @return $this */ public function setSender($sender) @@ -475,10 +475,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateSmtpTemplateSender.php b/lib/Model/UpdateSmtpTemplateSender.php index c64eba12..857d909f 100644 --- a/lib/Model/UpdateSmtpTemplateSender.php +++ b/lib/Model/UpdateSmtpTemplateSender.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateSmtpTemplateSender Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -259,10 +259,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/Model/UpdateWebhook.php b/lib/Model/UpdateWebhook.php index 17f87a9c..c4590c46 100644 --- a/lib/Model/UpdateWebhook.php +++ b/lib/Model/UpdateWebhook.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swaagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client\Model; +namespace SendinBlue\Client\Model; use \ArrayAccess; @@ -35,7 +35,7 @@ * UpdateWebhook Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -286,10 +286,10 @@ public function offsetUnset($offset) public function __toString() { if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this), JSON_PRETTY_PRINT); } - return json_encode(\Sendinblue\Client\ObjectSerializer::sanitizeForSerialization($this)); + return json_encode(\SendinBlue\Client\ObjectSerializer::sanitizeForSerialization($this)); } } diff --git a/lib/ObjectSerializer.php b/lib/ObjectSerializer.php index 83e5d5bd..df1f8719 100644 --- a/lib/ObjectSerializer.php +++ b/lib/ObjectSerializer.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,13 +27,13 @@ * Do not edit the class manually. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * ObjectSerializer Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -288,7 +288,7 @@ public static function deserialize($data, $class, $httpHeaders = null) // If a discriminator is defined and points to a valid subclass, use it. $discriminator = $class::DISCRIMINATOR; if (!empty($discriminator) && isset($data->{$discriminator}) && is_string($data->{$discriminator})) { - $subclass = '\Sendinblue\Client\Model\\' . $data->{$discriminator}; + $subclass = '\SendinBlue\Client\Model\\' . $data->{$discriminator}; if (is_subclass_of($subclass, $class)) { $class = $subclass; } diff --git a/test/Api/AccountApiTest.php b/test/Api/AccountApiTest.php index 8dabfc41..feaab774 100644 --- a/test/Api/AccountApiTest.php +++ b/test/Api/AccountApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * AccountApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/AttributesApiTest.php b/test/Api/AttributesApiTest.php index 44c6aaad..1de10506 100644 --- a/test/Api/AttributesApiTest.php +++ b/test/Api/AttributesApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * AttributesApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/ContactsApiTest.php b/test/Api/ContactsApiTest.php index 2767fddd..b0bf1829 100644 --- a/test/Api/ContactsApiTest.php +++ b/test/Api/ContactsApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * ContactsApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/EmailCampaignsApiTest.php b/test/Api/EmailCampaignsApiTest.php index 8fcb63d1..7ec056b9 100644 --- a/test/Api/EmailCampaignsApiTest.php +++ b/test/Api/EmailCampaignsApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * EmailCampaignsApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/FoldersApiTest.php b/test/Api/FoldersApiTest.php index 7cb2a49e..a595e29c 100644 --- a/test/Api/FoldersApiTest.php +++ b/test/Api/FoldersApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * FoldersApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/ListsApiTest.php b/test/Api/ListsApiTest.php index 25920652..713a021f 100644 --- a/test/Api/ListsApiTest.php +++ b/test/Api/ListsApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * ListsApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/ProcessApiTest.php b/test/Api/ProcessApiTest.php index bf7a7697..a8f9e2bd 100644 --- a/test/Api/ProcessApiTest.php +++ b/test/Api/ProcessApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * ProcessApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/ResellerApiTest.php b/test/Api/ResellerApiTest.php index 8b0b37fd..eca23ab4 100644 --- a/test/Api/ResellerApiTest.php +++ b/test/Api/ResellerApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * ResellerApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/SMSCampaignsApiTest.php b/test/Api/SMSCampaignsApiTest.php index 8d84c85d..3323636a 100644 --- a/test/Api/SMSCampaignsApiTest.php +++ b/test/Api/SMSCampaignsApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * SMSCampaignsApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/SMTPApiTest.php b/test/Api/SMTPApiTest.php index 7e6d6b24..386d354d 100644 --- a/test/Api/SMTPApiTest.php +++ b/test/Api/SMTPApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * SMTPApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/SendersApiTest.php b/test/Api/SendersApiTest.php index 4ce19566..e49ee30e 100644 --- a/test/Api/SendersApiTest.php +++ b/test/Api/SendersApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * SendersApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/TransactionalSMSApiTest.php b/test/Api/TransactionalSMSApiTest.php index 5ac1caab..e39309cb 100644 --- a/test/Api/TransactionalSMSApiTest.php +++ b/test/Api/TransactionalSMSApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * TransactionalSMSApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Api/WebhooksApiTest.php b/test/Api/WebhooksApiTest.php index e77efc3b..1f976e5d 100644 --- a/test/Api/WebhooksApiTest.php +++ b/test/Api/WebhooksApiTest.php @@ -4,7 +4,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -26,18 +26,18 @@ * Please update the test case below to test the endpoint. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; -use \Sendinblue\Client\Configuration; -use \Sendinblue\Client\ApiClient; -use \Sendinblue\Client\ApiException; -use \Sendinblue\Client\ObjectSerializer; +use \SendinBlue\Client\Configuration; +use \SendinBlue\Client\ApiClient; +use \SendinBlue\Client\ApiException; +use \SendinBlue\Client\ObjectSerializer; /** * WebhooksApiTest Class Doc Comment * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/AddCreditsTest.php b/test/Model/AddCreditsTest.php index 61792654..f3929af7 100644 --- a/test/Model/AddCreditsTest.php +++ b/test/Model/AddCreditsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * AddCreditsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description AddCredits /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/AddRemoveContactToListTest.php b/test/Model/AddRemoveContactToListTest.php index f4861cbd..aa46087b 100644 --- a/test/Model/AddRemoveContactToListTest.php +++ b/test/Model/AddRemoveContactToListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * AddRemoveContactToListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description AddRemoveContactToList /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreaUpdateFolderTest.php b/test/Model/CreaUpdateFolderTest.php index 58df6dda..85a774bd 100644 --- a/test/Model/CreaUpdateFolderTest.php +++ b/test/Model/CreaUpdateFolderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreaUpdateFolderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreaUpdateFolder /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateAttributeEnumemarationTest.php b/test/Model/CreateAttributeEnumemarationTest.php index f1e1ef01..70d50469 100644 --- a/test/Model/CreateAttributeEnumemarationTest.php +++ b/test/Model/CreateAttributeEnumemarationTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateAttributeEnumemarationTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateAttributeEnumemaration /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateAttributeTest.php b/test/Model/CreateAttributeTest.php index ad4f2ed5..e57fa142 100644 --- a/test/Model/CreateAttributeTest.php +++ b/test/Model/CreateAttributeTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateAttributeTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateAttribute /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateChildTest.php b/test/Model/CreateChildTest.php index 7d66e346..6a98fa59 100644 --- a/test/Model/CreateChildTest.php +++ b/test/Model/CreateChildTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateChildTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateChild /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateContactTest.php b/test/Model/CreateContactTest.php index 276fcdeb..6c94100b 100644 --- a/test/Model/CreateContactTest.php +++ b/test/Model/CreateContactTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateContactTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateContact /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateEmailCampaignRecipientsTest.php b/test/Model/CreateEmailCampaignRecipientsTest.php index 3f088717..af3a8200 100644 --- a/test/Model/CreateEmailCampaignRecipientsTest.php +++ b/test/Model/CreateEmailCampaignRecipientsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateEmailCampaignRecipientsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateEmailCampaignRecipients /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateEmailCampaignSenderTest.php b/test/Model/CreateEmailCampaignSenderTest.php index 0e996d22..a689b950 100644 --- a/test/Model/CreateEmailCampaignSenderTest.php +++ b/test/Model/CreateEmailCampaignSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateEmailCampaignSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateEmailCampaignSender /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateEmailCampaignTest.php b/test/Model/CreateEmailCampaignTest.php index 55b0ca30..96a81b90 100644 --- a/test/Model/CreateEmailCampaignTest.php +++ b/test/Model/CreateEmailCampaignTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateEmailCampaignTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateEmailCampaign /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateListTest.php b/test/Model/CreateListTest.php index 2278e9a0..f1fc95db 100644 --- a/test/Model/CreateListTest.php +++ b/test/Model/CreateListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateList /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateModelTest.php b/test/Model/CreateModelTest.php index 26b7ed4e..759de7f3 100644 --- a/test/Model/CreateModelTest.php +++ b/test/Model/CreateModelTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateModelTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateModel /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSenderIpsTest.php b/test/Model/CreateSenderIpsTest.php index 19d2fa9e..99de5677 100644 --- a/test/Model/CreateSenderIpsTest.php +++ b/test/Model/CreateSenderIpsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateSenderIpsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSenderIps /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSenderModelTest.php b/test/Model/CreateSenderModelTest.php index 6e49cd0d..10e3b2f3 100644 --- a/test/Model/CreateSenderModelTest.php +++ b/test/Model/CreateSenderModelTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateSenderModelTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSenderModel /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSenderTest.php b/test/Model/CreateSenderTest.php index beb63711..122819f7 100644 --- a/test/Model/CreateSenderTest.php +++ b/test/Model/CreateSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSender /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSmsCampaignRecipientsTest.php b/test/Model/CreateSmsCampaignRecipientsTest.php index 1fbb5516..a6e0590f 100644 --- a/test/Model/CreateSmsCampaignRecipientsTest.php +++ b/test/Model/CreateSmsCampaignRecipientsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateSmsCampaignRecipientsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSmsCampaignRecipients /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSmsCampaignTest.php b/test/Model/CreateSmsCampaignTest.php index 59226e94..6ef82a85 100644 --- a/test/Model/CreateSmsCampaignTest.php +++ b/test/Model/CreateSmsCampaignTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateSmsCampaignTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSmsCampaign /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSmtpEmailTest.php b/test/Model/CreateSmtpEmailTest.php index d5ff92a2..146df90b 100644 --- a/test/Model/CreateSmtpEmailTest.php +++ b/test/Model/CreateSmtpEmailTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateSmtpEmailTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSmtpEmail /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSmtpTemplateSenderTest.php b/test/Model/CreateSmtpTemplateSenderTest.php index 7f6207dd..6e5fb09e 100644 --- a/test/Model/CreateSmtpTemplateSenderTest.php +++ b/test/Model/CreateSmtpTemplateSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateSmtpTemplateSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSmtpTemplateSender /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateSmtpTemplateTest.php b/test/Model/CreateSmtpTemplateTest.php index 759fbcaf..86bee5ad 100644 --- a/test/Model/CreateSmtpTemplateTest.php +++ b/test/Model/CreateSmtpTemplateTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateSmtpTemplateTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateSmtpTemplate /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreateWebhookTest.php b/test/Model/CreateWebhookTest.php index 8119de8f..7c952aa7 100644 --- a/test/Model/CreateWebhookTest.php +++ b/test/Model/CreateWebhookTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreateWebhookTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreateWebhook /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/CreatedProcessIdTest.php b/test/Model/CreatedProcessIdTest.php index f7cf23af..8d8a46c6 100644 --- a/test/Model/CreatedProcessIdTest.php +++ b/test/Model/CreatedProcessIdTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * CreatedProcessIdTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description CreatedProcessId /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/DeleteHardbouncesTest.php b/test/Model/DeleteHardbouncesTest.php index f82f6a4f..c599ae4e 100644 --- a/test/Model/DeleteHardbouncesTest.php +++ b/test/Model/DeleteHardbouncesTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * DeleteHardbouncesTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description DeleteHardbounces /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/EmailExportRecipientsTest.php b/test/Model/EmailExportRecipientsTest.php index 7cee4533..54415e93 100644 --- a/test/Model/EmailExportRecipientsTest.php +++ b/test/Model/EmailExportRecipientsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * EmailExportRecipientsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description EmailExportRecipients /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/ErrorModelTest.php b/test/Model/ErrorModelTest.php index db655e52..ff8df51c 100644 --- a/test/Model/ErrorModelTest.php +++ b/test/Model/ErrorModelTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * ErrorModelTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description ErrorModel /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAccountMarketingAutomationTest.php b/test/Model/GetAccountMarketingAutomationTest.php index 091192be..53dfe6a4 100644 --- a/test/Model/GetAccountMarketingAutomationTest.php +++ b/test/Model/GetAccountMarketingAutomationTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetAccountMarketingAutomationTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAccountMarketingAutomation /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAccountPlanTest.php b/test/Model/GetAccountPlanTest.php index 86517d76..74667273 100644 --- a/test/Model/GetAccountPlanTest.php +++ b/test/Model/GetAccountPlanTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetAccountPlanTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAccountPlan /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAccountRelayDataTest.php b/test/Model/GetAccountRelayDataTest.php index 81791b5a..5144d0ac 100644 --- a/test/Model/GetAccountRelayDataTest.php +++ b/test/Model/GetAccountRelayDataTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetAccountRelayDataTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Data regarding the SMTP account /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAccountRelayTest.php b/test/Model/GetAccountRelayTest.php index 828a255e..233b17c9 100644 --- a/test/Model/GetAccountRelayTest.php +++ b/test/Model/GetAccountRelayTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetAccountRelayTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Information about your SMTP account /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAccountTest.php b/test/Model/GetAccountTest.php index 3c4b5b44..79a4e460 100644 --- a/test/Model/GetAccountTest.php +++ b/test/Model/GetAccountTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetAccountTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAccount /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAggregatedReportTest.php b/test/Model/GetAggregatedReportTest.php index aa6175a0..27de7267 100644 --- a/test/Model/GetAggregatedReportTest.php +++ b/test/Model/GetAggregatedReportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetAggregatedReportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAggregatedReport /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAttributesAttributesTest.php b/test/Model/GetAttributesAttributesTest.php index 3d50820f..9a8a1bc3 100644 --- a/test/Model/GetAttributesAttributesTest.php +++ b/test/Model/GetAttributesAttributesTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetAttributesAttributesTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAttributesAttributes /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAttributesEnumerationTest.php b/test/Model/GetAttributesEnumerationTest.php index c66432a8..f1a5b7c1 100644 --- a/test/Model/GetAttributesEnumerationTest.php +++ b/test/Model/GetAttributesEnumerationTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetAttributesEnumerationTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAttributesEnumeration /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetAttributesTest.php b/test/Model/GetAttributesTest.php index 1a0be281..e9dca577 100644 --- a/test/Model/GetAttributesTest.php +++ b/test/Model/GetAttributesTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetAttributesTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetAttributes /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetCampaignOverviewTest.php b/test/Model/GetCampaignOverviewTest.php index db6ab38f..c0d11a7d 100644 --- a/test/Model/GetCampaignOverviewTest.php +++ b/test/Model/GetCampaignOverviewTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetCampaignOverviewTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetCampaignOverview /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetCampaignRecipientsExclusionListsTest.php b/test/Model/GetCampaignRecipientsExclusionListsTest.php index 76c73bff..cec9b2fb 100644 --- a/test/Model/GetCampaignRecipientsExclusionListsTest.php +++ b/test/Model/GetCampaignRecipientsExclusionListsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetCampaignRecipientsExclusionListsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetCampaignRecipientsExclusionLists /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetCampaignRecipientsListsTest.php b/test/Model/GetCampaignRecipientsListsTest.php index edd25596..e14dd1e9 100644 --- a/test/Model/GetCampaignRecipientsListsTest.php +++ b/test/Model/GetCampaignRecipientsListsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetCampaignRecipientsListsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetCampaignRecipientsLists /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetCampaignRecipientsTest.php b/test/Model/GetCampaignRecipientsTest.php index 627490bf..deabd200 100644 --- a/test/Model/GetCampaignRecipientsTest.php +++ b/test/Model/GetCampaignRecipientsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetCampaignRecipientsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetCampaignRecipients /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetCampaignStatsTest.php b/test/Model/GetCampaignStatsTest.php index a9c4b665..e10c6529 100644 --- a/test/Model/GetCampaignStatsTest.php +++ b/test/Model/GetCampaignStatsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetCampaignStatsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetCampaignStats /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetChildInfoApiKeysTest.php b/test/Model/GetChildInfoApiKeysTest.php index 1247eb4f..45f143d0 100644 --- a/test/Model/GetChildInfoApiKeysTest.php +++ b/test/Model/GetChildInfoApiKeysTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetChildInfoApiKeysTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetChildInfoApiKeys /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetChildInfoCreditsTest.php b/test/Model/GetChildInfoCreditsTest.php index 6f9f6606..89ebd762 100644 --- a/test/Model/GetChildInfoCreditsTest.php +++ b/test/Model/GetChildInfoCreditsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetChildInfoCreditsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Credits available for your child /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetChildInfoIpsTest.php b/test/Model/GetChildInfoIpsTest.php index fc00499d..d2ce383f 100644 --- a/test/Model/GetChildInfoIpsTest.php +++ b/test/Model/GetChildInfoIpsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetChildInfoIpsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetChildInfoIps /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetChildInfoStatisticsTest.php b/test/Model/GetChildInfoStatisticsTest.php index 0fe025fb..5a96062d 100644 --- a/test/Model/GetChildInfoStatisticsTest.php +++ b/test/Model/GetChildInfoStatisticsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetChildInfoStatisticsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Statistics about your child account activity /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetChildInfoTest.php b/test/Model/GetChildInfoTest.php index 86ecd6e3..9c2c0460 100644 --- a/test/Model/GetChildInfoTest.php +++ b/test/Model/GetChildInfoTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetChildInfoTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetChildInfo /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetChildrenListTest.php b/test/Model/GetChildrenListTest.php index cf8c671b..2070ea8c 100644 --- a/test/Model/GetChildrenListTest.php +++ b/test/Model/GetChildrenListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetChildrenListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetChildrenList /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetClientTest.php b/test/Model/GetClientTest.php index 0bcac519..79162812 100644 --- a/test/Model/GetClientTest.php +++ b/test/Model/GetClientTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetClientTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetClient /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsClickedTest.php b/test/Model/GetContactCampaignStatsClickedTest.php index f5717a3f..1de6e3c2 100644 --- a/test/Model/GetContactCampaignStatsClickedTest.php +++ b/test/Model/GetContactCampaignStatsClickedTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetContactCampaignStatsClickedTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsClicked /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsLinksTest.php b/test/Model/GetContactCampaignStatsLinksTest.php index e8668203..afa8a4a0 100644 --- a/test/Model/GetContactCampaignStatsLinksTest.php +++ b/test/Model/GetContactCampaignStatsLinksTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetContactCampaignStatsLinksTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsLinks /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsMessagesSentTest.php b/test/Model/GetContactCampaignStatsMessagesSentTest.php index 7b618789..646d0132 100644 --- a/test/Model/GetContactCampaignStatsMessagesSentTest.php +++ b/test/Model/GetContactCampaignStatsMessagesSentTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetContactCampaignStatsMessagesSentTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsMessagesSent /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsOpenedTest.php b/test/Model/GetContactCampaignStatsOpenedTest.php index 15bdc4fd..e9109a7f 100644 --- a/test/Model/GetContactCampaignStatsOpenedTest.php +++ b/test/Model/GetContactCampaignStatsOpenedTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetContactCampaignStatsOpenedTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsOpened /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsTest.php b/test/Model/GetContactCampaignStatsTest.php index 7b385862..10fd0e08 100644 --- a/test/Model/GetContactCampaignStatsTest.php +++ b/test/Model/GetContactCampaignStatsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetContactCampaignStatsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Campaign Statistics for the contact /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsTransacAttributesTest.php b/test/Model/GetContactCampaignStatsTransacAttributesTest.php index 22c77e71..14a0466f 100644 --- a/test/Model/GetContactCampaignStatsTransacAttributesTest.php +++ b/test/Model/GetContactCampaignStatsTransacAttributesTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetContactCampaignStatsTransacAttributesTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsTransacAttributes /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionTest.php b/test/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionTest.php index deb90d5e..2b6339f0 100644 --- a/test/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionTest.php +++ b/test/Model/GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetContactCampaignStatsUnsubscriptionsAdminUnsubscriptionTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsUnsubscriptionsAdminUnsubscription /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsUnsubscriptionsTest.php b/test/Model/GetContactCampaignStatsUnsubscriptionsTest.php index 77cebe03..95057fb1 100644 --- a/test/Model/GetContactCampaignStatsUnsubscriptionsTest.php +++ b/test/Model/GetContactCampaignStatsUnsubscriptionsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetContactCampaignStatsUnsubscriptionsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsUnsubscriptions /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionTest.php b/test/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionTest.php index 1a1ac5a4..48cba19f 100644 --- a/test/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionTest.php +++ b/test/Model/GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetContactCampaignStatsUnsubscriptionsUserUnsubscriptionTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactCampaignStatsUnsubscriptionsUserUnsubscription /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactDetailsTest.php b/test/Model/GetContactDetailsTest.php index 2f6fbb8e..610d6890 100644 --- a/test/Model/GetContactDetailsTest.php +++ b/test/Model/GetContactDetailsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetContactDetailsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContactDetails /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetContactsTest.php b/test/Model/GetContactsTest.php index 91c47a7b..b9f3a1fd 100644 --- a/test/Model/GetContactsTest.php +++ b/test/Model/GetContactsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetContactsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetContacts /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetEmailCampaignTest.php b/test/Model/GetEmailCampaignTest.php index 7e6a6655..8d52b06a 100644 --- a/test/Model/GetEmailCampaignTest.php +++ b/test/Model/GetEmailCampaignTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetEmailCampaignTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetEmailCampaign /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetEmailCampaignsTest.php b/test/Model/GetEmailCampaignsTest.php index 90b1ec85..45d49f35 100644 --- a/test/Model/GetEmailCampaignsTest.php +++ b/test/Model/GetEmailCampaignsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetEmailCampaignsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetEmailCampaigns /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetEmailEventReportEventsTest.php b/test/Model/GetEmailEventReportEventsTest.php index b13521c1..b1e116ae 100644 --- a/test/Model/GetEmailEventReportEventsTest.php +++ b/test/Model/GetEmailEventReportEventsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetEmailEventReportEventsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetEmailEventReportEvents /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetEmailEventReportTest.php b/test/Model/GetEmailEventReportTest.php index b7518f6a..297d5333 100644 --- a/test/Model/GetEmailEventReportTest.php +++ b/test/Model/GetEmailEventReportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetEmailEventReportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetEmailEventReport /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedCampaignOverviewSenderTest.php b/test/Model/GetExtendedCampaignOverviewSenderTest.php index 87a61316..e7fc5da4 100644 --- a/test/Model/GetExtendedCampaignOverviewSenderTest.php +++ b/test/Model/GetExtendedCampaignOverviewSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetExtendedCampaignOverviewSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedCampaignOverviewSender /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedCampaignOverviewTest.php b/test/Model/GetExtendedCampaignOverviewTest.php index 205fa6ef..e639140a 100644 --- a/test/Model/GetExtendedCampaignOverviewTest.php +++ b/test/Model/GetExtendedCampaignOverviewTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetExtendedCampaignOverviewTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedCampaignOverview /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedCampaignStatsLinksStatsTest.php b/test/Model/GetExtendedCampaignStatsLinksStatsTest.php index 97a84b04..e544511a 100644 --- a/test/Model/GetExtendedCampaignStatsLinksStatsTest.php +++ b/test/Model/GetExtendedCampaignStatsLinksStatsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetExtendedCampaignStatsLinksStatsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Statistics about the clicked links /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedCampaignStatsTest.php b/test/Model/GetExtendedCampaignStatsTest.php index 0cb8b1fd..4083d3ee 100644 --- a/test/Model/GetExtendedCampaignStatsTest.php +++ b/test/Model/GetExtendedCampaignStatsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetExtendedCampaignStatsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedCampaignStats /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedClientAddressTest.php b/test/Model/GetExtendedClientAddressTest.php index f83cb41a..91949914 100644 --- a/test/Model/GetExtendedClientAddressTest.php +++ b/test/Model/GetExtendedClientAddressTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetExtendedClientAddressTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Address informations /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedClientTest.php b/test/Model/GetExtendedClientTest.php index 05a610cf..95253474 100644 --- a/test/Model/GetExtendedClientTest.php +++ b/test/Model/GetExtendedClientTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetExtendedClientTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedClient /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedContactDetailsTest.php b/test/Model/GetExtendedContactDetailsTest.php index 5356fe97..c6b23241 100644 --- a/test/Model/GetExtendedContactDetailsTest.php +++ b/test/Model/GetExtendedContactDetailsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetExtendedContactDetailsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedContactDetails /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedListCampaignStatsTest.php b/test/Model/GetExtendedListCampaignStatsTest.php index 5b06864d..70995927 100644 --- a/test/Model/GetExtendedListCampaignStatsTest.php +++ b/test/Model/GetExtendedListCampaignStatsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetExtendedListCampaignStatsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedListCampaignStats /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetExtendedListTest.php b/test/Model/GetExtendedListTest.php index 81fe81f4..0699c1d3 100644 --- a/test/Model/GetExtendedListTest.php +++ b/test/Model/GetExtendedListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetExtendedListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetExtendedList /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetFolderListsTest.php b/test/Model/GetFolderListsTest.php index efbb8c76..ef683d51 100644 --- a/test/Model/GetFolderListsTest.php +++ b/test/Model/GetFolderListsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetFolderListsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetFolderLists /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetFolderTest.php b/test/Model/GetFolderTest.php index 9b0aeb75..cb4946fd 100644 --- a/test/Model/GetFolderTest.php +++ b/test/Model/GetFolderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetFolderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetFolder /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetFoldersTest.php b/test/Model/GetFoldersTest.php index e6844eed..0cf02210 100644 --- a/test/Model/GetFoldersTest.php +++ b/test/Model/GetFoldersTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetFoldersTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetFolders /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetIpFromSenderTest.php b/test/Model/GetIpFromSenderTest.php index a22265d0..8e3ee63b 100644 --- a/test/Model/GetIpFromSenderTest.php +++ b/test/Model/GetIpFromSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetIpFromSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetIpFromSender /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetIpTest.php b/test/Model/GetIpTest.php index 35ff3356..cb64aed1 100644 --- a/test/Model/GetIpTest.php +++ b/test/Model/GetIpTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetIpTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetIp /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetIpsFromSenderTest.php b/test/Model/GetIpsFromSenderTest.php index 9f5128a3..697076ee 100644 --- a/test/Model/GetIpsFromSenderTest.php +++ b/test/Model/GetIpsFromSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetIpsFromSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetIpsFromSender /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetIpsTest.php b/test/Model/GetIpsTest.php index 78cb2d43..af3bbdcf 100644 --- a/test/Model/GetIpsTest.php +++ b/test/Model/GetIpsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetIpsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetIps /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetListTest.php b/test/Model/GetListTest.php index 79d1e6f7..81e471f7 100644 --- a/test/Model/GetListTest.php +++ b/test/Model/GetListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetList /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetListsFolderTest.php b/test/Model/GetListsFolderTest.php index 9deefed6..42389a1b 100644 --- a/test/Model/GetListsFolderTest.php +++ b/test/Model/GetListsFolderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetListsFolderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetListsFolder /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetListsListsTest.php b/test/Model/GetListsListsTest.php index b8327d79..487d9be7 100644 --- a/test/Model/GetListsListsTest.php +++ b/test/Model/GetListsListsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetListsListsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetListsLists /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetListsTest.php b/test/Model/GetListsTest.php index 90a51672..a57f54f7 100644 --- a/test/Model/GetListsTest.php +++ b/test/Model/GetListsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetListsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetLists /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetProcessTest.php b/test/Model/GetProcessTest.php index 17f9bb2d..d3e7b114 100644 --- a/test/Model/GetProcessTest.php +++ b/test/Model/GetProcessTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetProcessTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetProcess /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetProcessesTest.php b/test/Model/GetProcessesTest.php index d6c7638c..1cd62cec 100644 --- a/test/Model/GetProcessesTest.php +++ b/test/Model/GetProcessesTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetProcessesTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetProcesses /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetReportsReportsTest.php b/test/Model/GetReportsReportsTest.php index 2bfee020..457fc93f 100644 --- a/test/Model/GetReportsReportsTest.php +++ b/test/Model/GetReportsReportsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetReportsReportsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetReportsReports /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetReportsTest.php b/test/Model/GetReportsTest.php index 835a61e3..c1f248c6 100644 --- a/test/Model/GetReportsTest.php +++ b/test/Model/GetReportsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetReportsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetReports /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSendersListIpsTest.php b/test/Model/GetSendersListIpsTest.php index 8ae7e5bf..d419621c 100644 --- a/test/Model/GetSendersListIpsTest.php +++ b/test/Model/GetSendersListIpsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetSendersListIpsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSendersListIps /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSendersListSendersTest.php b/test/Model/GetSendersListSendersTest.php index b29819bf..1005dc25 100644 --- a/test/Model/GetSendersListSendersTest.php +++ b/test/Model/GetSendersListSendersTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetSendersListSendersTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSendersListSenders /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSendersListTest.php b/test/Model/GetSendersListTest.php index cb141b67..6b92573a 100644 --- a/test/Model/GetSendersListTest.php +++ b/test/Model/GetSendersListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetSendersListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSendersList /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmsCampaignOverviewTest.php b/test/Model/GetSmsCampaignOverviewTest.php index e91d6251..2c5806ce 100644 --- a/test/Model/GetSmsCampaignOverviewTest.php +++ b/test/Model/GetSmsCampaignOverviewTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetSmsCampaignOverviewTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmsCampaignOverview /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmsCampaignStatsTest.php b/test/Model/GetSmsCampaignStatsTest.php index c5a025e9..0b21b371 100644 --- a/test/Model/GetSmsCampaignStatsTest.php +++ b/test/Model/GetSmsCampaignStatsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetSmsCampaignStatsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmsCampaignStats /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmsCampaignTest.php b/test/Model/GetSmsCampaignTest.php index 308fd1ff..ce21eafb 100644 --- a/test/Model/GetSmsCampaignTest.php +++ b/test/Model/GetSmsCampaignTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetSmsCampaignTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmsCampaign /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmsCampaignsTest.php b/test/Model/GetSmsCampaignsTest.php index 960fdf70..9dd78272 100644 --- a/test/Model/GetSmsCampaignsTest.php +++ b/test/Model/GetSmsCampaignsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetSmsCampaignsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmsCampaigns /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmsEventReportEventsTest.php b/test/Model/GetSmsEventReportEventsTest.php index 62589bb6..b930dfc7 100644 --- a/test/Model/GetSmsEventReportEventsTest.php +++ b/test/Model/GetSmsEventReportEventsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetSmsEventReportEventsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmsEventReportEvents /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmsEventReportTest.php b/test/Model/GetSmsEventReportTest.php index b542d1c1..1e38e9cd 100644 --- a/test/Model/GetSmsEventReportTest.php +++ b/test/Model/GetSmsEventReportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetSmsEventReportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmsEventReport /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmtpTemplateOverviewSenderTest.php b/test/Model/GetSmtpTemplateOverviewSenderTest.php index a6b94dd9..e0853c88 100644 --- a/test/Model/GetSmtpTemplateOverviewSenderTest.php +++ b/test/Model/GetSmtpTemplateOverviewSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetSmtpTemplateOverviewSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmtpTemplateOverviewSender /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmtpTemplateOverviewTest.php b/test/Model/GetSmtpTemplateOverviewTest.php index be521a99..a2965d52 100644 --- a/test/Model/GetSmtpTemplateOverviewTest.php +++ b/test/Model/GetSmtpTemplateOverviewTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetSmtpTemplateOverviewTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmtpTemplateOverview /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetSmtpTemplatesTest.php b/test/Model/GetSmtpTemplatesTest.php index 1621bd48..2149a4a8 100644 --- a/test/Model/GetSmtpTemplatesTest.php +++ b/test/Model/GetSmtpTemplatesTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetSmtpTemplatesTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetSmtpTemplates /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetStatsByDomainTest.php b/test/Model/GetStatsByDomainTest.php index 52e8d679..53d17309 100644 --- a/test/Model/GetStatsByDomainTest.php +++ b/test/Model/GetStatsByDomainTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetStatsByDomainTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetStatsByDomain /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetTransacAggregatedSmsReportTest.php b/test/Model/GetTransacAggregatedSmsReportTest.php index dd07e3d2..630a5328 100644 --- a/test/Model/GetTransacAggregatedSmsReportTest.php +++ b/test/Model/GetTransacAggregatedSmsReportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetTransacAggregatedSmsReportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetTransacAggregatedSmsReport /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetTransacSmsReportReportsTest.php b/test/Model/GetTransacSmsReportReportsTest.php index f329112a..2ddbf5ec 100644 --- a/test/Model/GetTransacSmsReportReportsTest.php +++ b/test/Model/GetTransacSmsReportReportsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetTransacSmsReportReportsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetTransacSmsReportReports /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetTransacSmsReportTest.php b/test/Model/GetTransacSmsReportTest.php index 54f2771c..e65913de 100644 --- a/test/Model/GetTransacSmsReportTest.php +++ b/test/Model/GetTransacSmsReportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetTransacSmsReportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetTransacSmsReport /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetWebhookTest.php b/test/Model/GetWebhookTest.php index 3118c6ed..09e290ce 100644 --- a/test/Model/GetWebhookTest.php +++ b/test/Model/GetWebhookTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetWebhookTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetWebhook /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/GetWebhooksTest.php b/test/Model/GetWebhooksTest.php index 30c6b494..6c3c3aea 100644 --- a/test/Model/GetWebhooksTest.php +++ b/test/Model/GetWebhooksTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * GetWebhooksTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description GetWebhooks /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/ManageIpTest.php b/test/Model/ManageIpTest.php index 33c1699e..d47b328d 100644 --- a/test/Model/ManageIpTest.php +++ b/test/Model/ManageIpTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * ManageIpTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description ManageIp /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/PostContactInfoContactsTest.php b/test/Model/PostContactInfoContactsTest.php index 7a7a7960..df085531 100644 --- a/test/Model/PostContactInfoContactsTest.php +++ b/test/Model/PostContactInfoContactsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * PostContactInfoContactsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description PostContactInfoContacts /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/PostContactInfoTest.php b/test/Model/PostContactInfoTest.php index bf14dd37..f83bdbe2 100644 --- a/test/Model/PostContactInfoTest.php +++ b/test/Model/PostContactInfoTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * PostContactInfoTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description PostContactInfo /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/PostSendFailedTest.php b/test/Model/PostSendFailedTest.php index 28a26736..9049f145 100644 --- a/test/Model/PostSendFailedTest.php +++ b/test/Model/PostSendFailedTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * PostSendFailedTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description PostSendFailed /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/PostSendSmsTestFailedTest.php b/test/Model/PostSendSmsTestFailedTest.php index f198069e..3f7e5264 100644 --- a/test/Model/PostSendSmsTestFailedTest.php +++ b/test/Model/PostSendSmsTestFailedTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * PostSendSmsTestFailedTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description PostSendSmsTestFailed /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RemainingCreditModelChildTest.php b/test/Model/RemainingCreditModelChildTest.php index f23a52f0..c87fd491 100644 --- a/test/Model/RemainingCreditModelChildTest.php +++ b/test/Model/RemainingCreditModelChildTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * RemainingCreditModelChildTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Credits remaining for child account /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RemainingCreditModelResellerTest.php b/test/Model/RemainingCreditModelResellerTest.php index 4b8a579a..4c2b0e41 100644 --- a/test/Model/RemainingCreditModelResellerTest.php +++ b/test/Model/RemainingCreditModelResellerTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * RemainingCreditModelResellerTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RemainingCreditModelReseller /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RemainingCreditModelTest.php b/test/Model/RemainingCreditModelTest.php index bf8bbd1b..8e36965f 100644 --- a/test/Model/RemainingCreditModelTest.php +++ b/test/Model/RemainingCreditModelTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * RemainingCreditModelTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RemainingCreditModel /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RemoveCreditsTest.php b/test/Model/RemoveCreditsTest.php index 93ce455b..25b1fa3f 100644 --- a/test/Model/RemoveCreditsTest.php +++ b/test/Model/RemoveCreditsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * RemoveCreditsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RemoveCredits /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RequestContactExportTest.php b/test/Model/RequestContactExportTest.php index 19efd5c8..ec7ef9a7 100644 --- a/test/Model/RequestContactExportTest.php +++ b/test/Model/RequestContactExportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * RequestContactExportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RequestContactExport /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RequestContactImportNewListTest.php b/test/Model/RequestContactImportNewListTest.php index 9641e65a..2cd7e884 100644 --- a/test/Model/RequestContactImportNewListTest.php +++ b/test/Model/RequestContactImportNewListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * RequestContactImportNewListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RequestContactImportNewList /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RequestContactImportTest.php b/test/Model/RequestContactImportTest.php index 5ac6d30c..1dacffe7 100644 --- a/test/Model/RequestContactImportTest.php +++ b/test/Model/RequestContactImportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * RequestContactImportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RequestContactImport /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/RequestSMSRecipientExportTest.php b/test/Model/RequestSMSRecipientExportTest.php index 1e1fa8a0..f95a0488 100644 --- a/test/Model/RequestSMSRecipientExportTest.php +++ b/test/Model/RequestSMSRecipientExportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * RequestSMSRecipientExportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description RequestSMSRecipientExport /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendEmailAttachmentTest.php b/test/Model/SendEmailAttachmentTest.php index 7cde4830..dfe397b7 100644 --- a/test/Model/SendEmailAttachmentTest.php +++ b/test/Model/SendEmailAttachmentTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendEmailAttachmentTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendEmailAttachment /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendEmailTest.php b/test/Model/SendEmailTest.php index 85b6427d..34cb4e4a 100644 --- a/test/Model/SendEmailTest.php +++ b/test/Model/SendEmailTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendEmailTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendEmail /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendReportEmailTest.php b/test/Model/SendReportEmailTest.php index afa655a9..73417385 100644 --- a/test/Model/SendReportEmailTest.php +++ b/test/Model/SendReportEmailTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendReportEmailTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendReportEmail /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendReportTest.php b/test/Model/SendReportTest.php index dcc20630..310ea459 100644 --- a/test/Model/SendReportTest.php +++ b/test/Model/SendReportTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendReportTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendReport /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmsTest.php b/test/Model/SendSmsTest.php index 73cddb40..abe3b66f 100644 --- a/test/Model/SendSmsTest.php +++ b/test/Model/SendSmsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendSmsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSms /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailAttachmentTest.php b/test/Model/SendSmtpEmailAttachmentTest.php index 2f96741b..dc05da86 100644 --- a/test/Model/SendSmtpEmailAttachmentTest.php +++ b/test/Model/SendSmtpEmailAttachmentTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendSmtpEmailAttachmentTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSmtpEmailAttachment /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailBccTest.php b/test/Model/SendSmtpEmailBccTest.php index 2cbde6a0..6db7f730 100644 --- a/test/Model/SendSmtpEmailBccTest.php +++ b/test/Model/SendSmtpEmailBccTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendSmtpEmailBccTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSmtpEmailBcc /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailCcTest.php b/test/Model/SendSmtpEmailCcTest.php index 10ca828c..9d47a0da 100644 --- a/test/Model/SendSmtpEmailCcTest.php +++ b/test/Model/SendSmtpEmailCcTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendSmtpEmailCcTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSmtpEmailCc /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailReplyToTest.php b/test/Model/SendSmtpEmailReplyToTest.php index cac5b2e7..8b5009ab 100644 --- a/test/Model/SendSmtpEmailReplyToTest.php +++ b/test/Model/SendSmtpEmailReplyToTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendSmtpEmailReplyToTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Email on which transactional mail recipients will be able to reply to /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailSenderTest.php b/test/Model/SendSmtpEmailSenderTest.php index ec25857f..f9e550e9 100644 --- a/test/Model/SendSmtpEmailSenderTest.php +++ b/test/Model/SendSmtpEmailSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendSmtpEmailSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSmtpEmailSender /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailTest.php b/test/Model/SendSmtpEmailTest.php index c44c56c8..41cbf1ee 100644 --- a/test/Model/SendSmtpEmailTest.php +++ b/test/Model/SendSmtpEmailTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendSmtpEmailTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSmtpEmail /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendSmtpEmailToTest.php b/test/Model/SendSmtpEmailToTest.php index d8c6c4e0..a0ccd3c4 100644 --- a/test/Model/SendSmtpEmailToTest.php +++ b/test/Model/SendSmtpEmailToTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendSmtpEmailToTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendSmtpEmailTo /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendTemplateEmailTest.php b/test/Model/SendTemplateEmailTest.php index 30c5dcbb..bad1c7b8 100644 --- a/test/Model/SendTemplateEmailTest.php +++ b/test/Model/SendTemplateEmailTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendTemplateEmailTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendTemplateEmail /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendTestEmailTest.php b/test/Model/SendTestEmailTest.php index fca37d6f..470add76 100644 --- a/test/Model/SendTestEmailTest.php +++ b/test/Model/SendTestEmailTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendTestEmailTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendTestEmail /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendTestSmsTest.php b/test/Model/SendTestSmsTest.php index 31a430e6..8bed899c 100644 --- a/test/Model/SendTestSmsTest.php +++ b/test/Model/SendTestSmsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendTestSmsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendTestSms /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/SendTransacSmsTest.php b/test/Model/SendTransacSmsTest.php index ab5035ea..a96c646d 100644 --- a/test/Model/SendTransacSmsTest.php +++ b/test/Model/SendTransacSmsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * SendTransacSmsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description SendTransacSms /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateCampaignStatusTest.php b/test/Model/UpdateCampaignStatusTest.php index 8e63db64..8dcd9c10 100644 --- a/test/Model/UpdateCampaignStatusTest.php +++ b/test/Model/UpdateCampaignStatusTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * UpdateCampaignStatusTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description Status of the campaign /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateChildTest.php b/test/Model/UpdateChildTest.php index 0abd5c23..b85113c1 100644 --- a/test/Model/UpdateChildTest.php +++ b/test/Model/UpdateChildTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * UpdateChildTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateChild /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateContactTest.php b/test/Model/UpdateContactTest.php index ef0288f5..908dfc45 100644 --- a/test/Model/UpdateContactTest.php +++ b/test/Model/UpdateContactTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * UpdateContactTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateContact /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateEmailCampaignRecipientsTest.php b/test/Model/UpdateEmailCampaignRecipientsTest.php index a4bebb75..46a3ed6a 100644 --- a/test/Model/UpdateEmailCampaignRecipientsTest.php +++ b/test/Model/UpdateEmailCampaignRecipientsTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * UpdateEmailCampaignRecipientsTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateEmailCampaignRecipients /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateEmailCampaignSenderTest.php b/test/Model/UpdateEmailCampaignSenderTest.php index b5e1b321..8fee8a70 100644 --- a/test/Model/UpdateEmailCampaignSenderTest.php +++ b/test/Model/UpdateEmailCampaignSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * UpdateEmailCampaignSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateEmailCampaignSender /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateEmailCampaignTest.php b/test/Model/UpdateEmailCampaignTest.php index f4f1c2e4..e4c8f82b 100644 --- a/test/Model/UpdateEmailCampaignTest.php +++ b/test/Model/UpdateEmailCampaignTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * UpdateEmailCampaignTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateEmailCampaign /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateListTest.php b/test/Model/UpdateListTest.php index ee7b7d12..b2bd558c 100644 --- a/test/Model/UpdateListTest.php +++ b/test/Model/UpdateListTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * UpdateListTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateList /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateSenderTest.php b/test/Model/UpdateSenderTest.php index 171be96c..04cf9475 100644 --- a/test/Model/UpdateSenderTest.php +++ b/test/Model/UpdateSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * UpdateSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateSender /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateSmsCampaignTest.php b/test/Model/UpdateSmsCampaignTest.php index 515a42f9..27ada8d2 100644 --- a/test/Model/UpdateSmsCampaignTest.php +++ b/test/Model/UpdateSmsCampaignTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * UpdateSmsCampaignTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateSmsCampaign /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateSmtpTemplateSenderTest.php b/test/Model/UpdateSmtpTemplateSenderTest.php index 38222c1e..72e26088 100644 --- a/test/Model/UpdateSmtpTemplateSenderTest.php +++ b/test/Model/UpdateSmtpTemplateSenderTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * UpdateSmtpTemplateSenderTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateSmtpTemplateSender /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateSmtpTemplateTest.php b/test/Model/UpdateSmtpTemplateTest.php index 85c3eb8c..0067f48f 100644 --- a/test/Model/UpdateSmtpTemplateTest.php +++ b/test/Model/UpdateSmtpTemplateTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * UpdateSmtpTemplateTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateSmtpTemplate /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ diff --git a/test/Model/UpdateWebhookTest.php b/test/Model/UpdateWebhookTest.php index aa954fc3..3ddaa496 100644 --- a/test/Model/UpdateWebhookTest.php +++ b/test/Model/UpdateWebhookTest.php @@ -5,7 +5,7 @@ * PHP version 5 * * @category Class - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */ @@ -27,7 +27,7 @@ * Please update the test case below to test the model. */ -namespace Sendinblue\Client; +namespace SendinBlue\Client; /** * UpdateWebhookTest Class Doc Comment @@ -35,7 +35,7 @@ * @category Class */ // * @description UpdateWebhook /** - * @package Sendinblue\Client + * @package SendinBlue\Client * @author Swagger Codegen team * @link https://github.com/swagger-api/swagger-codegen */