tencentcloud-sdk-iotexplorer 3.0.827 → 3.0.828

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: c39256d70926231059cf1641985d5d18ed3d1f6e
4
- data.tar.gz: 138296d84397a5458439581a0572273de8af09fe
3
+ metadata.gz: 56303738fc8782fe090439c4d55837116fe902ca
4
+ data.tar.gz: 5e8c26928fe059119f2208cdc7c907c65f84fbaf
5
5
  SHA512:
6
- metadata.gz: 899939cdec7cfaeb77edff4a86194f6027540f92978e399de455082baf47ce727e6abdd3c2b4406a5c736f10f78a67edd1bc87dbdae5b465a7db0358c5c0d54f
7
- data.tar.gz: c14ede419d4419db099a3fe35be4dcfc39c6e84c2540bafa697055a1b49d08e950a96f2e337632ab783e9815ded42d2fbf40ae16c9171a483fe380e8b3892374
6
+ metadata.gz: 5ed4f1c1d89dd3328e637f4e5c372e8bc8c2a5bef5efc1eb78ddde0a7a3f7ccc9df70922ced78afefb34246f926ed9a2353839a11bf53e29fbc5b549f71693a6
7
+ data.tar.gz: c18a3fb6adb53663fbe43860d2864403b593dfa8d16022b91010762e4a0ecd39d33aeb883d10ccebfcde4418506c7bf1abd1087cb2dff5121169d73695e6bc5d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.827
1
+ 3.0.828
@@ -3053,6 +3053,30 @@ module TencentCloud
3053
3053
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3054
3054
  end
3055
3055
 
3056
+ # 更新用户对设备的TweCall授权状态
3057
+
3058
+ # @param request: Request instance for UpdateDeviceTWeCallAuthorizeStatus.
3059
+ # @type request: :class:`Tencentcloud::iotexplorer::V20190423::UpdateDeviceTWeCallAuthorizeStatusRequest`
3060
+ # @rtype: :class:`Tencentcloud::iotexplorer::V20190423::UpdateDeviceTWeCallAuthorizeStatusResponse`
3061
+ def UpdateDeviceTWeCallAuthorizeStatus(request)
3062
+ body = send_request('UpdateDeviceTWeCallAuthorizeStatus', request.serialize)
3063
+ response = JSON.parse(body)
3064
+ if response['Response'].key?('Error') == false
3065
+ model = UpdateDeviceTWeCallAuthorizeStatusResponse.new
3066
+ model.deserialize(response['Response'])
3067
+ model
3068
+ else
3069
+ code = response['Response']['Error']['Code']
3070
+ message = response['Response']['Error']['Message']
3071
+ reqid = response['Response']['RequestId']
3072
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
3073
+ end
3074
+ rescue TencentCloud::Common::TencentCloudSDKException => e
3075
+ raise e
3076
+ rescue StandardError => e
3077
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
3078
+ end
3079
+
3056
3080
  # 批量禁用启用设备
3057
3081
 
3058
3082
  # @param request: Request instance for UpdateDevicesEnableState.
@@ -8395,6 +8395,50 @@ module TencentCloud
8395
8395
  end
8396
8396
  end
8397
8397
 
8398
+ # UpdateDeviceTWeCallAuthorizeStatus请求参数结构体
8399
+ class UpdateDeviceTWeCallAuthorizeStatusRequest < TencentCloud::Common::AbstractModel
8400
+ # @param Status: TweCall授权状态:0未授权,1已授权
8401
+ # @type Status: Integer
8402
+ # @param ProductId: 产品ID
8403
+ # @type ProductId: String
8404
+ # @param DeviceName: 设备名
8405
+ # @type DeviceName: String
8406
+ # @param WechatOpenId: 微信用户的openId
8407
+ # @type WechatOpenId: String
8408
+
8409
+ attr_accessor :Status, :ProductId, :DeviceName, :WechatOpenId
8410
+
8411
+ def initialize(status=nil, productid=nil, devicename=nil, wechatopenid=nil)
8412
+ @Status = status
8413
+ @ProductId = productid
8414
+ @DeviceName = devicename
8415
+ @WechatOpenId = wechatopenid
8416
+ end
8417
+
8418
+ def deserialize(params)
8419
+ @Status = params['Status']
8420
+ @ProductId = params['ProductId']
8421
+ @DeviceName = params['DeviceName']
8422
+ @WechatOpenId = params['WechatOpenId']
8423
+ end
8424
+ end
8425
+
8426
+ # UpdateDeviceTWeCallAuthorizeStatus返回参数结构体
8427
+ class UpdateDeviceTWeCallAuthorizeStatusResponse < TencentCloud::Common::AbstractModel
8428
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
8429
+ # @type RequestId: String
8430
+
8431
+ attr_accessor :RequestId
8432
+
8433
+ def initialize(requestid=nil)
8434
+ @RequestId = requestid
8435
+ end
8436
+
8437
+ def deserialize(params)
8438
+ @RequestId = params['RequestId']
8439
+ end
8440
+ end
8441
+
8398
8442
  # UpdateDevicesEnableState请求参数结构体
8399
8443
  class UpdateDevicesEnableStateRequest < TencentCloud::Common::AbstractModel
8400
8444
  # @param DevicesItems: 多个设备标识
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.827
4
+ version: 3.0.828
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-05-21 00:00:00.000000000 Z
11
+ date: 2024-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common