tencentcloud-sdk-iotexplorer 3.0.826 → 3.0.828

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c491cddab45d461aac593cbd954d042b65317820
4
- data.tar.gz: 227566e21d1360e9daf6168ad69bd86e1d50523b
3
+ metadata.gz: 56303738fc8782fe090439c4d55837116fe902ca
4
+ data.tar.gz: 5e8c26928fe059119f2208cdc7c907c65f84fbaf
5
5
  SHA512:
6
- metadata.gz: a262f759df260499f52a27948532bf3b0397e93a5c3b684fc8c3633bdec62e597773acbe320dcd908a2c444f3e8f4f268728a674a5d1b2d45bed80578fe84c64
7
- data.tar.gz: fd5c34361b29b247f4fa2c1107b357476e155eaea31648839eb045d36d7ed9b08f81ebedab0190e14c7ff81a14d73e78bb68b7c8585f4a38a6c6957db95b1941
6
+ metadata.gz: 5ed4f1c1d89dd3328e637f4e5c372e8bc8c2a5bef5efc1eb78ddde0a7a3f7ccc9df70922ced78afefb34246f926ed9a2353839a11bf53e29fbc5b549f71693a6
7
+ data.tar.gz: c18a3fb6adb53663fbe43860d2864403b593dfa8d16022b91010762e4a0ecd39d33aeb883d10ccebfcde4418506c7bf1abd1087cb2dff5121169d73695e6bc5d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.826
1
+ 3.0.828
@@ -3053,6 +3053,30 @@ module TencentCloud
3053
3053
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3054
3054
  end
3055
3055
 
3056
+ # 更新用户对设备的TweCall授权状态
3057
+
3058
+ # @param request: Request instance for UpdateDeviceTWeCallAuthorizeStatus.
3059
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::UpdateDeviceTWeCallAuthorizeStatusRequest`
3060
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::UpdateDeviceTWeCallAuthorizeStatusResponse`
3061
+ def UpdateDeviceTWeCallAuthorizeStatus(request)
3062
+ body = send_request('UpdateDeviceTWeCallAuthorizeStatus', request.serialize)
3063
+ response = JSON.parse(body)
3064
+ if response['Response'].key?('Error') == false
3065
+ model = UpdateDeviceTWeCallAuthorizeStatusResponse.new
3066
+ model.deserialize(response['Response'])
3067
+ model
3068
+ else
3069
+ code = response['Response']['Error']['Code']
3070
+ message = response['Response']['Error']['Message']
3071
+ reqid = response['Response']['RequestId']
3072
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3073
+ end
3074
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3075
+ raise e
3076
+ rescue StandardError => e
3077
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3078
+ end
3079
+
3056
3080
  # 批量禁用启用设备
3057
3081
 
3058
3082
  # @param request: Request instance for UpdateDevicesEnableState.
@@ -1184,10 +1184,14 @@ module TencentCloud
1184
1184
  # @type ProductDesc: String
1185
1185
  # @param ProjectId: 产品的项目ID
1186
1186
  # @type ProjectId: String
1187
+ # @param Rate: 平均传输速率
1188
+ # @type Rate: String
1189
+ # @param Period: 期限
1190
+ # @type Period: String
1187
1191
 
1188
- attr_accessor :ProductName, :CategoryId, :ProductType, :EncryptionType, :NetType, :DataProtocol, :ProductDesc, :ProjectId
1192
+ attr_accessor :ProductName, :CategoryId, :ProductType, :EncryptionType, :NetType, :DataProtocol, :ProductDesc, :ProjectId, :Rate, :Period
1189
1193
 
1190
- def initialize(productname=nil, categoryid=nil, producttype=nil, encryptiontype=nil, nettype=nil, dataprotocol=nil, productdesc=nil, projectid=nil)
1194
+ def initialize(productname=nil, categoryid=nil, producttype=nil, encryptiontype=nil, nettype=nil, dataprotocol=nil, productdesc=nil, projectid=nil, rate=nil, period=nil)
1191
1195
  @ProductName = productname
1192
1196
  @CategoryId = categoryid
1193
1197
  @ProductType = producttype
@@ -1196,6 +1200,8 @@ module TencentCloud
1196
1200
  @DataProtocol = dataprotocol
1197
1201
  @ProductDesc = productdesc
1198
1202
  @ProjectId = projectid
1203
+ @Rate = rate
1204
+ @Period = period
1199
1205
  end
1200
1206
 
1201
1207
  def deserialize(params)
@@ -1207,6 +1213,8 @@ module TencentCloud
1207
1213
  @DataProtocol = params['DataProtocol']
1208
1214
  @ProductDesc = params['ProductDesc']
1209
1215
  @ProjectId = params['ProjectId']
1216
+ @Rate = params['Rate']
1217
+ @Period = params['Period']
1210
1218
  end
