com.aliyuncs.xtrace.model.v20190808.SearchTracesRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-xtrace Show documentation
Show all versions of aliyun-java-sdk-xtrace Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
/*
* 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.xtrace.model.v20190808;
import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.xtrace.Endpoint;
/**
* @author auto create
* @version
*/
public class SearchTracesRequest extends RpcAcsRequest {
public SearchTracesRequest() {
super("xtrace", "2019-08-08", "SearchTraces", "xtrace");
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
private String serviceIp;
private String operationName;
private String appType;
private Integer pageSize;
private Long endTime;
private String serviceName;
private Long startTime;
private List tags;
private Boolean reverse;
private Long minDuration;
private Integer pageNumber;
public String getServiceIp() {
return this.serviceIp;
}
public void setServiceIp(String serviceIp) {
this.serviceIp = serviceIp;
if(serviceIp != null){
putQueryParameter("ServiceIp", serviceIp);
}
}
public String getOperationName() {
return this.operationName;
}
public void setOperationName(String operationName) {
this.operationName = operationName;
if(operationName != null){
putQueryParameter("OperationName", operationName);
}
}
public String getAppType() {
return this.appType;
}
public void setAppType(String appType) {
this.appType = appType;
if(appType != null){
putQueryParameter("AppType", appType);
}
}
public Integer getPageSize() {
return this.pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
if(pageSize != null){
putQueryParameter("PageSize", pageSize.toString());
}
}
public Long getEndTime() {
return this.endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
if(endTime != null){
putQueryParameter("EndTime", endTime.toString());
}
}
public String getServiceName() {
return this.serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
if(serviceName != null){
putQueryParameter("ServiceName", serviceName);
}
}
public Long getStartTime() {
return this.startTime;
}
public void setStartTime(Long startTime) {
this.startTime = startTime;
if(startTime != null){
putQueryParameter("StartTime", startTime.toString());
}
}
public List getTags() {
return this.tags;
}
public void setTags(List tags) {
this.tags = tags;
if (tags != null) {
for (int depth1 = 0; depth1 < tags.size(); depth1++) {
putQueryParameter("Tag." + (depth1 + 1) + ".Value" , tags.get(depth1).getValue());
putQueryParameter("Tag." + (depth1 + 1) + ".Key" , tags.get(depth1).getKey());
}
}
}
public Boolean getReverse() {
return this.reverse;
}
public void setReverse(Boolean reverse) {
this.reverse = reverse;
if(reverse != null){
putQueryParameter("Reverse", reverse.toString());
}
}
public Long getMinDuration() {
return this.minDuration;
}
public void setMinDuration(Long minDuration) {
this.minDuration = minDuration;
if(minDuration != null){
putQueryParameter("MinDuration", minDuration.toString());
}
}
public Integer getPageNumber() {
return this.pageNumber;
}
public void setPageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
if(pageNumber != null){
putQueryParameter("PageNumber", pageNumber.toString());
}
}
public static class Tag {
private String value;
private String key;
public String getValue() {
return this.value;
}
public void setValue(String value) {
this.value = value;
}
public String getKey() {
return this.key;
}
public void setKey(String key) {
this.key = key;
}
}
@Override
public Class getResponseClass() {
return SearchTracesResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy