tencentcloud-sdk-iotexplorer 3.0.975 → 3.0.976

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: d83253080653c1a9e099e2890125e07896981fd6
4
- data.tar.gz: 0bfed75b352ec57cd394232b76008ded131b5a8f
3
+ metadata.gz: 4f8d4ed2bc860b86f0607dff36ca157f62718ea8
4
+ data.tar.gz: a3e71fffc8a5e03d8c9f97f5849deb5921a2b717
5
5
  SHA512:
6
- metadata.gz: 1f02470af40aa733f8dd5db0f9bfffd1007f543f13af0f82d39ebe73409fe3aa65eca13f92bf0661780ca4d3dd1ca30c55235d8b390d01d1d6d464d80343ad96
7
- data.tar.gz: e84fe9f1a0ed4b359a51deb3c8e53851ebe4aa305fd13939e74a75608930a0741f1a3677b1e81b7a73638da72455cbce51e7ccbccfef68bdc41d03e60e203ecb
6
+ metadata.gz: bf21f4dc96fae3f4defdf703d6e53ba63a11c757bf5fd2541fcd414d3e5743ccdd0063f7e4b969e691f766165efbf368ba0b6e4753488afc5f6f9da017262f42
7
+ data.tar.gz: ffabae20cc04b6b04d8720ca7f584c3e49832d359a2876341617431e085d93494d48b8f399553041d232c6117b7a50cd1b673d93e39203ec933e2e2945b777f4
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.975
1
+ 3.0.976
@@ -3153,6 +3153,30 @@ module TencentCloud
3153
3153
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3154
3154
  end
3155
3155
 
3156
+ # 暂停设备
3157
+
3158
+ # @param request: Request instance for PauseTWeCallDevice.
3159
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::PauseTWeCallDeviceRequest`
3160
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::PauseTWeCallDeviceResponse`
3161
+ def PauseTWeCallDevice(request)
3162
+ body = send_request('PauseTWeCallDevice', request.serialize)
3163
+ response = JSON.parse(body)
3164
+ if response['Response'].key?('Error') == false
3165
+ model = PauseTWeCallDeviceResponse.new
3166
+ model.deserialize(response['Response'])
3167
+ model
3168
+ else
3169
+ code = response['Response']['Error']['Code']
3170
+ message = response['Response']['Error']['Message']
3171
+ reqid = response['Response']['RequestId']
3172
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3173
+ end
3174
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3175
+ raise e
3176
+ rescue StandardError => e
3177
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3178
+ end
3179
+
3156
3180
  # 发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。
3157
3181
 
3158
3182
  # 发布广播消息
@@ -3373,6 +3397,54 @@ module TencentCloud
3373
3397
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3374
3398
  end
3375
3399
 
3400
+ # 重置设备
3401
+
3402
+ # @param request: Request instance for ResetTWeCallDevice.
3403
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::ResetTWeCallDeviceRequest`
3404
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ResetTWeCallDeviceResponse`
3405
+ def ResetTWeCallDevice(request)
3406
+ body = send_request('ResetTWeCallDevice', request.serialize)
3407
+ response = JSON.parse(body)
3408
+ if response['Response'].key?('Error') == false
3409
+ model = ResetTWeCallDeviceResponse.new
3410
+ model.deserialize(response['Response'])
3411
+ model
3412
+ else
3413
+ code = response['Response']['Error']['Code']
3414
+ message = response['Response']['Error']['Message']
3415
+ reqid = response['Response']['RequestId']
3416
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3417
+ end
3418
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3419
+ raise e
3420
+ rescue StandardError => e
3421
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3422
+ end
3423
+
3424
+ # 恢复设备
3425
+
3426
+ # @param request: Request instance for ResumeWeCallDevice.
3427
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::ResumeWeCallDeviceRequest`
3428
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::ResumeWeCallDeviceResponse`
3429
+ def ResumeWeCallDevice(request)
3430
+ body = send_request('ResumeWeCallDevice', request.serialize)
3431
+ response = JSON.parse(body)
3432
+ if response['Response'].key?('Error') == false
3433
+ model = ResumeWeCallDeviceResponse.new
3434
+ model.deserialize(response['Response'])
3435
+ model
3436
+ else
3437
+ code = response['Response']['Error']['Code']
3438
+ message = response['Response']['Error']['Message']
3439
+ reqid = response['Response']['RequestId']
3440
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3441
+ end
3442
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3443
+ raise e
3444
+ rescue StandardError => e
3445
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3446
+ end
3447
+
3376
3448
  # 搜索位置空间
