lib/v20190423/models.rb in tencentcloud-sdk-iotexplorer-3.0.762 vs lib/v20190423/models.rb in tencentcloud-sdk-iotexplorer-3.0.763
- old
+ new
@@ -4159,19 +4159,19 @@
# 实例信息
# 公共实例过期时间 0001-01-01T00:00:00Z,公共实例是永久有效
class InstanceDetail < TencentCloud::Common::AbstractModel
# @param InstanceId: 实例ID
# @type InstanceId: String
- # @param InstanceType: 实例类型(0 公共实例 1 标准企业实例 2专享企业实例)
+ # @param InstanceType: 实例类型(0 公共实例 1 标准企业实例 2新企业实例3新公共实例)
# @type InstanceType: Integer
# @param Region: 地域字母缩写
# @type Region: String
# @param ZoneId: 区域全拼
# @type ZoneId: String
# @param TotalDeviceNum: 支持设备总数
# @type TotalDeviceNum: Integer
- # @param UsedDeviceNum: 以注册设备数
+ # @param UsedDeviceNum: 已注册设备数
# @type UsedDeviceNum: Integer
# @param ProjectNum: 项目数
# @type ProjectNum: Integer
# @param ProductNum: 产品数
# @type ProductNum: Integer
@@ -4185,14 +4185,20 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type TotalDevice: Integer
# @param ActivateDevice: 激活设备数
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ActivateDevice: Integer
+ # @param Description: 备注
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Description: String
+ # @param Status: 实例状态
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Status: Integer
- attr_accessor :InstanceId, :InstanceType, :Region, :ZoneId, :TotalDeviceNum, :UsedDeviceNum, :ProjectNum, :ProductNum, :CreateTime, :UpdateTime, :ExpireTime, :TotalDevice, :ActivateDevice
+ attr_accessor :InstanceId, :InstanceType, :Region, :ZoneId, :TotalDeviceNum, :UsedDeviceNum, :ProjectNum, :ProductNum, :CreateTime, :UpdateTime, :ExpireTime, :TotalDevice, :ActivateDevice, :Description, :Status
- def initialize(instanceid=nil, instancetype=nil, region=nil, zoneid=nil, totaldevicenum=nil, useddevicenum=nil, projectnum=nil, productnum=nil, createtime=nil, updatetime=nil, expiretime=nil, totaldevice=nil, activatedevice=nil)
+ def initialize(instanceid=nil, instancetype=nil, region=nil, zoneid=nil, totaldevicenum=nil, useddevicenum=nil, projectnum=nil, productnum=nil, createtime=nil, updatetime=nil, expiretime=nil, totaldevice=nil, activatedevice=nil, description=nil, status=nil)
@InstanceId = instanceid
@InstanceType = instancetype
@Region = region
@ZoneId = zoneid
@TotalDeviceNum = totaldevicenum
@@ -4202,10 +4208,12 @@
@CreateTime = createtime
@UpdateTime = updatetime
@ExpireTime = expiretime
@TotalDevice = totaldevice
@ActivateDevice = activatedevice
+ @Description = description
+ @Status = status
end
def deserialize(params)
@InstanceId = params['InstanceId']
@InstanceType = params['InstanceType']
@@ -4218,10 +4226,12 @@
@CreateTime = params['CreateTime']
@UpdateTime = params['UpdateTime']
@ExpireTime = params['ExpireTime']
@TotalDevice = params['TotalDevice']
@ActivateDevice = params['ActivateDevice']
+ @Description = params['Description']
+ @Status = params['Status']
end
end
# ListEventHistory请求参数结构体
class ListEventHistoryRequest < TencentCloud::Common::AbstractModel
@@ -5304,14 +5314,17 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type CreatorNickName: String
# @param BindStrategy: 绑定策略(1:强踢;2:非强踢;0:表示无意义)
# 注意:此字段可能返回 null,表示取不到有效值。
# @type BindStrategy: Integer
+ # @param DeviceCount: 设备数量
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type DeviceCount: Integer
- attr_accessor :ProductId, :ProductName, :CategoryId, :EncryptionType, :NetType, :DataProtocol, :ProductDesc, :DevStatus, :CreateTime, :UpdateTime, :Region, :ProductType, :ProjectId, :ModuleId, :EnableProductScript, :CreateUserId, :CreatorNickName, :BindStrategy
+ attr_accessor :ProductId, :ProductName, :CategoryId, :EncryptionType, :NetType, :DataProtocol, :ProductDesc, :DevStatus, :CreateTime, :UpdateTime, :Region, :ProductType, :ProjectId, :ModuleId, :EnableProductScript, :CreateUserId, :CreatorNickName, :BindStrategy, :DeviceCount
- def initialize(productid=nil, productname=nil, categoryid=nil, encryptiontype=nil, nettype=nil, dataprotocol=nil, productdesc=nil, devstatus=nil, createtime=nil, updatetime=nil, region=nil, producttype=nil, projectid=nil, moduleid=nil, enableproductscript=nil, createuserid=nil, creatornickname=nil, bindstrategy=nil)
+ def initialize(productid=nil, productname=nil, categoryid=nil, encryptiontype=nil, nettype=nil, dataprotocol=nil, productdesc=nil, devstatus=nil, createtime=nil, updatetime=nil, region=nil, producttype=nil, projectid=nil, moduleid=nil, enableproductscript=nil, createuserid=nil, creatornickname=nil, bindstrategy=nil, devicecount=nil)
@ProductId = productid
@ProductName = productname
@CategoryId = categoryid
@EncryptionType = encryptiontype
@NetType = nettype
@@ -5326,10 +5339,11 @@
@ModuleId = moduleid
@EnableProductScript = enableproductscript
@CreateUserId = createuserid
@CreatorNickName = creatornickname
@BindStrategy = bindstrategy
+ @DeviceCount = devicecount
end
def deserialize(params)
@ProductId = params['ProductId']
@ProductName = params['ProductName']
@@ -5347,10 +5361,11 @@
@ModuleId = params['ModuleId']
@EnableProductScript = params['EnableProductScript']
@CreateUserId = params['CreateUserId']
@CreatorNickName = params['CreatorNickName']
@BindStrategy = params['BindStrategy']
+ @DeviceCount = params['DeviceCount']
end
end
# 产品模型定义
class ProductModelDefinition < TencentCloud::Common::AbstractModel
@@ -6225,30 +6240,34 @@
# @type FirmwareName: String
# @param FirmwareDescription: 固件描述
# @type FirmwareDescription: String
# @param FwType: 固件升级模块;可选值 mcu|moudule
# @type FwType: String
+ # @param FirmwareUserDefined: 固件用户自定义配置信息
+ # @type FirmwareUserDefined: String
- attr_accessor :ProductID, :FirmwareVersion, :Md5sum, :FileSize, :FirmwareName, :FirmwareDescription, :FwType
+ attr_accessor :ProductID, :FirmwareVersion, :Md5sum, :FileSize, :FirmwareName, :FirmwareDescription, :FwType, :FirmwareUserDefined
- def initialize(productid=nil, firmwareversion=nil, md5sum=nil, filesize=nil, firmwarename=nil, firmwaredescription=nil, fwtype=nil)
+ def initialize(productid=nil, firmwareversion=nil, md5sum=nil, filesize=nil, firmwarename=nil, firmwaredescription=nil, fwtype=nil, firmwareuserdefined=nil)
@ProductID = productid
@FirmwareVersion = firmwareversion
@Md5sum = md5sum
@FileSize = filesize
@FirmwareName = firmwarename
@FirmwareDescription = firmwaredescription
@FwType = fwtype
+ @FirmwareUserDefined = firmwareuserdefined
end
def deserialize(params)
@ProductID = params['ProductID']
@FirmwareVersion = params['FirmwareVersion']
@Md5sum = params['Md5sum']
@FileSize = params['FileSize']
@FirmwareName = params['FirmwareName']
@FirmwareDescription = params['FirmwareDescription']
@FwType = params['FwType']
+ @FirmwareUserDefined = params['FirmwareUserDefined']
end
end
# UploadFirmware返回参数结构体
class UploadFirmwareResponse < TencentCloud::Common::AbstractModel