com.aliyun.arms20190808.models.ListSyntheticDetailShrinkRequest Maven / Gradle / Ivy
Show all versions of arms20190808 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.arms20190808.models;
import com.aliyun.tea.*;
public class ListSyntheticDetailShrinkRequest extends TeaModel {
/**
* An array of filter conditions. This parameter is required.
*
* - To query the list of synthetic test results, set this parameter in the following format: [{"Key":"taskType","OpType":"in","Value":[Task type]}].
* - To query the result details of a synthetic monitoring task, set this parameter in the following format: [{"Key":"dataId","OpType":"eq","Value":"dataId"}]. dataId is returned when you query the list of synthetic test results.
*
*/
@NameInMap("AdvancedFilters")
public String advancedFiltersShrink;
/**
* The type of the results. Set the value to SYNTHETIC.
*
* example:
* SYNTHETIC
*/
@NameInMap("Category")
public String category;
/**
* The type of the list that contains the results. This parameter is required. Valid values:
*
* - ICMP_LIST
* - TCP_LIST
* - DNS_LIST
* - HTTP_LIST
* - WEBSITE_LIST
* - DOWNLOAD_LIST
* - ALL
*
*
* example:
* ICMP_LIST
*/
@NameInMap("Detail")
public String detail;
/**
* The timestamp of the end time of the query. Unit: milliseconds.
*
* example:
* 1684480557772
*/
@NameInMap("EndTime")
public Long endTime;
/**
* A reserved field.
*/
@NameInMap("ExactFilters")
public String exactFiltersShrink;
/**
* The filter condition. This parameter is required.
*
* - To query the result of a synthetic monitoring task, set this parameter in the following format: {"taskId":"${taskId}"}.
* - To query the result details of a synthetic monitoring task, set this parameter in the following format: {"taskId":"${taskId}","dataId":"${dataId}"}.
*
*/
@NameInMap("Filters")
public String filtersShrink;
/**
* The order in which results are sorted. Valid values:
*
* ASC
: ascending order
* DESC
: descending order
*
*
* example:
* DESC
*/
@NameInMap("Order")
public String order;
/**
* The field based on which results are sorted. Set the value to timestamp.
*
* example:
* timestamp
*/
@NameInMap("OrderBy")
public String orderBy;
/**
* The page number. Pages start from page 1.
*
* example:
* 1
*/
@NameInMap("Page")
public Integer page;
/**
* The number of entries per page.
*
* example:
* 20
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The ID of the region. Set the value to cn-hangzhou.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
/**
* The timestamp of the start time of the query. Unit: milliseconds.
*
* example:
* 1684110343127
*/
@NameInMap("StartTime")
public Long startTime;
/**
* The type of the synthetic test. Valid values: 1 and 2. 1 represents an immediate test, and 2 represents a scheduled test.
*
* example:
* 1
*/
@NameInMap("SyntheticType")
public Integer syntheticType;
public static ListSyntheticDetailShrinkRequest build(java.util.Map map) throws Exception {
ListSyntheticDetailShrinkRequest self = new ListSyntheticDetailShrinkRequest();
return TeaModel.build(map, self);
}
public ListSyntheticDetailShrinkRequest setAdvancedFiltersShrink(String advancedFiltersShrink) {
this.advancedFiltersShrink = advancedFiltersShrink;
return this;
}
public String getAdvancedFiltersShrink() {
return this.advancedFiltersShrink;
}
public ListSyntheticDetailShrinkRequest setCategory(String category) {
this.category = category;
return this;
}
public String getCategory() {
return this.category;
}
public ListSyntheticDetailShrinkRequest setDetail(String detail) {
this.detail = detail;
return this;
}
public String getDetail() {
return this.detail;
}
public ListSyntheticDetailShrinkRequest setEndTime(Long endTime) {
this.endTime = endTime;
return this;
}
public Long getEndTime() {
return this.endTime;
}
public ListSyntheticDetailShrinkRequest setExactFiltersShrink(String exactFiltersShrink) {
this.exactFiltersShrink = exactFiltersShrink;
return this;
}
public String getExactFiltersShrink() {
return this.exactFiltersShrink;
}
public ListSyntheticDetailShrinkRequest setFiltersShrink(String filtersShrink) {
this.filtersShrink = filtersShrink;
return this;
}
public String getFiltersShrink() {
return this.filtersShrink;
}
public ListSyntheticDetailShrinkRequest setOrder(String order) {
this.order = order;
return this;
}
public String getOrder() {
return this.order;
}
public ListSyntheticDetailShrinkRequest setOrderBy(String orderBy) {
this.orderBy = orderBy;
return this;
}
public String getOrderBy() {
return this.orderBy;
}
public ListSyntheticDetailShrinkRequest setPage(Integer page) {
this.page = page;
return this;
}
public Integer getPage() {
return this.page;
}
public ListSyntheticDetailShrinkRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public ListSyntheticDetailShrinkRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public ListSyntheticDetailShrinkRequest setStartTime(Long startTime) {
this.startTime = startTime;
return this;
}
public Long getStartTime() {
return this.startTime;
}
public ListSyntheticDetailShrinkRequest setSyntheticType(Integer syntheticType) {
this.syntheticType = syntheticType;
return this;
}
public Integer getSyntheticType() {
return this.syntheticType;
}
}