public class SearchLogRequest extends AbstractModel
header, skipSign| 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 Pass the Context value returned by the last API call to retrieve more subsequent logs. 
 | 
Long | 
getCount()
Get Number of raw logs returned for a single query. 
 | 
Long | 
getEndTime()
Get End time for logs to be searched and analyzed, which is a Unix timestamp in milliseconds 
 | 
String | 
getQueryString()
Get Statement for search and analysis, with a maximum length of 12 KB 
 | 
String | 
getSort()
Get Order for returning the raw logs. 
 | 
Long | 
getStartTime()
Get Start time for logs to be searched and analyzed, which is a Unix timestamp in milliseconds 
 | 
void | 
setContext(String Context)
Set Pass the Context value returned by the last API call to retrieve more subsequent logs. 
 | 
void | 
setCount(Long Count)
Set Number of raw logs returned for a single query. 
 | 
void | 
setEndTime(Long EndTime)
Set End time for logs to be searched and analyzed, which is a Unix timestamp in milliseconds 
 | 
void | 
setQueryString(String QueryString)
Set Statement for search and analysis, with a maximum length of 12 KB 
 | 
void | 
setSort(String Sort)
Set Order for returning the raw logs. 
 | 
void | 
setStartTime(Long StartTime)
Set Start time for logs to be searched and analyzed, which is a Unix timestamp in milliseconds 
 | 
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 SearchLogRequest()
public SearchLogRequest(SearchLogRequest source)
public Long getStartTime()
public void setStartTime(Long StartTime)
StartTime - Start time for logs to be searched and analyzed, which is a Unix timestamp in millisecondspublic Long getEndTime()
public void setEndTime(Long EndTime)
EndTime - End time for logs to be searched and analyzed, which is a Unix timestamp in millisecondspublic String getQueryString()
public void setQueryString(String QueryString)
QueryString - Statement for search and analysis, with a maximum length of 12 KBpublic Long getCount()
public void setCount(Long Count)
Count - Number of raw logs returned for a single query. Maximum value: 1000. The Context parameter can be used to obtain subsequent logs.public String getSort()
public void setSort(String Sort)
Sort - Order for returning the raw logs. Valid values: asc (ascending), desc (descending). Default value: desc.public String getContext()
public void setContext(String Context)
Context - Pass the Context value returned by the last API call to retrieve more subsequent logs. A total of up to 10,000 raw logs can be obtained, with a validity period of 1 hour.Copyright © 2025. All rights reserved.