Class: TencentCloud::Iotcloud::V20180614::ProductProperties

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180614/models.rb

Overview

产品属性

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productdescription = nil, encryptiontype = nil, region = nil, producttype = nil, format = nil, platform = nil, appeui = nil, modelid = nil, modelname = nil, productkey = nil, registertype = nil, productsecret = nil, registerlimit = nil) ⇒ ProductProperties

Returns a new instance of ProductProperties.



3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
# File 'lib/v20180614/models.rb', line 3585

def initialize(productdescription=nil, encryptiontype=nil, region=nil, producttype=nil, format=nil, platform=nil, appeui=nil, modelid=nil, modelname=nil, productkey=nil, registertype=nil, productsecret=nil, registerlimit=nil)
  @ProductDescription = productdescription
  @EncryptionType = encryptiontype
  @Region = region
  @ProductType = producttype
  @Format = format
  @Platform = platform
  @Appeui = appeui
  @ModelId = modelid
  @ModelName = modelname
  @ProductKey = productkey
  @RegisterType = registertype
  @ProductSecret = productsecret
  @RegisterLimit = registerlimit
end

Instance Attribute Details

#AppeuiObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def Appeui
  @Appeui
end

#EncryptionTypeObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def EncryptionType
  @EncryptionType
end

#FormatObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def Format
  @Format
end

#ModelIdObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def ModelId
  @ModelId
end

#ModelNameObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def ModelName
  @ModelName
end

#PlatformObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def Platform
  @Platform
end

#ProductDescriptionObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def ProductDescription
  @ProductDescription
end

#ProductKeyObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def ProductKey
  @ProductKey
end

#ProductSecretObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def ProductSecret
  @ProductSecret
end

#ProductTypeObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def ProductType
  @ProductType
end

#RegionObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def Region
  @Region
end

#RegisterLimitObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def RegisterLimit
  @RegisterLimit
end

#RegisterTypeObject

0 普通产品,2 NB-IoT产品,4 LoRa产品,3 LoRa网关产品,5 普通网关产品 默认值是0

Parameters:

  • ProductDescription:

    产品描述

  • EncryptionType:

    加密类型,1表示证书认证,2表示签名认证。如不填写,默认值是1

  • Region:

    产品所属区域,目前只支持广州(gz)

  • ProductType:

    产品类型,各个类型值代表的节点-类型如下:

  • Format:

    数据格式,取值为json或者custom,默认值是json

  • Platform:

    产品所属平台,默认值是0

  • Appeui:

    LoRa产品运营侧APPEUI,只有LoRa产品需要填写

  • ModelId:

    产品绑定的物模型ID,-1表示不绑定

  • ModelName:

    产品绑定的物模型名称

  • ProductKey:

    产品密钥,suite产品才会有

  • RegisterType:

    动态注册类型 0-关闭, 1-预定义设备名 2-动态定义设备名

  • ProductSecret:

    动态注册产品秘钥

  • RegisterLimit:

    RegisterType为2时,设备动态创建的限制数量



3583
3584
3585
# File 'lib/v20180614/models.rb', line 3583

def RegisterType
  @RegisterType
end

Instance Method Details

#deserialize(params) ⇒ Object



3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
# File 'lib/v20180614/models.rb', line 3601

def deserialize(params)
  @ProductDescription = params['ProductDescription']
  @EncryptionType = params['EncryptionType']
  @Region = params['Region']
  @ProductType = params['ProductType']
  @Format = params['Format']
  @Platform = params['Platform']
  @Appeui = params['Appeui']
  @ModelId = params['ModelId']
  @ModelName = params['ModelName']
  @ProductKey = params['ProductKey']
  @RegisterType = params['RegisterType']
  @ProductSecret = params['ProductSecret']
  @RegisterLimit = params['RegisterLimit']
end