public class SearchClsLogRequest extends AbstractModel
Constructor and Description |
---|
SearchClsLogRequest() |
SearchClsLogRequest(SearchClsLogRequest 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 |
getChannel()
Get Specifies whether to access CDN or ECDN.
|
String |
getContext()
Get This field is used when loading more results.
|
String |
getEndTime()
Get Query end time in the format of YYYY-mm-dd HH:MM:SS
|
Long |
getLimit()
Get Number of logs to be returned at a time.
|
String |
getLogsetId()
Get ID of logset to be queried
|
String |
getQuery()
Get Query statement.
|
String |
getSort()
Get Sorting by log time.
|
String |
getStartTime()
Get Query start time in the format of YYYY-mm-dd HH:MM:SS
|
String |
getTopicIds()
Get List of IDs of log topics to be queried, separated by commas
|
void |
setChannel(String Channel)
Set Specifies whether to access CDN or ECDN.
|
void |
setContext(String Context)
Set This field is used when loading more results.
|
void |
setEndTime(String EndTime)
Set Query end time in the format of YYYY-mm-dd HH:MM:SS
|
void |
setLimit(Long Limit)
Set Number of logs to be returned at a time.
|
void |
setLogsetId(String LogsetId)
Set ID of logset to be queried
|
void |
setQuery(String Query)
Set Query statement.
|
void |
setSort(String Sort)
Set Sorting by log time.
|
void |
setStartTime(String StartTime)
Set Query start time in the format of YYYY-mm-dd HH:MM:SS
|
void |
setTopicIds(String TopicIds)
Set List of IDs of log topics to be queried, separated by commas
|
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 SearchClsLogRequest()
public SearchClsLogRequest(SearchClsLogRequest source)
public String getLogsetId()
public void setLogsetId(String LogsetId)
LogsetId
- ID of logset to be queriedpublic String getTopicIds()
public void setTopicIds(String TopicIds)
TopicIds
- List of IDs of log topics to be queried, separated by commaspublic String getStartTime()
public void setStartTime(String StartTime)
StartTime
- Query start time in the format of YYYY-mm-dd HH:MM:SSpublic String getEndTime()
public void setEndTime(String EndTime)
EndTime
- Query end time in the format of YYYY-mm-dd HH:MM:SSpublic Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of logs to be returned at a time. Maximum value: 100public String getChannel()
public void setChannel(String Channel)
Channel
- Specifies whether to access CDN or ECDN. Valid values: `cdn` (default) and `ecdn`.public String getQuery()
public void setQuery(String Query)
Query
- Query statement. For more details, see [https://intl.cloud.tencent.com/document/product/614/16982?from_cn_redirect=1].public String getContext()
public void setContext(String Context)
Context
- This field is used when loading more results. Pass through the last `context` value returned to get more log content. Up to 10,000 logs can be obtained through the cursor. Please narrow down the time range as much as possible.public String getSort()
public void setSort(String Sort)
Sort
- Sorting by log time. Valid values: asc (ascending), desc (descending). Default value: descCopyright © 2023. All rights reserved.