tencentcloud-sdk-iotexplorer 3.0.837 → 3.0.839

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: f900ada61e49d6b073d121ed7d3c9aa9d77ce103
4
- data.tar.gz: 159606bcea3be738e31928bf54f94a8e28a38685
3
+ metadata.gz: 0fdde34c2299606a4397cd4a10302e3663e39bd0
4
+ data.tar.gz: 2b7dc56370e69a1c1b66f749d00bdf89e8069d30
5
5
  SHA512:
6
- metadata.gz: 18e363066bea2b5284a83cb2fea3a9378d32b9cd7074d008934dc11a3bfba2785e5717e389bc7e97eb93c2071b31a8660449c7d7a8ce607a14d3c265460f556e
7
- data.tar.gz: 88b7d1824127aca93d425da8d0db02b44ee2143177ee35cbbf07a052de86b7da122fe4418a1079394dd1f4965a47ef40b78cbb283c7e6e70d7610ed12426debd
6
+ metadata.gz: 95e09ec147314863da82f3513002fea2f9cb617cf1fd059330878d0822ea9d26ccb9e078db82b29d871ac38dd0b09dda5fefcf47231eaf7d72dc601fe4291332
7
+ data.tar.gz: ca731eccf74c0c55dd4a202d613133507486dd4fe728715b4511b23e61fde914265f49b0ca1de2b9ac951999e0b16d9f3abcf5eb6eae567a76d8522c90cef599
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.837
1
+ 3.0.839
@@ -2453,6 +2453,30 @@ module TencentCloud
2453
2453
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2454
2454
  end
2455
2455
 
2456
+ # 查询微信设备授权票据
2457
+
2458
+ # @param request: Request instance for GetWechatDeviceTicket.
2459
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::GetWechatDeviceTicketRequest`
2460
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::GetWechatDeviceTicketResponse`
2461
+ def GetWechatDeviceTicket(request)
2462
+ body = send_request('GetWechatDeviceTicket', request.serialize)
2463
+ response = JSON.parse(body)
2464
+ if response['Response'].key?('Error') == false
2465
+ model = GetWechatDeviceTicketResponse.new
2466
+ model.deserialize(response['Response'])
2467
+ model
2468
+ else
2469
+ code = response['Response']['Error']['Code']
2470
+ message = response['Response']['Error']['Message']
2471
+ reqid = response['Response']['RequestId']
2472
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2473
+ end
2474
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2475
+ raise e
2476
+ rescue StandardError => e
2477
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2478
+ end
2479
+
2456
2480
  # 继承云存用户
2457
2481
 
2458
2482
  # @param request: Request instance for InheritCloudStorageUser.
@@ -6199,6 +6199,58 @@ module TencentCloud
6199
6199
  end
6200
6200
  end
6201
6201
 
6202
+ # GetWechatDeviceTicket请求参数结构体
6203
+ class GetWechatDeviceTicketRequest < TencentCloud::Common::AbstractModel
6204
+ # @param ProductId: 产品ID
6205
+ # @type ProductId: String
6206
+ # @param DeviceName: 产品名称
6207
+ # @type DeviceName: String
6208
+ # @param IsThirdApp: 是否第三方小程序
6209
+ # @type IsThirdApp: Integer
6210
+ # @param ModelId: 模板ID
6211
+ # @type ModelId: String
6212
+
6213
+ attr_accessor :ProductId, :DeviceName, :IsThirdApp, :ModelId
6214
+
6215
+ def initialize(productid=nil, devicename=nil, isthirdapp=nil, modelid=nil)
6216
+ @ProductId = productid
6217
+ @DeviceName = devicename
6218
+ @IsThirdApp = isthirdapp
6219
+ @ModelId = modelid
6220
+ end
6221
+
6222
+ def deserialize(params)
6223
+ @ProductId = params['ProductId']
6224
+ @DeviceName = params['DeviceName']
6225
+ @IsThirdApp = params['IsThirdApp']
6226
+ @ModelId = params['ModelId']
6227
+ end
6228
+ end
6229
+
6230
+ # GetWechatDeviceTicket返回参数结构体
6231
+ class GetWechatDeviceTicketResponse < TencentCloud::Common::AbstractModel
6232
+ # @param WXDeviceInfo: 微信设备信息
6233
+ # 注意:此字段可能返回 null,表示取不到有效值。
6234
+ # @type WXDeviceInfo: :class:`Tencentcloud::Iotexplorer.v20190423.models.WXDeviceInfo`
6235
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6236
+ # @type RequestId: String
6237
+
6238
+ attr_accessor :WXDeviceInfo, :RequestId
6239
+
6240
+ def initialize(wxdeviceinfo=nil, requestid=nil)
6241
+ @WXDeviceInfo = wxdeviceinfo
6242
+ @RequestId = requestid
6243
+ end
6244
+
6245
+ def deserialize(params)
6246
+ unless params['WXDeviceInfo'].nil?
6247
+ @WXDeviceInfo = WXDeviceInfo.new
6248
+ @WXDeviceInfo.deserialize(params['WXDeviceInfo'])
6249
+ end
6250
+ @RequestId = params['RequestId']
6251
+ end
6252
+ end
6253
+
6202
6254
  # InheritCloudStorageUser请求参数结构体
