tencentcloud-sdk-iotexplorer 3.0.676 → 3.0.677

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: c5c917241f3d6f6f69857166abd72ea63fc2172d
4
- data.tar.gz: 9bc945aa1bd3c05de0e0b68b4aea008780443854
3
+ metadata.gz: 3ed354c9edbcb99343791f7afc258f525c1c4e0c
4
+ data.tar.gz: adb0c0ba6abb7f736a67f0bee281c6d16e3515e5
5
5
  SHA512:
6
- metadata.gz: 00e7e2b59c9a145a5bcc2e6af7fc79bd8fa18703730fdcd29983477a112e470570dbf4296fba448b26895ce07e3316db1e01edc09c7d3a33ad6c524b4ee8bd3f
7
- data.tar.gz: aa331c16f6996a94126b7b5ebda448c2d782bae4b3be90013d2e836c5615e9bd006912b21fff0bf0fbf4126b5435aa009c48165895eb34493fd735aeda0f33da
6
+ metadata.gz: 7d14d05f635ef983cdf67f790c83b0cb52a845e2a2d34e51d5c6b0bef32100803a461ec1b49d961389e23de967ef74c4381b60e07deb268f46c8de0f28e18371
7
+ data.tar.gz: ba44f56655421bb5f3aafcd988a0616ea8b16f35a28644cbf385fed7a02f1a1faa130f6d137df0c90e0dfd13168379d43342c9e579d12cf91f106821665629f2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.676
1
+ 3.0.677
@@ -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.677
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-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common