Skip to content

Commit da62ea3

Browse files
committed
Generated 2019-09-01 for OceanBasePro.
1 parent 4483117 commit da62ea3

15 files changed

+466
-16
lines changed

aliyun-java-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.1.30
2+
- Generated 2019-09-01 for `OceanBasePro`.
3+
14
2025-07-11 Version: 1.1.29
25
- Generated 2019-09-01 for `OceanBasePro`.
36

aliyun-java-sdk-oceanbasepro/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-oceanbasepro</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.1.29</version>
7+
<version>1.1.30</version>
88
<name>aliyun-java-sdk-oceanbasepro</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java

aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/CreateBackupSetDownloadLinkResponse.java

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class CreateBackupSetDownloadLinkResponse extends AcsResponse {
2626

2727
private String requestId;
2828

29-
private Long downloadTaskId;
29+
private Data data;
3030

3131
public String getRequestId() {
3232
return this.requestId;
@@ -36,12 +36,25 @@ public void setRequestId(String requestId) {
3636
this.requestId = requestId;
3737
}
3838

39-
public Long getDownloadTaskId() {
40-
return this.downloadTaskId;
39+
public Data getData() {
40+
return this.data;
4141
}
4242

43-
public void setDownloadTaskId(Long downloadTaskId) {
44-
this.downloadTaskId = downloadTaskId;
43+
public void setData(Data data) {
44+
this.data = data;
45+
}
46+
47+
public static class Data {
48+
49+
private Long downloadTaskId;
50+
51+
public Long getDownloadTaskId() {
52+
return this.downloadTaskId;
53+
}
54+
55+
public void setDownloadTaskId(Long downloadTaskId) {
56+
this.downloadTaskId = downloadTaskId;
57+
}
4558
}
4659

4760
@Override

aliyun-java-sdk-oceanbasepro/src/main/java/com/aliyuncs/oceanbasepro/model/v20190901/DescribeInstanceResponse.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static class Instance {
8989

9090
private String instanceRole;
9191

92-
private String nodeNum;
92+
private Long nodeNum;
9393

9494
private String replicaMode;
9595

@@ -311,11 +311,11 @@ public void setInstanceRole(String instanceRole) {
311311
this.instanceRole = instanceRole;
312312
}
313313

314-
public String getNodeNum() {
314+
public Long getNodeNum() {
315315
return this.nodeNum;
316316
}
317317

318-
public void setNodeNum(String nodeNum) {
318+
public void setNodeNum(Long nodeNum) {
319319
this.nodeNum = nodeNum;
320320
}
321321

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.oceanbasepro.model.v20190901;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
import com.aliyuncs.oceanbasepro.Endpoint;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class DescribeMetricsDataV2Request extends RpcAcsRequest<DescribeMetricsDataV2Response> {
27+
28+
29+
private String groupByLabels;
30+
31+
private String startTime;
32+
33+
private String limit;
34+
35+
private String sortOrder;
36+
37+
private String sortMetricKey;
38+
39+
private String replicaType;
40+
41+
private String endTime;
42+
43+
private String labels;
44+
45+
private String instanceId;
46+
47+
private String metrics;
48+
public DescribeMetricsDataV2Request() {
49+
super("OceanBasePro", "2019-09-01", "DescribeMetricsDataV2", "oceanbase");
50+
setProtocol(ProtocolType.HTTPS);
51+
setMethod(MethodType.POST);
52+
try {
53+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
54+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
55+
} catch (Exception e) {}
56+
}
57+
58+
public String getGroupByLabels() {
59+
return this.groupByLabels;
60+
}
61+
62+
public void setGroupByLabels(String groupByLabels) {
63+
this.groupByLabels = groupByLabels;
64+
if(groupByLabels != null){
65+
putBodyParameter("GroupByLabels", groupByLabels);
66+
}
67+
}
68+
69+
public String getStartTime() {
70+
return this.startTime;
71+
}
72+
73+
public void setStartTime(String startTime) {
74+
this.startTime = startTime;
75+
if(startTime != null){
76+
putBodyParameter("StartTime", startTime);
77+
}
78+
}
79+
80+
public String getLimit() {
81+
return this.limit;
82+
}
83+
84+
public void setLimit(String limit) {
85+
this.limit = limit;
86+
if(limit != null){
87+
putBodyParameter("Limit", limit);
88+
}
89+
}
90+
91+
public String getSortOrder() {
92+
return this.sortOrder;
93+
}
94+
95+
public void setSortOrder(String sortOrder) {
96+
this.sortOrder = sortOrder;
97+
if(sortOrder != null){
98+
putBodyParameter("SortOrder", sortOrder);
99+
}
100+
}
101+
102+
public String getSortMetricKey() {
103+
return this.sortMetricKey;
104+
}
105+
106+
public void setSortMetricKey(String sortMetricKey) {
107+
this.sortMetricKey = sortMetricKey;
108+
if(sortMetricKey != null){
109+
putBodyParameter("SortMetricKey", sortMetricKey);
110+
}
111+
}
112+
113+
public String getReplicaType() {
114+
return this.replicaType;
115+
}
116+
117+
public void setReplicaType(String replicaType) {
118+
this.replicaType = replicaType;
119+
if(replicaType != null){
120+
putBodyParameter("ReplicaType", replicaType);
121+
}
122+
}
123+
124+
public String getEndTime() {
125+
return this.endTime;
126+
}
127+
128+
public void setEndTime(String endTime) {
129+
this.endTime = endTime;
130+
if(endTime != null){
131+
putBodyParameter("EndTime", endTime);
132+
}
133+
}
134+
135+
public String getLabels() {
136+
return this.labels;
137+
}
138+
139+
public void setLabels(String labels) {
140+
this.labels = labels;
141+
if(labels != null){
142+
putBodyParameter("Labels", labels);
143+
}
144+
}
145+
146+
public String getInstanceId() {
147+
return this.instanceId;
148+
}
149+
150+
public void setInstanceId(String instanceId) {
151+
this.instanceId = instanceId;
152+
if(instanceId != null){
153+
putBodyParameter("InstanceId", instanceId);
154+
}
155+
}
156+
157+
public String getMetrics() {
158+
return this.metrics;
159+
}
160+
161+
public void setMetrics(String metrics) {
162+
this.metrics = metrics;
163+
if(metrics != null){
164+
putBodyParameter("Metrics", metrics);
165+
}
166+
}
167+
168+
@Override
169+
public Class<DescribeMetricsDataV2Response> getResponseClass() {
170+
return DescribeMetricsDataV2Response.class;
171+
}
172+
173+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.oceanbasepro.model.v20190901;
16+
17+
import java.util.List;
18+
import java.util.Map;
19+
import com.aliyuncs.AcsResponse;
20+
import com.aliyuncs.oceanbasepro.transform.v20190901.DescribeMetricsDataV2ResponseUnmarshaller;
21+
import com.aliyuncs.transform.UnmarshallerContext;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class DescribeMetricsDataV2Response extends AcsResponse {
28+
29+
private String requestId;
30+
31+
private List<DataItem> data;
32+
33+
public String getRequestId() {
34+
return this.requestId;
35+
}
36+
37+
public void setRequestId(String requestId) {
38+
this.requestId = requestId;
39+
}
40+
41+
public List<DataItem> getData() {
42+
return this.data;
43+
}
44+
45+
public void setData(List<DataItem> data) {
46+
this.data = data;
47+
}
48+
49+
public static class DataItem {
50+
51+
private Map<Object,Object> labels;
52+
53+
private List<DataItem2> data1;
54+
55+
public Map<Object,Object> getLabels() {
56+
return this.labels;
57+
}
58+
59+
public void setLabels(Map<Object,Object> labels) {
60+
this.labels = labels;
61+
}
62+
63+
public List<DataItem2> getData1() {
64+
return this.data1;
65+
}
66+
67+
public void setData1(List<DataItem2> data1) {
68+
this.data1 = data1;
69+
}
70+
71+
public static class DataItem2 {
72+
73+
private Map<Object,Object> metricValue;
74+
75+
private Long timestamp;
76+
77+
public Map<Object,Object> getMetricValue() {
78+
return this.metricValue;
79+
}
80+
81+
public void setMetricValue(Map<Object,Object> metricValue) {
82+
this.metricValue = metricValue;
83+
}
84+
85+
public Long getTimestamp() {
86+
return this.timestamp;
87+
}
88+
89+
public void setTimestamp(Long timestamp) {
90+
this.timestamp = timestamp;
91+
}
92+
}
93+
}
94+
95+
@Override
96+
public DescribeMetricsDataV2Response getInstance(UnmarshallerContext context) {
97+
return DescribeMetricsDataV2ResponseUnmarshaller.unmarshall(this, context);
98+
}
99+
100+
@Override
101+
public boolean checkShowJsonItemName() {
102+
return false;
103+
}
104+
}

0 commit comments

Comments
 (0)