public class DeviceType
extends java.lang.Object
implements java.io.Serializable
The device type.
| Constructor and Description |
|---|
DeviceType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<AttributeType> |
getDeviceAttributes()
The device attributes.
|
java.util.Date |
getDeviceCreateDate()
The creation date of the device.
|
java.lang.String |
getDeviceKey()
The device key.
|
java.util.Date |
getDeviceLastAuthenticatedDate()
The date when the device was last authenticated.
|
java.util.Date |
getDeviceLastModifiedDate()
The date and time, in ISO
8601 format, when the item was modified.
|
int |
hashCode() |
void |
setDeviceAttributes(java.util.Collection<AttributeType> deviceAttributes)
The device attributes.
|
void |
setDeviceCreateDate(java.util.Date deviceCreateDate)
The creation date of the device.
|
void |
setDeviceKey(java.lang.String deviceKey)
The device key.
|
void |
setDeviceLastAuthenticatedDate(java.util.Date deviceLastAuthenticatedDate)
The date when the device was last authenticated.
|
void |
setDeviceLastModifiedDate(java.util.Date deviceLastModifiedDate)
The date and time, in ISO
8601 format, when the item was modified.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeviceType |
withDeviceAttributes(AttributeType... deviceAttributes)
The device attributes.
|
DeviceType |
withDeviceAttributes(java.util.Collection<AttributeType> deviceAttributes)
The device attributes.
|
DeviceType |
withDeviceCreateDate(java.util.Date deviceCreateDate)
The creation date of the device.
|
DeviceType |
withDeviceKey(java.lang.String deviceKey)
The device key.
|
DeviceType |
withDeviceLastAuthenticatedDate(java.util.Date deviceLastAuthenticatedDate)
The date when the device was last authenticated.
|
DeviceType |
withDeviceLastModifiedDate(java.util.Date deviceLastModifiedDate)
The date and time, in ISO
8601 format, when the item was modified.
|
public java.lang.String getDeviceKey()
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
The device key.
public void setDeviceKey(java.lang.String deviceKey)
The device key.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
deviceKey - The device key.
public DeviceType withDeviceKey(java.lang.String deviceKey)
The device key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 55
Pattern: [\w-]+_[0-9a-f-]+
deviceKey - The device key.
public java.util.List<AttributeType> getDeviceAttributes()
The device attributes.
The device attributes.
public void setDeviceAttributes(java.util.Collection<AttributeType> deviceAttributes)
The device attributes.
deviceAttributes - The device attributes.
public DeviceType withDeviceAttributes(AttributeType... deviceAttributes)
The device attributes.
Returns a reference to this object so that method calls can be chained together.
deviceAttributes - The device attributes.
public DeviceType withDeviceAttributes(java.util.Collection<AttributeType> deviceAttributes)
The device attributes.
Returns a reference to this object so that method calls can be chained together.
deviceAttributes - The device attributes.
public java.util.Date getDeviceCreateDate()
The creation date of the device.
The creation date of the device.
public void setDeviceCreateDate(java.util.Date deviceCreateDate)
The creation date of the device.
deviceCreateDate - The creation date of the device.
public DeviceType withDeviceCreateDate(java.util.Date deviceCreateDate)
The creation date of the device.
Returns a reference to this object so that method calls can be chained together.
deviceCreateDate - The creation date of the device.
public java.util.Date getDeviceLastModifiedDate()
The date and time, in ISO 8601 format, when the item was modified.
The date and time, in ISO 8601 format, when the item was modified.
public void setDeviceLastModifiedDate(java.util.Date deviceLastModifiedDate)
The date and time, in ISO 8601 format, when the item was modified.
deviceLastModifiedDate - The date and time, in ISO 8601 format, when the item was modified.
public DeviceType withDeviceLastModifiedDate(java.util.Date deviceLastModifiedDate)
The date and time, in ISO 8601 format, when the item was modified.
Returns a reference to this object so that method calls can be chained together.
deviceLastModifiedDate - The date and time, in ISO 8601 format, when the item was modified.
public java.util.Date getDeviceLastAuthenticatedDate()
The date when the device was last authenticated.
The date when the device was last authenticated.
public void setDeviceLastAuthenticatedDate(java.util.Date deviceLastAuthenticatedDate)
The date when the device was last authenticated.
deviceLastAuthenticatedDate - The date when the device was last authenticated.
public DeviceType withDeviceLastAuthenticatedDate(java.util.Date deviceLastAuthenticatedDate)
The date when the device was last authenticated.
Returns a reference to this object so that method calls can be chained together.
deviceLastAuthenticatedDate - The date when the device was last authenticated.
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