public class Device extends java.lang.Object implements IJsonSerializable, java.io.Serializable
Constructor and Description |
---|
Device()
Initializes a new instance of the Device class.
|
Modifier and Type | Method and Description |
---|---|
void |
addToHashMap(java.util.Map<java.lang.String,java.lang.String> map)
Adds all members of this class to a map
|
java.lang.String |
getId()
Gets the Id property.
|
java.lang.String |
getIp()
Gets the Ip property.
|
java.lang.String |
getLanguage()
Gets the Language property.
|
java.lang.String |
getLocale()
Gets the Locale property.
|
java.lang.String |
getMachineName()
Gets the MachineName property.
|
java.lang.String |
getModel()
Gets the Model property.
|
java.lang.String |
getNetwork()
Gets the Network property.
|
java.lang.String |
getNetworkName()
Gets the NetworkName property.
|
java.lang.String |
getOemName()
Gets the OemName property.
|
java.lang.String |
getOs()
Gets the Os property.
|
java.lang.String |
getOsVersion()
Gets the OsVersion property.
|
java.lang.String |
getRoleInstance()
Gets the RoleInstance property.
|
java.lang.String |
getRoleName()
Gets the RoleName property.
|
java.lang.String |
getScreenResolution()
Gets the ScreenResolution property.
|
java.lang.String |
getType()
Gets the Type property.
|
java.lang.String |
getVmName()
Gets the VmName property.
|
protected void |
InitializeFields()
Optionally initializes fields for the current context.
|
void |
serialize(java.io.Writer writer)
Serializes the beginning of this object to the passed in writer.
|
protected java.lang.String |
serializeContent(java.io.Writer writer)
Serializes the beginning of this object to the passed in writer.
|
void |
setId(java.lang.String value)
Sets the Id property.
|
void |
setIp(java.lang.String value)
Sets the Ip property.
|
void |
setLanguage(java.lang.String value)
Sets the Language property.
|
void |
setLocale(java.lang.String value)
Sets the Locale property.
|
void |
setMachineName(java.lang.String value)
Sets the MachineName property.
|
void |
setModel(java.lang.String value)
Sets the Model property.
|
void |
setNetwork(java.lang.String value)
Sets the Network property.
|
void |
setNetworkName(java.lang.String value)
Sets the NetworkName property.
|
void |
setOemName(java.lang.String value)
Sets the OemName property.
|
void |
setOs(java.lang.String value)
Sets the Os property.
|
void |
setOsVersion(java.lang.String value)
Sets the OsVersion property.
|
void |
setRoleInstance(java.lang.String value)
Sets the RoleInstance property.
|
void |
setRoleName(java.lang.String value)
Sets the RoleName property.
|
void |
setScreenResolution(java.lang.String value)
Sets the ScreenResolution property.
|
void |
setType(java.lang.String value)
Sets the Type property.
|
void |
setVmName(java.lang.String value)
Sets the VmName property.
|
public java.lang.String getId()
public void setId(java.lang.String value)
public java.lang.String getIp()
public void setIp(java.lang.String value)
public java.lang.String getLanguage()
public void setLanguage(java.lang.String value)
public java.lang.String getLocale()
public void setLocale(java.lang.String value)
public java.lang.String getModel()
public void setModel(java.lang.String value)
public java.lang.String getNetwork()
public void setNetwork(java.lang.String value)
public java.lang.String getNetworkName()
public void setNetworkName(java.lang.String value)
public java.lang.String getOemName()
public void setOemName(java.lang.String value)
public java.lang.String getOs()
public void setOs(java.lang.String value)
public java.lang.String getOsVersion()
public void setOsVersion(java.lang.String value)
public java.lang.String getRoleInstance()
public void setRoleInstance(java.lang.String value)
public java.lang.String getRoleName()
public void setRoleName(java.lang.String value)
public java.lang.String getScreenResolution()
public void setScreenResolution(java.lang.String value)
public java.lang.String getType()
public void setType(java.lang.String value)
public java.lang.String getMachineName()
public void setMachineName(java.lang.String value)
public java.lang.String getVmName()
public void setVmName(java.lang.String value)
public void addToHashMap(java.util.Map<java.lang.String,java.lang.String> map)
map
- to which the members of this class will be added.public void serialize(java.io.Writer writer) throws java.io.IOException
serialize
in interface IJsonSerializable
writer
- The writer to serialize this object to.java.io.IOException
- will be thrown if something wrong with the output
streamprotected java.lang.String serializeContent(java.io.Writer writer) throws java.io.IOException
writer
- The writer to serialize this object to.java.io.IOException
protected void InitializeFields()