public class GetDeviceResult extends Object implements Serializable, Cloneable
Represents the result of a get device request.
Constructor and Description |
---|
GetDeviceResult() |
Modifier and Type | Method and Description |
---|---|
GetDeviceResult |
clone() |
boolean |
equals(Object obj) |
Device |
getDevice()
Returns the value of the Device property for this object.
|
int |
hashCode() |
void |
setDevice(Device device)
Sets the value of the Device property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDeviceResult |
withDevice(Device device)
Sets the value of the Device property for this object.
|
public void setDevice(Device device)
device
- The new value for the Device property for this object.public Device getDevice()
public GetDeviceResult withDevice(Device device)
device
- The new value for the Device property for this object.public String toString()
toString
in class Object
Object.toString()
public GetDeviceResult clone()
Copyright © 2015. All rights reserved.