Skip to content

Commit d17a42c

Browse files
committed
Updated sources
1 parent 2d2b416 commit d17a42c

File tree

4 files changed

+39
-8
lines changed

4 files changed

+39
-8
lines changed

groupdocs_conversion_cloud/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,12 @@ def __init__(self, configuration, header_name=None, header_value=None,
7474
self.configuration = configuration
7575
self.pool = None
7676
self.rest_client = rest.RESTClientObject(configuration)
77-
self.default_headers = {'x-groupdocs-client': 'python sdk', 'x-groupdocs-version': '25.3'}
77+
self.default_headers = {'x-groupdocs-client': 'python sdk', 'x-groupdocs-version': '25.4'}
7878
if header_name is not None:
7979
self.default_headers[header_name] = header_value
8080
self.cookie = cookie
8181
# Set default User-Agent.
82-
self.user_agent = 'python sdk 25.3'
82+
self.user_agent = 'python sdk 25.4'
8383

8484
def __del__(self):
8585
if self.pool is not None:

groupdocs_conversion_cloud/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,6 @@ def to_debug_report(self):
202202
return "Python SDK Debug Report:\n"\
203203
"OS: {env}\n"\
204204
"Python Version: {pyversion}\n"\
205-
"Version of the API: 25.3\n"\
206-
"SDK Package Version: 25.3".\
205+
"Version of the API: 25.4\n"\
206+
"SDK Package Version: 25.4".\
207207
format(env=sys.platform, pyversion=sys.version)

groupdocs_conversion_cloud/models/consumption_result.py

Lines changed: 34 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,24 +44,29 @@ class ConsumptionResult(object):
4444
"""
4545
swagger_types = {
4646
'credit': 'float',
47-
'quantity': 'float'
47+
'quantity': 'float',
48+
'billed_api_calls': 'float'
4849
}
4950

5051
attribute_map = {
5152
'credit': 'Credit',
52-
'quantity': 'Quantity'
53+
'quantity': 'Quantity',
54+
'billed_api_calls': 'BilledApiCalls'
5355
}
5456

55-
def __init__(self, credit=None, quantity=None, **kwargs): # noqa: E501
57+
def __init__(self, credit=None, quantity=None, billed_api_calls=None, **kwargs): # noqa: E501
5658
"""Initializes new instance of ConsumptionResult""" # noqa: E501
5759

5860
self._credit = None
5961
self._quantity = None
62+
self._billed_api_calls = None
6063

6164
if credit is not None:
6265
self.credit = credit
6366
if quantity is not None:
6467
self.quantity = quantity
68+
if billed_api_calls is not None:
69+
self.billed_api_calls = billed_api_calls
6570

6671
@property
6772
def credit(self):
@@ -114,6 +119,32 @@ def quantity(self, quantity):
114119
if quantity is None:
115120
raise ValueError("Invalid value for `quantity`, must not be `None`") # noqa: E501
116121
self._quantity = quantity
122+
123+
@property
124+
def billed_api_calls(self):
125+
"""
126+
Gets the billed_api_calls. # noqa: E501
127+
128+
Billed API calls number # noqa: E501
129+
130+
:return: The billed_api_calls. # noqa: E501
131+
:rtype: float
132+
"""
133+
return self._billed_api_calls
134+
135+
@billed_api_calls.setter
136+
def billed_api_calls(self, billed_api_calls):
137+
"""
138+
Sets the billed_api_calls.
139+
140+
Billed API calls number # noqa: E501
141+
142+
:param billed_api_calls: The billed_api_calls. # noqa: E501
143+
:type: float
144+
"""
145+
if billed_api_calls is None:
146+
raise ValueError("Invalid value for `billed_api_calls`, must not be `None`") # noqa: E501
147+
self._billed_api_calls = billed_api_calls
117148

118149
def to_dict(self):
119150
"""Returns the model properties as a dict"""

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from setuptools import setup, find_packages # noqa: H301
77

88
NAME = "groupdocs-conversion-cloud"
9-
VERSION = "25.3"
9+
VERSION = "25.4"
1010

1111
# Append current time to the version when publishing to test environment
1212
if "--test" in sys.argv:

0 commit comments

Comments
 (0)