mirror of
https://github.com/retailcrm/mailgun-php.git
synced 2024-11-22 12:36:02 +03:00
Renamed namespace from Resource\Api to Model (#293)
* Renamed namespace from Resource\Api to Model * Moved Resources\ApiResponse to Models namespace Signed-off-by: Michal Hanajík <michal.hanajik@outlook.com> * Fix of code style
This commit is contained in:
parent
da873dad04
commit
74929b6518
@ -10,16 +10,16 @@
|
||||
namespace Mailgun\Api;
|
||||
|
||||
use Mailgun\Assert;
|
||||
use Mailgun\Resource\Api\Domain\ConnectionResponse;
|
||||
use Mailgun\Resource\Api\Domain\CreateCredentialResponse;
|
||||
use Mailgun\Resource\Api\Domain\CreateResponse;
|
||||
use Mailgun\Resource\Api\Domain\CredentialResponse;
|
||||
use Mailgun\Resource\Api\Domain\DeleteCredentialResponse;
|
||||
use Mailgun\Resource\Api\Domain\DeleteResponse;
|
||||
use Mailgun\Resource\Api\Domain\IndexResponse;
|
||||
use Mailgun\Resource\Api\Domain\ShowResponse;
|
||||
use Mailgun\Resource\Api\Domain\UpdateConnectionResponse;
|
||||
use Mailgun\Resource\Api\Domain\UpdateCredentialResponse;
|
||||
use Mailgun\Model\Domain\ConnectionResponse;
|
||||
use Mailgun\Model\Domain\CreateCredentialResponse;
|
||||
use Mailgun\Model\Domain\CreateResponse;
|
||||
use Mailgun\Model\Domain\CredentialResponse;
|
||||
use Mailgun\Model\Domain\DeleteCredentialResponse;
|
||||
use Mailgun\Model\Domain\DeleteResponse;
|
||||
use Mailgun\Model\Domain\IndexResponse;
|
||||
use Mailgun\Model\Domain\ShowResponse;
|
||||
use Mailgun\Model\Domain\UpdateConnectionResponse;
|
||||
use Mailgun\Model\Domain\UpdateCredentialResponse;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
|
||||
/**
|
||||
|
@ -10,7 +10,7 @@
|
||||
namespace Mailgun\Api;
|
||||
|
||||
use Mailgun\Assert;
|
||||
use Mailgun\Resource\Api\Event\EventResponse;
|
||||
use Mailgun\Model\Event\EventResponse;
|
||||
|
||||
/**
|
||||
* {@link https://documentation.mailgun.com/api-events.html}.
|
||||
|
@ -15,7 +15,7 @@ use Mailgun\Deserializer\ResponseDeserializer;
|
||||
use Mailgun\Exception\HttpClientException;
|
||||
use Mailgun\Exception\HttpServerException;
|
||||
use Mailgun\RequestBuilder;
|
||||
use Mailgun\Resource\Api\ErrorResponse;
|
||||
use Mailgun\Model\ErrorResponse;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
|
||||
/**
|
||||
|
@ -11,8 +11,8 @@ namespace Mailgun\Api;
|
||||
|
||||
use Mailgun\Assert;
|
||||
use Mailgun\Exception\InvalidArgumentException;
|
||||
use Mailgun\Resource\Api\Message\SendResponse;
|
||||
use Mailgun\Resource\Api\Message\ShowResponse;
|
||||
use Mailgun\Model\Message\SendResponse;
|
||||
use Mailgun\Model\Message\ShowResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||
|
@ -10,7 +10,7 @@
|
||||
namespace Mailgun\Api;
|
||||
|
||||
use Mailgun\Assert;
|
||||
use Mailgun\Resource\Api\PagingProvider;
|
||||
use Mailgun\Model\PagingProvider;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
|
||||
/**
|
||||
|
@ -10,11 +10,11 @@
|
||||
namespace Mailgun\Api;
|
||||
|
||||
use Mailgun\Assert;
|
||||
use Mailgun\Resource\Api\Routes\Response\CreateResponse;
|
||||
use Mailgun\Resource\Api\Routes\Response\DeleteResponse;
|
||||
use Mailgun\Resource\Api\Routes\Response\IndexResponse;
|
||||
use Mailgun\Resource\Api\Routes\Response\ShowResponse;
|
||||
use Mailgun\Resource\Api\Routes\Response\UpdateResponse;
|
||||
use Mailgun\Model\Routes\Response\CreateResponse;
|
||||
use Mailgun\Model\Routes\Response\DeleteResponse;
|
||||
use Mailgun\Model\Routes\Response\IndexResponse;
|
||||
use Mailgun\Model\Routes\Response\ShowResponse;
|
||||
use Mailgun\Model\Routes\Response\UpdateResponse;
|
||||
|
||||
/**
|
||||
* {@link https://documentation.mailgun.com/api-routes.html}.
|
||||
|
@ -10,8 +10,8 @@
|
||||
namespace Mailgun\Api;
|
||||
|
||||
use Mailgun\Assert;
|
||||
use Mailgun\Resource\Api\Stats\AllResponse;
|
||||
use Mailgun\Resource\Api\Stats\TotalResponse;
|
||||
use Mailgun\Model\Stats\AllResponse;
|
||||
use Mailgun\Model\Stats\TotalResponse;
|
||||
|
||||
/**
|
||||
* {@link https://documentation.mailgun.com/api-stats.html}.
|
||||
|
@ -10,10 +10,10 @@
|
||||
namespace Mailgun\Api;
|
||||
|
||||
use Mailgun\Assert;
|
||||
use Mailgun\Resource\Api\Suppressions\Bounce\CreateResponse;
|
||||
use Mailgun\Resource\Api\Suppressions\Bounce\DeleteResponse;
|
||||
use Mailgun\Resource\Api\Suppressions\Bounce\IndexResponse;
|
||||
use Mailgun\Resource\Api\Suppressions\Bounce\ShowResponse;
|
||||
use Mailgun\Model\Suppressions\Bounce\CreateResponse;
|
||||
use Mailgun\Model\Suppressions\Bounce\DeleteResponse;
|
||||
use Mailgun\Model\Suppressions\Bounce\IndexResponse;
|
||||
use Mailgun\Model\Suppressions\Bounce\ShowResponse;
|
||||
|
||||
/**
|
||||
* @see https://documentation.mailgun.com/api-suppressions.html#bounces
|
||||
|
@ -10,10 +10,10 @@
|
||||
namespace Mailgun\Api;
|
||||
|
||||
use Mailgun\Assert;
|
||||
use Mailgun\Resource\Api\Suppressions\Complaint\CreateResponse;
|
||||
use Mailgun\Resource\Api\Suppressions\Complaint\DeleteResponse;
|
||||
use Mailgun\Resource\Api\Suppressions\Complaint\IndexResponse;
|
||||
use Mailgun\Resource\Api\Suppressions\Complaint\ShowResponse;
|
||||
use Mailgun\Model\Suppressions\Complaint\CreateResponse;
|
||||
use Mailgun\Model\Suppressions\Complaint\DeleteResponse;
|
||||
use Mailgun\Model\Suppressions\Complaint\IndexResponse;
|
||||
use Mailgun\Model\Suppressions\Complaint\ShowResponse;
|
||||
|
||||
/**
|
||||
* @see https://documentation.mailgun.com/api-suppressions.html#complaints
|
||||
|
@ -10,10 +10,10 @@
|
||||
namespace Mailgun\Api;
|
||||
|
||||
use Mailgun\Assert;
|
||||
use Mailgun\Resource\Api\Suppressions\Unsubscribe\CreateResponse;
|
||||
use Mailgun\Resource\Api\Suppressions\Unsubscribe\DeleteResponse;
|
||||
use Mailgun\Resource\Api\Suppressions\Unsubscribe\IndexResponse;
|
||||
use Mailgun\Resource\Api\Suppressions\Unsubscribe\ShowResponse;
|
||||
use Mailgun\Model\Suppressions\Unsubscribe\CreateResponse;
|
||||
use Mailgun\Model\Suppressions\Unsubscribe\DeleteResponse;
|
||||
use Mailgun\Model\Suppressions\Unsubscribe\IndexResponse;
|
||||
use Mailgun\Model\Suppressions\Unsubscribe\ShowResponse;
|
||||
|
||||
/**
|
||||
* @see https://documentation.mailgun.com/api-suppressions.html#unsubscribes
|
||||
|
@ -10,11 +10,11 @@
|
||||
namespace Mailgun\Api;
|
||||
|
||||
use Mailgun\Assert;
|
||||
use Mailgun\Resource\Api\Tag\DeleteResponse;
|
||||
use Mailgun\Resource\Api\Tag\IndexResponse;
|
||||
use Mailgun\Resource\Api\Tag\ShowResponse;
|
||||
use Mailgun\Resource\Api\Tag\StatisticsResponse;
|
||||
use Mailgun\Resource\Api\Tag\UpdateResponse;
|
||||
use Mailgun\Model\Tag\DeleteResponse;
|
||||
use Mailgun\Model\Tag\IndexResponse;
|
||||
use Mailgun\Model\Tag\ShowResponse;
|
||||
use Mailgun\Model\Tag\StatisticsResponse;
|
||||
use Mailgun\Model\Tag\UpdateResponse;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
|
||||
/**
|
||||
|
@ -10,11 +10,11 @@
|
||||
namespace Mailgun\Api;
|
||||
|
||||
use Mailgun\Assert;
|
||||
use Mailgun\Resource\Api\Webhook\CreateResponse;
|
||||
use Mailgun\Resource\Api\Webhook\DeleteResponse;
|
||||
use Mailgun\Resource\Api\Webhook\IndexResponse;
|
||||
use Mailgun\Resource\Api\Webhook\ShowResponse;
|
||||
use Mailgun\Resource\Api\Webhook\UpdateResponse;
|
||||
use Mailgun\Model\Webhook\CreateResponse;
|
||||
use Mailgun\Model\Webhook\DeleteResponse;
|
||||
use Mailgun\Model\Webhook\IndexResponse;
|
||||
use Mailgun\Model\Webhook\ShowResponse;
|
||||
use Mailgun\Model\Webhook\UpdateResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
||||
|
@ -10,7 +10,7 @@
|
||||
namespace Mailgun\Deserializer;
|
||||
|
||||
use Mailgun\Exception\DeserializeException;
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
use Psr\Http\Message\ResponseInterface;
|
||||
|
||||
/**
|
||||
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource;
|
||||
namespace Mailgun\Model;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
/**
|
||||
* Represents a single DNS record for a domain.
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
/**
|
||||
* Represents domain information in its simplest form.
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Domain;
|
||||
namespace Mailgun\Model\Domain;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
namespace Mailgun\Model;
|
||||
|
||||
final class ErrorResponse implements ApiResponse
|
||||
{
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Event;
|
||||
namespace Mailgun\Model\Event;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,11 +7,11 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Event;
|
||||
namespace Mailgun\Model\Event;
|
||||
|
||||
use Mailgun\Resource\Api\PagingProvider;
|
||||
use Mailgun\Resource\Api\PaginationResponse;
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\PagingProvider;
|
||||
use Mailgun\Model\PaginationResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Message;
|
||||
namespace Mailgun\Model\Message;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Message;
|
||||
namespace Mailgun\Model\Message;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api;
|
||||
namespace Mailgun\Model;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api;
|
||||
namespace Mailgun\Model;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Routes;
|
||||
namespace Mailgun\Model\Routes;
|
||||
|
||||
/**
|
||||
* @author David Garcia <me@davidgarcia.cat>
|
@ -7,10 +7,10 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Routes\Response;
|
||||
namespace Mailgun\Model\Routes\Response;
|
||||
|
||||
use Mailgun\Resource\Api\Routes\Route;
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\Routes\Route;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author David Garcia <me@davidgarcia.cat>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Routes\Response;
|
||||
namespace Mailgun\Model\Routes\Response;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author David Garcia <me@davidgarcia.cat>
|
@ -7,10 +7,10 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Routes\Response;
|
||||
namespace Mailgun\Model\Routes\Response;
|
||||
|
||||
use Mailgun\Resource\Api\Routes\Route;
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\Routes\Route;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author David Garcia <me@davidgarcia.cat>
|
@ -7,10 +7,10 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Routes\Response;
|
||||
namespace Mailgun\Model\Routes\Response;
|
||||
|
||||
use Mailgun\Resource\Api\Routes\Route;
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\Routes\Route;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author David Garcia <me@davidgarcia.cat>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Routes\Response;
|
||||
namespace Mailgun\Model\Routes\Response;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author David Garcia <me@davidgarcia.cat>
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Routes;
|
||||
namespace Mailgun\Model\Routes;
|
||||
|
||||
/**
|
||||
* @author David Garcia <me@davidgarcia.cat>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Stats;
|
||||
namespace Mailgun\Model\Stats;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Stats;
|
||||
namespace Mailgun\Model\Stats;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Stats;
|
||||
namespace Mailgun\Model\Stats;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Stats;
|
||||
namespace Mailgun\Model\Stats;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppressions;
|
||||
namespace Mailgun\Model\Suppressions;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* Serves only as an abstract base for suppressions API code.
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppressions\Bounce;
|
||||
namespace Mailgun\Model\Suppressions\Bounce;
|
||||
|
||||
use Mailgun\Resource\Api\Suppressions\BaseResponse;
|
||||
use Mailgun\Model\Suppressions\BaseResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppression\Bounce;
|
||||
namespace Mailgun\Model\Suppression\Bounce;
|
||||
|
||||
use Mailgun\Resource\Api\Suppressions\BaseResponse;
|
||||
use Mailgun\Model\Suppressions\BaseResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,11 +7,11 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppressions\Bounce;
|
||||
namespace Mailgun\Model\Suppressions\Bounce;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Resource\Api\PaginationResponse;
|
||||
use Mailgun\Resource\Api\PagingProvider;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
use Mailgun\Model\PaginationResponse;
|
||||
use Mailgun\Model\PagingProvider;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppressions\Bounce;
|
||||
namespace Mailgun\Model\Suppressions\Bounce;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppressions\Complaint;
|
||||
namespace Mailgun\Model\Suppressions\Complaint;
|
||||
|
||||
use Mailgun\Resource\Api\Suppressions\BaseResponse;
|
||||
use Mailgun\Model\Suppressions\BaseResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppressions\Complaint;
|
||||
namespace Mailgun\Model\Suppressions\Complaint;
|
||||
|
||||
use Mailgun\Resource\Api\Suppressions\BaseResponse;
|
||||
use Mailgun\Model\Suppressions\BaseResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,11 +7,11 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppressions\Complaint;
|
||||
namespace Mailgun\Model\Suppressions\Complaint;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Resource\Api\PaginationResponse;
|
||||
use Mailgun\Resource\Api\PagingProvider;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
use Mailgun\Model\PaginationResponse;
|
||||
use Mailgun\Model\PagingProvider;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppressions\Complaint;
|
||||
namespace Mailgun\Model\Suppressions\Complaint;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppressions\Unsubscribe;
|
||||
namespace Mailgun\Model\Suppressions\Unsubscribe;
|
||||
|
||||
use Mailgun\Resource\Api\Suppressions\BaseResponse;
|
||||
use Mailgun\Model\Suppressions\BaseResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppressions\Unsubscribe;
|
||||
namespace Mailgun\Model\Suppressions\Unsubscribe;
|
||||
|
||||
use Mailgun\Resource\Api\Suppressions\BaseResponse;
|
||||
use Mailgun\Model\Suppressions\BaseResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,11 +7,11 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppressions\Unsubscribe;
|
||||
namespace Mailgun\Model\Suppressions\Unsubscribe;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Resource\Api\PaginationResponse;
|
||||
use Mailgun\Resource\Api\PagingProvider;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
use Mailgun\Model\PaginationResponse;
|
||||
use Mailgun\Model\PagingProvider;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Suppressions\Unsubscribe;
|
||||
namespace Mailgun\Model\Suppressions\Unsubscribe;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Sean Johnson <sean@mailgun.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Tag;
|
||||
namespace Mailgun\Model\Tag;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,11 +7,11 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Tag;
|
||||
namespace Mailgun\Model\Tag;
|
||||
|
||||
use Mailgun\Resource\Api\PaginationResponse;
|
||||
use Mailgun\Resource\Api\PagingProvider;
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\PaginationResponse;
|
||||
use Mailgun\Model\PagingProvider;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Tag;
|
||||
namespace Mailgun\Model\Tag;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Tag;
|
||||
namespace Mailgun\Model\Tag;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Tag;
|
||||
namespace Mailgun\Model\Tag;
|
||||
|
||||
class Tag
|
||||
{
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Tag;
|
||||
namespace Mailgun\Model\Tag;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Webhook;
|
||||
namespace Mailgun\Model\Webhook;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* This is only mean to be the base response for Webhook API.
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Webhook;
|
||||
namespace Mailgun\Model\Webhook;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Webhook;
|
||||
namespace Mailgun\Model\Webhook;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Webhook;
|
||||
namespace Mailgun\Model\Webhook;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,9 +7,9 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Webhook;
|
||||
namespace Mailgun\Model\Webhook;
|
||||
|
||||
use Mailgun\Resource\ApiResponse;
|
||||
use Mailgun\Model\ApiResponse;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -7,7 +7,7 @@
|
||||
* of the MIT license. See the LICENSE file for details.
|
||||
*/
|
||||
|
||||
namespace Mailgun\Resource\Api\Webhook;
|
||||
namespace Mailgun\Model\Webhook;
|
||||
|
||||
/**
|
||||
* @author Tobias Nyholm <tobias.nyholm@gmail.com>
|
@ -10,16 +10,16 @@
|
||||
namespace Mailgun\Tests\Integration;
|
||||
|
||||
use Mailgun\Api\Domain;
|
||||
use Mailgun\Resource\Api\ErrorResponse;
|
||||
use Mailgun\Resource\Api\Domain\CreateCredentialResponse;
|
||||
use Mailgun\Resource\Api\Domain\DeleteCredentialResponse;
|
||||
use Mailgun\Resource\Api\Domain\DeleteResponse;
|
||||
use Mailgun\Resource\Api\Domain\Domain as DomainObject;
|
||||
use Mailgun\Resource\Api\Domain\CredentialResponseItem;
|
||||
use Mailgun\Resource\Api\Domain\CredentialResponse;
|
||||
use Mailgun\Resource\Api\Domain\ConnectionResponse;
|
||||
use Mailgun\Resource\Api\Domain\UpdateConnectionResponse;
|
||||
use Mailgun\Resource\Api\Domain\UpdateCredentialResponse;
|
||||
use Mailgun\Model\ErrorResponse;
|
||||
use Mailgun\Model\Domain\CreateCredentialResponse;
|
||||
use Mailgun\Model\Domain\DeleteCredentialResponse;
|
||||
use Mailgun\Model\Domain\DeleteResponse;
|
||||
use Mailgun\Model\Domain\Domain as DomainObject;
|
||||
use Mailgun\Model\Domain\CredentialResponseItem;
|
||||
use Mailgun\Model\Domain\CredentialResponse;
|
||||
use Mailgun\Model\Domain\ConnectionResponse;
|
||||
use Mailgun\Model\Domain\UpdateConnectionResponse;
|
||||
use Mailgun\Model\Domain\UpdateCredentialResponse;
|
||||
use Mailgun\Tests\Api\TestCase;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user