Class: TencentCloud::Iotexplorer::V20190423::CreateStudioProductRequest

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

Overview

CreateStudioProduct请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(productname = nil, categoryid = nil, producttype = nil, encryptiontype = nil, nettype = nil, dataprotocol = nil, productdesc = nil, projectid = nil, rate = nil, period = nil) ⇒ CreateStudioProductRequest

Returns a new instance of CreateStudioProductRequest.



2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
# File 'lib/v20190423/models.rb', line 2391

def initialize(productname=nil, categoryid=nil, producttype=nil, encryptiontype=nil, nettype=nil, dataprotocol=nil, productdesc=nil, projectid=nil, rate=nil, period=nil)
  @ProductName = productname
  @CategoryId = categoryid
  @ProductType = producttype
  @EncryptionType = encryptiontype
  @NetType = nettype
  @DataProtocol = dataprotocol
  @ProductDesc = productdesc
  @ProjectId = projectid
  @Rate = rate
  @Period = period
end

Instance Attribute Details

#CategoryIdObject

Parameters:

  • ProductName:
  • CategoryId:

    产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)

  • ProductType:

    产品类型 填写 ( 0 普通产品 , 5 网关产品)

  • EncryptionType:

    加密类型 ,1表示证书认证,2表示密钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式

  • NetType:

    连接类型 可以填写 wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh

  • DataProtocol:

    数据协议 (1 使用物模型 2 为自定义)

  • ProductDesc:

    产品描述

  • ProjectId:

    产品的项目ID

  • Rate:

    平均传输速率

  • Period:

    期限



2389
2390
2391
# File 'lib/v20190423/models.rb', line 2389

def CategoryId
  @CategoryId
end

#DataProtocolObject

Parameters:

  • ProductName:
  • CategoryId:

    产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)

  • ProductType:

    产品类型 填写 ( 0 普通产品 , 5 网关产品)

  • EncryptionType:

    加密类型 ,1表示证书认证,2表示密钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式

  • NetType:

    连接类型 可以填写 wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh

  • DataProtocol:

    数据协议 (1 使用物模型 2 为自定义)

  • ProductDesc:

    产品描述

  • ProjectId:

    产品的项目ID

  • Rate:

    平均传输速率

  • Period:

    期限



2389
2390
2391
# File 'lib/v20190423/models.rb', line 2389

def DataProtocol
  @DataProtocol
end

#EncryptionTypeObject

Parameters:

  • ProductName:
  • CategoryId:

    产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)

  • ProductType:

    产品类型 填写 ( 0 普通产品 , 5 网关产品)

  • EncryptionType:

    加密类型 ,1表示证书认证,2表示密钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式

  • NetType:

    连接类型 可以填写 wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh

  • DataProtocol:

    数据协议 (1 使用物模型 2 为自定义)

  • ProductDesc:

    产品描述

  • ProjectId:

    产品的项目ID

  • Rate:

    平均传输速率

  • Period:

    期限



2389
2390
2391
# File 'lib/v20190423/models.rb', line 2389

def EncryptionType
  @EncryptionType
end

#NetTypeObject

Parameters:

  • ProductName:
  • CategoryId:

    产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)

  • ProductType:

    产品类型 填写 ( 0 普通产品 , 5 网关产品)

  • EncryptionType:

    加密类型 ,1表示证书认证,2表示密钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式

  • NetType:

    连接类型 可以填写 wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh

  • DataProtocol:

    数据协议 (1 使用物模型 2 为自定义)

  • ProductDesc:

    产品描述

  • ProjectId:

    产品的项目ID

  • Rate:

    平均传输速率

  • Period:

    期限



2389
2390
2391
# File 'lib/v20190423/models.rb', line 2389

def NetType
  @NetType
end

#PeriodObject

Parameters:

  • ProductName:
  • CategoryId:

    产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)

  • ProductType:

    产品类型 填写 ( 0 普通产品 , 5 网关产品)

  • EncryptionType:

    加密类型 ,1表示证书认证,2表示密钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式

  • NetType:

    连接类型 可以填写 wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh

  • DataProtocol:

    数据协议 (1 使用物模型 2 为自定义)

  • ProductDesc:

    产品描述

  • ProjectId:

    产品的项目ID

  • Rate:

    平均传输速率

  • Period:

    期限



2389
2390
2391
# File 'lib/v20190423/models.rb', line 2389