3377
3449
 
3378
3450
  # @param request: Request instance for SearchPositionSpace.
@@ -3469,6 +3541,30 @@ module TencentCloud
3469
3541
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3470
3542
  end
3471
3543
 
3544
+ # 转移设备
3545
+
3546
+ # @param request: Request instance for TransferTWeCallDevice.
3547
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::TransferTWeCallDeviceRequest`
3548
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::TransferTWeCallDeviceResponse`
3549
+ def TransferTWeCallDevice(request)
3550
+ body = send_request('TransferTWeCallDevice', request.serialize)
3551
+ response = JSON.parse(body)
3552
+ if response['Response'].key?('Error') == false
3553
+ model = TransferTWeCallDeviceResponse.new
3554
+ model.deserialize(response['Response'])
3555
+ model
3556
+ else
3557
+ code = response['Response']['Error']['Code']
3558
+ message = response['Response']['Error']['Message']
3559
+ reqid = response['Response']['RequestId']
3560
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3561
+ end
3562
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3563
+ raise e
3564
+ rescue StandardError => e
3565
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3566
+ end
3567
+
3472
3568
  # 批量解绑子设备
3473
3569
 
3474
3570
  # @param request: Request instance for UnbindDevices.
@@ -19,7 +19,7 @@ module TencentCloud
19
19
  module V20190423
20
20
  # ActivateTWeCallLicense请求参数结构体
21
21
  class ActivateTWeCallLicenseRequest < TencentCloud::Common::AbstractModel
22
- # @param PkgType: TWecall类型:1-家庭安防场景; 2-穿戴类场景; 3-生活娱乐场景; 4-对讲及其它场景
22
+ # @param PkgType: TWecall类型:0-体验套餐;1-家庭安防场景; 2-穿戴类场景; 3-生活娱乐场景; 4-对讲及其它场景
23
23
  # @type PkgType: Integer
24
24
  # @param MiniProgramAppId: 参数已弃用,不用传参
25
25
  # @type MiniProgramAppId: String
@@ -28,8 +28,8 @@ module TencentCloud
28
28
 
29
29
  attr_accessor :PkgType, :MiniProgramAppId, :DeviceList
30
30
  extend Gem::Deprecate
31
- deprecate :MiniProgramAppId, :none, 2024, 12
32
- deprecate :MiniProgramAppId=, :none, 2024, 12
31
+ deprecate :MiniProgramAppId, :none, 2025, 1
32
+ deprecate :MiniProgramAppId=, :none, 2025, 1
33
33
 
34
34
  def initialize(pkgtype=nil, miniprogramappid=nil, devicelist=nil)
35
35
  @PkgType = pkgtype
@@ -5122,8 +5122,8 @@ module TencentCloud
5122
5122
 
5123
5123
  attr_accessor :ModelId, :Sn, :ErrCode, :ExpireTime
5124
5124
  extend Gem::Deprecate
5125
- deprecate :ModelId, :none, 2024, 12
5126
- deprecate :ModelId=, :none, 2024, 12
5125
+ deprecate :ModelId, :none, 2025, 1
5126
+ deprecate :ModelId=, :none, 2025, 1
5127
5127
 
5128
5128
  def initialize(modelid=nil, sn=nil, errcode=nil, expiretime=nil)
5129
5129
  @ModelId = modelid
@@ -6744,8 +6744,8 @@ module TencentCloud
6744
6744
 
6745
6745
  attr_accessor :MiniProgramAppId, :DeviceList
6746
6746
  extend Gem::Deprecate
6747
- deprecate :MiniProgramAppId, :none, 2024, 12
6748
- deprecate :MiniProgramAppId=, :none, 2024, 12
6747
+ deprecate :MiniProgramAppId, :none, 2025, 1
6748
+ deprecate :MiniProgramAppId=, :none, 2025, 1
6749
6749
 
6750
6750
  def initialize(miniprogramappid=nil, devicelist=nil)
6751
6751
  @MiniProgramAppId = miniprogramappid
@@ -6807,8 +6807,8 @@ module TencentCloud
6807
6807
 
6808
6808
  attr_accessor :MiniProgramAppId, :PkgType, :Status, :Offset, :Limit
6809
6809
  extend Gem::Deprecate
