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