Skip to content

Commit

Permalink
Merge pull request #390 from HubSpot/codegen/MT
Browse files Browse the repository at this point in the history
Codegen: Marketing Transactional
  • Loading branch information
ksvirkou-hubspot authored Oct 22, 2024
2 parents 8a0279e + dfd65bb commit 4edab05
Show file tree
Hide file tree
Showing 20 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* PublicSmtpTokensApi
* PublicSMTPTokensApi
* PHP version 7.4
*
* @category Class
Expand All @@ -10,7 +10,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down Expand Up @@ -40,14 +40,14 @@
use HubSpot\Client\Marketing\Transactional\ObjectSerializer;

/**
* PublicSmtpTokensApi Class Doc Comment
* PublicSMTPTokensApi Class Doc Comment
*
* @category Class
* @package HubSpot\Client\Marketing\Transactional
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
class PublicSmtpTokensApi
class PublicSMTPTokensApi
{
/**
* @var ClientInterface
Expand Down
2 changes: 1 addition & 1 deletion codegen/Marketing/Transactional/Api/SingleSendApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
2 changes: 1 addition & 1 deletion codegen/Marketing/Transactional/ApiException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
2 changes: 1 addition & 1 deletion codegen/Marketing/Transactional/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
2 changes: 1 addition & 1 deletion codegen/Marketing/Transactional/HeaderSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
2 changes: 1 addition & 1 deletion codegen/Marketing/Transactional/Model/Error.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
2 changes: 1 addition & 1 deletion codegen/Marketing/Transactional/Model/ErrorDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
2 changes: 1 addition & 1 deletion codegen/Marketing/Transactional/Model/EventIdView.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
2 changes: 1 addition & 1 deletion codegen/Marketing/Transactional/Model/ForwardPaging.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
2 changes: 1 addition & 1 deletion codegen/Marketing/Transactional/Model/ModelInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
2 changes: 1 addition & 1 deletion codegen/Marketing/Transactional/Model/NextPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
2 changes: 1 addition & 1 deletion codegen/Marketing/Transactional/Model/SmtpApiTokenView.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
2 changes: 1 addition & 1 deletion codegen/Marketing/Transactional/ObjectSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*/

/**
* Transactional Single Send
* Marketing Transactional Single Send
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
Expand Down
4 changes: 2 additions & 2 deletions lib/Discovery/Marketing/Transactional/Discovery.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace HubSpot\Discovery\Marketing\Transactional;

use HubSpot\Client\Marketing\Transactional\Api\PublicSmtpTokensApi;
use HubSpot\Client\Marketing\Transactional\Api\PublicSMTPTokensApi;
use HubSpot\Client\Marketing\Transactional\Api\SingleSendApi;
use HubSpot\Discovery\DiscoveryBase;

/**
* @method PublicSmtpTokensApi publicSmtpTokensApi()
* @method PublicSMTPTokensApi publicSMTPTokensApi()
* @method SingleSendApi singleSendApi()
*/
class Discovery extends DiscoveryBase {}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace spec\HubSpot\Discovery\Marketing\Transactional;

use GuzzleHttp\Client;
use HubSpot\Client\Marketing\Transactional\Api\PublicSmtpTokensApi;
use HubSpot\Client\Marketing\Transactional\Api\PublicSMTPTokensApi;
use HubSpot\Client\Marketing\Transactional\Api\SingleSendApi;
use HubSpot\Config;
use HubSpot\Discovery\Marketing\Transactional\Discovery;
Expand All @@ -23,7 +23,7 @@ public function it_is_initializable()

public function it_creates_clients()
{
$this->publicSmtpTokensApi()->shouldHaveType(PublicSmtpTokensApi::class);
$this->publicSMTPTokensApi()->shouldHaveType(PublicSMTPTokensApi::class);
$this->singleSendApi()->shouldHaveType(SingleSendApi::class);
}
}

0 comments on commit 4edab05

Please sign in to comment.