public class DeviceLinkFailDetails
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected DeviceType |
deviceType |
protected java.lang.String |
ipAddress |
Constructor and Description |
---|
DeviceLinkFailDetails(DeviceType deviceType)
Failed to link device.
|
DeviceLinkFailDetails(DeviceType deviceType,
java.lang.String ipAddress)
Failed to link device.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
DeviceType |
getDeviceType()
A description of the device used while user approval blocked.
|
java.lang.String |
getIpAddress()
IP address.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final java.lang.String ipAddress
protected final DeviceType deviceType
public DeviceLinkFailDetails(DeviceType deviceType, java.lang.String ipAddress)
deviceType
- A description of the device used while user approval
blocked. Must not be null
.ipAddress
- IP address. Might be missing due to historical data
gap.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public DeviceLinkFailDetails(DeviceType deviceType)
The default values for unset fields will be used.
deviceType
- A description of the device used while user approval
blocked. Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public DeviceType getDeviceType()
null
.public java.lang.String getIpAddress()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.