public class SysInfo extends java.lang.Object implements Jsonable
Constructor and Description |
---|
SysInfo(org.json.JSONObject json) |
SysInfo(java.lang.String name) |
SysInfo(java.lang.String name,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
void |
addSysInfo(SysInfo sysInfo) |
org.json.JSONObject |
getJson() |
java.lang.String |
getJsonName()
May be overridden to name the JSON object returned from
Jsonable.getJson() . |
java.lang.String |
getName() |
java.util.List<SysInfo> |
getSysInfos() |
java.lang.String |
getValue() |
java.util.List<java.lang.String> |
getValues() |
void |
setName(java.lang.String name) |
void |
setSysInfos(java.util.List<SysInfo> sysInfos) |
void |
setValue(java.lang.String value) |
void |
setValues(java.util.List<java.lang.String> values) |
public SysInfo(java.lang.String name)
public SysInfo(java.lang.String name, java.lang.String value)
public SysInfo(org.json.JSONObject json) throws org.json.JSONException
org.json.JSONException
public java.lang.String getName()
public void setName(java.lang.String name)
public java.lang.String getValue()
public void setValue(java.lang.String value)
public java.util.List<java.lang.String> getValues()
public void setValues(java.util.List<java.lang.String> values)
public java.util.List<SysInfo> getSysInfos()
public void setSysInfos(java.util.List<SysInfo> sysInfos)
public void addSysInfo(SysInfo sysInfo)
public org.json.JSONObject getJson() throws org.json.JSONException
org.json.JSONException
public java.lang.String getJsonName()
Jsonable
Jsonable.getJson()
.Copyright © 2019 CenturyLink, Inc.