6810
- deprecate :MiniProgramAppId, :none, 2024, 12
6811
- deprecate :MiniProgramAppId=, :none, 2024, 12
6810
+ deprecate :MiniProgramAppId, :none, 2025, 1
6811
+ deprecate :MiniProgramAppId=, :none, 2025, 1
6812
6812
 
6813
6813
  def initialize(miniprogramappid=nil, pkgtype=nil, status=nil, offset=nil, limit=nil)
6814
6814
  @MiniProgramAppId = miniprogramappid
@@ -8407,6 +8407,45 @@ module TencentCloud
8407
8407
  end
8408
8408
  end
8409
8409
 
8410
+ # PauseTWeCallDevice请求参数结构体
8411
+ class PauseTWeCallDeviceRequest < TencentCloud::Common::AbstractModel
8412
+ # @param DeviceList: 设备列表
8413
+ # @type DeviceList: Array
8414
+
8415
+ attr_accessor :DeviceList
8416
+
8417
+ def initialize(devicelist=nil)
8418
+ @DeviceList = devicelist
8419
+ end
8420
+
8421
+ def deserialize(params)
8422
+ unless params['DeviceList'].nil?
8423
+ @DeviceList = []
8424
+ params['DeviceList'].each do |i|
8425
+ twecallinfo_tmp = TWeCallInfo.new
8426
+ twecallinfo_tmp.deserialize(i)
8427
+ @DeviceList << twecallinfo_tmp
8428
+ end
8429
+ end
8430
+ end
8431
+ end
8432
+
8433
+ # PauseTWeCallDevice返回参数结构体
8434
+ class PauseTWeCallDeviceResponse < TencentCloud::Common::AbstractModel
8435
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8436
+ # @type RequestId: String
8437
+
8438
+ attr_accessor :RequestId
8439
+
8440
+ def initialize(requestid=nil)
8441
+ @RequestId = requestid
8442
+ end
8443
+
8444
+ def deserialize(params)
8445
+ @RequestId = params['RequestId']
8446
+ end
8447
+ end
8448
+
8410
8449
  # 围栏详细信息(包含创建时间及更新时间)
8411
8450
  class PositionFenceInfo < TencentCloud::Common::AbstractModel
8412
8451
  # @param GeoFence: 围栏信息
@@ -9223,6 +9262,84 @@ module TencentCloud
9223
9262
  end
9224
9263
  end
9225
9264
 
9265
+ # ResetTWeCallDevice请求参数结构体
9266
+ class ResetTWeCallDeviceRequest < TencentCloud::Common::AbstractModel
9267
+ # @param DeviceList: 设备列表
9268
+ # @type DeviceList: Array
9269
+
9270
+ attr_accessor :DeviceList
9271
+
9272
+ def initialize(devicelist=nil)
9273
+ @DeviceList = devicelist
9274
+ end
9275
+
9276
+ def deserialize(params)
9277
+ unless params['DeviceList'].nil?
9278
+ @DeviceList = []
9279
+ params['DeviceList'].each do |i|
9280
+ twecallinfo_tmp = TWeCallInfo.new
9281
+ twecallinfo_tmp.deserialize(i)
9282
+ @DeviceList << twecallinfo_tmp
9283
+ end
9284
+ end
9285
+ end
9286
+ end
9287
+
9288
+ # ResetTWeCallDevice返回参数结构体
9289
+ class ResetTWeCallDeviceResponse < TencentCloud::Common::AbstractModel
9290
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9291
+ # @type RequestId: String
9292
+
9293
+ attr_accessor :RequestId
9294
+
9295
+ def initialize(requestid=nil)
9296
+ @RequestId = requestid
9297
+ end
9298
+
9299
+ def deserialize(params)
9300
+ @RequestId = params['RequestId']
9301
+ end
9302
+ end
9303
+
9304
+ # ResumeWeCallDevice请求参数结构体
9305
+ class ResumeWeCallDeviceRequest < TencentCloud::Common::AbstractModel
9306
+ # @param DeviceList: 设备列表
9307
+ # @type DeviceList: Array
9308
+
9309
+ attr_accessor :DeviceList
9310
+
9311
+ def initialize(devicelist=nil)
9312
+ @DeviceList = devicelist
9313
+ end
9314
+
9315
+ def deserialize(params)
9316
+ unless params['DeviceList'].nil?
9317
+ @DeviceList = []
9318
+ params['DeviceList'].each do |i|
9319
+ twecallinfo_tmp = TWeCallInfo.new
9320
+ twecallinfo_tmp.deserialize(i)
9321
+ @DeviceList << twecallinfo_tmp
9322
+ end
9323
+ end
9324
+ end
9325
+ end
9326
+
9327
+ # ResumeWeCallDevice返回参数结构体
9328
+ class ResumeWeCallDeviceResponse < TencentCloud::Common::AbstractModel
9329
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9330
+ # @type RequestId: String
9331
+
9332
+ attr_accessor :RequestId
9333
+
9334
+ def initialize(requestid=nil)
9335
+ @RequestId = requestid
9336
+ end
9337
+
9338
+ def deserialize(params)
9339
+ @RequestId = params['RequestId']
9340
+ end
9341
+ end
9342
+
9226
9343
  # 搜索关键词
