com.aliyuncs.sddp.model.v20190103.DescribeEventsRequest 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.sddp.model.v20190103;
import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.sddp.Endpoint;
/**
* @author auto create
* @version
*/
public class DescribeEventsRequest extends RpcAcsRequest {
private String productCode;
private String startTime;
private Long userId;
private String typeCode;
private String subTypeCode;
private String targetProductCode;
private Integer pageSize;
private Long id;
private String lang;
private String dealUserId;
private String endTime;
private Integer currentPage;
private String instanceName;
private String status;
private String userName;
public DescribeEventsRequest() {
super("Sddp", "2019-01-03", "DescribeEvents", "sddp");
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 getProductCode() {
return this.productCode;
}
public void setProductCode(String productCode) {
this.productCode = productCode;
if(productCode != null){
putQueryParameter("ProductCode", productCode);
}
}
public String getStartTime() {
return this.startTime;
}
public void setStartTime(String startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime);
}
}
public Long getUserId() {
return this.userId;
}
public void setUserId(Long userId) {
this.userId = userId;
if(userId != null){
putQueryParameter("UserId", userId.toString());
}
}
public String getTypeCode() {
return this.typeCode;
}
public void setTypeCode(String typeCode) {
this.typeCode = typeCode;
if(typeCode != null){
putQueryParameter("TypeCode", typeCode);
}
}
public String getSubTypeCode() {
return this.subTypeCode;
}
public void setSubTypeCode(String subTypeCode) {
this.subTypeCode = subTypeCode;
if(subTypeCode != null){
putQueryParameter("SubTypeCode", subTypeCode);
}
}
public String getTargetProductCode() {
return this.targetProductCode;
}
public void setTargetProductCode(String targetProductCode) {
this.targetProductCode = targetProductCode;
if(targetProductCode != null){
putQueryParameter("TargetProductCode", targetProductCode);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
if(id != null){
putQueryParameter("Id", id.toString());
}
}
public String getLang() {
return this.lang;
}
public void setLang(String lang) {
this.lang = lang;
if(lang != null){
putQueryParameter("Lang", lang);
}
}
public String getDealUserId() {
return this.dealUserId;
}
public void setDealUserId(String dealUserId) {
this.dealUserId = dealUserId;
if(dealUserId != null){
putQueryParameter("DealUserId", dealUserId);
}
}
public String getEndTime() {
return this.endTime;
}
public void setEndTime(String endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime);
}
}
public Integer getCurrentPage() {
return this.currentPage;
}
public void setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
if(currentPage != null){
putQueryParameter("CurrentPage", currentPage.toString());
}
}
public String getInstanceName() {
return this.instanceName;
}
public void setInstanceName(String instanceName) {
this.instanceName = instanceName;
if(instanceName != null){
putQueryParameter("InstanceName", instanceName);
}
}
public String getStatus() {
return this.status;
}
public void setStatus(String status) {
this.status = status;
if(status != null){
putQueryParameter("Status", status);
}
}
public String getUserName() {
return this.userName;
}
public void setUserName(String userName) {
this.userName = userName;
if(userName != null){
putQueryParameter("UserName", userName);
}
}
@Override
public Class getResponseClass() {
return DescribeEventsResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy