Skip to content

Commit 7704a75

Browse files
committed
Generated php 2022-08-09 for Cloudauth-intl.
1 parent f4bc1ef commit 7704a75

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

ChangeLog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2023-10-20 Version: 1.2.1
2+
- Generated php 2022-08-09 for Cloudauth-intl.
3+
14
2023-09-22 Version: 1.2.0
25
- Generated php 2022-08-09 for Cloudauth-intl.
36

src/Cloudauthintl.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,6 +1046,12 @@ public function initializeWithOptions($request, $runtime)
10461046
if (!Utils::isUnset($request->authorize)) {
10471047
$query['Authorize'] = $request->authorize;
10481048
}
1049+
if (!Utils::isUnset($request->callbackToken)) {
1050+
$query['CallbackToken'] = $request->callbackToken;
1051+
}
1052+
if (!Utils::isUnset($request->callbackUrl)) {
1053+
$query['CallbackUrl'] = $request->callbackUrl;
1054+
}
10491055
if (!Utils::isUnset($request->crop)) {
10501056
$query['Crop'] = $request->crop;
10511057
}

src/Models/InitializeRequest.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@ class InitializeRequest extends Model
1313
*/
1414
public $authorize;
1515

16+
/**
17+
* @var string
18+
*/
19+
public $callbackToken;
20+
21+
/**
22+
* @var string
23+
*/
24+
public $callbackUrl;
25+
1626
/**
1727
* @example *
1828
*
@@ -152,6 +162,8 @@ class InitializeRequest extends Model
152162
public $serviceLevel;
153163
protected $_name = [
154164
'authorize' => 'Authorize',
165+
'callbackToken' => 'CallbackToken',
166+
'callbackUrl' => 'CallbackUrl',
155167
'crop' => 'Crop',
156168
'docScanMode' => 'DocScanMode',
157169
'docType' => 'DocType',
@@ -184,6 +196,12 @@ public function toMap()
184196
if (null !== $this->authorize) {
185197
$res['Authorize'] = $this->authorize;
186198
}
199+
if (null !== $this->callbackToken) {
200+
$res['CallbackToken'] = $this->callbackToken;
201+
}
202+
if (null !== $this->callbackUrl) {
203+
$res['CallbackUrl'] = $this->callbackUrl;
204+
}
187205
if (null !== $this->crop) {
188206
$res['Crop'] = $this->crop;
189207
}
@@ -259,6 +277,12 @@ public static function fromMap($map = [])
259277
if (isset($map['Authorize'])) {
260278
$model->authorize = $map['Authorize'];
261279
}
280+
if (isset($map['CallbackToken'])) {
281+
$model->callbackToken = $map['CallbackToken'];
282+
}
283+
if (isset($map['CallbackUrl'])) {
284+
$model->callbackUrl = $map['CallbackUrl'];
285+
}
262286
if (isset($map['Crop'])) {
263287
$model->crop = $map['Crop'];
264288
}

0 commit comments

Comments
 (0)