lib/v20210408/models.rb in tencentcloud-sdk-iotcloud-3.0.591 vs lib/v20210408/models.rb in tencentcloud-sdk-iotcloud-3.0.592

- old
+ new

@@ -2544,14 +2544,17 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type ClientIP: String # @param FirmwareUpdateTime: ota最后更新时间 # 注意:此字段可能返回 null,表示取不到有效值。 # @type FirmwareUpdateTime: Integer + # @param CreateUserId: 创建者 Uin + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type CreateUserId: Integer - attr_accessor :DeviceName, :Online, :LoginTime, :Version, :DeviceCert, :DevicePsk, :Tags, :DeviceType, :Imei, :Isp, :NbiotDeviceID, :ConnIP, :LastUpdateTime, :LoraDevEui, :LoraMoteType, :FirstOnlineTime, :LastOfflineTime, :CreateTime, :LogLevel, :CertState, :EnableState, :Labels, :ClientIP, :FirmwareUpdateTime + attr_accessor :DeviceName, :Online, :LoginTime, :Version, :DeviceCert, :DevicePsk, :Tags, :DeviceType, :Imei, :Isp, :NbiotDeviceID, :ConnIP, :LastUpdateTime, :LoraDevEui, :LoraMoteType, :FirstOnlineTime, :LastOfflineTime, :CreateTime, :LogLevel, :CertState, :EnableState, :Labels, :ClientIP, :FirmwareUpdateTime, :CreateUserId - def initialize(devicename=nil, online=nil, logintime=nil, version=nil, devicecert=nil, devicepsk=nil, tags=nil, devicetype=nil, imei=nil, isp=nil, nbiotdeviceid=nil, connip=nil, lastupdatetime=nil, loradeveui=nil, loramotetype=nil, firstonlinetime=nil, lastofflinetime=nil, createtime=nil, loglevel=nil, certstate=nil, enablestate=nil, labels=nil, clientip=nil, firmwareupdatetime=nil) + def initialize(devicename=nil, online=nil, logintime=nil, version=nil, devicecert=nil, devicepsk=nil, tags=nil, devicetype=nil, imei=nil, isp=nil, nbiotdeviceid=nil, connip=nil, lastupdatetime=nil, loradeveui=nil, loramotetype=nil, firstonlinetime=nil, lastofflinetime=nil, createtime=nil, loglevel=nil, certstate=nil, enablestate=nil, labels=nil, clientip=nil, firmwareupdatetime=nil, createuserid=nil) @DeviceName = devicename @Online = online @LoginTime = logintime @Version = version @DeviceCert = devicecert @@ -2572,10 +2575,11 @@ @CertState = certstate @EnableState = enablestate @Labels = labels @ClientIP = clientip @FirmwareUpdateTime = firmwareupdatetime + @CreateUserId = createuserid end def deserialize(params) @DeviceName = params['DeviceName'] @Online = params['Online'] @@ -2613,10 +2617,11 @@ @Labels << devicelabel_tmp end end @ClientIP = params['ClientIP'] @FirmwareUpdateTime = params['FirmwareUpdateTime'] + @CreateUserId = params['CreateUserId'] end end # 设备标签 class DeviceLabel < TencentCloud::Common::AbstractModel @@ -2936,30 +2941,40 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type Description: String # @param ProductId: 产品ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type ProductId: String + # @param FwType: 固件类型 + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type FwType: String + # @param CreateUserId: 创建者 Uin + # 注意:此字段可能返回 null,表示取不到有效值。 + # @type CreateUserId: Integer - attr_accessor :Version, :Md5sum, :CreateTime, :ProductName, :Name, :Description, :ProductId + attr_accessor :Version, :Md5sum, :CreateTime, :ProductName, :Name, :Description, :ProductId, :FwType, :CreateUserId - def initialize(version=nil, md5sum=nil, createtime=nil, productname=nil, name=nil, description=nil, productid=nil) + def initialize(version=nil, md5sum=nil, createtime=nil, productname=nil, name=nil, description=nil, productid=nil, fwtype=nil, createuserid=nil) @Version = version @Md5sum = md5sum @CreateTime = createtime @ProductName = productname @Name = name @Description = description @ProductId = productid + @FwType = fwtype + @CreateUserId = createuserid end def deserialize(params) @Version = params['Version'] @Md5sum = params['Md5sum'] @CreateTime = params['CreateTime'] @ProductName = params['ProductName'] @Name = params['Name'] @Description = params['Description'] @ProductId = params['ProductId'] + @FwType = params['FwType'] + @CreateUserId = params['CreateUserId'] end end # 固件升级任务信息 class FirmwareTaskInfo < TencentCloud::Common::AbstractModel