Skip to content

Commit 812ad0b

Browse files
[TASKSCLOUD-409] - Deployed new 20.8 version.
1 parent 3ae1b64 commit 812ad0b

12 files changed

+105
-28
lines changed

asposetaskscloud/api/tasks_api.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -635,7 +635,7 @@ def upload_file_with_http_info(self, request, **kwargs): # noqa: E501
635635
auth_settings = ['JWT'] # noqa: E501
636636

637637
return self.api_client.call_api(
638-
path, 'POST',
638+
path, 'PUT',
639639
path_params,
640640
query_params,
641641
header_params,
@@ -857,7 +857,7 @@ def create_folder_with_http_info(self, request, **kwargs): # noqa: E501
857857
auth_settings = ['JWT'] # noqa: E501
858858

859859
return self.api_client.call_api(
860-
path, 'POST',
860+
path, 'PUT',
861861
path_params,
862862
query_params,
863863
header_params,
@@ -4474,7 +4474,7 @@ def put_import_project_from_project_online(self, request, **kwargs): # noqa: E5
44744474
:param is_async bool
44754475
:param name str : The name of the resulting file. (required)
44764476
:param guid str : Guid of the project to import. (required)
4477-
:param site_url str : The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\" (required)
4477+
:param site_url str : The URL of PWA (Project Web Access) API of Project Online (required)
44784478
:param user_name str : The user name for the sharepoint site.
44794479
:param format str : Format of the resulting file.
44804480
:param folder str : The document folder.
@@ -5896,7 +5896,7 @@ def create_new_project(self, request, **kwargs): # noqa: E501
58965896
58975897
:param is_async bool
58985898
:param name str : The name of the file. (required)
5899-
:param site_url str : The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\" (required)
5899+
:param site_url str : The URL of PWA (Project Web Access) API of Project Online. (required)
59005900
:param user_name str : The user name for the sharepoint site.
59015901
:param save_options ProjectServerSaveOptionsDTO : Dispensable save options for Project Server\\Project Online.
59025902
:param folder str : The document folder.
@@ -6025,7 +6025,7 @@ def get_project_list(self, request, **kwargs): # noqa: E501
60256025
asynchronous HTTP request, please pass is_async=True
60266026
60276027
:param is_async bool
6028-
:param site_url str : The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\" (required)
6028+
:param site_url str : The URL of PWA (Project Web Access) API of Project Online. (required)
60296029
:param user_name str : The user name for the sharepoint site.
60306030
: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
60316031
:param x_sharepoint_password str : The password for the SharePoint site.
@@ -6138,7 +6138,7 @@ def update_project(self, request, **kwargs): # noqa: E501
61386138
61396139
:param is_async bool
61406140
:param name str : The name of the file. (required)
6141-
:param site_url str : The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\" (required)
6141+
:param site_url str : The URL of PWA (Project Web Access) API of Project Online. (required)
61426142
:param user_name str : The user name for the sharepoint site.
61436143
:param save_options ProjectServerSaveOptionsDTO : Dispensable save options for Project Server\\Project Online.
61446144
:param folder str : The document folder.

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

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

asposetaskscloud/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,5 +262,5 @@ def to_debug_report(self):
262262
"OS: {env}\n"\
263263
"Python Version: {pyversion}\n"\
264264
"Version of the API: 3.0\n"\
265-
"SDK Package Version: 20.6.0".\
265+
"SDK Package Version: 20.8.0".\
266266
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
@@ -30,7 +30,7 @@ class CreateNewProjectRequest(object):
3030
Request model for create_new_project operation.
3131
Initializes a new instance.
3232
:param name The name of the file.
33-
:param site_url The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\"
33+
: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.
3535
:param save_options Dispensable save options for Project Server\\Project Online.
3636
:param folder The document folder.

asposetaskscloud/models/requests/get_project_list_request.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class GetProjectListRequest(object):
3030
"""
3131
Request model for get_project_list operation.
3232
Initializes a new instance.
33-
:param site_url The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\"
33+
: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.
3535
: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
3636
:param x_sharepoint_password The password for the SharePoint site.

asposetaskscloud/models/requests/put_import_project_from_project_online_request.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class PutImportProjectFromProjectOnlineRequest(object):
3232
Initializes a new instance.
3333
:param name The name of the resulting file.
3434
:param guid Guid of the project to import.
35-
:param site_url The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\"
35+
:param site_url The URL of PWA (Project Web Access) API of Project Online
3636
:param user_name The user name for the sharepoint site.
3737
:param format Format of the resulting file.
3838
:param folder The document folder.

asposetaskscloud/models/requests/update_project_request.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class UpdateProjectRequest(object):
3131
Request model for update_project operation.
3232
Initializes a new instance.
3333
:param name The name of the file.
34-
:param site_url The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\"
34+
:param site_url The URL of PWA (Project Web Access) API of Project Online.
3535
:param user_name The user name for the sharepoint site.
3636
:param save_options Dispensable save options for Project Server\\Project Online.
3737
:param folder The document folder.

asposetaskscloud/models/resource_assignment.py

+29-3
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ class ResourceAssignment(object):
105105
'budget_work': 'str',
106106
'rate_scale': 'RateScaleType',
107107
'baselines': 'list[AssignmentBaseline]',
108-
'extended_attributes': 'list[ExtendedAttribute]'
108+
'extended_attributes': 'list[ExtendedAttribute]',
109+
'timephased_data': 'list[TimephasedData]'
109110
}
110111

111112
attribute_map = {
@@ -173,10 +174,11 @@ class ResourceAssignment(object):
173174
'budget_work': 'budgetWork',
174175
'rate_scale': 'rateScale',
175176
'baselines': 'baselines',
176-
'extended_attributes': 'extendedAttributes'
177+
'extended_attributes': 'extendedAttributes',
178+
'timephased_data': 'timephasedData'
177179
}
178180

179-
def __init__(self, task_uid=-1, resource_uid=-1, guid=None, uid=None, percent_work_complete=None, actual_cost=None, actual_finish=None, actual_overtime_cost=None, actual_overtime_work=None, actual_start=None, actual_work=None, acwp=None, confirmed=None, cost=None, cost_rate_table_type=None, cost_variance=None, cv=None, delay=None, finish=None, finish_variance=None, hyperlink=None, hyperlink_address=None, hyperlink_sub_address=None, work_variance=None, has_fixed_rate_units=None, fixed_material=None, leveling_delay=None, leveling_delay_format=None, linked_fields=None, milestone=None, notes=None, overallocated=None, overtime_cost=None, overtime_work=None, peak_units=None, regular_work=None, remaining_cost=None, remaining_overtime_cost=None, remaining_overtime_work=None, remaining_work=None, response_pending=None, start=None, stop=None, resume=None, start_variance=None, summary=None, sv=None, units=1.0, update_needed=None, vac=None, work=None, work_contour=None, bcws=None, bcwp=None, booking_type=None, actual_work_protected=None, actual_overtime_work_protected=None, creation_date=None, assn_owner=None, assn_owner_guid=None, budget_cost=None, budget_work=None, rate_scale=None, baselines=None, extended_attributes=None): # noqa: E501
181+
def __init__(self, task_uid=-1, resource_uid=-1, guid=None, uid=None, percent_work_complete=None, actual_cost=None, actual_finish=None, actual_overtime_cost=None, actual_overtime_work=None, actual_start=None, actual_work=None, acwp=None, confirmed=None, cost=None, cost_rate_table_type=None, cost_variance=None, cv=None, delay=None, finish=None, finish_variance=None, hyperlink=None, hyperlink_address=None, hyperlink_sub_address=None, work_variance=None, has_fixed_rate_units=None, fixed_material=None, leveling_delay=None, leveling_delay_format=None, linked_fields=None, milestone=None, notes=None, overallocated=None, overtime_cost=None, overtime_work=None, peak_units=None, regular_work=None, remaining_cost=None, remaining_overtime_cost=None, remaining_overtime_work=None, remaining_work=None, response_pending=None, start=None, stop=None, resume=None, start_variance=None, summary=None, sv=None, units=1.0, update_needed=None, vac=None, work=None, work_contour=None, bcws=None, bcwp=None, booking_type=None, actual_work_protected=None, actual_overtime_work_protected=None, creation_date=None, assn_owner=None, assn_owner_guid=None, budget_cost=None, budget_work=None, rate_scale=None, baselines=None, extended_attributes=None, timephased_data=None): # noqa: E501
180182
"""ResourceAssignment - a model defined in Swagger""" # noqa: E501
181183

182184
self._task_uid = None
@@ -244,6 +246,7 @@ def __init__(self, task_uid=-1, resource_uid=-1, guid=None, uid=None, percent_wo
244246
self._rate_scale = None
245247
self._baselines = None
246248
self._extended_attributes = None
249+
self._timephased_data = None
247250
self.discriminator = None
248251

249252
if task_uid is not None:
@@ -376,6 +379,8 @@ def __init__(self, task_uid=-1, resource_uid=-1, guid=None, uid=None, percent_wo
376379
self.baselines = baselines
377380
if extended_attributes is not None:
378381
self.extended_attributes = extended_attributes
382+
if timephased_data is not None:
383+
self.timephased_data = timephased_data
379384

380385
@property
381386
def task_uid(self):
@@ -1854,6 +1859,27 @@ def extended_attributes(self, extended_attributes):
18541859
:type: list[ExtendedAttribute]
18551860
"""
18561861
self._extended_attributes = extended_attributes
1862+
@property
1863+
def timephased_data(self):
1864+
"""Gets the timephased_data of this ResourceAssignment. # noqa: E501
1865+
1866+
Represents a collection of TimephasedData objects. # noqa: E501
1867+
1868+
:return: The timephased_data of this ResourceAssignment. # noqa: E501
1869+
:rtype: list[TimephasedData]
1870+
"""
1871+
return self._timephased_data
1872+
1873+
@timephased_data.setter
1874+
def timephased_data(self, timephased_data):
1875+
"""Sets the timephased_data of this ResourceAssignment.
1876+
1877+
Represents a collection of TimephasedData objects. # noqa: E501
1878+
1879+
:param timephased_data: The timephased_data of this ResourceAssignment. # noqa: E501
1880+
:type: list[TimephasedData]
1881+
"""
1882+
self._timephased_data = timephased_data
18571883
def to_dict(self):
18581884
"""Returns the model properties as a dict"""
18591885
result = {}

docs/ResourceAssignment.md

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ Name | Type | Description | Notes
6868
**rate_scale** | [**RateScaleType**](RateScaleType.md) | Returns the time unit for the usage rate of the material resource assignment. |
6969
**baselines** | [**list[AssignmentBaseline]**](AssignmentBaseline.md) | List of ResourceAssignment's Baseline values. | [optional]
7070
**extended_attributes** | [**list[ExtendedAttribute]**](ExtendedAttribute.md) | ResourceAssignment extended attributes. | [optional]
71+
**timephased_data** | [**list[TimephasedData]**](TimephasedData.md) | Represents a collection of TimephasedData objects. | [optional]
7172

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

docs/TasksApi.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ Method | HTTP request | Description
88
[**delete_file**](TasksApi.md#delete_file) | **DELETE** /tasks/storage/file/{path} | Delete file
99
[**download_file**](TasksApi.md#download_file) | **GET** /tasks/storage/file/{path} | Download file
1010
[**move_file**](TasksApi.md#move_file) | **PUT** /tasks/storage/file/move/{srcPath} | Move file
11-
[**upload_file**](TasksApi.md#upload_file) | **POST** /tasks/storage/file/{path} | Upload file
11+
[**upload_file**](TasksApi.md#upload_file) | **PUT** /tasks/storage/file/{path} | Upload file
1212
[**copy_folder**](TasksApi.md#copy_folder) | **PUT** /tasks/storage/folder/copy/{srcPath} | Copy folder
13-
[**create_folder**](TasksApi.md#create_folder) | **POST** /tasks/storage/folder/{path} | Create the folder
13+
[**create_folder**](TasksApi.md#create_folder) | **PUT** /tasks/storage/folder/{path} | Create the folder
1414
[**delete_folder**](TasksApi.md#delete_folder) | **DELETE** /tasks/storage/folder/{path} | Delete folder
1515
[**get_files_list**](TasksApi.md#get_files_list) | **GET** /tasks/storage/folder/{path} | Get all files and folders within a folder
1616
[**move_folder**](TasksApi.md#move_folder) | **PUT** /tasks/storage/folder/move/{srcPath} | Move folder
@@ -2206,7 +2206,7 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN'
22062206
api_instance = asposetaskscloud.TasksApi(asposetaskscloud.ApiClient(configuration))
22072207
name = 'name_example' # str | The name of the resulting file.
22082208
guid = 'guid_example' # str | Guid of the project to import.
2209-
site_url = 'site_url_example' # str | The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\"
2209+
site_url = 'site_url_example' # str | The URL of PWA (Project Web Access) API of Project Online
22102210
user_name = 'user_name_example' # str | The user name for the sharepoint site. (optional)
22112211
format = 'format_example' # str | Format of the resulting file. (optional)
22122212
folder = 'folder_example' # str | The document folder. (optional)
@@ -2228,7 +2228,7 @@ Name | Type | Description | Notes
22282228
------------- | ------------- | ------------- | -------------
22292229
**name** | **str**| The name of the resulting file. |
22302230
**guid** | **str**| Guid of the project to import. |
2231-
**site_url** | **str**| The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\" |
2231+
**site_url** | **str**| The URL of PWA (Project Web Access) API of Project Online |
22322232
**user_name** | **str**| The user name for the sharepoint site. | [optional]
22332233
**format** | **str**| Format of the resulting file. | [optional]
22342234
**folder** | **str**| The document folder. | [optional]
@@ -2891,7 +2891,7 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN'
28912891
# create an instance of the API class
28922892
api_instance = asposetaskscloud.TasksApi(asposetaskscloud.ApiClient(configuration))
28932893
name = 'name_example' # str | The name of the file.
2894-
site_url = 'site_url_example' # str | The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\"
2894+
site_url = 'site_url_example' # str | The URL of PWA (Project Web Access) API of Project Online.
28952895
user_name = 'user_name_example' # str | The user name for the sharepoint site. (optional)
28962896
save_options = asposetaskscloud.ProjectServerSaveOptionsDTO() # ProjectServerSaveOptionsDTO | Dispensable save options for Project Server\\Project Online. (optional)
28972897
folder = 'folder_example' # str | The document folder. (optional)
@@ -2912,7 +2912,7 @@ except ApiException as e:
29122912
Name | Type | Description | Notes
29132913
------------- | ------------- | ------------- | -------------
29142914
**name** | **str**| The name of the file. |
2915-
**site_url** | **str**| The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\" |
2915+
**site_url** | **str**| The URL of PWA (Project Web Access) API of Project Online. |
29162916
**user_name** | **str**| The user name for the sharepoint site. | [optional]
29172917
**save_options** | [**ProjectServerSaveOptionsDTO**](ProjectServerSaveOptionsDTO.md)| Dispensable save options for Project Server\\Project Online. | [optional]
29182918
**folder** | **str**| The document folder. | [optional]
@@ -2954,7 +2954,7 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN'
29542954

29552955
# create an instance of the API class
29562956
api_instance = asposetaskscloud.TasksApi(asposetaskscloud.ApiClient(configuration))
2957-
site_url = 'site_url_example' # str | The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\"
2957+
site_url = 'site_url_example' # str | The URL of PWA (Project Web Access) API of Project Online.
29582958
user_name = 'user_name_example' # str | The user name for the sharepoint site. (optional)
29592959
x_project_online_token = 'x_project_online_token_example' # str | Authorization token for the SharePoint. For example, in c# it can be retrieved using SharePointOnlineCredentials class from Microsoft.SharePoint.Client.Runtime assembly (optional)
29602960
x_sharepoint_password = 'x_sharepoint_password_example' # str | The password for the SharePoint site. (optional)
@@ -2971,7 +2971,7 @@ except ApiException as e:
29712971

29722972
Name | Type | Description | Notes
29732973
------------- | ------------- | ------------- | -------------
2974-
**site_url** | **str**| The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\" |
2974+
**site_url** | **str**| The URL of PWA (Project Web Access) API of Project Online. |
29752975
**user_name** | **str**| The user name for the sharepoint site. | [optional]
29762976
**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 | [optional]
29772977
**x_sharepoint_password** | **str**| The password for the SharePoint site. | [optional]
@@ -3011,7 +3011,7 @@ configuration.access_token = 'YOUR_ACCESS_TOKEN'
30113011
# create an instance of the API class
30123012
api_instance = asposetaskscloud.TasksApi(asposetaskscloud.ApiClient(configuration))
30133013
name = 'name_example' # str | The name of the file.
3014-
site_url = 'site_url_example' # str | The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\"
3014+
site_url = 'site_url_example' # str | The URL of PWA (Project Web Access) API of Project Online.
30153015
user_name = 'user_name_example' # str | The user name for the sharepoint site. (optional)
30163016
save_options = asposetaskscloud.ProjectServerSaveOptionsDTO() # ProjectServerSaveOptionsDTO | Dispensable save options for Project Server\\Project Online. (optional)
30173017
folder = 'folder_example' # str | The document folder. (optional)
@@ -3032,7 +3032,7 @@ except ApiException as e:
30323032
Name | Type | Description | Notes
30333033
------------- | ------------- | ------------- | -------------
30343034
**name** | **str**| The name of the file. |
3035-
**site_url** | **str**| The url of sharepoint site. For example, \"https://your_company_name.sharepoint.com\" |
3035+
**site_url** | **str**| The URL of PWA (Project Web Access) API of Project Online. |
30363036
**user_name** | **str**| The user name for the sharepoint site. | [optional]
30373037
**save_options** | [**ProjectServerSaveOptionsDTO**](ProjectServerSaveOptionsDTO.md)| Dispensable save options for Project Server\\Project Online. | [optional]
30383038
**folder** | **str**| The document folder. | [optional]

setup.py

+1-1
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 = "20.6.0"
7+
VERSION = "20.8.0"
88
# To install the library, run the following
99
#
1010
# python setup.py install

0 commit comments

Comments
 (0)