203 lines
4.4 KiB
PHP
203 lines
4.4 KiB
PHP
<?php
|
|
/**
|
|
* EmailCampaignsApiTest
|
|
* 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;
|
|
|
|
/**
|
|
* EmailCampaignsApiTest Class Doc Comment
|
|
*
|
|
* @category Class
|
|
* @package Brevo\Client
|
|
* @author Swagger Codegen team
|
|
* @link https://github.com/swagger-api/swagger-codegen
|
|
*/
|
|
class EmailCampaignsApiTest 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 createEmailCampaign
|
|
*
|
|
* Create an email campaign.
|
|
*
|
|
*/
|
|
public function testCreateEmailCampaign()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for deleteEmailCampaign
|
|
*
|
|
* Delete an email campaign.
|
|
*
|
|
*/
|
|
public function testDeleteEmailCampaign()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for emailExportRecipients
|
|
*
|
|
* Export the recipients of an email campaign.
|
|
*
|
|
*/
|
|
public function testEmailExportRecipients()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getAbTestCampaignResult
|
|
*
|
|
* Get an A/B test email campaign results.
|
|
*
|
|
*/
|
|
public function testGetAbTestCampaignResult()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getEmailCampaign
|
|
*
|
|
* Get an email campaign report.
|
|
*
|
|
*/
|
|
public function testGetEmailCampaign()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getEmailCampaigns
|
|
*
|
|
* Return all your created email campaigns.
|
|
*
|
|
*/
|
|
public function testGetEmailCampaigns()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for getSharedTemplateUrl
|
|
*
|
|
* Get a shared template url.
|
|
*
|
|
*/
|
|
public function testGetSharedTemplateUrl()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for sendEmailCampaignNow
|
|
*
|
|
* Send an email campaign immediately, based on campaignId.
|
|
*
|
|
*/
|
|
public function testSendEmailCampaignNow()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for sendReport
|
|
*
|
|
* Send the report of a campaign.
|
|
*
|
|
*/
|
|
public function testSendReport()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for sendTestEmail
|
|
*
|
|
* Send an email campaign to your test list.
|
|
*
|
|
*/
|
|
public function testSendTestEmail()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for updateCampaignStatus
|
|
*
|
|
* Update an email campaign status.
|
|
*
|
|
*/
|
|
public function testUpdateCampaignStatus()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for updateEmailCampaign
|
|
*
|
|
* Update an email campaign.
|
|
*
|
|
*/
|
|
public function testUpdateEmailCampaign()
|
|
{
|
|
}
|
|
|
|
/**
|
|
* Test case for uploadImageToGallery
|
|
*
|
|
* Upload an image to your account's image gallery.
|
|
*
|
|
*/
|
|
public function testUploadImageToGallery()
|
|
{
|
|
}
|
|
}
|