|
| 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 aliyunsdkoceanbasepro.endpoint import endpoint_data |
| 22 | + |
| 23 | +class CreateOasOutlineTaskRequest(RpcRequest): |
| 24 | + |
| 25 | + def __init__(self): |
| 26 | + RpcRequest.__init__(self, 'OceanBasePro', '2019-09-01', 'CreateOasOutlineTask','oceanbase') |
| 27 | + self.set_protocol_type('https') |
| 28 | + self.set_method('POST') |
| 29 | + |
| 30 | + if hasattr(self, "endpoint_map"): |
| 31 | + setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) |
| 32 | + if hasattr(self, "endpoint_regional"): |
| 33 | + setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) |
| 34 | + |
| 35 | + def get_StartTime(self): # String |
| 36 | + return self.get_body_params().get('StartTime') |
| 37 | + |
| 38 | + def set_StartTime(self, StartTime): # String |
| 39 | + self.add_body_params('StartTime', StartTime) |
| 40 | + def get_UId(self): # String |
| 41 | + return self.get_body_params().get('UId') |
| 42 | + |
| 43 | + def set_UId(self, UId): # String |
| 44 | + self.add_body_params('UId', UId) |
| 45 | + def get_DynamicSql(self): # Boolean |
| 46 | + return self.get_body_params().get('DynamicSql') |
| 47 | + |
| 48 | + def set_DynamicSql(self, DynamicSql): # Boolean |
| 49 | + self.add_body_params('DynamicSql', DynamicSql) |
| 50 | + def get_SqlText(self): # String |
| 51 | + return self.get_body_params().get('SqlText') |
| 52 | + |
| 53 | + def set_SqlText(self, SqlText): # String |
| 54 | + self.add_body_params('SqlText', SqlText) |
| 55 | + def get_BySqlId(self): # Boolean |
| 56 | + return self.get_body_params().get('BySqlId') |
| 57 | + |
| 58 | + def set_BySqlId(self, BySqlId): # Boolean |
| 59 | + self.add_body_params('BySqlId', BySqlId) |
| 60 | + def get_MaxConcurrent(self): # Integer |
| 61 | + return self.get_body_params().get('MaxConcurrent') |
| 62 | + |
| 63 | + def set_MaxConcurrent(self, MaxConcurrent): # Integer |
| 64 | + self.add_body_params('MaxConcurrent', MaxConcurrent) |
| 65 | + def get_TenantId(self): # String |
| 66 | + return self.get_body_params().get('TenantId') |
| 67 | + |
| 68 | + def set_TenantId(self, TenantId): # String |
| 69 | + self.add_body_params('TenantId', TenantId) |
| 70 | + def get_StatementId(self): # String |
| 71 | + return self.get_body_params().get('StatementId') |
| 72 | + |
| 73 | + def set_StatementId(self, StatementId): # String |
| 74 | + self.add_body_params('StatementId', StatementId) |
| 75 | + def get_TableName(self): # String |
| 76 | + return self.get_body_params().get('TableName') |
| 77 | + |
| 78 | + def set_TableName(self, TableName): # String |
| 79 | + self.add_body_params('TableName', TableName) |
| 80 | + def get_SqlId(self): # String |
| 81 | + return self.get_body_params().get('SqlId') |
| 82 | + |
| 83 | + def set_SqlId(self, SqlId): # String |
| 84 | + self.add_body_params('SqlId', SqlId) |
| 85 | + def get_EndTime(self): # String |
| 86 | + return self.get_body_params().get('EndTime') |
| 87 | + |
| 88 | + def set_EndTime(self, EndTime): # String |
| 89 | + self.add_body_params('EndTime', EndTime) |
| 90 | + def get_InstanceId(self): # String |
| 91 | + return self.get_body_params().get('InstanceId') |
| 92 | + |
| 93 | + def set_InstanceId(self, InstanceId): # String |
| 94 | + self.add_body_params('InstanceId', InstanceId) |
| 95 | + def get_PlanData(self): # String |
| 96 | + return self.get_body_params().get('PlanData') |
| 97 | + |
| 98 | + def set_PlanData(self, PlanData): # String |
| 99 | + self.add_body_params('PlanData', PlanData) |
| 100 | + def get_IndexName(self): # String |
| 101 | + return self.get_body_params().get('IndexName') |
| 102 | + |
| 103 | + def set_IndexName(self, IndexName): # String |
| 104 | + self.add_body_params('IndexName', IndexName) |
| 105 | + def get_DatabaseName(self): # String |
| 106 | + return self.get_body_params().get('DatabaseName') |
| 107 | + |
| 108 | + def set_DatabaseName(self, DatabaseName): # String |
| 109 | + self.add_body_params('DatabaseName', DatabaseName) |
| 110 | + def get_IsConcurrentLimit(self): # Boolean |
| 111 | + return self.get_body_params().get('IsConcurrentLimit') |
| 112 | + |
| 113 | + def set_IsConcurrentLimit(self, IsConcurrentLimit): # Boolean |
| 114 | + self.add_body_params('IsConcurrentLimit', IsConcurrentLimit) |
0 commit comments