Skip to content

Commit 6a2094e

Browse files
committed
2023-10-15 : Synchronize codes to the origin repository.
1 parent 576c857 commit 6a2094e

12 files changed

+79
-75
lines changed

asposecellscloud/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@
492492
from .requests.get_document_property_request import GetDocumentPropertyRequest
493493
from .requests.delete_document_property_request import DeleteDocumentPropertyRequest
494494
from .requests.delete_document_properties_request import DeleteDocumentPropertiesRequest
495-
from .requests.post_worksheet_cells_ranges_request import PostWorksheetCellsRangesRequest
495+
from .requests.post_worksheet_cells_ranges_copy_request import PostWorksheetCellsRangesCopyRequest
496496
from .requests.post_worksheet_cells_range_merge_request import PostWorksheetCellsRangeMergeRequest
497497
from .requests.post_worksheet_cells_range_un_merge_request import PostWorksheetCellsRangeUnMergeRequest
498498
from .requests.post_worksheet_cells_range_style_request import PostWorksheetCellsRangeStyleRequest

asposecellscloud/configuration.py

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,30 @@
11
# coding: utf-8
22

33
"""
4-
Copyright (c) 2022 Aspose.Cells Cloud
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
4+
<copyright company="Aspose" file="configurationpy.cs">
5+
Copyright (c) 2023 Aspose.Cells Cloud
6+
</copyright>
7+
<summary>
8+
Permission is hereby granted, free of charge, to any person obtaining a copy
9+
of this software and associated documentation files (the "Software"), to deal
10+
in the Software without restriction, including without limitation the rights
11+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12+
copies of the Software, and to permit persons to whom the Software is
13+
furnished to do so, subject to the following conditions:
14+
15+
The above copyright notice and this permission notice shall be included in all
16+
copies or substantial portions of the Software.
17+
18+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
24+
SOFTWARE.
25+
</summary>
2126
"""
2227

23-
2428
from __future__ import absolute_import
2529

2630
import urllib3
@@ -255,5 +259,5 @@ def to_debug_report(self):
255259
"OS: {env}\n"\
256260
"Python Version: {pyversion}\n"\
257261
"Version of the API: v3.0\n"\
258-
"SDK Package Version: 23.6".\
259-
format(env=sys.platform, pyversion=sys.version)
262+
"SDK Package Version: 23.10".\
263+
format(env=sys.platform, pyversion=sys.version)

asposecellscloud/models/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
from .dynamic_filter import DynamicFilter
5959
from .digital_signature import DigitalSignature
6060
from .protection import Protection
61-
from .protect_workbook_requst import ProtectWorkbookRequst
61+
from .protect_workbook_request import ProtectWorkbookRequest
6262
from .rendering_font import RenderingFont
6363
from .rendering_watermark import RenderingWatermark
6464
from .error_details import ErrorDetails

