Skip to content

Commit 4cf76c2

Browse files
committed
Generated 2019-09-01 for OceanBasePro.
1 parent 4934b8f commit 4cf76c2

File tree

3 files changed

+88
-1
lines changed

3 files changed

+88
-1
lines changed

aliyun-python-sdk-oceanbasepro/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-08-07 Version: 1.0.31
2+
- Generated 2019-09-01 for `OceanBasePro`.
3+
14
2025-07-11 Version: 1.0.30
25
- Generated 2019-09-01 for `OceanBasePro`.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.30'
1+
__version__ = '1.0.31'
Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
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 DescribeMetricsDataV2Request(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'OceanBasePro', '2019-09-01', 'DescribeMetricsDataV2','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_GroupByLabels(self): # String
36+
return self.get_body_params().get('GroupByLabels')
37+
38+
def set_GroupByLabels(self, GroupByLabels): # String
39+
self.add_body_params('GroupByLabels', GroupByLabels)
40+
def get_StartTime(self): # String
41+
return self.get_body_params().get('StartTime')
42+
43+
def set_StartTime(self, StartTime): # String
44+
self.add_body_params('StartTime', StartTime)
45+
def get_Limit(self): # String
46+
return self.get_body_params().get('Limit')
47+
48+
def set_Limit(self, Limit): # String
49+
self.add_body_params('Limit', Limit)
50+
def get_SortOrder(self): # String
51+
return self.get_body_params().get('SortOrder')
52+
53+
def set_SortOrder(self, SortOrder): # String
54+
self.add_body_params('SortOrder', SortOrder)
55+
def get_SortMetricKey(self): # String
56+
return self.get_body_params().get('SortMetricKey')
57+
58+
def set_SortMetricKey(self, SortMetricKey): # String
59+
self.add_body_params('SortMetricKey', SortMetricKey)
60+
def get_ReplicaType(self): # String
61+
return self.get_body_params().get('ReplicaType')
62+
63+
def set_ReplicaType(self, ReplicaType): # String
64+
self.add_body_params('ReplicaType', ReplicaType)
65+
def get_EndTime(self): # String
66+
return self.get_body_params().get('EndTime')
67+
68+
def set_EndTime(self, EndTime): # String
69+
self.add_body_params('EndTime', EndTime)
70+
def get_Labels(self): # String
71+
return self.get_body_params().get('Labels')
72+
73+
def set_Labels(self, Labels): # String
74+
self.add_body_params('Labels', Labels)
75+
def get_InstanceId(self): # String
76+
return self.get_body_params().get('InstanceId')
77+
78+
def set_InstanceId(self, InstanceId): # String
79+
self.add_body_params('InstanceId', InstanceId)
80+
def get_Metrics(self): # String
81+
return self.get_body_params().get('Metrics')
82+
83+
def set_Metrics(self, Metrics): # String
84+
self.add_body_params('Metrics', Metrics)

0 commit comments

Comments
 (0)