Skip to content

Commit 9be8812

Browse files
committedApr 6, 2021
Generated 2020-05-18 for dataworks-public.
1 parent 8724a43 commit 9be8812

26 files changed

+1324
-1
lines changed
 

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

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-04-06 Version: 3.3.5
2+
- Generated 2020-05-18 for `dataworks-public`.
3+
14
2021-03-30 Version: 3.3.4
25
- Generated 2020-05-18 for `dataworks-public`.
36

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '3.3.4'
1+
__version__ = '3.3.5'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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 ApprovePermissionApplyOrderRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataworks-public', '2020-05-18', 'ApprovePermissionApplyOrder')
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_FlowId(self):
35+
return self.get_query_params().get('FlowId')
36+
37+
def set_FlowId(self,FlowId):
38+
self.add_query_param('FlowId',FlowId)
39+
40+
def get_ApproveComment(self):
41+
return self.get_query_params().get('ApproveComment')
42+
43+
def set_ApproveComment(self,ApproveComment):
44+
self.add_query_param('ApproveComment',ApproveComment)
45+
46+
def get_ApproveAction(self):
47+
return self.get_query_params().get('ApproveAction')
48+
49+
def set_ApproveAction(self,ApproveAction):
50+
self.add_query_param('ApproveAction',ApproveAction)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
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 CreateDataSourceRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataworks-public', '2020-05-18', 'CreateDataSource')
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_DataSourceType(self):
35+
return self.get_query_params().get('DataSourceType')
36+
37+
def set_DataSourceType(self,DataSourceType):
38+
self.add_query_param('DataSourceType',DataSourceType)
39+
40+
def get_Description(self):
41+
return self.get_query_params().get('Description')
42+
43+
def set_Description(self,Description):
44+
self.add_query_param('Description',Description)
45+
46+
def get_Content(self):
47+
return self.get_query_params().get('Content')
48+
49+
def set_Content(self,Content):
50+
self.add_query_param('Content',Content)
51+
52+
def get_SubType(self):
53+
return self.get_query_params().get('SubType')
54+
55+
def set_SubType(self,SubType):
56+
self.add_query_param('SubType',SubType)
57+
58+
def get_Name(self):
59+
return self.get_query_params().get('Name')
60+
61+
def set_Name(self,Name):
62+
self.add_query_param('Name',Name)
63+
64+
def get_EnvType(self):
65+
return self.get_query_params().get('EnvType')
66+
67+
def set_EnvType(self,EnvType):
68+
self.add_query_param('EnvType',EnvType)
69+
70+
def get_ProjectId(self):
71+
return self.get_query_params().get('ProjectId')
72+
73+
def set_ProjectId(self,ProjectId):
74+
self.add_query_param('ProjectId',ProjectId)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
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 CreatePermissionApplyOrderRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataworks-public', '2020-05-18', 'CreatePermissionApplyOrder')
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_ApplyReason(self):
35+
return self.get_query_params().get('ApplyReason')
36+
37+
def set_ApplyReason(self,ApplyReason):
38+
self.add_query_param('ApplyReason',ApplyReason)
39+
40+
def get_MaxComputeProjectName(self):
41+
return self.get_query_params().get('MaxComputeProjectName')
42+
43+
def set_MaxComputeProjectName(self,MaxComputeProjectName):
44+
self.add_query_param('MaxComputeProjectName',MaxComputeProjectName)
45+
46+
def get_ApplyObjects(self):
47+
return self.get_query_params().get('ApplyObject')
48+
49+
def set_ApplyObjects(self, ApplyObjects):
50+
for depth1 in range(len(ApplyObjects)):
51+
if ApplyObjects[depth1].get('ColumnMetaList') is not None:
52+
for depth2 in range(len(ApplyObjects[depth1].get('ColumnMetaList'))):
53+
if ApplyObjects[depth1].get('ColumnMetaList')[depth2].get('Name') is not None:
54+
self.add_query_param('ApplyObject.' + str(depth1 + 1) + '.ColumnMetaList.' + str(depth2 + 1) + '.Name', ApplyObjects[depth1].get('ColumnMetaList')[depth2].get('Name'))
55+
if ApplyObjects[depth1].get('Name') is not None:
56+
self.add_query_param('ApplyObject.' + str(depth1 + 1) + '.Name', ApplyObjects[depth1].get('Name'))
57+
if ApplyObjects[depth1].get('Actions') is not None:
58+
self.add_query_param('ApplyObject.' + str(depth1 + 1) + '.Actions', ApplyObjects[depth1].get('Actions'))
59+
60+
def get_ApplyUserIds(self):
61+
return self.get_query_params().get('ApplyUserIds')
62+
63+
def set_ApplyUserIds(self,ApplyUserIds):
64+
self.add_query_param('ApplyUserIds',ApplyUserIds)
65+
66+
def get_Deadline(self):
67+
return self.get_query_params().get('Deadline')
68+
69+
def set_Deadline(self,Deadline):
70+
self.add_query_param('Deadline',Deadline)
71+
72+
def get_WorkspaceId(self):
73+
return self.get_query_params().get('WorkspaceId')
74+
75+
def set_WorkspaceId(self,WorkspaceId):
76+
self.add_query_param('WorkspaceId',WorkspaceId)
77+
78+
def get_OrderType(self):
79+
return self.get_query_params().get('OrderType')
80+
81+
def set_OrderType(self,OrderType):
82+
self.add_query_param('OrderType',OrderType)
83+
84+
def get_EngineType(self):
85+
return self.get_query_params().get('EngineType')
86+
87+
def set_EngineType(self,EngineType):
88+
self.add_query_param('EngineType',EngineType)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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 DeleteDataSourceRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataworks-public', '2020-05-18', 'DeleteDataSource')
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_DataSourceId(self):
35+
return self.get_query_params().get('DataSourceId')
36+
37+
def set_DataSourceId(self,DataSourceId):
38+
self.add_query_param('DataSourceId',DataSourceId)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 GetFileTypeStatisticRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataworks-public', '2020-05-18', 'GetFileTypeStatistic')
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_ProjectEnv(self):
35+
return self.get_body_params().get('ProjectEnv')
36+
37+
def set_ProjectEnv(self,ProjectEnv):
38+
self.add_body_params('ProjectEnv', ProjectEnv)
39+
40+
def get_ProjectId(self):
41+
return self.get_body_params().get('ProjectId')
42+
43+
def set_ProjectId(self,ProjectId):
44+
self.add_body_params('ProjectId', ProjectId)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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 GetInstanceStatusStatisticRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataworks-public', '2020-05-18', 'GetInstanceStatusStatistic')
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_ProjectEnv(self):
35+
return self.get_body_params().get('ProjectEnv')
36+
37+
def set_ProjectEnv(self,ProjectEnv):
38+
self.add_body_params('ProjectEnv', ProjectEnv)
39+
40+
def get_BizDate(self):
41+
return self.get_body_params().get('BizDate')
42+
43+
def set_BizDate(self,BizDate):
44+
self.add_body_params('BizDate', BizDate)
45+
46+
def get_ProjectId(self):
47+
return self.get_body_params().get('ProjectId')
48+
49+
def set_ProjectId(self,ProjectId):
50+
self.add_body_params('ProjectId', ProjectId)

0 commit comments

Comments
 (0)
Please sign in to comment.