asposecellscloud/models/protect_workbook_requst.py renamed to asposecellscloud/models/protect_workbook_request.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coding: utf-8
22
"""
3-
<copyright company="Aspose" file="ProtectWorkbookRequstpy.cs">
3+
<copyright company="Aspose" file="ProtectWorkbookRequestpy.cs">
44
Copyright (c) 2023 Aspose.Cells Cloud
55
</copyright>
66
<summary>
@@ -28,7 +28,7 @@
2828
from six import iteritems
2929
import re
3030

31-
class ProtectWorkbookRequst(object):
31+
class ProtectWorkbookRequest(object):
3232

3333
"""
3434
NOTE: This class is auto generated by the swagger code generator program.
@@ -45,7 +45,7 @@ class ProtectWorkbookRequst(object):
4545
"""
4646

4747
swagger_types = {
48-
'aways_open_only_ready' : 'bool',
48+
'aways_open_read_only' : 'bool',
4949
'encrypt_with_password' : 'str',
5050
'protect_current_sheet' : 'Protection',
5151
'protect_workbook_structure' : 'str',
@@ -54,7 +54,7 @@ class ProtectWorkbookRequst(object):
5454
}
5555

5656
attribute_map = {
57-
'aways_open_only_ready' : 'AwaysOpenOnlyReady' ,
57+
'aways_open_read_only' : 'AwaysOpenReadOnly' ,
5858
'encrypt_with_password' : 'EncryptWithPassword' ,
5959
'protect_current_sheet' : 'ProtectCurrentSheet' ,
6060
'protect_workbook_structure' : 'ProtectWorkbookStructure' ,
@@ -64,36 +64,36 @@ class ProtectWorkbookRequst(object):
6464

6565
@staticmethod
6666
def get_swagger_types():
67-
return ProtectWorkbookRequst.swagger_types
67+
return ProtectWorkbookRequest.swagger_types
6868

6969
@staticmethod
7070
def get_attribute_map():
71-
return ProtectWorkbookRequst.attribute_map
71+
return ProtectWorkbookRequest.attribute_map
7272

7373
def get_from_container(self, attr):
7474
if attr in self.container:
7575
return self.container[attr]
7676
return None
7777

78-
def __init__(self,aways_open_only_ready=None ,encrypt_with_password=None ,protect_current_sheet=None ,protect_workbook_structure=None ,digital_signature=None ,mark_as_final=None ,**kw):
78+
def __init__(self,aways_open_read_only=None ,encrypt_with_password=None ,protect_current_sheet=None ,protect_workbook_structure=None ,digital_signature=None ,mark_as_final=None ,**kw):
7979
"""
8080
Associative dict for storing property values
8181
"""
8282
self.container = {}
8383

8484
"""
85-
ProtectWorkbookRequst - a model defined in Swagger
85+
ProtectWorkbookRequest - a model defined in Swagger
8686
"""
87-
self.container['aways_open_only_ready'] = None
87+
self.container['aways_open_read_only'] = None
8888
self.container['encrypt_with_password'] = None
8989
self.container['protect_current_sheet'] = None
9090
self.container['protect_workbook_structure'] = None
9191
self.container['digital_signature'] = None
9292
self.container['mark_as_final'] = None
9393
params = locals()
94-
self.aways_open_only_ready = aways_open_only_ready
95-
if 'aways_open_only_ready' in params:
96-
self.aways_open_only_ready = params["aways_open_only_ready"]
94+
self.aways_open_read_only = aways_open_read_only
95+
if 'aways_open_read_only' in params:
96+
self.aways_open_read_only = params["aways_open_read_only"]
9797

9898

9999

@@ -129,12 +129,12 @@ def __init__(self,aways_open_only_ready=None ,encrypt_with_password=None ,protec
129129

130130

131131
@property
132-
def aways_open_only_ready(self):
133-
return self.container['aways_open_only_ready']
132+
def aways_open_read_only(self):
133+
return self.container['aways_open_read_only']
134134

135-
@aways_open_only_ready.setter
136-
def aways_open_only_ready(self, aways_open_only_ready):
137-
self.container['aways_open_only_ready'] = aways_open_only_ready
135+
@aways_open_read_only.setter
136+
def aways_open_read_only(self, aways_open_read_only):
137+
self.container['aways_open_read_only'] = aways_open_read_only
138138
@property
139139
def encrypt_with_password(self):
140140
return self.container['encrypt_with_password']
@@ -213,7 +213,7 @@ def __eq__(self, other):
213213
"""
214214
Returns true if both objects are equal
215215
"""
216-
if not isinstance(other, ProtectWorkbookRequst):
216+
if not isinstance(other, ProtectWorkbookRequest):
217217
return False
218218

219219
return self.__dict__ == other.__dict__

asposecellscloud/requests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@
230230
from asposecellscloud.requests.put_document_property_request import PutDocumentPropertyRequest
231231
from asposecellscloud.requests.delete_document_property_request import DeleteDocumentPropertyRequest
232232
from asposecellscloud.requests.delete_document_properties_request import DeleteDocumentPropertiesRequest
233-
from asposecellscloud.requests.post_worksheet_cells_ranges_request import PostWorksheetCellsRangesRequest
233+
from asposecellscloud.requests.post_worksheet_cells_ranges_copy_request import PostWorksheetCellsRangesCopyRequest
234234
from asposecellscloud.requests.post_worksheet_cells_range_merge_request import PostWorksheetCellsRangeMergeRequest
235235
from asposecellscloud.requests.post_worksheet_cells_range_un_merge_request import PostWorksheetCellsRangeUnMergeRequest
236236
from asposecellscloud.requests.post_worksheet_cells_range_style_request import PostWorksheetCellsRangeStyleRequest

asposecellscloud/requests/delete_un_protect_workbook_request.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434

3535
class DeleteUnProtectWorkbookRequest(object):
3636

37-
def __init__(self , name ,protection =None ,folder =None ,storage_name =None ):
37+
def __init__(self , name ,password =None ,folder =None ,storage_name =None ):
3838
self.name = name
39-
self.protection = protection
39+
self.password = password
4040
self.folder = folder
4141
self.storage_name = storage_name
4242
def create_http_request(self, api_client):
@@ -46,9 +46,9 @@ def create_http_request(self, api_client):
4646
raise ValueError("Missing the required parameter `name` when calling `delete_un_protect_workbook`")
4747

4848

49-
# verify the required parameter 'protection' is set
50-
if self.protection is None:
51-
raise ValueError("Missing the required parameter `protection` when calling `delete_un_protect_workbook`")
49+
# verify the required parameter 'password' is set
50+
if self.password is None:
51+
raise ValueError("Missing the required parameter `password` when calling `delete_un_protect_workbook`")
5252

5353

5454
collection_formats = {}
@@ -57,6 +57,8 @@ def create_http_request(self, api_client):
5757
if self.name is not None:
5858
path_params['name'] = self.name
5959
query_params = []
60+
if self.password is not None:
61+
query_params.append(('password',self.password ))
6062
if self.folder is not None:
6163
query_params.append(('folder',self.folder ))
6264
if self.storage_name is not None:
@@ -75,8 +77,6 @@ def create_http_request(self, api_client):
7577
header_params['Content-Type'] = api_client.\
7678
select_header_content_type(['application/json'])
7779

78-
if self.protection is not None:
79-
body_params =self.protection
8080

8181
# Authentication setting
8282
auth_settings = []

asposecellscloud/requests/delete_worksheet_hyperlink_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coding: utf-8
22
"""
3-
<copyright company="Aspose" file="DeleteWorkSheetHyperlinkRequest.cs">
3+
<copyright company="Aspose" file="DeleteWorksheetHyperlinkRequest.cs">
44
Copyright (c) 2023 Aspose.Cells Cloud
55
</copyright>
66
<summary>

