Skip to content

Commit 651eb81

Browse files
committed
Updated sources
1 parent 5f85f74 commit 651eb81

File tree

8 files changed

+1250
-369
lines changed

8 files changed

+1250
-369
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.6'}
77+
self.default_headers = {'x-groupdocs-client': 'python sdk', 'x-groupdocs-version': '25.8'}
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.6'
82+
self.user_agent = 'python sdk 25.8'
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.6\n"\
206-
"SDK Package Version: 25.6".\
205+
"Version of the API: 25.8\n"\
206+
"SDK Package Version: 25.8".\
207207
format(env=sys.platform, pyversion=sys.version)

groupdocs_conversion_cloud/models/cad_load_options.py

Lines changed: 63 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -46,29 +46,34 @@ class CadLoadOptions(LoadOptions):
4646
"""
4747
swagger_types = {
4848
'layout_names': 'list[str]',
49-
'background_color': 'str',
50-
'draw_type': 'str'
49+
'draw_type': 'str',
50+
'draw_color': 'str',
51+
'background_color': 'str'
5152
}
5253

5354
attribute_map = {
5455
'layout_names': 'LayoutNames',
55-
'background_color': 'BackgroundColor',
56-
'draw_type': 'DrawType'
56+
'draw_type': 'DrawType',
57+
'draw_color': 'DrawColor',
58+
'background_color': 'BackgroundColor'
5759
}
5860

59-
def __init__(self, layout_names=None, background_color=None, draw_type=None, **kwargs): # noqa: E501
61+
def __init__(self, layout_names=None, draw_type=None, draw_color=None, background_color=None, **kwargs): # noqa: E501
6062
"""Initializes new instance of CadLoadOptions""" # noqa: E501
6163

6264
self._layout_names = None
63-
self._background_color = None
6465
self._draw_type = None
66+
self._draw_color = None
67+
self._background_color = None
6568

6669
if layout_names is not None:
6770
self.layout_names = layout_names
68-
if background_color is not None:
69-
self.background_color = background_color
7071
if draw_type is not None:
7172
self.draw_type = draw_type
73+
if draw_color is not None:
74+
self.draw_color = draw_color
75+
if background_color is not None:
76+
self.background_color = background_color
7277

7378
base = super(CadLoadOptions, self)
7479
base.__init__(**kwargs)
@@ -100,36 +105,12 @@ def layout_names(self, layout_names):
100105
"""
101106
self._layout_names = layout_names
102107

103-
@property
104-
def background_color(self):
105-
"""
106-
Gets the background_color. # noqa: E501
107-
108-
Gets or sets a background color. # noqa: E501
109-
110-
:return: The background_color. # noqa: E501
111-
:rtype: str
112-
"""
113-
return self._background_color
114-
115-
@background_color.setter
116-
def background_color(self, background_color):
117-
"""
118-
Sets the background_color.
119-
120-
Gets or sets a background color. # noqa: E501
121-
122-
:param background_color: The background_color. # noqa: E501
123-
:type: str
124-
"""
125-
self._background_color = background_color
126-
127108
@property
128109
def draw_type(self):
129110
"""
130111
Gets the draw_type. # noqa: E501
131112
132-
Gets or sets type of drawing. # noqa: E501
113+
A type of drawing. # noqa: E501
133114
134115
:return: The draw_type. # noqa: E501
135116
:rtype: str
@@ -141,7 +122,7 @@ def draw_type(self, draw_type):
141122
"""
142123
Sets the draw_type.
143124
144-
Gets or sets type of drawing. # noqa: E501
125+
A type of drawing. # noqa: E501
145126
146127
:param draw_type: The draw_type. # noqa: E501
147128
:type: str
@@ -157,6 +138,54 @@ def draw_type(self, draw_type):
157138
self._draw_type = draw_type
158139
else:
159140
self._draw_type = allowed_values[int(draw_type) if six.PY3 else long(draw_type)]
141+
142+
@property
143+
def draw_color(self):
144+
"""
145+
Gets the draw_color. # noqa: E501
146+
147+
A foreground color. # noqa: E501
148+
149+
:return: The draw_color. # noqa: E501
150+
:rtype: str
151+
"""
152+
return self._draw_color
153+
154+
@draw_color.setter
155+
def draw_color(self, draw_color):
156+
"""
157+
Sets the draw_color.
158+
159+
A foreground color. # noqa: E501
160+
161+
:param draw_color: The draw_color. # noqa: E501
162+
:type: str
163+
"""
164+
self._draw_color = draw_color
165+
166+
@property
167+
def background_color(self):
168+
"""
169+
Gets the background_color. # noqa: E501
170+
171+
A background color. # noqa: E501
172+
173+
:return: The background_color. # noqa: E501
174+
:rtype: str
175+
"""
176+
return self._background_color
177+
178+
@background_color.setter
179+
def background_color(self, background_color):
180+
"""
181+
Sets the background_color.
182+
183+
A background color. # noqa: E501
184+
185+
:param background_color: The background_color. # noqa: E501
186+
:type: str
187+
"""
188+
self._background_color = background_color
160189

161190
def to_dict(self):
162191
"""Returns the model properties as a dict"""

0 commit comments

Comments
 (0)