public class MetricInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| MetricInfo() | 
| MetricInfo(MetricInfo 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 | 
|---|---|
| AggregationLegend[] | getAggregations()Get 指标支持的聚合函数 | 
| String | getAlias()Get 前台展示指标名称 | 
| String | getDescription()Get 指标描述 | 
| Boolean | getInnerMetric()Get 是否内部指标,内部指标不可在前台提供用户自由选择 | 
| String | getMetric()Get 后台指标 | 
| String | getMetricType()Get 指标类型 | 
| String | getUnit()Get 默认指标单位 | 
| void | setAggregations(AggregationLegend[] Aggregations)Set 指标支持的聚合函数 | 
| void | setAlias(String Alias)Set 前台展示指标名称 | 
| void | setDescription(String Description)Set 指标描述 | 
| void | setInnerMetric(Boolean InnerMetric)Set 是否内部指标,内部指标不可在前台提供用户自由选择 | 
| void | setMetric(String Metric)Set 后台指标 | 
| void | setMetricType(String MetricType)Set 指标类型 | 
| void | setUnit(String Unit)Set 默认指标单位 | 
| 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 MetricInfo()
public MetricInfo(MetricInfo source)
public String getMetric()
public void setMetric(String Metric)
Metric - 后台指标public String getAlias()
public void setAlias(String Alias)
Alias - 前台展示指标名称public String getDescription()
public void setDescription(String Description)
Description - 指标描述public String getMetricType()
public void setMetricType(String MetricType)
MetricType - 指标类型public String getUnit()
public void setUnit(String Unit)
Unit - 默认指标单位public AggregationLegend[] getAggregations()
public void setAggregations(AggregationLegend[] Aggregations)
Aggregations - 指标支持的聚合函数public Boolean getInnerMetric()
public void setInnerMetric(Boolean InnerMetric)
InnerMetric - 是否内部指标,内部指标不可在前台提供用户自由选择Copyright © 2025. All rights reserved.