public class SearchLogRequest extends AbstractModel
Constructor and Description |
---|
SearchLogRequest() |
SearchLogRequest(SearchLogRequest 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 加载更多日志时使用,透传上次返回的Context值,获取后续的日志内容
|
Long |
getFrom()
Get 要查询的日志的起始时间,Unix时间戳,单位ms
|
Long |
getLimit()
Get 单次查询返回的日志条数,最大值为100
|
String |
getQuery()
Get 查询语句,语句长度最大为4096
|
String |
getSort()
Get 日志接口是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
|
Long |
getTo()
Get 要查询的日志的结束时间,Unix时间戳,单位ms
|
String |
getTopicId()
Get 要查询的日志主题ID
|
void |
setContext(String Context)
Set 加载更多日志时使用,透传上次返回的Context值,获取后续的日志内容
|
void |
setFrom(Long From)
Set 要查询的日志的起始时间,Unix时间戳,单位ms
|
void |
setLimit(Long Limit)
Set 单次查询返回的日志条数,最大值为100
|
void |
setQuery(String Query)
Set 查询语句,语句长度最大为4096
|
void |
setSort(String Sort)
Set 日志接口是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 desc
|
void |
setTo(Long To)
Set 要查询的日志的结束时间,Unix时间戳,单位ms
|
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, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public SearchLogRequest()
public SearchLogRequest(SearchLogRequest source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- 要查询的日志主题IDpublic Long getFrom()
public void setFrom(Long From)
From
- 要查询的日志的起始时间,Unix时间戳,单位mspublic Long getTo()
public void setTo(Long To)
To
- 要查询的日志的结束时间,Unix时间戳,单位mspublic String getQuery()
public void setQuery(String Query)
Query
- 查询语句,语句长度最大为4096public Long getLimit()
public void setLimit(Long Limit)
Limit
- 单次查询返回的日志条数,最大值为100public String getContext()
public void setContext(String Context)
Context
- 加载更多日志时使用,透传上次返回的Context值,获取后续的日志内容public String getSort()
public void setSort(String Sort)
Sort
- 日志接口是否按时间排序返回;可选值:asc(升序)、desc(降序),默认为 descCopyright © 2021. All rights reserved.