public class QueryMetricRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
QueryMetricRequest() |
QueryMetricRequest(QueryMetricRequest 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 |
getQuery()
Get 查询语句,使用PromQL语法
|
Long |
getTime()
Get 查询时间,秒级Unix时间戳。为空时代表当前时间戳。
|
String |
getTopicId()
Get 指标主题ID
|
void |
setQuery(String Query)
Set 查询语句,使用PromQL语法
|
void |
setTime(Long Time)
Set 查询时间,秒级Unix时间戳。为空时代表当前时间戳。
|
void |
setTopicId(String TopicId)
Set 指标主题ID
|
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, toJsonString
public QueryMetricRequest()
public QueryMetricRequest(QueryMetricRequest source)
public String getQuery()
public void setQuery(String Query)
Query
- 查询语句,使用PromQL语法public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- 指标主题IDpublic Long getTime()
public void setTime(Long Time)
Time
- 查询时间,秒级Unix时间戳。为空时代表当前时间戳。Copyright © 2024. All rights reserved.