lib/v20210408/models.rb in tencentcloud-sdk-iotcloud-3.0.766 vs lib/v20210408/models.rb in tencentcloud-sdk-iotcloud-3.0.767
- old
+ new
@@ -260,19 +260,18 @@
attr_accessor :Content, :DeviceName, :ProductId, :RequestId, :Result, :Scene, :Time, :Userid, :UserId
extend Gem::Deprecate
deprecate :Userid, :none, 2024, 1
deprecate :Userid=, :none, 2024, 1
- def initialize(content=nil, devicename=nil, productid=nil, requestid=nil, result=nil, scene=nil, time=nil, userid=nil, userid=nil)
+ def initialize(content=nil, devicename=nil, productid=nil, requestid=nil, result=nil, scene=nil, time=nil, userid=nil)
@Content = content
@DeviceName = devicename
@ProductId = productid
@RequestId = requestid
@Result = result
@Scene = scene
@Time = time
- @Userid = userid
@UserId = userid
end
def deserialize(params)
@Content = params['Content']
@@ -280,11 +279,10 @@
@ProductId = params['ProductId']
@RequestId = params['RequestId']
@Result = params['Result']
@Scene = params['Scene']
@Time = params['Time']
- @Userid = params['Userid']
@UserId = params['UserId']
end
end
# CancelDeviceFirmwareTask请求参数结构体
@@ -1255,11 +1253,11 @@
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, 1
deprecate :NbiotDeviceID=, :none, 2024, 1
- 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, nbiotdeviceid=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)
+ 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
@Version = version
@LastUpdateTime = lastupdatetime
@@ -1268,11 +1266,10 @@
@Tags = tags
@DeviceType = devicetype
@Imei = imei
@Isp = isp
@ConnIP = connip
- @NbiotDeviceID = nbiotdeviceid
@LoraDevEui = loradeveui
@LoraMoteType = loramotetype
@LogLevel = loglevel
@FirstOnlineTime = firstonlinetime
@LastOfflineTime = lastofflinetime
@@ -1305,11 +1302,10 @@
end
@DeviceType = params['DeviceType']
@Imei = params['Imei']
@Isp = params['Isp']
@ConnIP = params['ConnIP']
- @NbiotDeviceID = params['NbiotDeviceID']
@LoraDevEui = params['LoraDevEui']
@LoraMoteType = params['LoraMoteType']
@LogLevel = params['LogLevel']
@FirstOnlineTime = params['FirstOnlineTime']
@LastOfflineTime = params['LastOfflineTime']
@@ -2573,22 +2569,21 @@
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, 1
deprecate :NbiotDeviceID=, :none, 2024, 1
- 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, nbiotdeviceid=nil)
+ 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
@Version = version
@DeviceCert = devicecert
@DevicePsk = devicepsk
@Tags = tags
@DeviceType = devicetype
@Imei = imei
@Isp = isp
- @NbiotDeviceID = nbiotdeviceid
@ConnIP = connip
@LastUpdateTime = lastupdatetime
@LoraDevEui = loradeveui
@LoraMoteType = loramotetype
@FirstOnlineTime = firstonlinetime
@@ -2620,11 +2615,10 @@
end
end
@DeviceType = params['DeviceType']
@Imei = params['Imei']
@Isp = params['Isp']
- @NbiotDeviceID = params['NbiotDeviceID']
@ConnIP = params['ConnIP']
@LastUpdateTime = params['LastUpdateTime']
@LoraDevEui = params['LoraDevEui']
@LoraMoteType = params['LoraMoteType']
@FirstOnlineTime = params['FirstOnlineTime']
@@ -3636,18 +3630,17 @@
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, 1
deprecate :Appeui=, :none, 2024, 1
- 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, originproductid=nil, privatecaname=nil, originuserid=nil, devicelimit=nil, forbiddenstatus=nil, appeui=nil)
+ 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
@ProductType = producttype
@Format = format
@Platform = platform
- @Appeui = appeui
@ModelId = modelid
@ModelName = modelname
@ProductKey = productkey
@RegisterType = registertype
@ProductSecret = productsecret
@@ -3665,10 +3658,9 @@
@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']