Skip to content

Commit 492a538

Browse files
[TASKSCLOUD-611] - Deployed new 21.10 version.
1 parent d1852a0 commit 492a538

File tree

5 files changed

+36
-7
lines changed

5 files changed

+36
-7
lines changed

asposetaskscloud/api_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7777

7878
self.pool = ThreadPool()
7979
self.rest_client = rest.RESTClientObject(configuration)
80-
self.default_headers = {'x-aspose-client': 'python sdk', 'x-aspose-version': '21.8'}
80+
self.default_headers = {'x-aspose-client': 'python sdk', 'x-aspose-version': '21.10'}
8181
if header_name is not None:
8282
self.default_headers[header_name] = header_value
8383
self.cookie = cookie
8484
# Set default User-Agent.
85-
self.user_agent = 'python sdk 21.8'
85+
self.user_agent = 'python sdk 21.10'
8686

8787
def __del__(self):
8888
self.pool.close()

asposetaskscloud/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,5 +264,5 @@ def to_debug_report(self):
264264
"OS: {env}\n"\
265265
"Python Version: {pyversion}\n"\
266266
"Version of the API: 3.0\n"\
267-
"SDK Package Version: 21.8.0".\
267+
"SDK Package Version: 21.10.0".\
268268
format(env=sys.platform, pyversion=sys.version)

asposetaskscloud/models/extended_attribute.py

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ class ExtendedAttribute(object):
4949
'numeric_value': 'float',
5050
'date_value': 'datetime',
5151
'flag_value': 'bool',
52-
'text_value': 'str'
52+
'text_value': 'str',
53+
'is_error_value': 'bool'
5354
}
5455

5556
attribute_map = {
@@ -61,10 +62,11 @@ class ExtendedAttribute(object):
6162
'numeric_value': 'numericValue',
6263
'date_value': 'dateValue',
6364
'flag_value': 'flagValue',
64-
'text_value': 'textValue'
65+
'text_value': 'textValue',
66+
'is_error_value': 'isErrorValue'
6567
}
6668

67-
def __init__(self, field_id=None, attribute_type=None, value_guid=None, lookup_value_id=None, duration_value=None, numeric_value=None, date_value=None, flag_value=None, text_value=None): # noqa: E501
69+
def __init__(self, field_id=None, attribute_type=None, value_guid=None, lookup_value_id=None, duration_value=None, numeric_value=None, date_value=None, flag_value=None, text_value=None, is_error_value=None): # noqa: E501
6870
"""ExtendedAttribute - a model defined in Swagger""" # noqa: E501
6971

7072
self._field_id = None
@@ -76,6 +78,7 @@ def __init__(self, field_id=None, attribute_type=None, value_guid=None, lookup_v
7678
self._date_value = None
7779
self._flag_value = None
7880
self._text_value = None
81+
self._is_error_value = None
7982
self.discriminator = None
8083

8184
if field_id is not None:
@@ -96,6 +99,8 @@ def __init__(self, field_id=None, attribute_type=None, value_guid=None, lookup_v
9699
self.flag_value = flag_value
97100
if text_value is not None:
98101
self.text_value = text_value
102+
if is_error_value is not None:
103+
self.is_error_value = is_error_value
99104

100105
@property
101106
def field_id(self):
@@ -294,6 +299,29 @@ def text_value(self, text_value):
294299
:type: str
295300
"""
296301
self._text_value = text_value
302+
@property
303+
def is_error_value(self):
304+
"""Gets the is_error_value of this ExtendedAttribute. # noqa: E501
305+
306+
Gets whether calculation of extended attribute's value resulted in an error. # noqa: E501
307+
308+
:return: The is_error_value of this ExtendedAttribute. # noqa: E501
309+
:rtype: bool
310+
"""
311+
return self._is_error_value
312+
313+
@is_error_value.setter
314+
def is_error_value(self, is_error_value):
315+
"""Sets the is_error_value of this ExtendedAttribute.
316+
317+
Gets whether calculation of extended attribute's value resulted in an error. # noqa: E501
318+
319+
:param is_error_value: The is_error_value of this ExtendedAttribute. # noqa: E501
320+
:type: bool
321+
"""
322+
if is_error_value is None:
323+
raise ValueError("Invalid value for `is_error_value`, must not be `None`") # noqa: E501
324+
self._is_error_value = is_error_value
297325
def to_dict(self):
298326
"""Returns the model properties as a dict"""
299327
result = {}

docs/ExtendedAttribute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
1212
**date_value** | **datetime** | Gets or sets a value for attributes with date types (Date, Start, Finish). |
1313
**flag_value** | **bool** | Gets or sets a value indicating whether a flag is set for an attribute with 'Flag' type. |
1414
**text_value** | **str** | Gets or sets a value for attributes with 'Text' type. | [optional]
15+
**is_error_value** | **bool** | Gets whether calculation of extended attribute's value resulted in an error. |
1516

1617
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1718

setup.py

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

66
NAME = "aspose-tasks-cloud"
7-
VERSION = "21.8.0"
7+
VERSION = "21.10.0"
88
# To install the library, run the following
99
#
1010
# python setup.py install

0 commit comments

Comments
 (0)