tencentcloud-sdk-iotexplorer 3.0.640 → 3.0.642

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: 325559e99f6f428a700468048ec879f9537f5494
4
- data.tar.gz: ed2c63bcc57d1493b21cc2b481c9f7466fb1e33a
3
+ metadata.gz: 7d3ff86babac31b4b135c33f169b7c37fa9e0ca9
4
+ data.tar.gz: 021a2d315582f8e2bbdf6b318bf855be5270841d
5
5
  SHA512:
6
- metadata.gz: 43aa8023ec918f090a1beeb3611364e5e943f41d1544da15174621db01f3fcddfaaa772b1bf6c7df6037cc903e135dba331c5d1fa22ee789d1526a6f680b07d5
7
- data.tar.gz: 3facd87eda11b0f8c8870013b04db1e085b0b23a8b8881cf15d00b4b01da11e9a85b056d8614f69f019844db9da87540575f12e522598c98596db4edee39eb15
6
+ metadata.gz: 32033bde33796c50450ffd197a6ee2b963048cedb611dd6895684bdb9977b5e3a5c328088bc9ee4c25811f3f78635b42e902505fcc0f5eae3a26a970d649de3c
7
+ data.tar.gz: d9b63ae19b6572b355e5629638f4a8c04c15e1d86288cc41aaaf5a001d18253e40bc793d1a1f7ceeaa8d642e87f925efe68ab0d82ae7b35278b7e4cce1a4431e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.640
1
+ 3.0.642
@@ -1013,6 +1013,30 @@ module TencentCloud
1013
1013
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1014
1014
  end
1015
1015
 
1016
+ # 公共实例过期时间 0001-01-01T00:00:00Z,公共实例是永久有效
1017
+
1018
+ # @param request: Request instance for DescribeInstance.
1019
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeInstanceRequest`
1020
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeInstanceResponse`
1021
+ def DescribeInstance(request)
1022
+ body = send_request('DescribeInstance', request.serialize)
1023
+ response = JSON.parse(body)
1024
+ if response['Response'].key?('Error') == false
1025
+ model = DescribeInstanceResponse.new
1026
+ model.deserialize(response['Response'])
1027
+ model
1028
+ else
1029
+ code = response['Response']['Error']['Code']
1030
+ message = response['Response']['Error']['Message']
1031
+ reqid = response['Response']['RequestId']
1032
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1033
+ end
1034
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1035
+ raise e
1036
+ rescue StandardError => e
1037
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1038
+ end
1039
+
1016
1040
  # 提供查询LoRa自定义频点详情的能力
1017
1041
 
1018
1042
  # @param request: Request instance for DescribeLoRaFrequency.
@@ -2335,6 +2335,58 @@ module TencentCloud
2335
2335
  end
2336
2336
  end
2337
2337
 
2338
+ # DescribeInstance请求参数结构体
2339
+ class DescribeInstanceRequest < TencentCloud::Common::AbstractModel
2340
+ # @param InstanceId: 实例ID
2341
+ # @type InstanceId: String
2342
+ # @param Include: 附加查询返回包含字段值,不传返回0,有效值 ProductNum、ProjectNum、UsedDeviceNum、TotalDevice、ActivateDevice
2343
+ # @type Include: Array
2344
+ # @param ProjectId: 项目ID
2345
+ # @type ProjectId: String
2346
+ # @param ProductId: 产品ID,-1 代表全部产品
2347
+ # @type ProductId: String
2348
+
2349
+ attr_accessor :InstanceId, :Include, :ProjectId, :ProductId
2350
+
2351
+ def initialize(instanceid=nil, include=nil, projectid=nil, productid=nil)
2352
+ @InstanceId = instanceid
2353
+ @Include = include
2354
+ @ProjectId = projectid
2355
+ @ProductId = productid
2356
+ end
2357
+
2358
+ def deserialize(params)
2359
+ @InstanceId = params['InstanceId']
2360
+ @Include = params['Include']
2361
+ @ProjectId = params['ProjectId']
2362
+ @ProductId = params['ProductId']
2363
+ end
2364
+ end
2365
+
2366
+ # DescribeInstance返回参数结构体
2367
+ class DescribeInstanceResponse < TencentCloud::Common::AbstractModel
2368
+ # @param Data: 实例信息
2369
+ # 注意:此字段可能返回 null,表示取不到有效值。
2370
+ # @type Data: :class:`Tencentcloud::Iotexplorer.v20190423.models.InstanceDetail`
2371
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2372
+ # @type RequestId: String
2373
+
2374
+ attr_accessor :Data, :RequestId
2375
+
2376
+ def initialize(data=nil, requestid=nil)
2377
+ @Data = data
2378
+ @RequestId = requestid
2379
+ end
2380
+
2381
+ def deserialize(params)
2382
+ unless params['Data'].nil?
2383
+ @Data = InstanceDetail.new
2384
+ @Data.deserialize(params['Data'])
2385
+ end
2386
+ @RequestId = params['RequestId']
2387
+ end
2388
+ end
2389
+
2338
2390
  # DescribeLoRaFrequency请求参数结构体
