Skip to content

Commit 1b3d1fe

Browse files
committed
Generated 2020-05-18 for dataworks-public.
1 parent 9c78a5c commit 1b3d1fe

File tree

5 files changed

+105
-44
lines changed

5 files changed

+105
-44
lines changed

aliyun-python-sdk-dataworks-public/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-03-30 Version: 3.3.3
2+
- Generated 2020-05-18 for `dataworks-public`.
3+
14
2021-03-18 Version: 3.3.2
25
- Generated 2020-05-18 for `dataworks-public`.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.3.2'
1+
__version__ = '3.3.3'

aliyun-python-sdk-dataworks-public/aliyunsdkdataworks_public/request/v20200518/CreateImportMigrationRequest.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ def get_CalculateEngineMap(self):
5555
def set_CalculateEngineMap(self,CalculateEngineMap):
5656
self.add_body_params('CalculateEngineMap', CalculateEngineMap)
5757

58+
def get_PackageFile(self):
59+
return self.get_body_params().get('PackageFile')
60+
61+
def set_PackageFile(self,PackageFile):
62+
self.add_body_params('PackageFile', PackageFile)
63+
5864
def get_Name(self):
5965
return self.get_body_params().get('Name')
6066

@@ -71,10 +77,4 @@ def get_ProjectId(self):
7177
return self.get_body_params().get('ProjectId')
7278

7379
def set_ProjectId(self,ProjectId):
74-
self.add_body_params('ProjectId', ProjectId)
75-
76-
def get_PackageOssDownloadLink(self):
77-
return self.get_body_params().get('PackageOssDownloadLink')
78-
79-
def set_PackageOssDownloadLink(self,PackageOssDownloadLink):
80-
self.add_body_params('PackageOssDownloadLink', PackageOssDownloadLink)
80+
self.add_body_params('ProjectId', ProjectId)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkdataworks_public.endpoint import endpoint_data
22+
23+
class UpdateTableAddColumnRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataworks-public', '2020-05-18', 'UpdateTableAddColumn')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_TableGuid(self):
35+
return self.get_query_params().get('TableGuid')
36+
37+
def set_TableGuid(self,TableGuid):
38+
self.add_query_param('TableGuid',TableGuid)
39+
40+
def get_Columns(self):
41+
return self.get_body_params().get('Column')
42+
43+
def set_Columns(self, Columns):
44+
for depth1 in range(len(Columns)):
45+
if Columns[depth1].get('ColumnNameCn') is not None:
46+
self.add_body_params('Column.' + str(depth1 + 1) + '.ColumnNameCn', Columns[depth1].get('ColumnNameCn'))
47+
if Columns[depth1].get('Comment') is not None:
48+
self.add_body_params('Column.' + str(depth1 + 1) + '.Comment', Columns[depth1].get('Comment'))
49+
if Columns[depth1].get('ColumnName') is not None:
50+
self.add_body_params('Column.' + str(depth1 + 1) + '.ColumnName', Columns[depth1].get('ColumnName'))
51+
if Columns[depth1].get('ColumnType') is not None:
52+
self.add_body_params('Column.' + str(depth1 + 1) + '.ColumnType', Columns[depth1].get('ColumnType'))

aliyun-python-sdk-dataworks-public/aliyunsdkdataworks_public/request/v20200518/UpdateTableRequest.py

Lines changed: 42 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,6 @@ def __init__(self):
3131
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
3232

3333

34-
def get_Visibility(self):
35-
return self.get_query_params().get('Visibility')
36-
37-
def set_Visibility(self,Visibility):
38-
self.add_query_param('Visibility',Visibility)
39-
40-
def get_PhysicsLevelId(self):
41-
return self.get_query_params().get('PhysicsLevelId')
42-
43-
def set_PhysicsLevelId(self,PhysicsLevelId):
44-
self.add_query_param('PhysicsLevelId',PhysicsLevelId)
45-
4634
def get_Columnss(self):
4735
return self.get_body_params().get('Columns')
4836

@@ -63,12 +51,6 @@ def set_Columnss(self, Columnss):
6351
if Columnss[depth1].get('ColumnType') is not None:
6452
self.add_body_params('Columns.' + str(depth1 + 1) + '.ColumnType', Columnss[depth1].get('ColumnType'))
6553

66-
def get_OwnerId(self):
67-
return self.get_query_params().get('OwnerId')
68-
69-
def set_OwnerId(self,OwnerId):
70-
self.add_query_param('OwnerId',OwnerId)
71-
7254
def get_LifeCycle(self):
7355
return self.get_query_params().get('LifeCycle')
7456

@@ -97,30 +79,12 @@ def get_Endpoint(self):
9779
def set_Endpoint(self,Endpoint):
9880
self.add_body_params('Endpoint', Endpoint)
9981

100-
def get_IsView(self):
101-
return self.get_query_params().get('IsView')
102-
103-
def set_IsView(self,IsView):
104-
self.add_query_param('IsView',IsView)
105-
106-
def get_ExternalTableType(self):
107-
return self.get_query_params().get('ExternalTableType')
108-
109-
def set_ExternalTableType(self,ExternalTableType):
110-
self.add_query_param('ExternalTableType',ExternalTableType)
111-
11282
def get_EnvType(self):
11383
return self.get_body_params().get('EnvType')
11484

11585
def set_EnvType(self,EnvType):
11686
self.add_body_params('EnvType', EnvType)
11787

118-
def get_Location(self):
119-
return self.get_query_params().get('Location')
120-
121-
def set_Location(self,Location):
122-
self.add_query_param('Location',Location)
123-
12488
def get_HasPart(self):
12589
return self.get_query_params().get('HasPart')
12690

@@ -151,6 +115,48 @@ def get_CategoryId(self):
151115
def set_CategoryId(self,CategoryId):
152116
self.add_query_param('CategoryId',CategoryId)
153117

118+
def get_Visibility(self):
119+
return self.get_query_params().get('Visibility')
120+
121+
def set_Visibility(self,Visibility):
122+
self.add_query_param('Visibility',Visibility)
123+
124+
def get_PhysicsLevelId(self):
125+
return self.get_query_params().get('PhysicsLevelId')
126+
127+
def set_PhysicsLevelId(self,PhysicsLevelId):
128+
self.add_query_param('PhysicsLevelId',PhysicsLevelId)
129+
130+
def get_OwnerId(self):
131+
return self.get_query_params().get('OwnerId')
132+
133+
def set_OwnerId(self,OwnerId):
134+
self.add_query_param('OwnerId',OwnerId)
135+
136+
def get_IsView(self):
137+
return self.get_query_params().get('IsView')
138+
139+
def set_IsView(self,IsView):
140+
self.add_query_param('IsView',IsView)
141+
142+
def get_ExternalTableType(self):
143+
return self.get_query_params().get('ExternalTableType')
144+
145+
def set_ExternalTableType(self,ExternalTableType):
146+
self.add_query_param('ExternalTableType',ExternalTableType)
147+
148+
def get_Location(self):
149+
return self.get_query_params().get('Location')
150+
151+
def set_Location(self,Location):
152+
self.add_query_param('Location',Location)
153+
154+
def get_Comment(self):
155+
return self.get_query_params().get('Comment')
156+
157+
def set_Comment(self,Comment):
158+
self.add_query_param('Comment',Comment)
159+
154160
def get_CreateIfNotExists(self):
155161
return self.get_query_params().get('CreateIfNotExists')
156162

0 commit comments

Comments
 (0)