6203
6255
  class InheritCloudStorageUserRequest < TencentCloud::Common::AbstractModel
6204
6256
  # @param ProductId: 产品ID
@@ -9039,6 +9091,58 @@ module TencentCloud
9039
9091
  end
9040
9092
  end
9041
9093
 
9094
+ # 微信硬件设备信息
9095
+ class WXDeviceInfo < TencentCloud::Common::AbstractModel
9096
+ # @param DeviceId: 设备ID
9097
+ # 注意:此字段可能返回 null,表示取不到有效值。
9098
+ # @type DeviceId: String
9099
+ # @param WXIoTDeviceInfo: 设备信息
9100
+ # 注意:此字段可能返回 null,表示取不到有效值。
9101
+ # @type WXIoTDeviceInfo: :class:`Tencentcloud::Iotexplorer.v20190423.models.WXIoTDeviceInfo`
9102
+
9103
+ attr_accessor :DeviceId, :WXIoTDeviceInfo
9104
+
9105
+ def initialize(deviceid=nil, wxiotdeviceinfo=nil)
9106
+ @DeviceId = deviceid
9107
+ @WXIoTDeviceInfo = wxiotdeviceinfo
9108
+ end
9109
+
9110
+ def deserialize(params)
9111
+ @DeviceId = params['DeviceId']
9112
+ unless params['WXIoTDeviceInfo'].nil?
9113
+ @WXIoTDeviceInfo = WXIoTDeviceInfo.new
9114
+ @WXIoTDeviceInfo.deserialize(params['WXIoTDeviceInfo'])
9115
+ end
9116
+ end
9117
+ end
9118
+
9119
+ # 微信物联网硬件信息
9120
+ class WXIoTDeviceInfo < TencentCloud::Common::AbstractModel
9121
+ # @param SN: sn信息
9122
+ # 注意:此字段可能返回 null,表示取不到有效值。
9123
+ # @type SN: String
9124
+ # @param SNTicket: 票据
9125
+ # 注意:此字段可能返回 null,表示取不到有效值。
9126
+ # @type SNTicket: String
9127
+ # @param ModelId: 模版ID
9128
+ # 注意:此字段可能返回 null,表示取不到有效值。
9129
+ # @type ModelId: String
9130
+
9131
+ attr_accessor :SN, :SNTicket, :ModelId
9132
+
9133
+ def initialize(sn=nil, snticket=nil, modelid=nil)
9134
+ @SN = sn
9135
+ @SNTicket = snticket
9136
+ @ModelId = modelid
9137
+ end
9138
+
9139
+ def deserialize(params)
9140
+ @SN = params['SN']
9141
+ @SNTicket = params['SNTicket']
9142
+ @ModelId = params['ModelId']
9143
+ end
9144
+ end
9145
+
9042
9146
  # wifi定位信息
9043
9147
  class WifiInfo < TencentCloud::Common::AbstractModel
9044
9148
  # @param MAC: mac地址
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.837
4
+ version: 3.0.839
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-04 00:00:00.000000000 Z
11
+ date: 2024-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common