2339
2391
  class DescribeLoRaFrequencyRequest < TencentCloud::Common::AbstractModel
2340
2392
  # @param FreqId: 频点唯一ID
@@ -4036,6 +4088,73 @@ module TencentCloud
4036
4088
  end
4037
4089
  end
4038
4090
 
4091
+ # 实例信息
4092
+ # 公共实例过期时间 0001-01-01T00:00:00Z,公共实例是永久有效
4093
+ class InstanceDetail < TencentCloud::Common::AbstractModel
4094
+ # @param InstanceId: 实例ID
4095
+ # @type InstanceId: String
4096
+ # @param InstanceType: 实例类型(0 公共实例 1 标准企业实例 2专享企业实例)
4097
+ # @type InstanceType: Integer
4098
+ # @param Region: 地域字母缩写
4099
+ # @type Region: String
4100
+ # @param ZoneId: 区域全拼
4101
+ # @type ZoneId: String
4102
+ # @param TotalDeviceNum: 支持设备总数
4103
+ # @type TotalDeviceNum: Integer
4104
+ # @param UsedDeviceNum: 以注册设备数
4105
+ # @type UsedDeviceNum: Integer
4106
+ # @param ProjectNum: 项目数
4107
+ # @type ProjectNum: Integer
4108
+ # @param ProductNum: 产品数
4109
+ # @type ProductNum: Integer
4110
+ # @param CreateTime: 创建时间
4111
+ # @type CreateTime: String
4112
+ # @param UpdateTime: 更新时间
4113
+ # @type UpdateTime: String
4114
+ # @param ExpireTime: 过期时间,公共实例过期时间 0001-01-01T00:00:00Z,公共实例是永久有效
4115
+ # @type ExpireTime: String
4116
+ # @param TotalDevice: 总设备数
4117
+ # 注意:此字段可能返回 null,表示取不到有效值。
4118
+ # @type TotalDevice: Integer
4119
+ # @param ActivateDevice: 激活设备数
4120
+ # 注意:此字段可能返回 null,表示取不到有效值。
4121
+ # @type ActivateDevice: Integer
4122
+
4123
+ attr_accessor :InstanceId, :InstanceType, :Region, :ZoneId, :TotalDeviceNum, :UsedDeviceNum, :ProjectNum, :ProductNum, :CreateTime, :UpdateTime, :ExpireTime, :TotalDevice, :ActivateDevice
4124
+
4125
+ def initialize(instanceid=nil, instancetype=nil, region=nil, zoneid=nil, totaldevicenum=nil, useddevicenum=nil, projectnum=nil, productnum=nil, createtime=nil, updatetime=nil, expiretime=nil, totaldevice=nil, activatedevice=nil)
4126
+ @InstanceId = instanceid
4127
+ @InstanceType = instancetype
4128
+ @Region = region
4129
+ @ZoneId = zoneid
4130
+ @TotalDeviceNum = totaldevicenum
4131
+ @UsedDeviceNum = useddevicenum
4132
+ @ProjectNum = projectnum
4133
+ @ProductNum = productnum
4134
+ @CreateTime = createtime
4135
+ @UpdateTime = updatetime
4136
+ @ExpireTime = expiretime
4137
+ @TotalDevice = totaldevice
4138
+ @ActivateDevice = activatedevice
4139
+ end
4140
+
4141
+ def deserialize(params)
4142
+ @InstanceId = params['InstanceId']
4143
+ @InstanceType = params['InstanceType']
4144
+ @Region = params['Region']
4145
+ @ZoneId = params['ZoneId']
4146
+ @TotalDeviceNum = params['TotalDeviceNum']
4147
+ @UsedDeviceNum = params['UsedDeviceNum']
4148
+ @ProjectNum = params['ProjectNum']
4149
+ @ProductNum = params['ProductNum']
4150
+ @CreateTime = params['CreateTime']
4151
+ @UpdateTime = params['UpdateTime']
4152
+ @ExpireTime = params['ExpireTime']
4153
+ @TotalDevice = params['TotalDevice']
4154
+ @ActivateDevice = params['ActivateDevice']
4155
+ end
4156
+ end
4157
+
4039
4158
  # ListEventHistory请求参数结构体
4040
4159
  class ListEventHistoryRequest < TencentCloud::Common::AbstractModel
4041
4160
  # @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.640
4
+ version: 3.0.642
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-08-21 00:00:00.000000000 Z
11
+ date: 2023-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-iotexplorer.rb
37
- - lib/v20190423/models.rb
38
37
  - lib/v20190423/client.rb
38
+ - lib/v20190423/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: