363 lines
6.4 KiB
PHP
363 lines
6.4 KiB
PHP
<?php
|
|
/**
|
|
* ContactsApiTest
|
|
* PHP version 5
|
|
*
|
|
* @category Class
|
|
* @package Brevo\Client
|
|
* @author Swagger Codegen team
|
|
* @link https://github.com/swagger-api/swagger-codegen
|
|
*/
|
|
|
|
/**
|
|
* Brevo API
|
|
*
|
|
* Brevo provide a RESTFul API that can be used with any languages. With this API, you will be able to : - Manage your campaigns and get the statistics - Manage your contacts - Send transactional Emails and SMS - and much more... You can download our wrappers at https://github.com/orgs/brevo **Possible responses** | Code | Message | | :-------------: | ------------- | | 200 | OK. Successful Request | | 201 | OK. Successful Creation | | 202 | OK. Request accepted | | 204 | OK. Successful Update/Deletion | | 400 | Error. Bad Request | | 401 | Error. Authentication Needed | | 402 | Error. Not enough credit, plan upgrade needed | | 403 | Error. Permission denied | | 404 | Error. Object does not exist | | 405 | Error. Method not allowed | | 406 | Error. Not Acceptable |
|
|
*
|
|
* OpenAPI spec version: 3.0.0
|
|
* Contact: contact@brevo.com
|
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
* Swagger Codegen version: 2.4.29
|
|
*/
|
|
|
|
/**
|
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
* https://github.com/swagger-api/swagger-codegen
|
|
* Please update the test case below to test the endpoint.
|
|
*/
|
|
|
|
namespace Brevo\Client;
|
|
|
|
use \Brevo\Client\Configuration;
|
|
use \Brevo\Client\ApiException;
|
|
use \Brevo\Client\ObjectSerializer;
|
|
|
|
/**
|
|
* ContactsApiTest Class Doc Comment
|
|
*
|
|
* @category Class
|
|
* @package Brevo\Client
|
|
* @author Swagger Codegen team
|
|
* @link https://github.com/swagger-api/swagger-codegen
|
|
*/
|
|
class ContactsApiTest extends \PHPUnit_Framework_TestCase
|
|
{
|
|
|
|
/**
|
|
* Setup before running any test cases
|
|
*/
|
|
public static function setUpBeforeClass()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Setup before running each test case
|
|
*/
|
|
public function setUp()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Clean up after running each test case
|
|
*/
|
|
public function tearDown()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Clean up after running all test cases
|
|
*/
|
|
public static function tearDownAfterClass()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for addContactToList
|
|
*
|
|
* Add existing contacts to a list.
|
|
*
|
|
*/
|
|
public function testAddContactToList()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createAttribute
|
|
*
|
|
* Create contact attribute.
|
|
*
|
|
*/
|
|
public function testCreateAttribute()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createContact
|
|
*
|
|
* Create a contact.
|
|
*
|
|
*/
|
|
public function testCreateContact()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createDoiContact
|
|
*
|
|
* Create Contact via DOI (Double-Opt-In) Flow.
|
|
*
|
|
*/
|
|
public function testCreateDoiContact()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createFolder
|
|
*
|
|
* Create a folder.
|
|
*
|
|
*/
|
|
public function testCreateFolder()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for createList
|
|
*
|
|
* Create a list.
|
|
*
|
|
*/
|
|
public function testCreateList()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for deleteAttribute
|
|
*
|
|
* Delete an attribute.
|
|
*
|
|
*/
|
|
public function testDeleteAttribute()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for deleteContact
|
|
*
|
|
* Delete a contact.
|
|
*
|
|
*/
|
|
public function testDeleteContact()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for deleteFolder
|
|
*
|
|
* Delete a folder (and all its lists).
|
|
*
|
|
*/
|
|
public function testDeleteFolder()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for deleteList
|
|
*
|
|
* Delete a list.
|
|
*
|
|
*/
|
|
public function testDeleteList()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getAttributes
|
|
*
|
|
* List all attributes.
|
|
*
|
|
*/
|
|
public function testGetAttributes()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getContactInfo
|
|
*
|
|
* Get a contact's details.
|
|
*
|
|
*/
|
|
public function testGetContactInfo()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getContactStats
|
|
*
|
|
* Get email campaigns' statistics for a contact.
|
|
*
|
|
*/
|
|
public function testGetContactStats()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getContacts
|
|
*
|
|
* Get all the contacts.
|
|
*
|
|
*/
|
|
public function testGetContacts()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getContactsFromList
|
|
*
|
|
* Get contacts in a list.
|
|
*
|
|
*/
|
|
public function testGetContactsFromList()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getFolder
|
|
*
|
|
* Returns a folder's details.
|
|
*
|
|
*/
|
|
public function testGetFolder()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getFolderLists
|
|
*
|
|
* Get lists in a folder.
|
|
*
|
|
*/
|
|
public function testGetFolderLists()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getFolders
|
|
*
|
|
* Get all folders.
|
|
*
|
|
*/
|
|
public function testGetFolders()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getList
|
|
*
|
|
* Get a list's details.
|
|
*
|
|
*/
|
|
public function testGetList()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getLists
|
|
*
|
|
* Get all the lists.
|
|
*
|
|
*/
|
|
public function testGetLists()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getSegments
|
|
*
|
|
* Get all the Segments.
|
|
*
|
|
*/
|
|
public function testGetSegments()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for importContacts
|
|
*
|
|
* Import contacts.
|
|
*
|
|
*/
|
|
public function testImportContacts()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for removeContactFromList
|
|
*
|
|
* Delete a contact from a list.
|
|
*
|
|
*/
|
|
public function testRemoveContactFromList()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for requestContactExport
|
|
*
|
|
* Export contacts.
|
|
*
|
|
*/
|
|
public function testRequestContactExport()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for updateAttribute
|
|
*
|
|
* Update contact attribute.
|
|
*
|
|
*/
|
|
public function testUpdateAttribute()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for updateBatchContacts
|
|
*
|
|
* Update multiple contacts.
|
|
*
|
|
*/
|
|
public function testUpdateBatchContacts()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for updateContact
|
|
*
|
|
* Update a contact.
|
|
*
|
|
*/
|
|
public function testUpdateContact()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for updateFolder
|
|
*
|
|
* Update a folder.
|
|
*
|
|
*/
|
|
public function testUpdateFolder()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for updateList
|
|
*
|
|
* Update a list.
|
|
*
|
|
*/
|
|
public function testUpdateList()
|
|
{
|
|
}
|
|
}
|