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 Aggregation functions supported by the metric.
|
String |
getAlias()
Get Metric name displayed in frontend.
|
String |
getDescription()
Get Metric description.
|
Boolean |
getInnerMetric()
Get Whether it is an internal metric, internal metrics cannot be freely selected by users on the frontend.
|
String |
getMetric()
Get Metric name in backend.
|
String |
getMetricType()
Get Metric type.
|
String |
getUnit()
Get Default metric unit.
|
void |
setAggregations(AggregationLegend[] Aggregations)
Set Aggregation functions supported by the metric.
|
void |
setAlias(String Alias)
Set Metric name displayed in frontend.
|
void |
setDescription(String Description)
Set Metric description.
|
void |
setInnerMetric(Boolean InnerMetric)
Set Whether it is an internal metric, internal metrics cannot be freely selected by users on the frontend.
|
void |
setMetric(String Metric)
Set Metric name in backend.
|
void |
setMetricType(String MetricType)
Set Metric type.
|
void |
setUnit(String Unit)
Set Default metric unit.
|
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 - Metric name in backend.public String getAlias()
public void setAlias(String Alias)
Alias - Metric name displayed in frontend.public String getDescription()
public void setDescription(String Description)
Description - Metric description.
Note: This field may return null, indicating that no valid value is found.public String getMetricType()
public void setMetricType(String MetricType)
MetricType - Metric type.public String getUnit()
public void setUnit(String Unit)
Unit - Default metric unit.public AggregationLegend[] getAggregations()
public void setAggregations(AggregationLegend[] Aggregations)
Aggregations - Aggregation functions supported by the metric.public Boolean getInnerMetric()
public void setInnerMetric(Boolean InnerMetric)
InnerMetric - Whether it is an internal metric, internal metrics cannot be freely selected by users on the frontend.Copyright © 2025. All rights reserved.