Class Device


  • public class Device
    extends Object
    Device.
    • Field Detail

      • deviceId

        private String deviceId
        Required. Identifier of this device.
      • displayName

        private String displayName
        Display name set by the user for this device. Absent if no name has been set.
      • lastSeenIp

        private String lastSeenIp
        The IP address where this device was last seen. (May be a few minutes out of date, for efficiency reasons).
      • lastSeenTs

        private Long lastSeenTs
        The timestamp (in milliseconds since the unix epoch) when this devices was last seen. (May be a few minutes out of date, for efficiency reasons).
    • Constructor Detail

      • Device

        public Device()
    • Method Detail

      • getDeviceId

        public String getDeviceId()
      • setDeviceId

        public void setDeviceId​(String deviceId)
      • getDisplayName

        public String getDisplayName()
      • setDisplayName

        public void setDisplayName​(String displayName)
      • getLastSeenIp

        public String getLastSeenIp()
      • setLastSeenIp

        public void setLastSeenIp​(String lastSeenIp)
      • getLastSeenTs

        public Long getLastSeenTs()
      • setLastSeenTs

        public void setLastSeenTs​(Long lastSeenTs)