@@ -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