Skip to content

Commit

Permalink
Generated 2017-08-01 for polardb.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Dec 19, 2024
1 parent 84b1be9 commit a838a4c
Show file tree
Hide file tree
Showing 6 changed files with 248 additions and 1 deletion.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-polardb/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-12-19 Version: 1.8.51
- Generated 2017-08-01 for `polardb`.

2024-12-13 Version: 1.8.50
- Generated 2017-08-01 for `polardb`.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-polardb/aliyunsdkpolardb/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.8.50'
__version__ = '1.8.51'
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# 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 aliyunsdkpolardb.endpoint import endpoint_data

class CancelActiveOperationTasksRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'CancelActiveOperationTasks','polardb')
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_ResourceOwnerId(self): # Long
return self.get_query_params().get('ResourceOwnerId')

def set_ResourceOwnerId(self, ResourceOwnerId): # Long
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
def get_TaskIds(self): # String
return self.get_query_params().get('TaskIds')

def set_TaskIds(self, TaskIds): # String
self.add_query_param('TaskIds', TaskIds)
def get_SecurityToken(self): # String
return self.get_query_params().get('SecurityToken')

def set_SecurityToken(self, SecurityToken): # String
self.add_query_param('SecurityToken', SecurityToken)
def get_ResourceOwnerAccount(self): # String
return self.get_query_params().get('ResourceOwnerAccount')

def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
def get_OwnerAccount(self): # String
return self.get_query_params().get('OwnerAccount')

def set_OwnerAccount(self, OwnerAccount): # String
self.add_query_param('OwnerAccount', OwnerAccount)
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,8 @@ def get_DBName(self): # String

def set_DBName(self, DBName): # String
self.add_query_param('DBName', DBName)
def get_PrivForAllDB(self): # String
return self.get_query_params().get('PrivForAllDB')

def set_PrivForAllDB(self, PrivForAllDB): # String
self.add_query_param('PrivForAllDB', PrivForAllDB)
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# 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 aliyunsdkpolardb.endpoint import endpoint_data

class DescribeActiveOperationTasksRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'DescribeActiveOperationTasks','polardb')
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_ResourceOwnerId(self): # Long
return self.get_query_params().get('ResourceOwnerId')

def set_ResourceOwnerId(self, ResourceOwnerId): # Long
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
def get_ChangeLevel(self): # String
return self.get_query_params().get('ChangeLevel')

def set_ChangeLevel(self, ChangeLevel): # String
self.add_query_param('ChangeLevel', ChangeLevel)
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_SecurityToken(self): # String
return self.get_query_params().get('SecurityToken')

def set_SecurityToken(self, SecurityToken): # String
self.add_query_param('SecurityToken', SecurityToken)
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_TaskType(self): # String
return self.get_query_params().get('TaskType')

def set_TaskType(self, TaskType): # String
self.add_query_param('TaskType', TaskType)
def get_ResourceOwnerAccount(self): # String
return self.get_query_params().get('ResourceOwnerAccount')

def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
def get_DBClusterId(self): # String
return self.get_query_params().get('DBClusterId')

def set_DBClusterId(self, DBClusterId): # String
self.add_query_param('DBClusterId', DBClusterId)
def get_OwnerAccount(self): # String
return self.get_query_params().get('OwnerAccount')

def set_OwnerAccount(self, OwnerAccount): # String
self.add_query_param('OwnerAccount', OwnerAccount)
def get_AllowCancel(self): # Long
return self.get_query_params().get('AllowCancel')

def set_AllowCancel(self, AllowCancel): # Long
self.add_query_param('AllowCancel', AllowCancel)
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
def get_DBType(self): # String
return self.get_query_params().get('DBType')

def set_DBType(self, DBType): # String
self.add_query_param('DBType', DBType)
def get_AllowChange(self): # Long
return self.get_query_params().get('AllowChange')

def set_AllowChange(self, AllowChange): # Long
self.add_query_param('AllowChange', AllowChange)
def get_Status(self): # Long
return self.get_query_params().get('Status')

def set_Status(self, Status): # Long
self.add_query_param('Status', Status)
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# 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 aliyunsdkpolardb.endpoint import endpoint_data

class ModifyActiveOperationTasksRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'polardb', '2017-08-01', 'ModifyActiveOperationTasks','polardb')
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_ResourceOwnerId(self): # Long
return self.get_query_params().get('ResourceOwnerId')

def set_ResourceOwnerId(self, ResourceOwnerId): # Long
self.add_query_param('ResourceOwnerId', ResourceOwnerId)
def get_TaskIds(self): # String
return self.get_query_params().get('TaskIds')

def set_TaskIds(self, TaskIds): # String
self.add_query_param('TaskIds', TaskIds)
def get_SecurityToken(self): # String
return self.get_query_params().get('SecurityToken')

def set_SecurityToken(self, SecurityToken): # String
self.add_query_param('SecurityToken', SecurityToken)
def get_SwitchTime(self): # String
return self.get_query_params().get('SwitchTime')

def set_SwitchTime(self, SwitchTime): # String
self.add_query_param('SwitchTime', SwitchTime)
def get_ResourceOwnerAccount(self): # String
return self.get_query_params().get('ResourceOwnerAccount')

def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String
self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount)
def get_OwnerAccount(self): # String
return self.get_query_params().get('OwnerAccount')

def set_OwnerAccount(self, OwnerAccount): # String
self.add_query_param('OwnerAccount', OwnerAccount)
def get_OwnerId(self): # Long
return self.get_query_params().get('OwnerId')

def set_OwnerId(self, OwnerId): # Long
self.add_query_param('OwnerId', OwnerId)
def get_ImmediateStart(self): # Integer
return self.get_query_params().get('ImmediateStart')

def set_ImmediateStart(self, ImmediateStart): # Integer
self.add_query_param('ImmediateStart', ImmediateStart)

0 comments on commit a838a4c

Please sign in to comment.