|
| 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 aliyunsdkr_kvstore.endpoint import endpoint_data |
| 22 | + |
| 23 | +class DescribeActiveOperationTasksRequest(RpcRequest): |
| 24 | + |
| 25 | + def __init__(self): |
| 26 | + RpcRequest.__init__(self, 'R-kvstore', '2015-01-01', 'DescribeActiveOperationTasks','redisa') |
| 27 | + self.set_method('POST') |
| 28 | + |
| 29 | + if hasattr(self, "endpoint_map"): |
| 30 | + setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) |
| 31 | + if hasattr(self, "endpoint_regional"): |
| 32 | + setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) |
| 33 | + |
| 34 | + def get_ResourceOwnerId(self): # Long |
| 35 | + return self.get_query_params().get('ResourceOwnerId') |
| 36 | + |
| 37 | + def set_ResourceOwnerId(self, ResourceOwnerId): # Long |
| 38 | + self.add_query_param('ResourceOwnerId', ResourceOwnerId) |
| 39 | + def get_ProductId(self): # String |
| 40 | + return self.get_query_params().get('ProductId') |
| 41 | + |
| 42 | + def set_ProductId(self, ProductId): # String |
| 43 | + self.add_query_param('ProductId', ProductId) |
| 44 | + def get_ChangeLevel(self): # String |
| 45 | + return self.get_query_params().get('ChangeLevel') |
| 46 | + |
| 47 | + def set_ChangeLevel(self, ChangeLevel): # String |
| 48 | + self.add_query_param('ChangeLevel', ChangeLevel) |
| 49 | + def get_PageNumber(self): # Integer |
| 50 | + return self.get_query_params().get('PageNumber') |
| 51 | + |
| 52 | + def set_PageNumber(self, PageNumber): # Integer |
| 53 | + self.add_query_param('PageNumber', PageNumber) |
| 54 | + def get_InsName(self): # String |
| 55 | + return self.get_query_params().get('InsName') |
| 56 | + |
| 57 | + def set_InsName(self, InsName): # String |
| 58 | + self.add_query_param('InsName', InsName) |
| 59 | + def get_SecurityToken(self): # String |
| 60 | + return self.get_query_params().get('SecurityToken') |
| 61 | + |
| 62 | + def set_SecurityToken(self, SecurityToken): # String |
| 63 | + self.add_query_param('SecurityToken', SecurityToken) |
| 64 | + def get_PageSize(self): # Integer |
| 65 | + return self.get_query_params().get('PageSize') |
| 66 | + |
| 67 | + def set_PageSize(self, PageSize): # Integer |
| 68 | + self.add_query_param('PageSize', PageSize) |
| 69 | + def get_TaskType(self): # String |
| 70 | + return self.get_query_params().get('TaskType') |
| 71 | + |
| 72 | + def set_TaskType(self, TaskType): # String |
| 73 | + self.add_query_param('TaskType', TaskType) |
| 74 | + def get_ResourceOwnerAccount(self): # String |
| 75 | + return self.get_query_params().get('ResourceOwnerAccount') |
| 76 | + |
| 77 | + def set_ResourceOwnerAccount(self, ResourceOwnerAccount): # String |
| 78 | + self.add_query_param('ResourceOwnerAccount', ResourceOwnerAccount) |
| 79 | + def get_OwnerAccount(self): # String |
| 80 | + return self.get_query_params().get('OwnerAccount') |
| 81 | + |
| 82 | + def set_OwnerAccount(self, OwnerAccount): # String |
| 83 | + self.add_query_param('OwnerAccount', OwnerAccount) |
| 84 | + def get_AllowCancel(self): # Integer |
| 85 | + return self.get_query_params().get('AllowCancel') |
| 86 | + |
| 87 | + def set_AllowCancel(self, AllowCancel): # Integer |
| 88 | + self.add_query_param('AllowCancel', AllowCancel) |
| 89 | + def get_OwnerId(self): # Long |
| 90 | + return self.get_query_params().get('OwnerId') |
| 91 | + |
| 92 | + def set_OwnerId(self, OwnerId): # Long |
| 93 | + self.add_query_param('OwnerId', OwnerId) |
| 94 | + def get_DbType(self): # String |
| 95 | + return self.get_query_params().get('DbType') |
| 96 | + |
| 97 | + def set_DbType(self, DbType): # String |
| 98 | + self.add_query_param('DbType', DbType) |
| 99 | + def get_AllowChange(self): # Integer |
| 100 | + return self.get_query_params().get('AllowChange') |
| 101 | + |
| 102 | + def set_AllowChange(self, AllowChange): # Integer |
| 103 | + self.add_query_param('AllowChange', AllowChange) |
| 104 | + def get_Region(self): # String |
| 105 | + return self.get_query_params().get('Region') |
| 106 | + |
| 107 | + def set_Region(self, Region): # String |
| 108 | + self.add_query_param('Region', Region) |
| 109 | + def get_Status(self): # Integer |
| 110 | + return self.get_query_params().get('Status') |
| 111 | + |
| 112 | + def set_Status(self, Status): # Integer |
| 113 | + self.add_query_param('Status', Status) |
0 commit comments