asposecellscloud/requests/delete_worksheet_hyperlinks_request.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# coding: utf-8
22
"""
3-
<copyright company="Aspose" file="DeleteWorkSheetHyperlinksRequest.cs">
3+
<copyright company="Aspose" file="DeleteWorksheetHyperlinksRequest.cs">
44
Copyright (c) 2023 Aspose.Cells Cloud
55
</copyright>
66
<summary>

asposecellscloud/requests/post_protect_request.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434

3535
class PostProtectRequest(object):
3636

37-
def __init__(self , file ,protect_workbook_requst =None ,password =None ):
37+
def __init__(self , file ,protect_workbook_request =None ,password =None ):
3838
self.file = file
39-
self.protect_workbook_requst = protect_workbook_requst
39+
self.protect_workbook_request = protect_workbook_request
4040
self.password = password
4141
def create_http_request(self, api_client):
4242

@@ -45,9 +45,9 @@ def create_http_request(self, api_client):
4545
raise ValueError("Missing the required parameter `file` when calling `post_protect`")
4646

4747

48-
# verify the required parameter 'protect_workbook_requst' is set
49-
if self.protect_workbook_requst is None:
50-
raise ValueError("Missing the required parameter `protect_workbook_requst` when calling `post_protect`")
48+
# verify the required parameter 'protect_workbook_request' is set
49+
if self.protect_workbook_request is None:
50+
raise ValueError("Missing the required parameter `protect_workbook_request` when calling `post_protect`")
5151

5252

5353
collection_formats = {}

asposecellscloud/requests/post_protect_workbook_request.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434

3535
class PostProtectWorkbookRequest(object):
3636

37-
def __init__(self , name ,protection =None ,folder =None ,storage_name =None ):
37+
def __init__(self , name ,protect_workbook_request =None ,folder =None ,storage_name =None ):
3838
self.name = name
39-
self.protection = protection
39+
self.protect_workbook_request = protect_workbook_request
4040
self.folder = folder
4141
self.storage_name = storage_name
4242
def create_http_request(self, api_client):
@@ -46,9 +46,9 @@ def create_http_request(self, api_client):
4646
raise ValueError("Missing the required parameter `name` when calling `post_protect_workbook`")
4747

4848

49-
# verify the required parameter 'protection' is set
50-
if self.protection is None:
51-
raise ValueError("Missing the required parameter `protection` when calling `post_protect_workbook`")
49+
# verify the required parameter 'protect_workbook_request' is set
50+
if self.protect_workbook_request is None:
51+
raise ValueError("Missing the required parameter `protect_workbook_request` when calling `post_protect_workbook`")
5252

5353

5454
collection_formats = {}
@@ -75,8 +75,8 @@ def create_http_request(self, api_client):
7575
header_params['Content-Type'] = api_client.\
7676
select_header_content_type(['application/json'])
7777

78-
if self.protection is not None:
79-
body_params =self.protection
78+
if self.protect_workbook_request is not None:
79+
body_params =self.protect_workbook_request
8080

8181
# Authentication setting
8282
auth_settings = []

0 commit comments

Comments
 (0)