tencentcloud-sdk-iotexplorer 3.0.848 → 3.0.850

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1f14ac86e05d4241a836c4c461eb1a1379644709
4
- data.tar.gz: bed65f847ece891f484d5b9b8834729d3bd1823d
3
+ metadata.gz: 8a75a175ee682223b7096831c5511e48c5c80068
4
+ data.tar.gz: 910ba39ade2118a9d1ec145060f35eeb34924b48
5
5
  SHA512:
6
- metadata.gz: 352d0ad31a9fca1466c6019ccaf14ea44bfb88dee0f63a41196ba54369e61f5de0aef760a65da000d156233ba2e17310b39e280b61c747c61c56e3e078fa729e
7
- data.tar.gz: 0a927eb685984e2f0695a497a6c5e9172b85c3922bfcc8cf9ac199946c5f66c250ff42a4477d7a95c4d9088852289f9518889b3ddfcddd1342c3396224833b99
6
+ metadata.gz: f8d3a5229ed1d5d9c73c935ae7613e7aae50198e45c47549df84aab0bc1cd573bd7375e0fde43a9f1147e37912c50338889cfc22a82809acc7da03398c9d286e
7
+ data.tar.gz: dfcf8499366e7c549a0e8f4da8cea7ab7fbc7a1605c0110dc57eb5ac5ae35391d15640e0379acd5a2f9b70eaefbc867e7e294d177784a5069c89b10de62692fb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.848
1
+ 3.0.850
@@ -1541,6 +1541,30 @@ module TencentCloud
1541
1541
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1542
1542
  end
1543
1543
 
1544
+ # 查询固件信息
1545
+
1546
+ # @param request: Request instance for DescribeFirmware.
1547
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::DescribeFirmwareRequest`
1548
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::DescribeFirmwareResponse`
1549
+ def DescribeFirmware(request)
1550
+ body = send_request('DescribeFirmware', request.serialize)
1551
+ response = JSON.parse(body)
1552
+ if response['Response'].key?('Error') == false
1553
+ model = DescribeFirmwareResponse.new
1554
+ model.deserialize(response['Response'])
1555
+ model
1556
+ else
1557
+ code = response['Response']['Error']['Code']
1558
+ message = response['Response']['Error']['Message']
1559
+ reqid = response['Response']['RequestId']
1560
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1561
+ end
1562
+ rescue TencentCloud::Common::TencentCloudSDKException => e
1563
+ raise e
1564
+ rescue StandardError => e
1565
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1566
+ end
1567
+
1544
1568
  # 查询固件升级任务列表
1545
1569
 
1546
1570
  # @param request: Request instance for DescribeFirmwareTask.
@@ -3645,6 +3645,84 @@ module TencentCloud
3645
3645
  end
3646
3646
  end
3647
3647
 
3648
+ # DescribeFirmware请求参数结构体
3649
+ class DescribeFirmwareRequest < TencentCloud::Common::AbstractModel
3650
+ # @param ProductID: 产品ID
3651
+ # @type ProductID: String
3652
+ # @param FirmwareVersion: 固件版本号
3653
+ # @type FirmwareVersion: String
3654
+
3655
+ attr_accessor :ProductID, :FirmwareVersion
3656
+
3657
+ def initialize(productid=nil, firmwareversion=nil)
3658
+ @ProductID = productid
3659
+ @FirmwareVersion = firmwareversion
3660
+ end
3661
+
3662
+ def deserialize(params)
3663
+ @ProductID = params['ProductID']
3664
+ @FirmwareVersion = params['FirmwareVersion']
3665
+ end
3666
+ end
3667
+
3668
+ # DescribeFirmware返回参数结构体
3669
+ class DescribeFirmwareResponse < TencentCloud::Common::AbstractModel
3670
+ # @param Version: 固件版本号
3671
+ # @type Version: String
3672
+ # @param ProductId: 产品ID
3673
+ # @type ProductId: String
3674
+ # @param Name: 固件名称
3675
+ # 注意:此字段可能返回 null,表示取不到有效值。
3676
+ # @type Name: String
3677
+ # @param Description: 固件描述
3678
+ # 注意:此字段可能返回 null,表示取不到有效值。
3679
+ # @type Description: String
3680
+ # @param Md5sum: 固件Md5值
3681
+ # 注意:此字段可能返回 null,表示取不到有效值。
3682
+ # @type Md5sum: String
3683
+ # @param Createtime: 固件上传的秒级时间戳
3684
+ # 注意:此字段可能返回 null,表示取不到有效值。
3685
+ # @type Createtime: Integer
3686
+ # @param ProductName: 产品名称
3687
+ # @type ProductName: String
3688
+ # @param FwType: 固件升级模块
3689
+ # 注意:此字段可能返回 null,表示取不到有效值。
3690
+ # @type FwType: String
3691
+ # @param UserDefined: 固件用户自定义配置信息
3692
+ # 注意:此字段可能返回 null,表示取不到有效值。
3693
+ # @type UserDefined: String
3694
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3695
+ # @type RequestId: String
3696
+
3697
+ attr_accessor :Version, :ProductId, :Name, :Description, :Md5sum, :Createtime, :ProductName, :FwType, :UserDefined, :RequestId
3698
+
3699
+ def initialize(version=nil, productid=nil, name=nil, description=nil, md5sum=nil, createtime=nil, productname=nil, fwtype=nil, userdefined=nil, requestid=nil)
3700
+ @Version = version
3701
+ @ProductId = productid
3702
+ @Name = name
3703
+ @Description = description
3704
+ @Md5sum = md5sum
3705
+ @Createtime = createtime
3706
+ @ProductName = productname
3707
+ @FwType = fwtype
3708
+ @UserDefined = userdefined
3709
+ @RequestId = requestid
3710
+ end
3711
+
3712
+ def deserialize(params)
3713
+ @Version = params['Version']
3714
+ @ProductId = params['ProductId']
3715
+ @Name = params['Name']
3716
+ @Description = params['Description']
3717
+ @Md5sum = params['Md5sum']
3718
+ @Createtime = params['Createtime']
3719
+ @ProductName = params['ProductName']
3720
+ @FwType = params['FwType']
3721
+ @UserDefined = params['UserDefined']
3722
+ @RequestId = params['RequestId']
3723
+ end
3724
+ end
3725
+
3648
3726
  # DescribeFirmwareTask请求参数结构体
3649
3727
  class DescribeFirmwareTaskRequest < TencentCloud::Common::AbstractModel
3650
3728
  # @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.848
4
+ version: 3.0.850
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-20 00:00:00.000000000 Z
11
+ date: 2024-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common