public final class Device extends Object
Constructor and Description |
---|
Device(Long id,
List<BackOfficeDeviceVariable> deviceVariables,
ZonedDateTime createdAt,
ZonedDateTime updatedAt,
String hardwareId,
ZonedDateTime timeActivated,
ZonedDateTime timeDeactivated,
LocalDate validityPeriod,
boolean deviceActive,
String type,
String os,
String sdkBuildVersion,
ZonedDateTime lastCheck,
String appVer,
String hostname,
String ip,
String externalIp,
String macAddress,
boolean isVm,
String vmInfo,
ZonedDateTime floatingLastSeen,
boolean floatingInUse,
boolean blacklisted,
DeviceLicense license) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAppVer()
Version of the application installed on the device.
|
ZonedDateTime |
getCreatedAt()
Time when the device object was created.
|
List<BackOfficeDeviceVariable> |
getDeviceVariables()
List of device variables that were tracked.
|
String |
getExternalIp()
External IP address, gotten from the LicenseSpring Servers.
|
ZonedDateTime |
getFloatingLastSeen()
Time when the device was last used with a floating license.
|
String |
getHardwareId()
Unique id of the device.
|
String |
getHostname()
Hostname detected by the SDK
|
Long |
getId()
16 digit number, automatically generated by the LicenseSpring
|
String |
getIp()
Ip address that was detected by the SDK
|
ZonedDateTime |
getLastCheck()
Time when last check was performed.
|
DeviceLicense |
getLicense()
License information license this device belongs to.
|
String |
getMacAddress()
Mac address that was detected by the SDK
|
String |
getOs()
Operation system of the device.
|
String |
getSdkBuildVersion() |
ZonedDateTime |
getTimeActivated()
Time when the device was activated.
|
ZonedDateTime |
getTimeDeactivated()
Time when the device was deactivated.
|
String |
getType()
Type of the device.
|
ZonedDateTime |
getUpdatedAt()
Time when device information was last updated.
|
LocalDate |
getValidityPeriod() |
String |
getVmInfo()
If field isVm is true, this field will contain additional information about the virtual machine.
|
int |
hashCode() |
boolean |
isBlacklisted()
If this device has been blacklisted - can no longer use the license.
|
boolean |
isDeviceActive()
Indicates if the device is currently active/using a license.
|
boolean |
isFloatingInUse()
Indicates if the device is active and floating license hasn't expired.
|
boolean |
isVm()
Indicates if this device is a virtual machine.
|
String |
toString() |
public Device(Long id, List<BackOfficeDeviceVariable> deviceVariables, ZonedDateTime createdAt, ZonedDateTime updatedAt, String hardwareId, ZonedDateTime timeActivated, ZonedDateTime timeDeactivated, LocalDate validityPeriod, boolean deviceActive, String type, String os, String sdkBuildVersion, ZonedDateTime lastCheck, String appVer, String hostname, String ip, String externalIp, String macAddress, boolean isVm, String vmInfo, ZonedDateTime floatingLastSeen, boolean floatingInUse, boolean blacklisted, DeviceLicense license)
public Long getId()
public List<BackOfficeDeviceVariable> getDeviceVariables()
public ZonedDateTime getCreatedAt()
public ZonedDateTime getUpdatedAt()
public String getHardwareId()
public ZonedDateTime getTimeActivated()
public ZonedDateTime getTimeDeactivated()
public LocalDate getValidityPeriod()
public boolean isDeviceActive()
public String getType()
public String getOs()
public String getSdkBuildVersion()
public ZonedDateTime getLastCheck()
public String getAppVer()
public String getHostname()
public String getIp()
public String getExternalIp()
public String getMacAddress()
public boolean isVm()
public String getVmInfo()
public ZonedDateTime getFloatingLastSeen()
public boolean isFloatingInUse()
public boolean isBlacklisted()
public DeviceLicense getLicense()
Copyright © 2023 Cense Data Inc.. All rights reserved.