tencentcloud-sdk-iotexplorer 3.0.836 → 3.0.838

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: a5b763d9cdd18892fa266b8eb59cbff62c370542
4
- data.tar.gz: ea036f21525505527ff79f5d6fa4d13d1d26d0f2
3
+ metadata.gz: 76e807945eeda46f4cd21d32ef45c85067e2038a
4
+ data.tar.gz: b650a104944aa0f52a7a02f85d7fdffe336112e6
5
5
  SHA512:
6
- metadata.gz: 59adf6623033ec704978a4a1819a767ea28c343a62dbfe8c9ad79eb2263288dff9be40c298f15e81bc0afc1bdac417f8913594a4ad43ac10316b55467ecc536e
7
- data.tar.gz: f3c33def1b80b14c681cb3db364a03387a59ce86860b4a5d005416fee0f434b7ebcf0b474b569424603a8af83d5a36665ad04c41c4199f5f170da53bef528c47
6
+ metadata.gz: d2c15ba7a7af3524cc9bed2ab39c077916b5663856a24cdb23048473defe66a3583db4fcc535d50a3eb9f9a2ac8e3ab2964db40751471aa98803a1a561eeb71d
7
+ data.tar.gz: e636a770c516c21c8893562f29b2617e7129ae2d48d6394651cacb20a213a2c30890bcdc41ce980ef15e1aad9da047e64c60990c7d2ed1c68b542e419ca10edb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.836
1
+ 3.0.838
@@ -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.
@@ -5156,10 +5156,13 @@ module TencentCloud
5156
5156
  # @param CreatorNickName: 创建者昵称
5157
5157
  # 注意:此字段可能返回 null,表示取不到有效值。
5158
5158
  # @type CreatorNickName: String
5159
+ # @param UserDefined: 固件用户自定义配置信息
5160
+ # 注意:此字段可能返回 null,表示取不到有效值。
5161
+ # @type UserDefined: String
5159
5162
 
5160
- attr_accessor :Version, :Md5sum, :CreateTime, :ProductName, :Name, :Description, :ProductId, :FwType, :CreateUserId, :CreatorNickName
5163
+ attr_accessor :Version, :Md5sum, :CreateTime, :ProductName, :Name, :Description, :ProductId, :FwType, :CreateUserId, :CreatorNickName, :UserDefined
5161
5164
 
5162
- def initialize(version=nil, md5sum=nil, createtime=nil, productname=nil, name=nil, description=nil, productid=nil, fwtype=nil, createuserid=nil, creatornickname=nil)
5165
+ def initialize(version=nil, md5sum=nil, createtime=nil, productname=nil, name=nil, description=nil, productid=nil, fwtype=nil, createuserid=nil, creatornickname=nil, userdefined=nil)
5163
5166
  @Version = version
5164
5167
  @Md5sum = md5sum
5165
5168
  @CreateTime = createtime
@@ -5170,6 +5173,7 @@ module TencentCloud
5170
5173
  @FwType = fwtype
5171
5174
  @CreateUserId = createuserid
5172
5175
  @CreatorNickName = creatornickname
5176
+ @UserDefined = userdefined
5173
5177
  end
5174
5178
 
5175
5179
  def deserialize(params)
@@ -5183,6 +5187,7 @@ module TencentCloud
5183
5187
  @FwType = params['FwType']
5184
5188
  @CreateUserId = params['CreateUserId']
5185
5189
  @CreatorNickName = params['CreatorNickName']
5190
+ @UserDefined = params['UserDefined']
5186
5191
  end
5187
5192
  end
5188
5193
 
@@ -6194,6 +6199,58 @@ module TencentCloud
6194
6199
  end
6195
6200
  end
6196
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
+
6197
6254
  # InheritCloudStorageUser请求参数结构体
6198
6255
  class InheritCloudStorageUserRequest < TencentCloud::Common::AbstractModel
6199
6256
  # @param ProductId: 产品ID
@@ -9034,6 +9091,58 @@ module TencentCloud
9034
9091
  end
9035
9092
  end
9036
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
+
9037
9146
  # wifi定位信息
9038
9147
  class WifiInfo < TencentCloud::Common::AbstractModel
9039
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.836
4
+ version: 3.0.838
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-03 00:00:00.000000000 Z
11
+ date: 2024-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common