public class QueryMetricItem extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| QueryMetricItem() | 
| QueryMetricItem(QueryMetricItem source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getCompare()Get Year-On-Year, deprecated, not recommended for use. | 
| String[] | getCompares()Get Year-Over-Year comparison is now supported for comparebyyesterday (compared to yesterday) and comparebylastweek (compared to last week). | 
| String | getMetricName()Get Metric name. | 
| void | setCompare(String Compare)Set Year-On-Year, deprecated, not recommended for use. | 
| void | setCompares(String[] Compares)Set Year-Over-Year comparison is now supported for comparebyyesterday (compared to yesterday) and comparebylastweek (compared to last week). | 
| void | setMetricName(String MetricName)Set Metric name. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic QueryMetricItem()
public QueryMetricItem(QueryMetricItem source)
public String getMetricName()
public void setMetricName(String MetricName)
MetricName - Metric name.public String[] getCompares()
public void setCompares(String[] Compares)
Compares - Year-Over-Year comparison is now supported for comparebyyesterday (compared to yesterday) and comparebylastweek (compared to last week).public String getCompare()
public void setCompare(String Compare)
Compare - Year-On-Year, deprecated, not recommended for use.Copyright © 2025. All rights reserved.