1211
1219
  end
1212
1220
 
@@ -7349,10 +7357,16 @@ module TencentCloud
7349
7357
  # @param DeviceCount: 设备数量
7350
7358
  # 注意:此字段可能返回 null,表示取不到有效值。
7351
7359
  # @type DeviceCount: Integer
7360
+ # @param Rate: 平均传输速率
7361
+ # 注意:此字段可能返回 null,表示取不到有效值。
7362
+ # @type Rate: String
7363
+ # @param Period: 有效期
7364
+ # 注意:此字段可能返回 null,表示取不到有效值。
7365
+ # @type Period: String
7352
7366
 
7353
- attr_accessor :ProductId, :ProductName, :CategoryId, :EncryptionType, :NetType, :DataProtocol, :ProductDesc, :DevStatus, :CreateTime, :UpdateTime, :Region, :ProductType, :ProjectId, :ModuleId, :EnableProductScript, :CreateUserId, :CreatorNickName, :BindStrategy, :DeviceCount
7367
+ attr_accessor :ProductId, :ProductName, :CategoryId, :EncryptionType, :NetType, :DataProtocol, :ProductDesc, :DevStatus, :CreateTime, :UpdateTime, :Region, :ProductType, :ProjectId, :ModuleId, :EnableProductScript, :CreateUserId, :CreatorNickName, :BindStrategy, :DeviceCount, :Rate, :Period
7354
7368
 
7355
- 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)
7369
+ 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, rate=nil, period=nil)
7356
7370
  @ProductId = productid
7357
7371
  @ProductName = productname
7358
7372
  @CategoryId = categoryid
@@ -7372,6 +7386,8 @@ module TencentCloud
7372
7386
  @CreatorNickName = creatornickname
7373
7387
  @BindStrategy = bindstrategy
7374
7388
  @DeviceCount = devicecount
7389
+ @Rate = rate
7390
+ @Period = period
7375
7391
  end
7376
7392
 
7377
7393
  def deserialize(params)
@@ -7394,6 +7410,8 @@ module TencentCloud
7394
7410
  @CreatorNickName = params['CreatorNickName']
7395
7411
  @BindStrategy = params['BindStrategy']
7396
7412
  @DeviceCount = params['DeviceCount']
7413
+ @Rate = params['Rate']
7414
+ @Period = params['Period']
7397
7415
  end
7398
7416
  end
7399
7417
 
@@ -8377,6 +8395,50 @@ module TencentCloud
8377
8395
  end
8378
8396
  end
8379
8397
 
8398
+ # UpdateDeviceTWeCallAuthorizeStatus请求参数结构体
8399
+ class UpdateDeviceTWeCallAuthorizeStatusRequest < TencentCloud::Common::AbstractModel
8400
+ # @param Status: TweCall授权状态:0未授权,1已授权
8401
+ # @type Status: Integer
8402
+ # @param ProductId: 产品ID
8403
+ # @type ProductId: String
8404
+ # @param DeviceName: 设备名
8405
+ # @type DeviceName: String
8406
+ # @param WechatOpenId: 微信用户的openId
8407
+ # @type WechatOpenId: String
8408
+
8409
+ attr_accessor :Status, :ProductId, :DeviceName, :WechatOpenId
8410
+
8411
+ def initialize(status=nil, productid=nil, devicename=nil, wechatopenid=nil)
8412
+ @Status = status
8413
+ @ProductId = productid
8414
+ @DeviceName = devicename
8415
+ @WechatOpenId = wechatopenid
8416
+ end
8417
+
8418
+ def deserialize(params)
8419
+ @Status = params['Status']
8420
+ @ProductId = params['ProductId']
8421
+ @DeviceName = params['DeviceName']
8422
+ @WechatOpenId = params['WechatOpenId']
8423
+ end
8424
+ end
8425
+
8426
+ # UpdateDeviceTWeCallAuthorizeStatus返回参数结构体
8427
+ class UpdateDeviceTWeCallAuthorizeStatusResponse < TencentCloud::Common::AbstractModel
8428
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8429
+ # @type RequestId: String
8430
+
8431
+ attr_accessor :RequestId
8432
+
8433
+ def initialize(requestid=nil)
8434
+ @RequestId = requestid
8435
+ end
8436
+
8437
+ def deserialize(params)
8438
+ @RequestId = params['RequestId']
8439
+ end
8440
+ end
8441
+
8380
8442
  # UpdateDevicesEnableState请求参数结构体
8381
8443
  class UpdateDevicesEnableStateRequest < TencentCloud::Common::AbstractModel
8382
8444
  # @param DevicesItems: 多个设备标识
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-iotexplorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.826
4
+ version: 3.0.828
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-20 00:00:00.000000000 Z
11
+ date: 2024-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common