165 lines
3.8 KiB
PHP
165 lines
3.8 KiB
PHP
|
|
<?php
|
||
|
|
/**
|
||
|
|
* WhatsAppCampaignsApiTest
|
||
|
|
* 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;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* WhatsAppCampaignsApiTest Class Doc Comment
|
||
|
|
*
|
||
|
|
* @category Class
|
||
|
|
* @package Brevo\Client
|
||
|
|
* @author Swagger Codegen team
|
||
|
|
* @link https://github.com/swagger-api/swagger-codegen
|
||
|
|
*/
|
||
|
|
class WhatsAppCampaignsApiTest 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 createWhatsAppCampaign
|
||
|
|
*
|
||
|
|
* Create and Send a WhatsApp campaign.
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
public function testCreateWhatsAppCampaign()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Test case for createWhatsAppTemplate
|
||
|
|
*
|
||
|
|
* Create a WhatsApp template.
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
public function testCreateWhatsAppTemplate()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Test case for deleteWhatsAppCampaign
|
||
|
|
*
|
||
|
|
* Delete a WhatsApp campaign.
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
public function testDeleteWhatsAppCampaign()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Test case for getWhatsAppCampaign
|
||
|
|
*
|
||
|
|
* Get a WhatsApp campaign.
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
public function testGetWhatsAppCampaign()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Test case for getWhatsAppCampaigns
|
||
|
|
*
|
||
|
|
* Return all your created WhatsApp campaigns.
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
public function testGetWhatsAppCampaigns()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Test case for getWhatsAppConfig
|
||
|
|
*
|
||
|
|
* Get your WhatsApp API account information.
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
public function testGetWhatsAppConfig()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Test case for getWhatsAppTemplates
|
||
|
|
*
|
||
|
|
* Return all your created WhatsApp templates.
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
public function testGetWhatsAppTemplates()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Test case for sendWhatsAppTemplateApproval
|
||
|
|
*
|
||
|
|
* Send your WhatsApp template for approval.
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
public function testSendWhatsAppTemplateApproval()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Test case for updateWhatsAppCampaign
|
||
|
|
*
|
||
|
|
* Update a WhatsApp campaign.
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
public function testUpdateWhatsAppCampaign()
|
||
|
|
{
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|