def Period
  @Period
end

#ProductDescObject

Parameters:

  • ProductName:
  • CategoryId:

    产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)

  • ProductType:

    产品类型 填写 ( 0 普通产品 , 5 网关产品)

  • EncryptionType:

    加密类型 ,1表示证书认证,2表示密钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式

  • NetType:

    连接类型 可以填写 wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh

  • DataProtocol:

    数据协议 (1 使用物模型 2 为自定义)

  • ProductDesc:

    产品描述

  • ProjectId:

    产品的项目ID

  • Rate:

    平均传输速率

  • Period:

    期限



2389
2390
2391
# File 'lib/v20190423/models.rb', line 2389

def ProductDesc
  @ProductDesc
end

#ProductNameObject

Parameters:

  • ProductName:
  • CategoryId:

    产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)

  • ProductType:

    产品类型 填写 ( 0 普通产品 , 5 网关产品)

  • EncryptionType:

    加密类型 ,1表示证书认证,2表示密钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式

  • NetType:

    连接类型 可以填写 wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh

  • DataProtocol:

    数据协议 (1 使用物模型 2 为自定义)

  • ProductDesc:

    产品描述

  • ProjectId:

    产品的项目ID

  • Rate:

    平均传输速率

  • Period:

    期限



2389
2390
2391
# File 'lib/v20190423/models.rb', line 2389

def ProductName
  @ProductName
end

#ProductTypeObject

Parameters:

  • ProductName:
  • CategoryId:

    产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)

  • ProductType:

    产品类型 填写 ( 0 普通产品 , 5 网关产品)

  • EncryptionType:

    加密类型 ,1表示证书认证,2表示密钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式

  • NetType:

    连接类型 可以填写 wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh

  • DataProtocol:

    数据协议 (1 使用物模型 2 为自定义)

  • ProductDesc:

    产品描述

  • ProjectId:

    产品的项目ID

  • Rate:

    平均传输速率

  • Period:

    期限



2389
2390
2391
# File 'lib/v20190423/models.rb', line 2389

def ProductType
  @ProductType
end

#ProjectIdObject

Parameters:

  • ProductName:
  • CategoryId:

    产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)

  • ProductType:

    产品类型 填写 ( 0 普通产品 , 5 网关产品)

  • EncryptionType:

    加密类型 ,1表示证书认证,2表示密钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式

  • NetType:

    连接类型 可以填写 wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh

  • DataProtocol:

    数据协议 (1 使用物模型 2 为自定义)

  • ProductDesc:

    产品描述

  • ProjectId:

    产品的项目ID

  • Rate:

    平均传输速率

  • Period:

    期限



2389
2390
2391
# File 'lib/v20190423/models.rb', line 2389

def ProjectId
  @ProjectId
end

#RateObject

Parameters:

  • ProductName:
  • CategoryId:

    产品分组模板ID , ( 自定义模板填写1 , 控制台调用会使用预置的其他ID)

  • ProductType:

    产品类型 填写 ( 0 普通产品 , 5 网关产品)

  • EncryptionType:

    加密类型 ,1表示证书认证,2表示密钥认证,21表示TID认证-SE方式,22表示TID认证-软加固方式

  • NetType:

    连接类型 可以填写 wifi、wifi-ble、cellular、5g、lorawan、ble、ethernet、wifi-ethernet、else、sub_zigbee、sub_ble、sub_433mhz、sub_else、sub_blemesh

  • DataProtocol:

    数据协议 (1 使用物模型 2 为自定义)

  • ProductDesc:

    产品描述

  • ProjectId:

    产品的项目ID

  • Rate:

    平均传输速率

  • Period:

    期限



2389
2390
2391
# File 'lib/v20190423/models.rb', line 2389

def Rate
  @Rate
end

Instance Method Details

#deserialize(params) ⇒ Object



2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
# File 'lib/v20190423/models.rb', line 2404

def deserialize(params)
  @ProductName = params['ProductName']
  @CategoryId = params['CategoryId']
  @ProductType = params['ProductType']
  @EncryptionType = params['EncryptionType']
  @NetType = params['NetType']
  @DataProtocol = params['DataProtocol']
  @ProductDesc = params['ProductDesc']
  @ProjectId = params['ProjectId']
  @Rate = params['Rate']
  @Period = params['Period']
end