Class AddDeviceData

    • Constructor Summary

      Constructors 
      Constructor Description
      AddDeviceData()  
      AddDeviceData​(AddDeviceData 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 Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Long getAccessProtocol()
      Get 设备接入协议,1:RTMP,2:GB,3:GW 注意:此字段可能返回 null,表示取不到有效值。
      Long getAppId()
      Get 用户ID 注意:此字段可能返回 null,表示取不到有效值。
      String getClusterId()
      Get 设备接入服务节点ID 注意:此字段可能返回 null,表示取不到有效值。
      String getClusterName()
      Get 设备接入服务节点名称 注意:此字段可能返回 null,表示取不到有效值。
      String getCode()
      Get 设备编码(即我们为设备生成的20位国标编码) 注意:此字段可能返回 null,表示取不到有效值。
      String getDescription()
      Get 设备描述 注意:此字段可能返回 null,表示取不到有效值。
      String getDeviceId()
      Get 设备iD 注意:此字段可能返回 null,表示取不到有效值。
      String getGatewayId()
      Get 设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      String getIp()
      Get 设备接入IP(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      String getName()
      Get 设备名称 注意:此字段可能返回 null,表示取不到有效值。
      Long getOrganizationId()
      Get 设备所属组织ID 注意:此字段可能返回 null,表示取不到有效值。
      String getPassword()
      Get 设备密码 注意:此字段可能返回 null,表示取不到有效值。
      Long getPort()
      Get 设备Port(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      Long getProtocolType()
      Get 网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      Long getStatus()
      Get 设备状态,0:未注册,1:在线,2:离线,3:禁用 注意:此字段可能返回 null,表示取不到有效值。
      Long getTransportProtocol()
      Get 设备流传输协议,1:UDP,2:TCP 注意:此字段可能返回 null,表示取不到有效值。
      Long getType()
      Get 设备类型,1:IPC,2:NVR 注意:此字段可能返回 null,表示取不到有效值。
      String getUsername()
      Get 设备用户名(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      void setAccessProtocol​(Long AccessProtocol)
      Set 设备接入协议,1:RTMP,2:GB,3:GW 注意:此字段可能返回 null,表示取不到有效值。
      void setAppId​(Long AppId)
      Set 用户ID 注意:此字段可能返回 null,表示取不到有效值。
      void setClusterId​(String ClusterId)
      Set 设备接入服务节点ID 注意:此字段可能返回 null,表示取不到有效值。
      void setClusterName​(String ClusterName)
      Set 设备接入服务节点名称 注意:此字段可能返回 null,表示取不到有效值。
      void setCode​(String Code)
      Set 设备编码(即我们为设备生成的20位国标编码) 注意:此字段可能返回 null,表示取不到有效值。
      void setDescription​(String Description)
      Set 设备描述 注意:此字段可能返回 null,表示取不到有效值。
      void setDeviceId​(String DeviceId)
      Set 设备iD 注意:此字段可能返回 null,表示取不到有效值。
      void setGatewayId​(String GatewayId)
      Set 设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      void setIp​(String Ip)
      Set 设备接入IP(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      void setName​(String Name)
      Set 设备名称 注意:此字段可能返回 null,表示取不到有效值。
      void setOrganizationId​(Long OrganizationId)
      Set 设备所属组织ID 注意:此字段可能返回 null,表示取不到有效值。
      void setPassword​(String Password)
      Set 设备密码 注意:此字段可能返回 null,表示取不到有效值。
      void setPort​(Long Port)
      Set 设备Port(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      void setProtocolType​(Long ProtocolType)
      Set 网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      void setStatus​(Long Status)
      Set 设备状态,0:未注册,1:在线,2:离线,3:禁用 注意:此字段可能返回 null,表示取不到有效值。
      void setTransportProtocol​(Long TransportProtocol)
      Set 设备流传输协议,1:UDP,2:TCP 注意:此字段可能返回 null,表示取不到有效值。
      void setType​(Long Type)
      Set 设备类型,1:IPC,2:NVR 注意:此字段可能返回 null,表示取不到有效值。
      void setUsername​(String Username)
      Set 设备用户名(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      void toMap​(HashMap<String,​String> map, String prefix)
      Internal implementation, normal users should not use it.
    • Constructor Detail

      • AddDeviceData

        public AddDeviceData()
      • AddDeviceData

        public AddDeviceData​(AddDeviceData 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

      • getDeviceId

        public String getDeviceId()
        Get 设备iD 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        DeviceId 设备iD 注意:此字段可能返回 null,表示取不到有效值。
      • setDeviceId

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

        public String getCode()
        Get 设备编码(即我们为设备生成的20位国标编码) 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Code 设备编码(即我们为设备生成的20位国标编码) 注意:此字段可能返回 null,表示取不到有效值。
      • setCode

        public void setCode​(String Code)
        Set 设备编码(即我们为设备生成的20位国标编码) 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Code - 设备编码(即我们为设备生成的20位国标编码) 注意:此字段可能返回 null,表示取不到有效值。
      • getName

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

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

        public Long getAccessProtocol()
        Get 设备接入协议,1:RTMP,2:GB,3:GW 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        AccessProtocol 设备接入协议,1:RTMP,2:GB,3:GW 注意:此字段可能返回 null,表示取不到有效值。
      • setAccessProtocol

        public void setAccessProtocol​(Long AccessProtocol)
        Set 设备接入协议,1:RTMP,2:GB,3:GW 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        AccessProtocol - 设备接入协议,1:RTMP,2:GB,3:GW 注意:此字段可能返回 null,表示取不到有效值。
      • getType

        public Long getType()
        Get 设备类型,1:IPC,2:NVR 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Type 设备类型,1:IPC,2:NVR 注意:此字段可能返回 null,表示取不到有效值。
      • setType

        public void setType​(Long Type)
        Set 设备类型,1:IPC,2:NVR 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Type - 设备类型,1:IPC,2:NVR 注意:此字段可能返回 null,表示取不到有效值。
      • getClusterId

        public String getClusterId()
        Get 设备接入服务节点ID 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        ClusterId 设备接入服务节点ID 注意:此字段可能返回 null,表示取不到有效值。
      • setClusterId

        public void setClusterId​(String ClusterId)
        Set 设备接入服务节点ID 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        ClusterId - 设备接入服务节点ID 注意:此字段可能返回 null,表示取不到有效值。
      • getClusterName

        public String getClusterName()
        Get 设备接入服务节点名称 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        ClusterName 设备接入服务节点名称 注意:此字段可能返回 null,表示取不到有效值。
      • setClusterName

        public void setClusterName​(String ClusterName)
        Set 设备接入服务节点名称 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        ClusterName - 设备接入服务节点名称 注意:此字段可能返回 null,表示取不到有效值。
      • getTransportProtocol

        public Long getTransportProtocol()
        Get 设备流传输协议,1:UDP,2:TCP 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        TransportProtocol 设备流传输协议,1:UDP,2:TCP 注意:此字段可能返回 null,表示取不到有效值。
      • setTransportProtocol

        public void setTransportProtocol​(Long TransportProtocol)
        Set 设备流传输协议,1:UDP,2:TCP 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        TransportProtocol - 设备流传输协议,1:UDP,2:TCP 注意:此字段可能返回 null,表示取不到有效值。
      • getPassword

        public String getPassword()
        Get 设备密码 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Password 设备密码 注意:此字段可能返回 null,表示取不到有效值。
      • setPassword

        public void setPassword​(String Password)
        Set 设备密码 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Password - 设备密码 注意:此字段可能返回 null,表示取不到有效值。
      • getDescription

        public String getDescription()
        Get 设备描述 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Description 设备描述 注意:此字段可能返回 null,表示取不到有效值。
      • setDescription

        public void setDescription​(String Description)
        Set 设备描述 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Description - 设备描述 注意:此字段可能返回 null,表示取不到有效值。
      • getStatus

        public Long getStatus()
        Get 设备状态,0:未注册,1:在线,2:离线,3:禁用 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Status 设备状态,0:未注册,1:在线,2:离线,3:禁用 注意:此字段可能返回 null,表示取不到有效值。
      • setStatus

        public void setStatus​(Long Status)
        Set 设备状态,0:未注册,1:在线,2:离线,3:禁用 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Status - 设备状态,0:未注册,1:在线,2:离线,3:禁用 注意:此字段可能返回 null,表示取不到有效值。
      • getOrganizationId

        public Long getOrganizationId()
        Get 设备所属组织ID 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        OrganizationId 设备所属组织ID 注意:此字段可能返回 null,表示取不到有效值。
      • setOrganizationId

        public void setOrganizationId​(Long OrganizationId)
        Set 设备所属组织ID 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        OrganizationId - 设备所属组织ID 注意:此字段可能返回 null,表示取不到有效值。
      • getGatewayId

        public String getGatewayId()
        Get 设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        GatewayId 设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      • setGatewayId

        public void setGatewayId​(String GatewayId)
        Set 设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        GatewayId - 设备接入网关ID,从查询网关列表接口中获取(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      • getProtocolType

        public Long getProtocolType()
        Get 网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        ProtocolType 网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      • setProtocolType

        public void setProtocolType​(Long ProtocolType)
        Set 网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        ProtocolType - 网关接入协议类型,1.海康SDK,2.大华SDK,3.宇视SDK,4.Onvif(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      • getIp

        public String getIp()
        Get 设备接入IP(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Ip 设备接入IP(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      • setIp

        public void setIp​(String Ip)
        Set 设备接入IP(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Ip - 设备接入IP(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      • getPort

        public Long getPort()
        Get 设备Port(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Port 设备Port(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      • setPort

        public void setPort​(Long Port)
        Set 设备Port(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Port - 设备Port(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      • getUsername

        public String getUsername()
        Get 设备用户名(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        Username 设备用户名(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      • setUsername

        public void setUsername​(String Username)
        Set 设备用户名(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        Username - 设备用户名(仅网关接入需要) 注意:此字段可能返回 null,表示取不到有效值。
      • getAppId

        public Long getAppId()
        Get 用户ID 注意:此字段可能返回 null,表示取不到有效值。
        Returns:
        AppId 用户ID 注意:此字段可能返回 null,表示取不到有效值。
      • setAppId

        public void setAppId​(Long AppId)
        Set 用户ID 注意:此字段可能返回 null,表示取不到有效值。
        Parameters:
        AppId - 用户ID 注意:此字段可能返回 null,表示取不到有效值。