lib/v20210408/models.rb in tencentcloud-sdk-iotcloud-3.0.631 vs lib/v20210408/models.rb in tencentcloud-sdk-iotcloud-3.0.632

- old
+ new

@@ -248,22 +248,28 @@ # @type Scene: String # @param Time: 日志时间 # @type Time: String # @param Userid: 腾讯云账号 # @type Userid: String + # @param UserId: 腾讯云账号 + # @type UserId: String - attr_accessor :Content, :DeviceName, :ProductId, :RequestId, :Result, :Scene, :Time, :Userid + attr_accessor :Content, :DeviceName, :ProductId, :RequestId, :Result, :Scene, :Time, :Userid, :UserId + extend Gem::Deprecate + deprecate :Userid, :none, 2023, 8 + deprecate :Userid=, :none, 2023, 8 - def initialize(content=nil, devicename=nil, productid=nil, requestid=nil, result=nil, scene=nil, time=nil, userid=nil) + def initialize(content=nil, devicename=nil, productid=nil, requestid=nil, result=nil, scene=nil, time=nil, userid=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'] @DeviceName = params['DeviceName'] @@ -271,10 +277,11 @@ @RequestId = params['RequestId'] @Result = params['Result'] @Scene = params['Scene'] @Time = params['Time'] @Userid = params['Userid'] + @UserId = params['UserId'] end end # CancelDeviceFirmwareTask请求参数结构体 class CancelDeviceFirmwareTaskRequest < TencentCloud::Common::AbstractModel @@ -1176,11 +1183,11 @@ # DescribeDevice返回参数结构体 class DescribeDeviceResponse < TencentCloud::Common::AbstractModel # @param DeviceName: 设备名 # @type DeviceName: String - # @param Online: 设备是否在线,0不在线,1在线 + # @param Online: 设备是否在线,0不在线,1在线,3未激活 # @type Online: Integer # @param LoginTime: 设备登录时间 # @type LoginTime: Integer # @param Version: 设备固件版本 # @type Version: String @@ -1234,16 +1241,21 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type FirmwareUpdateTime: Integer # @param CreateUserId: 创建者账号ID # 注意:此字段可能返回 null,表示取不到有效值。 # @type CreateUserId: Integer + # @param NBIoTDeviceID: NB IoT运营商处的DeviceID + # @type NBIoTDeviceID: String # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 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, :RequestId + 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, 2023, 8 + deprecate :NbiotDeviceID=, :none, 2023, 8 - 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, 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, 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) @DeviceName = devicename @Online = online @LoginTime = logintime @Version = version @LastUpdateTime = lastupdatetime @@ -1265,10 +1277,11 @@ @EnableState = enablestate @Labels = labels @ClientIP = clientip @FirmwareUpdateTime = firmwareupdatetime @CreateUserId = createuserid + @NBIoTDeviceID = nbiotdeviceid @RequestId = requestid end def deserialize(params) @DeviceName = params['DeviceName'] @@ -1308,10 +1321,11 @@ end end @ClientIP = params['ClientIP'] @FirmwareUpdateTime = params['FirmwareUpdateTime'] @CreateUserId = params['CreateUserId'] + @NBIoTDeviceID = params['NBIoTDeviceID'] @RequestId = params['RequestId'] end end # DescribeDeviceShadow请求参数结构体 @@ -2547,14 +2561,19 @@ # 注意:此字段可能返回 null,表示取不到有效值。 # @type FirmwareUpdateTime: Integer # @param CreateUserId: 创建者 Uin # 注意:此字段可能返回 null,表示取不到有效值。 # @type CreateUserId: Integer + # @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 + 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, 2023, 8 + deprecate :NbiotDeviceID=, :none, 2023, 8 - 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) + 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) @DeviceName = devicename @Online = online @LoginTime = logintime @Version = version @DeviceCert = devicecert @@ -2576,10 +2595,11 @@ @EnableState = enablestate @Labels = labels @ClientIP = clientip @FirmwareUpdateTime = firmwareupdatetime @CreateUserId = createuserid + @NBIoTDeviceID = nbiotdeviceid end def deserialize(params) @DeviceName = params['DeviceName'] @Online = params['Online'] @@ -2618,10 +2638,11 @@ end end @ClientIP = params['ClientIP'] @FirmwareUpdateTime = params['FirmwareUpdateTime'] @CreateUserId = params['CreateUserId'] + @NBIoTDeviceID = params['NBIoTDeviceID'] end end # 设备标签 class DeviceLabel < TencentCloud::Common::AbstractModel @@ -3599,14 +3620,19 @@ # @type OriginUserId: Integer # @param DeviceLimit: 设备限制 # @type DeviceLimit: Integer # @param ForbiddenStatus: 产品禁用状态 # @type ForbiddenStatus: Integer + # @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 + 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, 2023, 8 + deprecate :Appeui=, :none, 2023, 8 - 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) + 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) @ProductDescription = productdescription @EncryptionType = encryptiontype @Region = region @ProductType = producttype @Format = format @@ -3621,10 +3647,11 @@ @OriginProductId = originproductid @PrivateCAName = privatecaname @OriginUserId = originuserid @DeviceLimit = devicelimit @ForbiddenStatus = forbiddenstatus + @AppEUI = appeui end def deserialize(params) @ProductDescription = params['ProductDescription'] @EncryptionType = params['EncryptionType'] @@ -3642,9 +3669,10 @@ @OriginProductId = params['OriginProductId'] @PrivateCAName = params['PrivateCAName'] @OriginUserId = params['OriginUserId'] @DeviceLimit = params['DeviceLimit'] @ForbiddenStatus = params['ForbiddenStatus'] + @AppEUI = params['AppEUI'] end end # 产品资源详细信息 class ProductResourceInfo < TencentCloud::Common::AbstractModel