public class MachineInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
MachineInfo() |
MachineInfo(MachineInfo 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 |
getAutoUpdate()
Get Whether to enable automatic update for the machine.
|
Long |
getErrCode()
Get Machine upgrade result identifier.0: Success; 1200: Upgrade successful; Other values indicate exceptions.
|
String |
getErrMsg()
Get Machine upgrade result information."ok": Success; "update success": Upgrade successful; Other values indicate the reason for failure.
|
String |
getInstanceID()
Get Machine instance IDNote: This field may return null, indicating that no valid values can be obtained.
|
String |
getIp()
Get Machine IP
|
String |
getOfflineTime()
Get Machine disconnection time.
|
Long |
getStatus()
Get Machine status.
|
Long |
getUpdateStatus()
Get Machine upgrade status.
|
String |
getVersion()
Get Current machine version number
|
void |
setAutoUpdate(Long AutoUpdate)
Set Whether to enable automatic update for the machine.
|
void |
setErrCode(Long ErrCode)
Set Machine upgrade result identifier.0: Success; 1200: Upgrade successful; Other values indicate exceptions.
|
void |
setErrMsg(String ErrMsg)
Set Machine upgrade result information."ok": Success; "update success": Upgrade successful; Other values indicate the reason for failure.
|
void |
setInstanceID(String InstanceID)
Set Machine instance IDNote: This field may return null, indicating that no valid values can be obtained.
|
void |
setIp(String Ip)
Set Machine IP
|
void |
setOfflineTime(String OfflineTime)
Set Machine disconnection time.
|
void |
setStatus(Long Status)
Set Machine status.
|
void |
setUpdateStatus(Long UpdateStatus)
Set Machine upgrade status.
|
void |
setVersion(String Version)
Set Current machine version number
|
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, toJsonString
public MachineInfo()
public MachineInfo(MachineInfo source)
public String getIp()
public void setIp(String Ip)
Ip
- Machine IPpublic String getInstanceID()
public void setInstanceID(String InstanceID)
InstanceID
- Machine instance IDNote: This field may return null, indicating that no valid values can be obtained.public Long getStatus()
public void setStatus(Long Status)
Status
- Machine status. Valid values: `0`: exceptional; `1`: normalpublic String getOfflineTime()
public void setOfflineTime(String OfflineTime)
OfflineTime
- Machine disconnection time. If the value is empty, the machine is normal. If the machine is exceptional, a specific value will be returned.public Long getAutoUpdate()
public void setAutoUpdate(Long AutoUpdate)
AutoUpdate
- Whether to enable automatic update for the machine. Valid values: `0`: no; `1`: yespublic String getVersion()
public void setVersion(String Version)
Version
- Current machine version numberpublic Long getUpdateStatus()
public void setUpdateStatus(Long UpdateStatus)
UpdateStatus
- Machine upgrade status. 0: Upgrade successful; 1: Upgrading; -1: Upgrade failed.public Long getErrCode()
public void setErrCode(Long ErrCode)
ErrCode
- Machine upgrade result identifier.0: Success; 1200: Upgrade successful; Other values indicate exceptions.public String getErrMsg()
public void setErrMsg(String ErrMsg)
ErrMsg
- Machine upgrade result information."ok": Success; "update success": Upgrade successful; Other values indicate the reason for failure.Copyright © 2024. All rights reserved.