tencentcloud-sdk-iss 3.0.643 → 3.0.644
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/v20230517/client.rb +24 -0
- data/lib/v20230517/models.rb +125 -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: 16e1b84e14fa2e63d41ac38fa944be77c6718a1d
|
4
|
+
data.tar.gz: da8850cbf3c91bf4d22118d0a939e1eef638a1c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a749edfb8b42237b81f149b6cdd8218d3dad40c4ddcd6b1c76d56c2330868a98bceba73c6a51c720e3b0e7843a42957f27819393a9ddee3f93708daf0e75e18
|
7
|
+
data.tar.gz: 770807e095776d89f3650ec34e2c93dea37b83b46191537d5117ecd5cf805c3b7c36a31065fcff8bc9cb30ff1c330a0affe5466518b689616773f22e2363d0f6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.644
|
data/lib/v20230517/client.rb
CHANGED
@@ -1232,6 +1232,30 @@ module TencentCloud
|
|
1232
1232
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1233
1233
|
end
|
1234
1234
|
|
1235
|
+
# 用于查询网关下挂载的设备列表。
|
1236
|
+
|
1237
|
+
# @param request: Request instance for ListGatewayDevices.
|
1238
|
+
# @type request: :class:`Tencentcloud::iss::V20230517::ListGatewayDevicesRequest`
|
1239
|
+
# @rtype: :class:`Tencentcloud::iss::V20230517::ListGatewayDevicesResponse`
|
1240
|
+
def ListGatewayDevices(request)
|
1241
|
+
body = send_request('ListGatewayDevices', request.serialize)
|
1242
|
+
response = JSON.parse(body)
|
1243
|
+
if response['Response'].key?('Error') == false
|
1244
|
+
model = ListGatewayDevicesResponse.new
|
1245
|
+
model.deserialize(response['Response'])
|
1246
|
+
model
|
1247
|
+
else
|
1248
|
+
code = response['Response']['Error']['Code']
|
1249
|
+
message = response['Response']['Error']['Message']
|
1250
|
+
reqid = response['Response']['RequestId']
|
1251
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1252
|
+
end
|
1253
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1254
|
+
raise e
|
1255
|
+
rescue StandardError => e
|
1256
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1257
|
+
end
|
1258
|
+
|
1235
1259
|
# 用于获取网关列表。
|
1236
1260
|
|
1237
1261
|
# @param request: Request instance for ListGateways.
|
data/lib/v20230517/models.rb
CHANGED
@@ -3919,6 +3919,63 @@ module TencentCloud
|
|
3919
3919
|
end
|
3920
3920
|
end
|
3921
3921
|
|
3922
|
+
# 网关设备数据
|
3923
|
+
class GatewayDevice < TencentCloud::Common::AbstractModel
|
3924
|
+
# @param DeviceId: 设备ID
|
3925
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3926
|
+
# @type DeviceId: String
|
3927
|
+
# @param ProtocolType: 网关接入协议类型
|
3928
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3929
|
+
# @type ProtocolType: Integer
|
3930
|
+
# @param ProtocolTypeName: 网关接入协议名称
|
3931
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3932
|
+
# @type ProtocolTypeName: String
|
3933
|
+
# @param Name: 设备名称
|
3934
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3935
|
+
# @type Name: String
|
3936
|
+
# @param Type: 设备类型
|
3937
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3938
|
+
# @type Type: Integer
|
3939
|
+
# @param Ip: 设备内网IP
|
3940
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3941
|
+
# @type Ip: String
|
3942
|
+
# @param Port: 设备端口
|
3943
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3944
|
+
# @type Port: Integer
|
3945
|
+
# @param ChannelNum: 设备下通道数
|
3946
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3947
|
+
# @type ChannelNum: Integer
|
3948
|
+
# @param Status: 设备状态
|
3949
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3950
|
+
# @type Status: Integer
|
3951
|
+
|
3952
|
+
attr_accessor :DeviceId, :ProtocolType, :ProtocolTypeName, :Name, :Type, :Ip, :Port, :ChannelNum, :Status
|
3953
|
+
|
3954
|
+
def initialize(deviceid=nil, protocoltype=nil, protocoltypename=nil, name=nil, type=nil, ip=nil, port=nil, channelnum=nil, status=nil)
|
3955
|
+
@DeviceId = deviceid
|
3956
|
+
@ProtocolType = protocoltype
|
3957
|
+
@ProtocolTypeName = protocoltypename
|
3958
|
+
@Name = name
|
3959
|
+
@Type = type
|
3960
|
+
@Ip = ip
|
3961
|
+
@Port = port
|
3962
|
+
@ChannelNum = channelnum
|
3963
|
+
@Status = status
|
3964
|
+
end
|
3965
|
+
|
3966
|
+
def deserialize(params)
|
3967
|
+
@DeviceId = params['DeviceId']
|
3968
|
+
@ProtocolType = params['ProtocolType']
|
3969
|
+
@ProtocolTypeName = params['ProtocolTypeName']
|
3970
|
+
@Name = params['Name']
|
3971
|
+
@Type = params['Type']
|
3972
|
+
@Ip = params['Ip']
|
3973
|
+
@Port = params['Port']
|
3974
|
+
@ChannelNum = params['ChannelNum']
|
3975
|
+
@Status = params['Status']
|
3976
|
+
end
|
3977
|
+
end
|
3978
|
+
|
3922
3979
|
# 网关详情版本信息
|
3923
3980
|
class GatewayVersion < TencentCloud::Common::AbstractModel
|
3924
3981
|
# @param Name: 服务名称
|
@@ -4251,6 +4308,74 @@ module TencentCloud
|
|
4251
4308
|
end
|
4252
4309
|
end
|
4253
4310
|
|
4311
|
+
# 查询网关设备列表返回数据
|
4312
|
+
class ListGatewayDevicesData < TencentCloud::Common::AbstractModel
|
4313
|
+
# @param List: 网关下设备列表
|
4314
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4315
|
+
# @type List: Array
|
4316
|
+
# @param TotalCount: 网关下设备总数
|
4317
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4318
|
+
# @type TotalCount: Integer
|
4319
|
+
|
4320
|
+
attr_accessor :List, :TotalCount
|
4321
|
+
|
4322
|
+
def initialize(list=nil, totalcount=nil)
|
4323
|
+
@List = list
|
4324
|
+
@TotalCount = totalcount
|
4325
|
+
end
|
4326
|
+
|
4327
|
+
def deserialize(params)
|
4328
|
+
unless params['List'].nil?
|
4329
|
+
@List = []
|
4330
|
+
params['List'].each do |i|
|
4331
|
+
gatewaydevice_tmp = GatewayDevice.new
|
4332
|
+
gatewaydevice_tmp.deserialize(i)
|
4333
|
+
@List << gatewaydevice_tmp
|
4334
|
+
end
|
4335
|
+
end
|
4336
|
+
@TotalCount = params['TotalCount']
|
4337
|
+
end
|
4338
|
+
end
|
4339
|
+
|
4340
|
+
# ListGatewayDevices请求参数结构体
|
4341
|
+
class ListGatewayDevicesRequest < TencentCloud::Common::AbstractModel
|
4342
|
+
# @param GatewayId: 网关索引ID(从获取网关列表接口ListGateways中获取)
|
4343
|
+
# @type GatewayId: String
|
4344
|
+
|
4345
|
+
attr_accessor :GatewayId
|
4346
|
+
|
4347
|
+
def initialize(gatewayid=nil)
|
4348
|
+
@GatewayId = gatewayid
|
4349
|
+
end
|
4350
|
+
|
4351
|
+
def deserialize(params)
|
4352
|
+
@GatewayId = params['GatewayId']
|
4353
|
+
end
|
4354
|
+
end
|
4355
|
+
|
4356
|
+
# ListGatewayDevices返回参数结构体
|
4357
|
+
class ListGatewayDevicesResponse < TencentCloud::Common::AbstractModel
|
4358
|
+
# @param Data: 返回数据
|
4359
|
+
# @type Data: :class:`Tencentcloud::Iss.v20230517.models.ListGatewayDevicesData`
|
4360
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4361
|
+
# @type RequestId: String
|
4362
|
+
|
4363
|
+
attr_accessor :Data, :RequestId
|
4364
|
+
|
4365
|
+
def initialize(data=nil, requestid=nil)
|
4366
|
+
@Data = data
|
4367
|
+
@RequestId = requestid
|
4368
|
+
end
|
4369
|
+
|
4370
|
+
def deserialize(params)
|
4371
|
+
unless params['Data'].nil?
|
4372
|
+
@Data = ListGatewayDevicesData.new
|
4373
|
+
@Data.deserialize(params['Data'])
|
4374
|
+
end
|
4375
|
+
@RequestId = params['RequestId']
|
4376
|
+
end
|
4377
|
+
end
|
4378
|
+
|
4254
4379
|
# 查询网关列表返回结果
|
4255
4380
|
class ListGatewaysData < TencentCloud::Common::AbstractModel
|
4256
4381
|
# @param List: 网关列表
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-iss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.644
|
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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|