Skip to content

Commit d1852a0

Browse files
[TASKSCLOUD-584] - Deployed new 21.8 version.
1 parent f1426c4 commit d1852a0

11 files changed

+50
-21
lines changed

asposetaskscloud/api/tasks_api.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -4488,7 +4488,7 @@ def put_import_project_from_project_online(self, request, **kwargs): # noqa: E5
44884488
:param format str : Format of the resulting file.
44894489
:param folder str : The document folder.
44904490
:param storage str : The document storage.
4491-
:param x_project_online_token str : Authorization token for the SharePoint. For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
4491+
:param x_project_online_token str : Authorization token (SPOIDCRL) for SharePoint's PWA (Project Web Access). For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
44924492
:param x_sharepoint_password str : The password for the SharePoint site.
44934493
:return: AsposeResponse
44944494
If the method is called asynchronously,
@@ -5910,7 +5910,7 @@ def create_new_project(self, request, **kwargs): # noqa: E501
59105910
:param save_options ProjectServerSaveOptionsDTO : Dispensable save options for Project Server\\Project Online.
59115911
:param folder str : The document folder.
59125912
:param storage str : The document storage.
5913-
:param x_project_online_token str : Authorization token for the SharePoint. For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
5913+
:param x_project_online_token str : Authorization token (SPOIDCRL) for SharePoint's PWA (Project Web Access). For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
59145914
:param x_sharepoint_password str : The password for the SharePoint site.
59155915
:return: AsposeResponse
59165916
If the method is called asynchronously,
@@ -6036,7 +6036,7 @@ def get_project_list(self, request, **kwargs): # noqa: E501
60366036
:param is_async bool
60376037
:param site_url str : The URL of PWA (Project Web Access) API of Project Online. (required)
60386038
:param user_name str : The user name for the sharepoint site.
6039-
:param x_project_online_token str : Authorization token for the SharePoint. For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
6039+
:param x_project_online_token str : Authorization token (SPOIDCRL) for SharePoint's PWA (Project Web Access). For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
60406040
:param x_sharepoint_password str : The password for the SharePoint site.
60416041
:return: ProjectListResponse
60426042
If the method is called asynchronously,
@@ -6152,7 +6152,7 @@ def update_project(self, request, **kwargs): # noqa: E501
61526152
:param save_options ProjectServerSaveOptionsDTO : Dispensable save options for Project Server\\Project Online.
61536153
:param folder str : The document folder.
61546154
:param storage str : The document storage.
6155-
:param x_project_online_token str : Authorization token for the SharePoint. For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
6155+
:param x_project_online_token str : Authorization token (SPOIDCRL) for SharePoint's PWA (Project Web Access). For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
61566156
:param x_sharepoint_password str : The password for the SharePoint site.
61576157
:return: AsposeResponse
61586158
If the method is called asynchronously,

asposetaskscloud/api_client.py

+2-2
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.2'}
80+
self.default_headers = {'x-aspose-client': 'python sdk', 'x-aspose-version': '21.8'}
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.2'
85+
self.user_agent = 'python sdk 21.8'
8686

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

asposetaskscloud/configuration.py

+1-1
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.2.0".\
267+
"SDK Package Version: 21.8.0".\
268268
format(env=sys.platform, pyversion=sys.version)

asposetaskscloud/models/requests/create_new_project_request.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class CreateNewProjectRequest(object):
3535
:param save_options Dispensable save options for Project Server\\Project Online.
3636
:param folder The document folder.
3737
:param storage The document storage.
38-
:param x_project_online_token Authorization token for the SharePoint. For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
38+
:param x_project_online_token Authorization token (SPOIDCRL) for SharePoint's PWA (Project Web Access). For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
3939
:param x_sharepoint_password The password for the SharePoint site.
4040
"""
4141

asposetaskscloud/models/requests/get_project_list_request.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class GetProjectListRequest(object):
3232
Initializes a new instance.
3333
:param site_url The URL of PWA (Project Web Access) API of Project Online.
3434
:param user_name The user name for the sharepoint site.
35-
:param x_project_online_token Authorization token for the SharePoint. For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
35+
:param x_project_online_token Authorization token (SPOIDCRL) for SharePoint's PWA (Project Web Access). For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
3636
:param x_sharepoint_password The password for the SharePoint site.
3737
"""
3838

