tencentcloud-sdk-iotexplorer 3.0.676 → 3.0.678

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c5c917241f3d6f6f69857166abd72ea63fc2172d
4
- data.tar.gz: 9bc945aa1bd3c05de0e0b68b4aea008780443854
3
+ metadata.gz: d99833c4bd3086f318a97aa4ff2c30aaf5001132
4
+ data.tar.gz: 8c77accae0397f6ba7d64deff6548e5dcebf5622
5
5
  SHA512:
6
- metadata.gz: 00e7e2b59c9a145a5bcc2e6af7fc79bd8fa18703730fdcd29983477a112e470570dbf4296fba448b26895ce07e3316db1e01edc09c7d3a33ad6c524b4ee8bd3f
7
- data.tar.gz: aa331c16f6996a94126b7b5ebda448c2d782bae4b3be90013d2e836c5615e9bd006912b21fff0bf0fbf4126b5435aa009c48165895eb34493fd735aeda0f33da
6
+ metadata.gz: 7e30dfdbf07e74417d207c00bc55284d48c6f0a12fca3811293e13c3285eddc74880105168f807851ed353cb569c96941cb5a4be8ec5a03d312739ee3e399891
7
+ data.tar.gz: fead074ebd2ab2d8c759bf06254497e6e5648904c65ced8c94fc9697ad900fd17f26fd12c514cba5c53a3a0f0594096d8771f7bfd71e203794ccfedac6f094e2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.676
1
+ 3.0.678
@@ -1421,6 +1421,30 @@ module TencentCloud
1421
1421
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1422
1422
  end
1423
1423
 
1424
+ # 拉取设备统计汇总数据
1425
+
1426
+ # @param request: Request instance for GetDeviceSumStatistics.
1427
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::GetDeviceSumStatisticsRequest`
1428
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::GetDeviceSumStatisticsResponse`
1429
+ def GetDeviceSumStatistics(request)
1430
+ body = send_request('GetDeviceSumStatistics', request.serialize)
1431
+ response = JSON.parse(body)
1432
+ if response['Response'].key?('Error') == false
1433
+ model = GetDeviceSumStatisticsResponse.new
1434
+ model.deserialize(response['Response'])
1435
+ model
1436
+ else
1437
+ code = response['Response']['Error']['Code']
1438
+ message = response['Response']['Error']['Message']
1439
+ reqid = response['Response']['RequestId']
1440
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1441
+ end
1442
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1443
+ raise e
1444
+ rescue StandardError => e
1445
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1446
+ end
1447
+
1424
1448
  # 用于获取设备绑定的用户列表
1425
1449
 
1426
1450
  # @param request: Request instance for GetFamilyDeviceUserList.
@@ -3687,6 +3687,74 @@ module TencentCloud
3687
3687
  end
3688
3688
  end
3689
3689
 
3690
+ # GetDeviceSumStatistics请求参数结构体
3691
+ class GetDeviceSumStatisticsRequest < TencentCloud::Common::AbstractModel
3692
+ # @param ProjectId: 项目id
3693
+ # @type ProjectId: String
3694
+ # @param ProductIds: 产品id列表,长度为0则拉取项目内全部产品
3695
+ # @type ProductIds: Array
3696
+
3697
+ attr_accessor :ProjectId, :ProductIds
3698
+
3699
+ def initialize(projectid=nil, productids=nil)
3700
+ @ProjectId = projectid
3701
+ @ProductIds = productids
3702
+ end
3703
+
3704
+ def deserialize(params)
3705
+ @ProjectId = params['ProjectId']
3706
+ @ProductIds = params['ProductIds']
3707
+ end
3708
+ end
3709
+
3710
+ # GetDeviceSumStatistics返回参数结构体
3711
+ class GetDeviceSumStatisticsResponse < TencentCloud::Common::AbstractModel
3712
+ # @param ActivationCount: 激活设备总数
3713
+ # @type ActivationCount: Integer
3714
+ # @param OnlineCount: 在线设备总数
3715
+ # @type OnlineCount: Integer
3716
+ # @param ActivationBeforeDay: 前一天激活设备数
3717
+ # @type ActivationBeforeDay: Integer
3718
+ # @param ActiveBeforeDay: 前一天活跃设备数
3719
+ # @type ActiveBeforeDay: Integer
3720
+ # @param ActivationWeekDayCount: 前一周激活设备数
3721
+ # @type ActivationWeekDayCount: Integer
3722
+ # @param ActiveWeekDayCount: 前一周活跃设备数
3723
+ # @type ActiveWeekDayCount: Integer
3724
+ # @param ActivationBeforeWeekDayCount: 上一周激活设备数
3725
+ # @type ActivationBeforeWeekDayCount: Integer
3726
+ # @param ActiveBeforeWeekDayCount: 上一周活跃设备数
3727
+ # @type ActiveBeforeWeekDayCount: Integer
3728
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3729
+ # @type RequestId: String
3730
+
3731
+ attr_accessor :ActivationCount, :OnlineCount, :ActivationBeforeDay, :ActiveBeforeDay, :ActivationWeekDayCount, :ActiveWeekDayCount, :ActivationBeforeWeekDayCount, :ActiveBeforeWeekDayCount, :RequestId
3732
+
3733
+ def initialize(activationcount=nil, onlinecount=nil, activationbeforeday=nil, activebeforeday=nil, activationweekdaycount=nil, activeweekdaycount=nil, activationbeforeweekdaycount=nil, activebeforeweekdaycount=nil, requestid=nil)
3734
+ @ActivationCount = activationcount
3735
+ @OnlineCount = onlinecount
3736
+ @ActivationBeforeDay = activationbeforeday
3737
+ @ActiveBeforeDay = activebeforeday
3738
+ @ActivationWeekDayCount = activationweekdaycount
3739
+ @ActiveWeekDayCount = activeweekdaycount
3740
+ @ActivationBeforeWeekDayCount = activationbeforeweekdaycount
3741
+ @ActiveBeforeWeekDayCount = activebeforeweekdaycount
3742
+ @RequestId = requestid
3743
+ end
3744
+
3745
+ def deserialize(params)
3746
+ @ActivationCount = params['ActivationCount']
3747
+ @OnlineCount = params['OnlineCount']
3748
+ @ActivationBeforeDay = params['ActivationBeforeDay']
3749
+ @ActiveBeforeDay = params['ActiveBeforeDay']
3750
+ @ActivationWeekDayCount = params['ActivationWeekDayCount']
3751
+ @ActiveWeekDayCount = params['ActiveWeekDayCount']
3752
+ @ActivationBeforeWeekDayCount = params['ActivationBeforeWeekDayCount']
3753
+ @ActiveBeforeWeekDayCount = params['ActiveBeforeWeekDayCount']
3754
+ @RequestId = params['RequestId']
3755
+ end
3756
+ end
3757
+
3690
3758
  # GetFamilyDeviceUserList请求参数结构体
3691
3759
  class GetFamilyDeviceUserListRequest < TencentCloud::Common::AbstractModel
3692
3760
  # @param ProductId: 产品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.676
4
+ version: 3.0.678
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-13 00:00:00.000000000 Z
11
+ date: 2023-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,9 +33,9 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/tencentcloud-sdk-iotexplorer.rb
37
- - lib/v20190423/client.rb
38
36
  - lib/v20190423/models.rb
37
+ - lib/v20190423/client.rb
38
+ - lib/tencentcloud-sdk-iotexplorer.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: