Class AddProductRequest

    • Constructor Detail

      • AddProductRequest

        public AddProductRequest()
      • AddProductRequest

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

      • getName

        public String getName()
        Get 产品名称,同一区域产品名称需唯一,支持中文、英文字母、中划线和下划线,长度不超过31个字符,中文占两个字符
        Returns:
        Name 产品名称,同一区域产品名称需唯一,支持中文、英文字母、中划线和下划线,长度不超过31个字符,中文占两个字符
      • setName

        public void setName​(String Name)
        Set 产品名称,同一区域产品名称需唯一,支持中文、英文字母、中划线和下划线,长度不超过31个字符,中文占两个字符
        Parameters:
        Name - 产品名称,同一区域产品名称需唯一,支持中文、英文字母、中划线和下划线,长度不超过31个字符,中文占两个字符
      • getDescription

        public String getDescription()
        Get 产品描述
        Returns:
        Description 产品描述
      • setDescription

        public void setDescription​(String Description)
        Set 产品描述
        Parameters:
        Description - 产品描述
      • getDataTemplate

        public DataTemplate[] getDataTemplate()
        Get 数据模版
        Returns:
        DataTemplate 数据模版
      • setDataTemplate

        public void setDataTemplate​(DataTemplate[] DataTemplate)
        Set 数据模版
        Parameters:
        DataTemplate - 数据模版
      • getDataProtocol

        public String getDataProtocol()
        Get 产品版本(native表示基础版,template表示高级版,默认值为template)
        Returns:
        DataProtocol 产品版本(native表示基础版,template表示高级版,默认值为template)
      • setDataProtocol

        public void setDataProtocol​(String DataProtocol)
        Set 产品版本(native表示基础版,template表示高级版,默认值为template)
        Parameters:
        DataProtocol - 产品版本(native表示基础版,template表示高级版,默认值为template)
      • getAuthType

        public Long getAuthType()
        Get 设备认证方式(1:动态令牌,2:签名直连鉴权)
        Returns:
        AuthType 设备认证方式(1:动态令牌,2:签名直连鉴权)
      • setAuthType

        public void setAuthType​(Long AuthType)
        Set 设备认证方式(1:动态令牌,2:签名直连鉴权)
        Parameters:
        AuthType - 设备认证方式(1:动态令牌,2:签名直连鉴权)
      • getCommProtocol

        public String getCommProtocol()
        Get 通信方式(other/wifi/cellular/nb-iot)
        Returns:
        CommProtocol 通信方式(other/wifi/cellular/nb-iot)
      • setCommProtocol

        public void setCommProtocol​(String CommProtocol)
        Set 通信方式(other/wifi/cellular/nb-iot)
        Parameters:
        CommProtocol - 通信方式(other/wifi/cellular/nb-iot)
      • getDeviceType

        public String getDeviceType()
        Get 产品的设备类型(device: 直连设备;sub_device:子设备;gateway:网关设备)
        Returns:
        DeviceType 产品的设备类型(device: 直连设备;sub_device:子设备;gateway:网关设备)
      • setDeviceType

        public void setDeviceType​(String DeviceType)
        Set 产品的设备类型(device: 直连设备;sub_device:子设备;gateway:网关设备)
        Parameters:
        DeviceType - 产品的设备类型(device: 直连设备;sub_device:子设备;gateway:网关设备)