tencentcloud-sdk-iotexplorer 3.0.640 → 3.0.641
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190423/client.rb +24 -0
- data/lib/v20190423/models.rb +119 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71fef8d6b2235871e0398b3af22cae0bd207f861
|
4
|
+
data.tar.gz: 5a38ad7dc2c3f0f207fe73c21bfe4d79fee80906
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 984a16a0128421c2a87211d5a31012de54987f01d375605e08d1f83268192dbcf342a5d339fcead192352d6f18254300189c5f13a7df987593a81d610c4cc5ba
|
7
|
+
data.tar.gz: b915183689bccf756d8e09e3d75c63bd407149220864a8c0cab45ff1d9177340ade7e3ce509c15875a932a48f10a1db16bf45d14f8e43857dc435647de42c2ad
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.641
|
data/lib/v20190423/client.rb
CHANGED
@@ -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.
|
data/lib/v20190423/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.641
|
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-
|
11
|
+
date: 2023-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|