lib/v20210408/models.rb in tencentcloud-sdk-iotcloud-3.0.836 vs lib/v20210408/models.rb in tencentcloud-sdk-iotcloud-3.0.837
- old
+ new
@@ -257,12 +257,12 @@
# @param UserId: 腾讯云账号
# @type UserId: String
attr_accessor :Content, :DeviceName, :ProductId, :RequestId, :Result, :Scene, :Time, :Userid, :UserId
extend Gem::Deprecate
- deprecate :Userid, :none, 2024, 3
- deprecate :Userid=, :none, 2024, 3
+ deprecate :Userid, :none, 2024, 6
+ deprecate :Userid=, :none, 2024, 6
def initialize(content=nil, devicename=nil, productid=nil, requestid=nil, result=nil, scene=nil, time=nil, userid=nil)
@Content = content
@DeviceName = devicename
@ProductId = productid
@@ -1250,12 +1250,12 @@
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
attr_accessor :DeviceName, :Online, :LoginTime, :Version, :LastUpdateTime, :DeviceCert, :DevicePsk, :Tags, :DeviceType, :Imei, :Isp, :ConnIP, :NbiotDeviceID, :LoraDevEui, :LoraMoteType, :LogLevel, :FirstOnlineTime, :LastOfflineTime, :CreateTime, :CertState, :EnableState, :Labels, :ClientIP, :FirmwareUpdateTime, :CreateUserId, :NBIoTDeviceID, :RequestId
extend Gem::Deprecate
- deprecate :NbiotDeviceID, :none, 2024, 3
- deprecate :NbiotDeviceID=, :none, 2024, 3
+ deprecate :NbiotDeviceID, :none, 2024, 6
+ deprecate :NbiotDeviceID=, :none, 2024, 6
def initialize(devicename=nil, online=nil, logintime=nil, version=nil, lastupdatetime=nil, devicecert=nil, devicepsk=nil, tags=nil, devicetype=nil, imei=nil, isp=nil, connip=nil, loradeveui=nil, loramotetype=nil, loglevel=nil, firstonlinetime=nil, lastofflinetime=nil, createtime=nil, certstate=nil, enablestate=nil, labels=nil, clientip=nil, firmwareupdatetime=nil, createuserid=nil, nbiotdeviceid=nil, requestid=nil)
@DeviceName = devicename
@Online = online
@LoginTime = logintime
@@ -1475,24 +1475,28 @@
# @type Createtime: Integer
# @param ProductName: 产品名称
# @type ProductName: String
# @param FwType: 固件类型。选项:mcu、module
# @type FwType: String
+ # @param UserDefined: 固件用户自定义配置信息
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type UserDefined: String
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
# @type RequestId: String
- attr_accessor :Version, :ProductId, :Name, :Description, :Md5sum, :Createtime, :ProductName, :FwType, :RequestId
+ attr_accessor :Version, :ProductId, :Name, :Description, :Md5sum, :Createtime, :ProductName, :FwType, :UserDefined, :RequestId
- def initialize(version=nil, productid=nil, name=nil, description=nil, md5sum=nil, createtime=nil, productname=nil, fwtype=nil, requestid=nil)
+ def initialize(version=nil, productid=nil, name=nil, description=nil, md5sum=nil, createtime=nil, productname=nil, fwtype=nil, userdefined=nil, requestid=nil)
@Version = version
@ProductId = productid
@Name = name
@Description = description
@Md5sum = md5sum
@Createtime = createtime
@ProductName = productname
@FwType = fwtype
+ @UserDefined = userdefined
@RequestId = requestid
end
def deserialize(params)
@Version = params['Version']
@@ -1501,10 +1505,11 @@
@Description = params['Description']
@Md5sum = params['Md5sum']
@Createtime = params['Createtime']
@ProductName = params['ProductName']
@FwType = params['FwType']
+ @UserDefined = params['UserDefined']
@RequestId = params['RequestId']
end
end
# DescribeFirmwareTaskDevices请求参数结构体
@@ -2566,12 +2571,12 @@
# @param NBIoTDeviceID: NB IOT运营商处的DeviceID
# @type NBIoTDeviceID: String
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, :NBIoTDeviceID
extend Gem::Deprecate
- deprecate :NbiotDeviceID, :none, 2024, 3
- deprecate :NbiotDeviceID=, :none, 2024, 3
+ deprecate :NbiotDeviceID, :none, 2024, 6
+ deprecate :NbiotDeviceID=, :none, 2024, 6
def initialize(devicename=nil, online=nil, logintime=nil, version=nil, devicecert=nil, devicepsk=nil, tags=nil, devicetype=nil, imei=nil, isp=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, nbiotdeviceid=nil)
@DeviceName = devicename
@Online = online
@LoginTime = logintime
@@ -2970,23 +2975,27 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type FwType: String
# @param CreateUserId: 创建者 Uin
# 注意:此字段可能返回 null,表示取不到有效值。
# @type CreateUserId: Integer
+ # @param UserDefined: 固件用户自定义配置信息
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type UserDefined: String
- attr_accessor :Version, :Md5sum, :CreateTime, :ProductName, :Name, :Description, :ProductId, :FwType, :CreateUserId
+ attr_accessor :Version, :Md5sum, :CreateTime, :ProductName, :Name, :Description, :ProductId, :FwType, :CreateUserId, :UserDefined
- def initialize(version=nil, md5sum=nil, createtime=nil, productname=nil, name=nil, description=nil, productid=nil, fwtype=nil, createuserid=nil)
+ def initialize(version=nil, md5sum=nil, createtime=nil, productname=nil, name=nil, description=nil, productid=nil, fwtype=nil, createuserid=nil, userdefined=nil)
@Version = version
@Md5sum = md5sum
@CreateTime = createtime
@ProductName = productname
@Name = name
@Description = description
@ProductId = productid
@FwType = fwtype
@CreateUserId = createuserid
+ @UserDefined = userdefined
end
def deserialize(params)
@Version = params['Version']
@Md5sum = params['Md5sum']
@@ -2995,10 +3004,11 @@
@Name = params['Name']
@Description = params['Description']
@ProductId = params['ProductId']
@FwType = params['FwType']
@CreateUserId = params['CreateUserId']
+ @UserDefined = params['UserDefined']
end
end
# 固件升级任务信息
class FirmwareTaskInfo < TencentCloud::Common::AbstractModel
@@ -3627,11 +3637,11 @@
# @param AppEUI: LoRa产品运营侧APPEUI,只有LoRa产品需要填写
# @type AppEUI: String
attr_accessor :ProductDescription, :EncryptionType, :Region, :ProductType, :Format, :Platform, :Appeui, :ModelId, :ModelName, :ProductKey, :RegisterType, :ProductSecret, :RegisterLimit, :OriginProductId, :PrivateCAName, :OriginUserId, :DeviceLimit, :ForbiddenStatus, :AppEUI
extend Gem::Deprecate
- deprecate :Appeui, :none, 2024, 3
- deprecate :Appeui=, :none, 2024, 3
+ deprecate :Appeui, :none, 2024, 6
+ deprecate :Appeui=, :none, 2024, 6
def initialize(productdescription=nil, encryptiontype=nil, region=nil, producttype=nil, format=nil, platform=nil, modelid=nil, modelname=nil, productkey=nil, registertype=nil, productsecret=nil, registerlimit=nil, originproductid=nil, privatecaname=nil, originuserid=nil, devicelimit=nil, forbiddenstatus=nil, appeui=nil)
@ProductDescription = productdescription
@EncryptionType = encryptiontype
@Region = region