public class GetAlarmLogRequest extends AbstractModel
| Constructor and Description | 
|---|
| GetAlarmLogRequest() | 
| GetAlarmLogRequest(GetAlarmLogRequest 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 This field is used to load more logs. | 
| Long | getFrom()Get Start time of the log to be queried, which is a Unix timestamp in milliseconds | 
| Long | getLimit()Get Number of logs returned in a single query. | 
| String | getQuery()Get Query statement. | 
| String | getSort()Get Order of the logs sorted by time returned by the log API. | 
| Long | getTo()Get End time of the log to be queried, which is a Unix timestamp in milliseconds | 
| Boolean | getUseNewAnalysis()Get If the value is `true`, the new search method will be used, and the response parameters `AnalysisRecords` and `Columns` will be valid. | 
| void | setContext(String Context)Set This field is used to load more logs. | 
| void | setFrom(Long From)Set Start time of the log to be queried, which is a Unix timestamp in milliseconds | 
| void | setLimit(Long Limit)Set Number of logs returned in a single query. | 
| void | setQuery(String Query)Set Query statement. | 
| void | setSort(String Sort)Set Order of the logs sorted by time returned by the log API. | 
| void | setTo(Long To)Set End time of the log to be queried, which is a Unix timestamp in milliseconds | 
| void | setUseNewAnalysis(Boolean UseNewAnalysis)Set If the value is `true`, the new search method will be used, and the response parameters `AnalysisRecords` and `Columns` will be valid. | 
| 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, toJsonStringpublic GetAlarmLogRequest()
public GetAlarmLogRequest(GetAlarmLogRequest source)
public Long getFrom()
public void setFrom(Long From)
From - Start time of the log to be queried, which is a Unix timestamp in millisecondspublic Long getTo()
public void setTo(Long To)
To - End time of the log to be queried, which is a Unix timestamp in millisecondspublic String getQuery()
public void setQuery(String Query)
Query - Query statement. Maximum length: 1024public Long getLimit()
public void setLimit(Long Limit)
Limit - Number of logs returned in a single query. Maximum value: 1000public String getContext()
public void setContext(String Context)
Context - This field is used to load more logs. Pass through the last `Context` value returned to get more log content.public String getSort()
public void setSort(String Sort)
Sort - Order of the logs sorted by time returned by the log API. Valid values: `asc`: ascending; `desc`: descending. Default value: `desc`public Boolean getUseNewAnalysis()
public void setUseNewAnalysis(Boolean UseNewAnalysis)
UseNewAnalysis - If the value is `true`, the new search method will be used, and the response parameters `AnalysisRecords` and `Columns` will be valid. If the value is `false`, the old search method will be used, and `AnalysisResults` and `ColNames` will be valid.Copyright © 2022. All rights reserved.