Skip to content

Commit 966eccb

Browse files
committed
+ Fixing response object
1 parent 7d623f9 commit 966eccb

7 files changed

+28
-28
lines changed

docs/Model/ReportingV3ReportsGet200Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**reports** | [**\CyberSource\Model\ReportingV3ReportsGet200ResponseReports[]**](ReportingV3ReportsGet200ResponseReports.md) | | [optional]
6+
**reportSearchResults** | [**\CyberSource\Model\ReportingV3ReportsGet200ResponseReportSearchResults[]**](ReportingV3ReportsGet200ResponseReportSearchResults.md) | | [optional]
77

88
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
99

docs/Model/ReportingV3ReportsGet200ResponseReports.md renamed to docs/Model/ReportingV3ReportsGet200ResponseReportSearchResults.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ReportingV3ReportsGet200ResponseReports
1+
# ReportingV3ReportsGet200ResponseReportSearchResults
22

33
## Properties
44
Name | Type | Description | Notes

generator/cybersource-rest-spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12264,7 +12264,7 @@
1226412264
"title": "reportingV3ReportsGet200Response",
1226512265
"type": "object",
1226612266
"properties": {
12267-
"reports": {
12267+
"reportSearchResults": {
1226812268
"type": "array",
1226912269
"items": {
1227012270
"type": "object",

lib/Model/ReportingV3ReportsGet200Response.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,15 @@ class ReportingV3ReportsGet200Response implements ArrayAccess
5454
* @var string[]
5555
*/
5656
protected static $swaggerTypes = [
57-
'reports' => '\CyberSource\Model\ReportingV3ReportsGet200ResponseReports[]'
57+
'reportSearchResults' => '\CyberSource\Model\ReportingV3ReportsGet200ResponseReportSearchResults[]'
5858
];
5959

6060
/**
6161
* Array of property to format mappings. Used for (de)serialization
6262
* @var string[]
6363
*/
6464
protected static $swaggerFormats = [
65-
'reports' => null
65+
'reportSearchResults' => null
6666
];
6767

6868
public static function swaggerTypes()
@@ -80,7 +80,7 @@ public static function swaggerFormats()
8080
* @var string[]
8181
*/
8282
protected static $attributeMap = [
83-
'reports' => 'reports'
83+
'reportSearchResults' => 'reportSearchResults'
8484
];
8585

8686

@@ -89,7 +89,7 @@ public static function swaggerFormats()
8989
* @var string[]
9090
*/
9191
protected static $setters = [
92-
'reports' => 'setReports'
92+
'reportSearchResults' => 'setReportSearchResults'
9393
];
9494

9595

@@ -98,7 +98,7 @@ public static function swaggerFormats()
9898
* @var string[]
9999
*/
100100
protected static $getters = [
101-
'reports' => 'getReports'
101+
'reportSearchResults' => 'getReportSearchResults'
102102
];
103103

104104
public static function attributeMap()
@@ -132,7 +132,7 @@ public static function getters()
132132
*/
133133
public function __construct(array $data = null)
134134
{
135-
$this->container['reports'] = isset($data['reports']) ? $data['reports'] : null;
135+
$this->container['reportSearchResults'] = isset($data['reportSearchResults']) ? $data['reportSearchResults'] : null;
136136
}
137137

138138
/**
@@ -161,22 +161,22 @@ public function valid()
161161

162162

163163
/**
164-
* Gets reports
165-
* @return \CyberSource\Model\ReportingV3ReportsGet200ResponseReports[]
164+
* Gets reportSearchResults
165+
* @return \CyberSource\Model\ReportingV3ReportsGet200ResponseReportSearchResults[]
166166
*/
167-
public function getReports()
167+
public function getReportSearchResults()
168168
{
169-
return $this->container['reports'];
169+
return $this->container['reportSearchResults'];
170170
}
171171

172172
/**
173-
* Sets reports
174-
* @param \CyberSource\Model\ReportingV3ReportsGet200ResponseReports[] $reports
173+
* Sets reportSearchResults
174+
* @param \CyberSource\Model\ReportingV3ReportsGet200ResponseReportSearchResults[] $reportSearchResults
175175
* @return $this
176176
*/
177-
public function setReports($reports)
177+
public function setReportSearchResults($reportSearchResults)
178178
{
179-
$this->container['reports'] = $reports;
179+
$this->container['reportSearchResults'] = $reportSearchResults;
180180

181181
return $this;
182182
}

lib/Model/ReportingV3ReportsGet200ResponseReports.php renamed to lib/Model/ReportingV3ReportsGet200ResponseReportSearchResults.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* ReportingV3ReportsGet200ResponseReports
3+
* ReportingV3ReportsGet200ResponseReportSearchResults
44
*
55
* PHP version 5
66
*
@@ -32,23 +32,23 @@
3232
use \ArrayAccess;
3333

3434
/**
35-
* ReportingV3ReportsGet200ResponseReports Class Doc Comment
35+
* ReportingV3ReportsGet200ResponseReportSearchResults Class Doc Comment
3636
*
3737
* @category Class
3838
* @description Report Search Result Bean
3939
* @package CyberSource
4040
* @author Swagger Codegen team
4141
* @link https://github.com/swagger-api/swagger-codegen
4242
*/
43-
class ReportingV3ReportsGet200ResponseReports implements ArrayAccess
43+
class ReportingV3ReportsGet200ResponseReportSearchResults implements ArrayAccess
4444
{
4545
const DISCRIMINATOR = null;
4646

4747
/**
4848
* The original name of the model.
4949
* @var string
5050
*/
51-
protected static $swaggerModelName = 'reportingV3ReportsGet200Response_reports';
51+
protected static $swaggerModelName = 'reportingV3ReportsGet200Response_reportSearchResults';
5252

5353
/**
5454
* Array of property to type mappings. Used for (de)serialization

test/Model/ReportingV3ReportsGet200ResponseReportsTest.php renamed to test/Model/ReportingV3ReportsGet200ResponseReportSearchResultsTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22
/**
3-
* ReportingV3ReportsGet200ResponseReportsTest
3+
* ReportingV3ReportsGet200ResponseReportSearchResultsTest
44
*
55
* PHP version 5
66
*
@@ -30,7 +30,7 @@
3030
namespace CyberSource;
3131

3232
/**
33-
* ReportingV3ReportsGet200ResponseReportsTest Class Doc Comment
33+
* ReportingV3ReportsGet200ResponseReportSearchResultsTest Class Doc Comment
3434
*
3535
* @category Class */
3636
// * @description Report Search Result Bean
@@ -39,7 +39,7 @@
3939
* @author Swagger Codegen team
4040
* @link https://github.com/swagger-api/swagger-codegen
4141
*/
42-
class ReportingV3ReportsGet200ResponseReportsTest extends \PHPUnit_Framework_TestCase
42+
class ReportingV3ReportsGet200ResponseReportSearchResultsTest extends \PHPUnit_Framework_TestCase
4343
{
4444

4545
/**
@@ -71,9 +71,9 @@ public static function tearDownAfterClass()
7171
}
7272

7373
/**
74-
* Test "ReportingV3ReportsGet200ResponseReports"
74+
* Test "ReportingV3ReportsGet200ResponseReportSearchResults"
7575
*/
76-
public function testReportingV3ReportsGet200ResponseReports()
76+
public function testReportingV3ReportsGet200ResponseReportSearchResults()
7777
{
7878
}
7979

test/Model/ReportingV3ReportsGet200ResponseTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ public function testReportingV3ReportsGet200Response()
7878
}
7979

8080
/**
81-
* Test attribute "reports"
81+
* Test attribute "reportSearchResults"
8282
*/
83-
public function testPropertyReports()
83+
public function testPropertyReportSearchResults()
8484
{
8585
}
8686
}

0 commit comments

Comments
 (0)