Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,12 @@ src/Model/SMSBalanceResponse.php
src/Model/SendSMSRequest.php
src/Model/SendSMSResponse.php
src/ObjectSerializer.php
test/Model/CreateBrandNameRequestTest.php
test/Model/SendSMSRequestTest.php
test/Api/SmsApiTest.php
test/Model/BaseResponseTest.php
test/Model/BrandNameTest.php
test/Model/BrandNamesResponseTest.php
test/Model/CreateBrandNameResponseTest.php
test/Model/DeliveryReportItemTest.php
test/Model/DeliveryReportResponseTest.php
test/Model/SMSBalanceResponseTest.php
test/Model/SendSMSResponseTest.php
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ vendor/bin/phpunit
This PHP package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: `2.1.8`
- Package version: `0.1.1`
- Package version: `0.2.0`
- Generator version: `7.13.0`
- Build package: `org.openapitools.codegen.languages.PhpClientCodegen`

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ubill/sdk",
"version": "0.1.1",
"version": "0.2.0",
"description": "UBill API - provides programmatic access to our resources. You will be able to integrate our service into your system and communicate with clients easily.",
"keywords": [
"openapitools",
Expand Down
4 changes: 2 additions & 2 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'OpenAPI-Generator/0.1.1/PHP';
protected $userAgent = 'OpenAPI-Generator/0.2.0/PHP';

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -435,7 +435,7 @@ public static function toDebugReport()
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' The version of the OpenAPI document: 2.1.8' . PHP_EOL;
$report .= ' SDK Package Version: 0.1.1' . PHP_EOL;
$report .= ' SDK Package Version: 0.2.0' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
Expand Down
134 changes: 134 additions & 0 deletions test/Api/SmsApiTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
<?php

/**
* SmsApiTest
* PHP version 8.1
*
* @category Class
* @package UBill\Sdk
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/

/**
* UBill API
*
* UBill API - provides programmatic access to our resources. You will be able to integrate our service into your system and communicate with clients easily.
*
* The version of the OpenAPI document: 2.1.8
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.13.0
*/

/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Please update the test case below to test the endpoint.
*/

namespace UBill\Sdk\Test\Api;

use UBill\Sdk\Configuration;
use UBill\Sdk\ApiException;
use UBill\Sdk\ObjectSerializer;
use PHPUnit\Framework\TestCase;

/**
* SmsApiTest Class Doc Comment
*
* @category Class
* @package UBill\Sdk
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
class SmsApiTest extends TestCase
{
/**
* Setup before running any test cases
*/
public static function setUpBeforeClass(): void
{
}

/**
* Setup before running each test case
*/
public function setUp(): void
{
}

/**
* Clean up after running each test case
*/
public function tearDown(): void
{
}

/**
* Clean up after running all test cases
*/
public static function tearDownAfterClass(): void
{
}

/**
* Test case for createBrandName
*
* Create Brand Name.
*
*/
public function testCreateBrandName()
{
// TODO: implement
self::markTestIncomplete('Not implemented');
}

/**
* Test case for getDeliveryReport
*
* Get Delivery Report.
*
*/
public function testGetDeliveryReport()
{
// TODO: implement
self::markTestIncomplete('Not implemented');
}

/**
* Test case for getSMSBalance
*
* Get SMS Balance.
*
*/
public function testGetSMSBalance()
{
// TODO: implement
self::markTestIncomplete('Not implemented');
}

/**
* Test case for listBrandNames
*
* Get All Brand Names.
*
*/
public function testListBrandNames()
{
// TODO: implement
self::markTestIncomplete('Not implemented');
}

/**
* Test case for sendSMS
*
* Send SMS.
*
*/
public function testSendSMS()
{
// TODO: implement
self::markTestIncomplete('Not implemented');
}
}
100 changes: 100 additions & 0 deletions test/Model/BaseResponseTest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<?php

/**
* BaseResponseTest
*
* PHP version 8.1
*
* @category Class
* @package UBill\Sdk
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/

/**
* UBill API
*
* UBill API - provides programmatic access to our resources. You will be able to integrate our service into your system and communicate with clients easily.
*
* The version of the OpenAPI document: 2.1.8
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* Generator version: 7.13.0
*/

/**
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Please update the test case below to test the model.
*/

namespace UBill\Sdk\Test\Model;

use PHPUnit\Framework\TestCase;

/**
* BaseResponseTest Class Doc Comment
*
* @category Class
* @description BaseResponse
* @package UBill\Sdk
* @author OpenAPI Generator team
* @link https://openapi-generator.tech
*/
class BaseResponseTest extends TestCase
{
/**
* Setup before running any test case
*/
public static function setUpBeforeClass(): void
{
}

/**
* Setup before running each test case
*/
public function setUp(): void
{
}

/**
* Clean up after running each test case
*/
public function tearDown(): void
{
}

/**
* Clean up after running all test cases
*/
public static function tearDownAfterClass(): void
{
}

/**
* Test "BaseResponse"
*/
public function testBaseResponse()
{
// TODO: implement
self::markTestIncomplete('Not implemented');
}

/**
* Test attribute "statusID"
*/
public function testPropertyStatusID()
{
// TODO: implement
self::markTestIncomplete('Not implemented');
}

/**
* Test attribute "message"
*/
public function testPropertyMessage()
{
// TODO: implement
self::markTestIncomplete('Not implemented');
}
}
Loading
Loading