asposetaskscloud/models/requests/put_import_project_from_project_online_request.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class PutImportProjectFromProjectOnlineRequest(object):
3737
:param format Format of the resulting file.
3838
:param folder The document folder.
3939
:param storage The document storage.
40-
:param x_project_online_token Authorization token for the SharePoint. For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
40+
:param x_project_online_token Authorization token (SPOIDCRL) for SharePoint's PWA (Project Web Access). For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
4141
:param x_sharepoint_password The password for the SharePoint site.
4242
"""
4343

asposetaskscloud/models/requests/update_project_request.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class UpdateProjectRequest(object):
3636
:param save_options Dispensable save options for Project Server\\Project Online.
3737
:param folder The document folder.
3838
:param storage The document storage.
39-
:param x_project_online_token Authorization token for the SharePoint. For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
39+
:param x_project_online_token Authorization token (SPOIDCRL) for SharePoint's PWA (Project Web Access). For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly
4040
:param x_sharepoint_password The password for the SharePoint site.
4141
"""
4242

asposetaskscloud/models/task.py

+29-1
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ class Task(object):
8282
'fixed_cost_accrual': 'CostAccrualType',
8383
'free_slack': 'int',
8484
'guid': 'str',
85+
'has_overallocated_resource': 'bool',
8586
'hide_bar': 'bool',
8687
'ignore_resource_calendar': 'bool',
8788
'late_finish': 'datetime',
@@ -199,6 +200,7 @@ class Task(object):
199200
'fixed_cost_accrual': 'fixedCostAccrual',
200201
'free_slack': 'freeSlack',
201202
'guid': 'guid',
203+
'has_overallocated_resource': 'hasOverallocatedResource',
202204
'hide_bar': 'hideBar',
203205
'ignore_resource_calendar': 'ignoreResourceCalendar',
204206
'late_finish': 'lateFinish',
@@ -274,7 +276,7 @@ class Task(object):
274276
'activity_id': 'activityId'
275277
}
276278

277-
def __init__(self, uid=None, id=None, name=None, duration_text=None, duration=None, start=None, finish=None, start_text=None, finish_text=None, percent_complete=None, percent_work_complete=None, is_active=True, actual_cost=None, actual_duration=None, actual_finish=None, actual_overtime_cost=None, actual_overtime_work=None, actual_work_protected=None, actual_overtime_work_protected=None, actual_start=None, budget_work=None, budget_cost=None, constraint_date=None, constraint_type=None, contact=None, cost=None, cv=None, deadline=None, duration_variance=None, early_finish=None, early_start=None, is_effort_driven=None, is_external_task=None, external_task_project=None, external_id=None, finish_slack=None, finish_variance=None, fixed_cost=None, fixed_cost_accrual=None, free_slack=None, guid=None, hide_bar=None, ignore_resource_calendar=None, late_finish=None, late_start=None, is_level_assignments=True, can_leveling_split=True, leveling_delay=None, is_marked=None, is_milestone=None, is_critical=None, is_subproject=None, is_subproject_read_only=None, subproject_name=None, is_summary=None, subtasks_uids=None, outline_level=None, is_over_allocated=None, is_estimated=None, overtime_cost=None, overtime_work=None, physical_percent_complete=None, pre_leveled_finish=None, pre_leveled_start=None, is_recurring=None, regular_work=None, remaining_cost=None, remaining_duration=None, remaining_overtime_cost=None, remaining_overtime_work=None, remaining_work=None, resume=None, is_resume_valid=None, stop=None, is_rollup=None, start_slack=None, start_variance=None, calendar_uid=-1, is_manual=None, manual_start=None, manual_finish=None, manual_duration=None, total_slack=None, type=None, wbs=None, priority=None, work=None, work_variance=None, notes_text=None, notes_rtf=None, acwp=None, bcws=None, bcwp=None, leveling_delay_format=None, predecessors=None, successors=None, ignore_warnings=False, is_expanded=None, display_on_timeline=None, display_as_summary=None, hyperlink=None, hyperlink_address=None, hyperlink_sub_address=None, earned_value_method=None, is_published=True, status_manager=None, commitment_start=None, commitment_finish=None, commitment_type=None, baselines=None, extended_attributes=None, outline_codes=None, warning=False, activity_id=None): # noqa: E501
279+
def __init__(self, uid=None, id=None, name=None, duration_text=None, duration=None, start=None, finish=None, start_text=None, finish_text=None, percent_complete=None, percent_work_complete=None, is_active=True, actual_cost=None, actual_duration=None, actual_finish=None, actual_overtime_cost=None, actual_overtime_work=None, actual_work_protected=None, actual_overtime_work_protected=None, actual_start=None, budget_work=None, budget_cost=None, constraint_date=None, constraint_type=None, contact=None, cost=None, cv=None, deadline=None, duration_variance=None, early_finish=None, early_start=None, is_effort_driven=None, is_external_task=None, external_task_project=None, external_id=None, finish_slack=None, finish_variance=None, fixed_cost=None, fixed_cost_accrual=None, free_slack=None, guid=None, has_overallocated_resource=None, hide_bar=None, ignore_resource_calendar=None, late_finish=None, late_start=None, is_level_assignments=True, can_leveling_split=True, leveling_delay=None, is_marked=None, is_milestone=None, is_critical=None, is_subproject=None, is_subproject_read_only=None, subproject_name=None, is_summary=None, subtasks_uids=None, outline_level=None, is_over_allocated=None, is_estimated=None, overtime_cost=None, overtime_work=None, physical_percent_complete=None, pre_leveled_finish=None, pre_leveled_start=None, is_recurring=None, regular_work=None, remaining_cost=None, remaining_duration=None, remaining_overtime_cost=None, remaining_overtime_work=None, remaining_work=None, resume=None, is_resume_valid=None, stop=None, is_rollup=None, start_slack=None, start_variance=None, calendar_uid=-1, is_manual=None, manual_start=None, manual_finish=None, manual_duration=None, total_slack=None, type=None, wbs=None, priority=None, work=None, work_variance=None, notes_text=None, notes_rtf=None, acwp=None, bcws=None, bcwp=None, leveling_delay_format=None, predecessors=None, successors=None, ignore_warnings=False, is_expanded=None, display_on_timeline=None, display_as_summary=None, hyperlink=None, hyperlink_address=None, hyperlink_sub_address=None, earned_value_method=None, is_published=True, status_manager=None, commitment_start=None, commitment_finish=None, commitment_type=None, baselines=None, extended_attributes=None, outline_codes=None, warning=False, activity_id=None): # noqa: E501
278280
"""Task - a model defined in Swagger""" # noqa: E501
279281

