public class LogContextInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| LogContextInfo() | 
| LogContextInfo(LogContextInfo 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 | 
|---|---|
| Long | getBTime()Get Log timestamp | 
| String | getContent()Get Log content | 
| String | getFilename()Get Collection path | 
| HighLightItem[] | getHighLights()Get Highlighted description of log contentNote: This field may return null, indicating that no valid values can be obtained. | 
| String | getHostName()Get Source host name of logs
Note: This field may return `null`, indicating that no valid value was found. | 
| String | getIndexStatus()Get The cause of index creation exception (this parameter has a value only when an exception occurred while creating indexes for logs). | 
| String | getPkgId()Get Log package number | 
| Long | getPkgLogId()Get Log number in log package | 
| String | getRawLog()Get Raw log (this parameter has a value only when an exception occurred while creating indexes for logs). | 
| String | getSource()Get Log source device | 
| void | setBTime(Long BTime)Set Log timestamp | 
| void | setContent(String Content)Set Log content | 
| void | setFilename(String Filename)Set Collection path | 
| void | setHighLights(HighLightItem[] HighLights)Set Highlighted description of log contentNote: This field may return null, indicating that no valid values can be obtained. | 
| void | setHostName(String HostName)Set Source host name of logs
Note: This field may return `null`, indicating that no valid value was found. | 
| void | setIndexStatus(String IndexStatus)Set The cause of index creation exception (this parameter has a value only when an exception occurred while creating indexes for logs). | 
| void | setPkgId(String PkgId)Set Log package number | 
| void | setPkgLogId(Long PkgLogId)Set Log number in log package | 
| void | setRawLog(String RawLog)Set Raw log (this parameter has a value only when an exception occurred while creating indexes for logs). | 
| void | setSource(String Source)Set Log source device | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic LogContextInfo()
public LogContextInfo(LogContextInfo source)
public String getSource()
public void setSource(String Source)
Source - Log source devicepublic String getFilename()
public void setFilename(String Filename)
Filename - Collection pathpublic String getContent()
public void setContent(String Content)
Content - Log contentpublic String getPkgId()
public void setPkgId(String PkgId)
PkgId - Log package numberpublic Long getPkgLogId()
public void setPkgLogId(Long PkgLogId)
PkgLogId - Log number in log packagepublic Long getBTime()
public void setBTime(Long BTime)
BTime - Log timestamppublic String getHostName()
public void setHostName(String HostName)
HostName - Source host name of logs
Note: This field may return `null`, indicating that no valid value was found.public String getRawLog()
public void setRawLog(String RawLog)
RawLog - Raw log (this parameter has a value only when an exception occurred while creating indexes for logs).
Note: This field may return null, indicating that no valid values can be obtained.public String getIndexStatus()
public void setIndexStatus(String IndexStatus)
IndexStatus - The cause of index creation exception (this parameter has a value only when an exception occurred while creating indexes for logs).
Note: This field may return null, indicating that no valid values can be obtained.public HighLightItem[] getHighLights()
public void setHighLights(HighLightItem[] HighLights)
HighLights - Highlighted description of log contentNote: This field may return null, indicating that no valid values can be obtained.Copyright © 2025. All rights reserved.