public class AdminGetDeviceResult
extends java.lang.Object
implements java.io.Serializable
Gets the device response, as an administrator.
| Constructor and Description |
|---|
AdminGetDeviceResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
DeviceType |
getDevice()
The device.
|
int |
hashCode() |
void |
setDevice(DeviceType device)
The device.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminGetDeviceResult |
withDevice(DeviceType device)
The device.
|
public DeviceType getDevice()
The device.
The device.
public void setDevice(DeviceType device)
The device.
device - The device.
public AdminGetDeviceResult withDevice(DeviceType device)
The device.
Returns a reference to this object so that method calls can be chained together.
device - The device.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object