Class DeviceResponse


  • public class DeviceResponse
    extends Object
    Device response.
    • Field Detail

      • userId

        private String userId
        Required. The user ID devices were requested for.
      • streamId

        private Long streamId
        Required. A unique ID for a given user_id which describes the version of the returned device list. This is matched with the stream_id field in m.device_list_update EDUs in order to incrementally update the returned device_list.
      • devices

        private List<UserDevice> devices
        Required. The user's devices. May be empty.
    • Constructor Detail

      • DeviceResponse

        public DeviceResponse()
    • Method Detail

      • getUserId

        public String getUserId()
      • setUserId

        public void setUserId​(String userId)
      • getStreamId

        public Long getStreamId()
      • setStreamId

        public void setStreamId​(Long streamId)