
com.aliyun.arms20190808.models.GetRumOcuStatisticDataRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.arms20190808.models;
import com.aliyun.tea.*;
public class GetRumOcuStatisticDataRequest extends TeaModel {
/**
* The end of the time range to query. Unit: milliseconds.
* This parameter is required.
*
* example:
* 1687849260000
*/
@NameInMap("EndTime")
public Long endTime;
/**
* The filter condition. Three types of filter conditions are provided:
*
* - Application name: pid (Note that the application name is displayed, but the application ID is actually specified)
* - Application type: siteType
* - Data type: dataType
*
*/
@NameInMap("Filter")
public java.util.List filter;
/**
* The grouping fields. Valid values:
*
* - siteType: The total number of OCUs is grouped by application type.
* - dataType: The total number of OCUs is grouped by data type.
* - pid: The total number of OCUs is grouped by application ID.
* - appName: The total number of OCUs is grouped by application name.
* - startTime: The total number of OCUs is grouped by start time.
*
*/
@NameInMap("Group")
public java.util.List group;
/**
* The page number.
* This parameter is required.
*
* example:
* 1
*/
@NameInMap("Page")
public Integer page;
/**
* The number of entries per page.
* This parameter is required.
*
* example:
* 100
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The type of the query. To query non-time series data, set the value to INSTANT. To query time series data, set the value to TIME_SERIES.
*
* example:
* TIME_SERIES
*/
@NameInMap("QueryType")
public String queryType;
/**
* The region ID.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
/**
* The beginning of the time range to query. Unit: milliseconds.
* This parameter is required.
*
* example:
* 1600063200000
*/
@NameInMap("StartTime")
public Long startTime;
public static GetRumOcuStatisticDataRequest build(java.util.Map map) throws Exception {
GetRumOcuStatisticDataRequest self = new GetRumOcuStatisticDataRequest();
return TeaModel.build(map, self);
}
public GetRumOcuStatisticDataRequest setEndTime(Long endTime) {
this.endTime = endTime;
return this;
}
public Long getEndTime() {
return this.endTime;
}
public GetRumOcuStatisticDataRequest setFilter(java.util.List filter) {
this.filter = filter;
return this;
}
public java.util.List getFilter() {
return this.filter;
}
public GetRumOcuStatisticDataRequest setGroup(java.util.List group) {
this.group = group;
return this;
}
public java.util.List getGroup() {
return this.group;
}
public GetRumOcuStatisticDataRequest setPage(Integer page) {
this.page = page;
return this;
}
public Integer getPage() {
return this.page;
}
public GetRumOcuStatisticDataRequest setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public GetRumOcuStatisticDataRequest setQueryType(String queryType) {
this.queryType = queryType;
return this;
}
public String getQueryType() {
return this.queryType;
}
public GetRumOcuStatisticDataRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public GetRumOcuStatisticDataRequest setStartTime(Long startTime) {
this.startTime = startTime;
return this;
}
public Long getStartTime() {
return this.startTime;
}
public static class GetRumOcuStatisticDataRequestFilter extends TeaModel {
/**
* The key of the filter condition. Three types of filter conditions are provided:
*
* - Application name: pid (Note that the application name is displayed, but the application ID is actually specified)
* - Application type: siteType
* - Data type: dataType
*
*
* example:
* pid
*/
@NameInMap("Key")
public String key;
/**
* The type of the operator. Valid value: in.
*
* example:
* in
*/
@NameInMap("OpType")
public String opType;
/**
* The value of the filter condition. The value is a JSON array of strings.
*
* example:
* ["b590xxxxx@2dcbxxxxx9", "b590xxxxx@2dcbxxxxx8"]
*/
@NameInMap("Value")
public Object value;
public static GetRumOcuStatisticDataRequestFilter build(java.util.Map map) throws Exception {
GetRumOcuStatisticDataRequestFilter self = new GetRumOcuStatisticDataRequestFilter();
return TeaModel.build(map, self);
}
public GetRumOcuStatisticDataRequestFilter setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public GetRumOcuStatisticDataRequestFilter setOpType(String opType) {
this.opType = opType;
return this;
}
public String getOpType() {
return this.opType;
}
public GetRumOcuStatisticDataRequestFilter setValue(Object value) {
this.value = value;
return this;
}
public Object getValue() {
return this.value;
}
}
}