9227
9344
  class SearchKeyword < TencentCloud::Common::AbstractModel
9228
9345
  # @param Key: 搜索条件的Key
@@ -9477,8 +9594,8 @@ module TencentCloud
9477
9594
 
9478
9595
  attr_accessor :ModelId, :Sn, :ExpireTime, :PkgType
9479
9596
  extend Gem::Deprecate
9480
- deprecate :ModelId, :none, 2024, 12
9481
- deprecate :ModelId=, :none, 2024, 12
9597
+ deprecate :ModelId, :none, 2025, 1
9598
+ deprecate :ModelId=, :none, 2025, 1
9482
9599
 
9483
9600
  def initialize(modelid=nil, sn=nil, expiretime=nil, pkgtype=nil)
9484
9601
  @ModelId = modelid
@@ -9536,10 +9653,10 @@ module TencentCloud
9536
9653
 
9537
9654
  attr_accessor :Sn, :ModelId, :ActiveNum
9538
9655
  extend Gem::Deprecate
9539
- deprecate :ModelId, :none, 2024, 12
9540
- deprecate :ModelId=, :none, 2024, 12
9541
- deprecate :ActiveNum, :none, 2024, 12
9542
- deprecate :ActiveNum=, :none, 2024, 12
9656
+ deprecate :ModelId, :none, 2025, 1
9657
+ deprecate :ModelId=, :none, 2025, 1
9658
+ deprecate :ActiveNum, :none, 2025, 1
9659
+ deprecate :ActiveNum=, :none, 2025, 1
9543
9660
 
9544
9661
  def initialize(sn=nil, modelid=nil, activenum=nil)
9545
9662
  @Sn = sn
@@ -9826,6 +9943,42 @@ module TencentCloud
9826
9943
  end
9827
9944
  end
9828
9945
 
9946
+ # TransferTWeCallDevice请求参数结构体
9947
+ class TransferTWeCallDeviceRequest < TencentCloud::Common::AbstractModel
9948
+ # @param TransferInDevice: sn信息,product_deviceName
9949
+ # @type TransferInDevice: String
9950
+ # @param TransferOutDevice: sn信息,product_deviceName
9951
+ # @type TransferOutDevice: String
9952
+
9953
+ attr_accessor :TransferInDevice, :TransferOutDevice
9954
+
9955
+ def initialize(transferindevice=nil, transferoutdevice=nil)
9956
+ @TransferInDevice = transferindevice
9957
+ @TransferOutDevice = transferoutdevice
9958
+ end
9959
+
9960
+ def deserialize(params)
9961
+ @TransferInDevice = params['TransferInDevice']
9962
+ @TransferOutDevice = params['TransferOutDevice']
9963
+ end
9964
+ end
9965
+
9966
+ # TransferTWeCallDevice返回参数结构体
9967
+ class TransferTWeCallDeviceResponse < TencentCloud::Common::AbstractModel
9968
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
9969
+ # @type RequestId: String
9970
+
9971
+ attr_accessor :RequestId
9972
+
9973
+ def initialize(requestid=nil)
9974
+ @RequestId = requestid
9975
+ end
9976
+
9977
+ def deserialize(params)
9978
+ @RequestId = params['RequestId']
9979
+ end
9980
+ end
9981
+
9829
9982
  # UnbindDevices请求参数结构体
9830
9983
  class UnbindDevicesRequest < TencentCloud::Common::AbstractModel
9831
9984
  # @param GatewayProductId: 网关设备的产品ID
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.975
4
+ version: 3.0.976
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-05 00:00:00.000000000 Z
11
+ date: 2025-01-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common