Skip to content

Commit f5d3ff0

Browse files
authored
Updated Auto Generated Code (#30)
1 parent 6765f8e commit f5d3ff0

File tree

3 files changed

+104
-2
lines changed

3 files changed

+104
-2
lines changed

src/Definitions/FortifiApiDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class FortifiApiDefinition extends ApiDefinition
1111
public function __construct()
1212
{
1313
$this->setTitle('Fortifi API');
14-
$this->setVersion('3.170.0');
14+
$this->setVersion('3.171.0');
1515
$this->setDescription(<<<DESCRIPTION
1616
The second version of the Fortifi API is an exciting step forward towards
1717
making it easier for businesses to have open access to their data. We created it

src/Requests/ReviewRequest.php

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ public function jsonSerialize()
1919
"app" => $this->getApp(),
2020
"appPlatform" => $this->getAppPlatform(),
2121
"appSource" => $this->getAppSource(),
22+
"displayName" => $this->getDisplayName(),
23+
"installSource" => $this->getInstallSource(),
24+
"provider" => $this->getProvider(),
25+
"rating" => $this->getRating(),
26+
"ratingMax" => $this->getRatingMax(),
27+
"providerId" => $this->getProviderId(),
28+
"providerRating" => $this->getProviderRating(),
2229
];
2330
}
2431

@@ -81,4 +88,82 @@ public function getAppSource($default = null, $trim = true)
8188
$value = Objects::property($this->_getResultJson(), 'appSource', $default);
8289
return $trim ? Strings::ntrim($value) : $value;
8390
}
91+
92+
/**
93+
* @param mixed $default
94+
* @param bool $trim Trim Value
95+
*
96+
* @return string
97+
*/
98+
public function getDisplayName($default = null, $trim = true)
99+
{
100+
$value = Objects::property($this->_getResultJson(), 'displayName', $default);
101+
return $trim ? Strings::ntrim($value) : $value;
102+
}
103+
104+
/**
105+
* @param mixed $default
106+
* @param bool $trim Trim Value
107+
*
108+
* @return string
109+
*/
110+
public function getInstallSource($default = null, $trim = true)
111+
{
112+
$value = Objects::property($this->_getResultJson(), 'installSource', $default);
113+
return $trim ? Strings::ntrim($value) : $value;
114+
}
115+
116+
/**
117+
* @param mixed $default
118+
* @param bool $trim Trim Value
119+
*
120+
* @return string
121+
*/
122+
public function getProvider($default = null, $trim = true)
123+
{
124+
$value = Objects::property($this->_getResultJson(), 'provider', $default);
125+
return $trim ? Strings::ntrim($value) : $value;
126+
}
127+
128+
/**
129+
* @param mixed $default
130+
*
131+
* @return integer
132+
*/
133+
public function getRating($default = null)
134+
{
135+
return Objects::property($this->_getResultJson(), 'rating', $default);
136+
}
137+
138+
/**
139+
* @param mixed $default
140+
*
141+
* @return integer
142+
*/
143+
public function getRatingMax($default = null)
144+
{
145+
return Objects::property($this->_getResultJson(), 'ratingMax', $default);
146+
}
147+
148+
/**
149+
* @param mixed $default
150+
* @param bool $trim Trim Value
151+
*
152+
* @return string
153+
*/
154+
public function getProviderId($default = null, $trim = true)
155+
{
156+
$value = Objects::property($this->_getResultJson(), 'providerId', $default);
157+
return $trim ? Strings::ntrim($value) : $value;
158+
}
159+
160+
/**
161+
* @param mixed $default
162+
*
163+
* @return integer
164+
*/
165+
public function getProviderRating($default = null)
166+
{
167+
return Objects::property($this->_getResultJson(), 'providerRating', $default);
168+
}
84169
}

swagger.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
swagger: '2.0'
22
info:
33
title: Fortifi API
4-
version: '3.170.0'
4+
version: '3.171.0'
55
termsOfService: 'https://fortifi.io/legal/terms/api'
66
description: >
77
The second version of the Fortifi API is an exciting step forward towards
@@ -12933,6 +12933,23 @@ definitions:
1293312933
type: string
1293412934
appSource:
1293512935
type: string
12936+
displayName:
12937+
type: string
12938+
installSource:
12939+
type: string
12940+
provider:
12941+
type: string
12942+
rating:
12943+
type: number
12944+
format: int32
12945+
ratingMax:
12946+
type: number
12947+
format: int32
12948+
providerId:
12949+
type: string
12950+
providerRating:
12951+
type: number
12952+
format: int32
1293612953

1293712954
ReviewsResponse:
1293812955
description: Reviews Response

0 commit comments

Comments
 (0)