Skip to content

Commit 2d480df

Browse files
committed
Updated sources
1 parent f6e0fcd commit 2d480df

4 files changed

Lines changed: 64 additions & 28 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"description": "This repository contains GroupDocs.Conversion Cloud SDK for PHP source code.",
33
"name": "groupdocscloud/groupdocs-conversion-cloud",
4-
"version": "25.3",
4+
"version": "25.4",
55
"license": "MIT",
66
"type": "library",
77
"keywords": [

composer.lock

Lines changed: 19 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GroupDocs/Conversion/Configuration.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class Configuration
9595
* Version of client SDK
9696
*
9797
*/
98-
protected $clientVersion = '25.3';
98+
protected $clientVersion = '25.4';
9999

100100
/*
101101
* Constructor
@@ -290,7 +290,7 @@ public function getClientName()
290290
}
291291

292292
/*
293-
* Gets client version, default value is '25.3'
293+
* Gets client version, default value is '25.4'
294294
*
295295
*/
296296
public function getClientVersion()
@@ -308,7 +308,7 @@ public static function toDebugReport()
308308
$report = 'PHP SDK (GroupDocs\Conversion) Debug Report:' . PHP_EOL;
309309
$report .= ' OS: ' . php_uname() . PHP_EOL;
310310
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
311-
$report .= ' SDK Package Version: 25.3' . PHP_EOL;
311+
$report .= ' SDK Package Version: 25.4' . PHP_EOL;
312312
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
313313

314314
return $report;

src/GroupDocs/Conversion/Model/ConsumptionResult.php

Lines changed: 41 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ class ConsumptionResult implements ArrayAccess
5454
*/
5555
protected static $swaggerTypes = [
5656
'credit' => 'float',
57-
'quantity' => 'float'
57+
'quantity' => 'float',
58+
'billedApiCalls' => 'float'
5859
];
5960

6061
/*
@@ -64,7 +65,8 @@ class ConsumptionResult implements ArrayAccess
6465
*/
6566
protected static $swaggerFormats = [
6667
'credit' => 'decimal',
67-
'quantity' => 'decimal'
68+
'quantity' => 'decimal',
69+
'billedApiCalls' => 'decimal'
6870
];
6971

7072
/*
@@ -95,7 +97,8 @@ public static function swaggerFormats()
9597
*/
9698
protected static $attributeMap = [
9799
'credit' => 'Credit',
98-
'quantity' => 'Quantity'
100+
'quantity' => 'Quantity',
101+
'billedApiCalls' => 'BilledApiCalls'
99102
];
100103

101104
/*
@@ -105,7 +108,8 @@ public static function swaggerFormats()
105108
*/
106109
protected static $setters = [
107110
'credit' => 'setCredit',
108-
'quantity' => 'setQuantity'
111+
'quantity' => 'setQuantity',
112+
'billedApiCalls' => 'setBilledApiCalls'
109113
];
110114

111115
/*
@@ -115,7 +119,8 @@ public static function swaggerFormats()
115119
*/
116120
protected static $getters = [
117121
'credit' => 'getCredit',
118-
'quantity' => 'getQuantity'
122+
'quantity' => 'getQuantity',
123+
'billedApiCalls' => 'getBilledApiCalls'
119124
];
120125

121126
/*
@@ -180,6 +185,7 @@ public function __construct(array $data = null)
180185
{
181186
$this->container['credit'] = isset($data['credit']) ? $data['credit'] : null;
182187
$this->container['quantity'] = isset($data['quantity']) ? $data['quantity'] : null;
188+
$this->container['billedApiCalls'] = isset($data['billedApiCalls']) ? $data['billedApiCalls'] : null;
183189
}
184190

185191
/*
@@ -197,6 +203,9 @@ public function listInvalidProperties()
197203
if ($this->container['quantity'] === null) {
198204
$invalidProperties[] = "'quantity' can't be null";
199205
}
206+
if ($this->container['billedApiCalls'] === null) {
207+
$invalidProperties[] = "'billedApiCalls' can't be null";
208+
}
200209
return $invalidProperties;
201210
}
202211

@@ -215,6 +224,9 @@ public function valid()
215224
if ($this->container['quantity'] === null) {
216225
return false;
217226
}
227+
if ($this->container['billedApiCalls'] === null) {
228+
return false;
229+
}
218230
return true;
219231
}
220232

@@ -266,6 +278,30 @@ public function setQuantity($quantity)
266278

267279
return $this;
268280
}
281+
282+
/*
283+
* Gets billedApiCalls
284+
*
285+
* @return float
286+
*/
287+
public function getBilledApiCalls()
288+
{
289+
return $this->container['billedApiCalls'];
290+
}
291+
292+
/*
293+
* Sets billedApiCalls
294+
*
295+
* @param float $billedApiCalls Billed API calls number
296+
*
297+
* @return $this
298+
*/
299+
public function setBilledApiCalls($billedApiCalls)
300+
{
301+
$this->container['billedApiCalls'] = $billedApiCalls;
302+
303+
return $this;
304+
}
269305
/*
270306
* Returns true if offset exists. False otherwise.
271307
*

0 commit comments

Comments
 (0)