Skip to content

Commit

Permalink
Support More Open Api.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed May 24, 2023
1 parent 6cdd77f commit cadcfc1
Show file tree
Hide file tree
Showing 15 changed files with 933 additions and 2 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-rds/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2023-05-24 Version: 2.7.8
- Support More Open Api.

2023-04-12 Version: 2.7.7
- Support More Open Api.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-rds/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-rds</artifactId>
<packaging>jar</packaging>
<version>2.7.7</version>
<version>2.7.8</version>
<name>aliyun-java-sdk-rds</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 @@ -81,6 +81,8 @@ public class DescribeDBInstancesRequest extends RpcAcsRequest<DescribeDBInstance

private String dedicatedHostId;

private String filter;

private String vpcId;

private String payType;
Expand Down Expand Up @@ -401,6 +403,17 @@ public void setDedicatedHostId(String dedicatedHostId) {
}
}

public String getFilter() {
return this.filter;
}

public void setFilter(String filter) {
this.filter = filter;
if(filter != null){
putQueryParameter("Filter", filter);
}
}

public String getVpcId() {
return this.vpcId;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,249 @@
/*
* 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.rds.model.v20140815;

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

/**
* @author auto create
* @version
*/
public class DescribeHistoryTasksRequest extends RpcAcsRequest<DescribeHistoryTasksResponse> {


private Long resourceOwnerId;

private String toStartTime;

private Integer pageNumber;

private String resourceGroupId;

private String securityToken;

private Integer pageSize;

private String instanceType;

private String taskId;

private Integer toExecTime;

private String taskType;

private Long resourceOwnerAccount;

private String fromStartTime;

private Integer fromExecTime;

private Long ownerId;

private String instanceId;

private String status;
public DescribeHistoryTasksRequest() {
super("Rds", "2014-08-15", "DescribeHistoryTasks", "rds");
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 Long getResourceOwnerId() {
return this.resourceOwnerId;
}

public void setResourceOwnerId(Long resourceOwnerId) {
this.resourceOwnerId = resourceOwnerId;
if(resourceOwnerId != null){
putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
}
}

public String getToStartTime() {
return this.toStartTime;
}

public void setToStartTime(String toStartTime) {
this.toStartTime = toStartTime;
if(toStartTime != null){
putQueryParameter("ToStartTime", toStartTime);
}
}

public Integer getPageNumber() {
return this.pageNumber;
}

public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}

public String getResourceGroupId() {
return this.resourceGroupId;
}

public void setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
if(resourceGroupId != null){
putQueryParameter("ResourceGroupId", resourceGroupId);
}
}

public String getSecurityToken() {
return this.securityToken;
}

public void setSecurityToken(String securityToken) {
this.securityToken = securityToken;
if(securityToken != null){
putQueryParameter("SecurityToken", securityToken);
}
}

public Integer getPageSize() {
return this.pageSize;
}

public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}

public String getInstanceType() {
return this.instanceType;
}

public void setInstanceType(String instanceType) {
this.instanceType = instanceType;
if(instanceType != null){
putQueryParameter("InstanceType", instanceType);
}
}

public String getTaskId() {
return this.taskId;
}

public void setTaskId(String taskId) {
this.taskId = taskId;
if(taskId != null){
putQueryParameter("TaskId", taskId);
}
}

public Integer getToExecTime() {
return this.toExecTime;
}

public void setToExecTime(Integer toExecTime) {
this.toExecTime = toExecTime;
if(toExecTime != null){
putQueryParameter("ToExecTime", toExecTime.toString());
}
}

public String getTaskType() {
return this.taskType;
}

public void setTaskType(String taskType) {
this.taskType = taskType;
if(taskType != null){
putQueryParameter("TaskType", taskType);
}
}

public Long getResourceOwnerAccount() {
return this.resourceOwnerAccount;
}

public void setResourceOwnerAccount(Long resourceOwnerAccount) {
this.resourceOwnerAccount = resourceOwnerAccount;
if(resourceOwnerAccount != null){
putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount.toString());
}
}

public String getFromStartTime() {
return this.fromStartTime;
}

public void setFromStartTime(String fromStartTime) {
this.fromStartTime = fromStartTime;
if(fromStartTime != null){
putQueryParameter("FromStartTime", fromStartTime);
}
}

public Integer getFromExecTime() {
return this.fromExecTime;
}

public void setFromExecTime(Integer fromExecTime) {
this.fromExecTime = fromExecTime;
if(fromExecTime != null){
putQueryParameter("FromExecTime", fromExecTime.toString());
}
}

public Long getOwnerId() {
return this.ownerId;
}

public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}

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

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

public String getStatus() {
return this.status;
}

public void setStatus(String status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status);
}
}

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

}
Loading

0 comments on commit cadcfc1

Please sign in to comment.