280282
self._uid = None
@@ -318,6 +320,7 @@ def __init__(self, uid=None, id=None, name=None, duration_text=None, duration=No
318320
self._fixed_cost_accrual = None
319321
self._free_slack = None
320322
self._guid = None
323+
self._has_overallocated_resource = None
321324
self._hide_bar = None
322325
self._ignore_resource_calendar = None
323326
self._late_finish = None
@@ -475,6 +478,8 @@ def __init__(self, uid=None, id=None, name=None, duration_text=None, duration=No
475478
self.free_slack = free_slack
476479
if guid is not None:
477480
self.guid = guid
481+
if has_overallocated_resource is not None:
482+
self.has_overallocated_resource = has_overallocated_resource
478483
if hide_bar is not None:
479484
self.hide_bar = hide_bar
480485
if ignore_resource_calendar is not None:
@@ -1550,6 +1555,29 @@ def guid(self, guid):
15501555
"""
15511556
self._guid = guid
15521557
@property
1558+
def has_overallocated_resource(self):
1559+
"""Gets the has_overallocated_resource of this Task. # noqa: E501
1560+
1561+
Indicates whether the task has an resource assigned which has more work on assigned tasks than can be completed within normal working capacity. # noqa: E501
1562+
1563+
:return: The has_overallocated_resource of this Task. # noqa: E501
1564+
:rtype: bool
1565+
"""
1566+
return self._has_overallocated_resource
1567+
1568+
@has_overallocated_resource.setter
1569+
def has_overallocated_resource(self, has_overallocated_resource):
1570+
"""Sets the has_overallocated_resource of this Task.
1571+
1572+
Indicates whether the task has an resource assigned which has more work on assigned tasks than can be completed within normal working capacity. # noqa: E501
1573+
1574+
:param has_overallocated_resource: The has_overallocated_resource of this Task. # noqa: E501
1575+
:type: bool
1576+
"""
1577+
if has_overallocated_resource is None:
1578+
raise ValueError("Invalid value for `has_overallocated_resource`, must not be `None`") # noqa: E501
1579+
self._has_overallocated_resource = has_overallocated_resource
1580+
@property
15531581
def hide_bar(self):
15541582
"""Gets the hide_bar of this Task. # noqa: E501
15551583

docs/Task.md

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Name | Type | Description | Notes
4444
**fixed_cost_accrual** | [**CostAccrualType**](CostAccrualType.md) | Determines how the fixed cost is accrued against a task. |
4545
**free_slack** | **int** | The amount of a free slack. |
4646
**guid** | **str** | | [optional]
47+
**has_overallocated_resource** | **bool** | Indicates whether the task has an resource assigned which has more work on assigned tasks than can be completed within normal working capacity. |
4748
**hide_bar** | **bool** | Determines whether the GANTT bar of a task is hidden when displayed in Microsoft Project. |
4849
**ignore_resource_calendar** | **bool** | Determines whether a task ignores the resource calendar. |
4950
**late_finish** | **datetime** | The late finish date of a task. |

0 commit comments

Comments
 (0)