|
| 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 aliyunsdkdms_enterprise.endpoint import endpoint_data |
| 22 | + |
| 23 | +class ListProxySQLExecAuditLogRequest(RpcRequest): |
| 24 | + |
| 25 | + def __init__(self): |
| 26 | + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListProxySQLExecAuditLog','dms-enterprise') |
| 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_SQLType(self): # String |
| 35 | + return self.get_query_params().get('SQLType') |
| 36 | + |
| 37 | + def set_SQLType(self, SQLType): # String |
| 38 | + self.add_query_param('SQLType', SQLType) |
| 39 | + def get_SearchName(self): # String |
| 40 | + return self.get_query_params().get('SearchName') |
| 41 | + |
| 42 | + def set_SearchName(self, SearchName): # String |
| 43 | + self.add_query_param('SearchName', SearchName) |
| 44 | + def get_OpUserName(self): # String |
| 45 | + return self.get_query_params().get('OpUserName') |
| 46 | + |
| 47 | + def set_OpUserName(self, OpUserName): # String |
| 48 | + self.add_query_param('OpUserName', OpUserName) |
| 49 | + def get_EndTime(self): # Long |
| 50 | + return self.get_query_params().get('EndTime') |
| 51 | + |
| 52 | + def set_EndTime(self, EndTime): # Long |
| 53 | + self.add_query_param('EndTime', EndTime) |
| 54 | + def get_StartTime(self): # Long |
| 55 | + return self.get_query_params().get('StartTime') |
| 56 | + |
| 57 | + def set_StartTime(self, StartTime): # Long |
| 58 | + self.add_query_param('StartTime', StartTime) |
| 59 | + def get_PageNumber(self): # Integer |
| 60 | + return self.get_query_params().get('PageNumber') |
| 61 | + |
| 62 | + def set_PageNumber(self, PageNumber): # Integer |
| 63 | + self.add_query_param('PageNumber', PageNumber) |
| 64 | + def get_Tid(self): # Long |
| 65 | + return self.get_query_params().get('Tid') |
| 66 | + |
| 67 | + def set_Tid(self, Tid): # Long |
| 68 | + self.add_query_param('Tid', Tid) |
| 69 | + def get_PageSize(self): # Integer |
| 70 | + return self.get_query_params().get('PageSize') |
| 71 | + |
| 72 | + def set_PageSize(self, PageSize): # Integer |
| 73 | + self.add_query_param('PageSize', PageSize) |
| 74 | + def get_ExecState(self): # String |
| 75 | + return self.get_query_params().get('ExecState') |
| 76 | + |
| 77 | + def set_ExecState(self, ExecState): # String |
| 78 | + self.add_query_param('ExecState', ExecState) |
0 commit comments