public class ListLogRequest extends AbstractModel
Constructor and Description |
---|
ListLogRequest() |
ListLogRequest(ListLogRequest 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 |
getContext()
Get 日志检索上下文
|
String |
getKeywords()
Get 查询关键字,可以同时支持键值查询和文本查询,例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。键值或文本可以包含多个,以空格隔开。其中可以索引的key包括:requestid、productid、devicename、scene、content。
一个典型的查询示例:productid:ABCDE12345 devicename:test scene:SHADOW content:Device%20connect publish
|
Long |
getMaxNum()
Get 查询条数
|
Long |
getMaxTime()
Get 日志结束时间,毫秒级时间戳
|
Long |
getMinTime()
Get 日志开始时间,毫秒级时间戳
|
void |
setContext(String Context)
Set 日志检索上下文
|
void |
setKeywords(String Keywords)
Set 查询关键字,可以同时支持键值查询和文本查询,例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。键值或文本可以包含多个,以空格隔开。其中可以索引的key包括:requestid、productid、devicename、scene、content。
一个典型的查询示例:productid:ABCDE12345 devicename:test scene:SHADOW content:Device%20connect publish
|
void |
setMaxNum(Long MaxNum)
Set 查询条数
|
void |
setMaxTime(Long MaxTime)
Set 日志结束时间,毫秒级时间戳
|
void |
setMinTime(Long MinTime)
Set 日志开始时间,毫秒级时间戳
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public ListLogRequest()
public ListLogRequest(ListLogRequest source)
public Long getMinTime()
public void setMinTime(Long MinTime)
MinTime
- 日志开始时间,毫秒级时间戳public Long getMaxTime()
public void setMaxTime(Long MaxTime)
MaxTime
- 日志结束时间,毫秒级时间戳public String getKeywords()
public void setKeywords(String Keywords)
Keywords
- 查询关键字,可以同时支持键值查询和文本查询,例如,查询某key的值为value,并且包含某word的日志,该参数为:key:value word。键值或文本可以包含多个,以空格隔开。其中可以索引的key包括:requestid、productid、devicename、scene、content。
一个典型的查询示例:productid:ABCDE12345 devicename:test scene:SHADOW content:Device%20connect publishpublic String getContext()
public void setContext(String Context)
Context
- 日志检索上下文public Long getMaxNum()
public void setMaxNum(Long MaxNum)
MaxNum
- 查询条数Copyright © 2022. All rights reserved.