com.aliyuncs.dg.model.v20190327.GetUserDatabasesRequest Maven / Gradle / Ivy
/*
* 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.dg.model.v20190327;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.dg.Endpoint;
/**
* @author auto create
* @version
*/
public class GetUserDatabasesRequest extends RpcAcsRequest {
private String searchKey;
private String pageNumber;
private String instanceId;
private Integer port;
private String pageSize;
private String dbType;
private String host;
private String gatewayId;
public GetUserDatabasesRequest() {
super("dg", "2019-03-27", "GetUserDatabases", "dg");
setProtocol(ProtocolType.HTTPS);
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 getSearchKey() {
return this.searchKey;
}
public void setSearchKey(String searchKey) {
this.searchKey = searchKey;
if(searchKey != null){
putBodyParameter("SearchKey", searchKey);
}
}
public String getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(String pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putBodyParameter("PageNumber", pageNumber);
}
}
public String getInstanceId() {
return this.instanceId;
}
public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putBodyParameter("InstanceId", instanceId);
}
}
public Integer getPort() {
return this.port;
}
public void setPort(Integer port) {
this.port = port;
if(port != null){
putBodyParameter("Port", port.toString());
}
}
public String getPageSize() {
return this.pageSize;
}
public void setPageSize(String pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putBodyParameter("PageSize", pageSize);
}
}
public String getDbType() {
return this.dbType;
}
public void setDbType(String dbType) {
this.dbType = dbType;
if(dbType != null){
putBodyParameter("DbType", dbType);
}
}
public String getHost() {
return this.host;
}
public void setHost(String host) {
this.host = host;
if(host != null){
putBodyParameter("Host", host);
}
}
public String getGatewayId() {
return this.gatewayId;
}
public void setGatewayId(String gatewayId) {
this.gatewayId = gatewayId;
if(gatewayId != null){
putBodyParameter("GatewayId", gatewayId);
}
}
@Override
public Class getResponseClass() {
return GetUserDatabasesResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy