Skip to content

Commit

Permalink
Supported ApproveOrder request parameter NewApproverList.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Apr 18, 2024
1 parent 0777cae commit 60f873c
Show file tree
Hide file tree
Showing 9 changed files with 579 additions and 1 deletion.
5 changes: 5 additions & 0 deletions aliyun-python-sdk-dms-enterprise/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024-04-18 Version: 1.53.8
- Supported ApproveOrder request parameter NewApproverList.
- Add ListSensitiveColumnInfo API.
- Supported GetDataCorrectOrderDetail return ConfigDetail Information.

2023-12-06 Version: 1.53.7
- Support CreateProcCorrectOrder request param of ExecMode.

Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.53.7'
__version__ = '1.53.8'
Original file line number Diff line number Diff line change
@@ -0,0 +1,178 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkdms_enterprise.endpoint import endpoint_data

class AddInstanceRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'AddInstance','dms-enterprise')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_EcsRegion(self): # String
return self.get_query_params().get('EcsRegion')

def set_EcsRegion(self, EcsRegion): # String
self.add_query_param('EcsRegion', EcsRegion)
def get_NetworkType(self): # String
return self.get_query_params().get('NetworkType')

def set_NetworkType(self, NetworkType): # String
self.add_query_param('NetworkType', NetworkType)
def get_Tid(self): # Long
return self.get_query_params().get('Tid')

def set_Tid(self, Tid): # Long
self.add_query_param('Tid', Tid)
def get_UseSsl(self): # Integer
return self.get_query_params().get('UseSsl')

def set_UseSsl(self, UseSsl): # Integer
self.add_query_param('UseSsl', UseSsl)
def get_EnableSellCommon(self): # String
return self.get_query_params().get('EnableSellCommon')

def set_EnableSellCommon(self, EnableSellCommon): # String
self.add_query_param('EnableSellCommon', EnableSellCommon)
def get_EnableSellSitd(self): # String
return self.get_query_params().get('EnableSellSitd')

def set_EnableSellSitd(self, EnableSellSitd): # String
self.add_query_param('EnableSellSitd', EnableSellSitd)
def get_InstanceSource(self): # String
return self.get_query_params().get('InstanceSource')

def set_InstanceSource(self, InstanceSource): # String
self.add_query_param('InstanceSource', InstanceSource)
def get_EnvType(self): # String
return self.get_query_params().get('EnvType')

def set_EnvType(self, EnvType): # String
self.add_query_param('EnvType', EnvType)
def get_Host(self): # String
return self.get_query_params().get('Host')

def set_Host(self, Host): # String
self.add_query_param('Host', Host)
def get_QueryTimeout(self): # Integer
return self.get_query_params().get('QueryTimeout')

def set_QueryTimeout(self, QueryTimeout): # Integer
self.add_query_param('QueryTimeout', QueryTimeout)
def get_EcsInstanceId(self): # String
return self.get_query_params().get('EcsInstanceId')

def set_EcsInstanceId(self, EcsInstanceId): # String
self.add_query_param('EcsInstanceId', EcsInstanceId)
def get_ExportTimeout(self): # Integer
return self.get_query_params().get('ExportTimeout')

def set_ExportTimeout(self, ExportTimeout): # Integer
self.add_query_param('ExportTimeout', ExportTimeout)
def get_TemplateId(self): # Long
return self.get_query_params().get('TemplateId')

def set_TemplateId(self, TemplateId): # Long
self.add_query_param('TemplateId', TemplateId)
def get_EnableSellTrust(self): # String
return self.get_query_params().get('EnableSellTrust')

def set_EnableSellTrust(self, EnableSellTrust): # String
self.add_query_param('EnableSellTrust', EnableSellTrust)
def get_Port(self): # Integer
return self.get_query_params().get('Port')

def set_Port(self, Port): # Integer
self.add_query_param('Port', Port)
def get_SafeRule(self): # String
return self.get_query_params().get('SafeRule')

def set_SafeRule(self, SafeRule): # String
self.add_query_param('SafeRule', SafeRule)
def get_DdlOnline(self): # Integer
return self.get_query_params().get('DdlOnline')

def set_DdlOnline(self, DdlOnline): # Integer
self.add_query_param('DdlOnline', DdlOnline)
def get_UseDsql(self): # Integer
return self.get_query_params().get('UseDsql')

def set_UseDsql(self, UseDsql): # Integer
self.add_query_param('UseDsql', UseDsql)
def get_EnableSellStable(self): # String
return self.get_query_params().get('EnableSellStable')

def set_EnableSellStable(self, EnableSellStable): # String
self.add_query_param('EnableSellStable', EnableSellStable)
def get_Sid(self): # String
return self.get_query_params().get('Sid')

