Skip to content

Commit

Permalink
Update SDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed May 25, 2023
1 parent a56e033 commit f853b81
Show file tree
Hide file tree
Showing 19 changed files with 595 additions and 15 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-oceanbasepro/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2023-05-25 Version: 1.1.5
- Update SDK.

2023-04-10 Version: 1.1.4
- Update SDK.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-oceanbasepro/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-oceanbasepro</artifactId>
<packaging>jar</packaging>
<version>1.1.4</version>
<version>1.1.5</version>
<name>aliyun-java-sdk-oceanbasepro</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
public class DescribeCharsetRequest extends RpcAcsRequest<DescribeCharsetResponse> {


private String tenantMode;
private String tenantMode;

private String series;
public DescribeCharsetRequest() {
super("OceanBasePro", "2019-09-01", "DescribeCharset", "oceanbase");
setMethod(MethodType.POST);
Expand All @@ -44,6 +46,17 @@ public void setTenantMode(String tenantMode) {
if(tenantMode != null){
putBodyParameter("TenantMode", tenantMode);
}
}

public String getSeries() {
return this.series;
}

public void setSeries(String series) {
this.series = series;
if(series != null){
putBodyParameter("Series", series);
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ public static class Instance {

private String nodeNum;

private Boolean isolationOptimization;

private Boolean enableIsolationOptimization;

private List<String> availableZones;

private List<String> zones;
Expand Down Expand Up @@ -273,6 +277,22 @@ public void setNodeNum(String nodeNum) {
this.nodeNum = nodeNum;
}

public Boolean getIsolationOptimization() {
return this.isolationOptimization;
}

public void setIsolationOptimization(Boolean isolationOptimization) {
this.isolationOptimization = isolationOptimization;
}

public Boolean getEnableIsolationOptimization() {
return this.enableIsolationOptimization;
}

public void setEnableIsolationOptimization(Boolean enableIsolationOptimization) {
this.enableIsolationOptimization = enableIsolationOptimization;
}

public List<String> getAvailableZones() {
return this.availableZones;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ public static class OutlineBinding {

private Integer maxConcurrent;

private String tableName;

public String getBindPlan() {
return this.bindPlan;
}
Expand Down Expand Up @@ -85,6 +87,14 @@ public Integer getMaxConcurrent() {
public void setMaxConcurrent(Integer maxConcurrent) {
this.maxConcurrent = maxConcurrent;
}

public String getTableName() {
return this.tableName;
}

public void setTableName(String tableName) {
this.tableName = tableName;
}
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public static class Data {

private String defaultValue;

private Boolean readonly;

private List<String> rejectedValue;

private List<String> acceptableValue;
Expand Down Expand Up @@ -111,6 +113,14 @@ public void setDefaultValue(String defaultValue) {
this.defaultValue = defaultValue;
}

public Boolean getReadonly() {
return this.readonly;
}

public void setReadonly(Boolean readonly) {
this.readonly = readonly;
}

public List<String> getRejectedValue() {
return this.rejectedValue;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ public static class Tenant {

private Boolean enableReadWriteSplit;

private Boolean enableBinlogService;

private List<TenantConnectionsItem> tenantConnections;

private List<TenantZonesItem> tenantZones;
Expand Down Expand Up @@ -275,6 +277,14 @@ public void setEnableReadWriteSplit(Boolean enableReadWriteSplit) {
this.enableReadWriteSplit = enableReadWriteSplit;
}

public Boolean getEnableBinlogService() {
return this.enableBinlogService;
}

public void setEnableBinlogService(Boolean enableBinlogService) {
this.enableBinlogService = enableBinlogService;
}

public List<TenantConnectionsItem> getTenantConnections() {
return this.tenantConnections;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.oceanbasepro.model.v20190901;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.oceanbasepro.Endpoint;

/**
* @author auto create
* @version
*/
public class KillProcessListRequest extends RpcAcsRequest<KillProcessListResponse> {


private String sessionList;

private String instanceId;

private String tenantId;
public KillProcessListRequest() {
super("OceanBasePro", "2019-09-01", "KillProcessList", "oceanbase");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}

public String getSessionList() {
return this.sessionList;
}

public void setSessionList(String sessionList) {
this.sessionList = sessionList;
if(sessionList != null){
putBodyParameter("SessionList", sessionList);
}
}

public String getInstanceId() {
return this.instanceId;
}

public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putBodyParameter("InstanceId", instanceId);
}
}

public String getTenantId() {
return this.tenantId;
}

public void setTenantId(String tenantId) {
this.tenantId = tenantId;
if(tenantId != null){
putBodyParameter("TenantId", tenantId);
}
}

@Override
public Class<KillProcessListResponse> getResponseClass() {
return KillProcessListResponse.class;
}

}
Loading

0 comments on commit f853b81

Please sign in to comment.