Class DeviceData

    • Constructor Detail

      • DeviceData

        public DeviceData()
      • DeviceData

        public DeviceData​(DeviceData source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getTid

        public String getTid()
        Get 设备TID 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Tid 设备TID 注意:此字段可能返回 null,表示取不到有效值。
      • setTid

        public void setTid​(String Tid)
        Set 设备TID 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Tid - 设备TID 注意:此字段可能返回 null,表示取不到有效值。
      • getActiveTime

        public Long getActiveTime()
        Get 激活时间 0代表未激活 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        ActiveTime 激活时间 0代表未激活 注意:此字段可能返回 null,表示取不到有效值。
      • setActiveTime

        public void setActiveTime​(Long ActiveTime)
        Set 激活时间 0代表未激活 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        ActiveTime - 激活时间 0代表未激活 注意:此字段可能返回 null,表示取不到有效值。
      • getDisabled

        public Boolean getDisabled()
        Get 设备是否被禁用 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Disabled 设备是否被禁用 注意:此字段可能返回 null,表示取不到有效值。
      • setDisabled

        public void setDisabled​(Boolean Disabled)
        Set 设备是否被禁用 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Disabled - 设备是否被禁用 注意:此字段可能返回 null,表示取不到有效值。
      • getOtaVersion

        public String getOtaVersion()
        Get 固件版本 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        OtaVersion 固件版本 注意:此字段可能返回 null,表示取不到有效值。
      • setOtaVersion

        public void setOtaVersion​(String OtaVersion)
        Set 固件版本 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        OtaVersion - 固件版本 注意:此字段可能返回 null,表示取不到有效值。
      • getOnline

        public Long getOnline()
        Get 设备在线状态 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Online 设备在线状态 注意:此字段可能返回 null,表示取不到有效值。
      • setOnline

        public void setOnline​(Long Online)
        Set 设备在线状态 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Online - 设备在线状态 注意:此字段可能返回 null,表示取不到有效值。
      • getLastOnlineTime

        public Long getLastOnlineTime()
        Get 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        LastOnlineTime 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒 注意:此字段可能返回 null,表示取不到有效值。
      • setLastOnlineTime

        public void setLastOnlineTime​(Long LastOnlineTime)
        Set 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        LastOnlineTime - 设备最后上线时间(mqtt连接成功时间),UNIX时间戳,单位秒 注意:此字段可能返回 null,表示取不到有效值。
      • getIotModel

        public String getIotModel()
        Get 物模型json数据 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        IotModel 物模型json数据 注意:此字段可能返回 null,表示取不到有效值。
      • setIotModel

        public void setIotModel​(String IotModel)
        Set 物模型json数据 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        IotModel - 物模型json数据 注意:此字段可能返回 null,表示取不到有效值。
      • getDeviceName

        public String getDeviceName()
        Get 设备名称 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        DeviceName 设备名称 注意:此字段可能返回 null,表示取不到有效值。
      • setDeviceName

        public void setDeviceName​(String DeviceName)
        Set 设备名称 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        DeviceName - 设备名称 注意:此字段可能返回 null,表示取不到有效值。
      • getProductId

        public String getProductId()
        Get 产品ID 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        ProductId 产品ID 注意:此字段可能返回 null,表示取不到有效值。
      • setProductId

        public void setProductId​(String ProductId)
        Set 产品ID 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        ProductId - 产品ID 注意:此字段可能返回 null,表示取不到有效值。
      • getCertificate

        public String getCertificate()
        Get 设备初始证书信息,base64编码 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Certificate 设备初始证书信息,base64编码 注意:此字段可能返回 null,表示取不到有效值。
      • setCertificate

        public void setCertificate​(String Certificate)
        Set 设备初始证书信息,base64编码 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Certificate - 设备初始证书信息,base64编码 注意:此字段可能返回 null,表示取不到有效值。
      • getWhiteBoxSoUrl

        public String getWhiteBoxSoUrl()
        Get 设备私钥下载地址 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        WhiteBoxSoUrl 设备私钥下载地址 注意:此字段可能返回 null,表示取不到有效值。
      • setWhiteBoxSoUrl

        public void setWhiteBoxSoUrl​(String WhiteBoxSoUrl)
        Set 设备私钥下载地址 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        WhiteBoxSoUrl - 设备私钥下载地址 注意:此字段可能返回 null,表示取不到有效值。
      • getStreamStatus

        public Boolean getStreamStatus()
        Get 设备推流状态 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        StreamStatus 设备推流状态 注意:此字段可能返回 null,表示取不到有效值。
      • setStreamStatus

        public void setStreamStatus​(Boolean StreamStatus)
        Set 设备推流状态 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        StreamStatus - 设备推流状态 注意:此字段可能返回 null,表示取不到有效值。