def set_Sid(self, Sid): # String
self.add_query_param('Sid', Sid)
def get_DbaId(self): # Long
return self.get_query_params().get('DbaId')

def set_DbaId(self, DbaId): # Long
self.add_query_param('DbaId', DbaId)
def get_DataLinkName(self): # String
return self.get_query_params().get('DataLinkName')

def set_DataLinkName(self, DataLinkName): # String
self.add_query_param('DataLinkName', DataLinkName)
def get_TemplateType(self): # String
return self.get_query_params().get('TemplateType')

def set_TemplateType(self, TemplateType): # String
self.add_query_param('TemplateType', TemplateType)
def get_InstanceType(self): # String
return self.get_query_params().get('InstanceType')

def set_InstanceType(self, InstanceType): # String
self.add_query_param('InstanceType', InstanceType)
def get_DatabasePassword(self): # String
return self.get_query_params().get('DatabasePassword')

def set_DatabasePassword(self, DatabasePassword): # String
self.add_query_param('DatabasePassword', DatabasePassword)
def get_InstanceAlias(self): # String
return self.get_query_params().get('InstanceAlias')

def set_InstanceAlias(self, InstanceAlias): # String
self.add_query_param('InstanceAlias', InstanceAlias)
def get_DatabaseUser(self): # String
return self.get_query_params().get('DatabaseUser')

def set_DatabaseUser(self, DatabaseUser): # String
self.add_query_param('DatabaseUser', DatabaseUser)
def get_VpcId(self): # String
return self.get_query_params().get('VpcId')

def set_VpcId(self, VpcId): # String
self.add_query_param('VpcId', VpcId)
def get_SkipTest(self): # Boolean
return self.get_query_params().get('SkipTest')

def set_SkipTest(self, SkipTest): # Boolean
self.add_query_param('SkipTest', SkipTest)
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,8 @@ def get_ApprovalNodePos(self): # String

def set_ApprovalNodePos(self, ApprovalNodePos): # String
self.add_query_param('ApprovalNodePos', ApprovalNodePos)
def get_NewApproverList(self): # String
return self.get_query_params().get('NewApproverList')

def set_NewApproverList(self, NewApproverList): # String
self.add_query_param('NewApproverList', NewApproverList)
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkdms_enterprise.endpoint import endpoint_data

class DeleteStandardGroupRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'DeleteStandardGroup','dms-enterprise')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_Tid(self): # Long
return self.get_query_params().get('Tid')

def set_Tid(self, Tid): # Long
self.add_query_param('Tid', Tid)
def get_GroupId(self): # Long
return self.get_query_params().get('GroupId')

def set_GroupId(self, GroupId): # Long
self.add_query_param('GroupId', GroupId)
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkdms_enterprise.endpoint import endpoint_data

class GetStandardGroupRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'GetStandardGroup','dms-enterprise')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_Tid(self): # Long
return self.get_query_params().get('Tid')

def set_Tid(self, Tid): # Long
self.add_query_param('Tid', Tid)
def get_GroupId(self): # Long
return self.get_query_params().get('GroupId')

def set_GroupId(self, GroupId): # Long
self.add_query_param('GroupId', GroupId)
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

from aliyunsdkcore.request import RpcRequest
from aliyunsdkdms_enterprise.endpoint import endpoint_data

class ListSensitiveColumnInfoRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListSensitiveColumnInfo','dms-enterprise')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
if hasattr(self, "endpoint_regional"):
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())

def get_PageNumber(self): # Integer
return self.get_query_params().get('PageNumber')

def set_PageNumber(self, PageNumber): # Integer
self.add_query_param('PageNumber', PageNumber)
def get_Tid(self): # Long
return self.get_query_params().get('Tid')

def set_Tid(self, Tid): # Long
self.add_query_param('Tid', Tid)
def get_PageSize(self): # Integer
return self.get_query_params().get('PageSize')

def set_PageSize(self, PageSize): # Integer
self.add_query_param('PageSize', PageSize)
def get_TableName(self): # String
return self.get_query_params().get('TableName')

def set_TableName(self, TableName): # String
self.add_query_param('TableName', TableName)
def get_SchemaName(self): # String
return self.get_query_params().get('SchemaName')

def set_SchemaName(self, SchemaName): # String
self.add_query_param('SchemaName', SchemaName)
def get_ColumnName(self): # String
return self.get_query_params().get('ColumnName')

def set_ColumnName(self, ColumnName): # String
self.add_query_param('ColumnName', ColumnName)
def get_InstanceId(self): # Integer
return self.get_query_params().get('InstanceId')

def set_InstanceId(self, InstanceId): # Integer
self.add_query_param('InstanceId', InstanceId)

0 comments on commit 60f873c

Please sign in to comment.