tencentcloud-sdk-iotvideo 3.0.637 → 3.0.639

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: 68d38d75c54d052d7b9fe6f4bf59062994150551
4
- data.tar.gz: 48a77016f9a930687521785c0490717497ce4e12
3
+ metadata.gz: 586357d92adbc460e60318361f9796069d5ed63a
4
+ data.tar.gz: 0fb3db891ad1feb4abac8742622f183bd090b798
5
5
  SHA512:
6
- metadata.gz: 6bc307c3fd110022cf59d4f138e4675b8130ad85426378741bbdf05e53f257f5e91608be99626697a7f7f6c630c7da9bd4d43f0661e090a846231b52d4cdd696
7
- data.tar.gz: 468ad0c691f6153cd8a4878a5152fbf5cb06f05c0a8ff0b112fe382e0ef4d63b1203cf95ab8fe9251f4007012deac844e6d95a39f70e271e147c753ae267057e
6
+ metadata.gz: 007dd6e4136dba6b440ab92e98c0a1b7e4f84e03435ba9b8001897742f34f84cfbf2e89505d79d20bad8065299938853991f0315623f2d8065b5c97e1c590a51
7
+ data.tar.gz: c07795657626ce84f66f341084bd89d204c97eb2a26abd5800ba3c74b3085fd08e7abd9122b9001ecf947dff82a7595eb0cd3510a6f36719c1d1d4850540026a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.637
1
+ 3.0.639
@@ -917,6 +917,30 @@ module TencentCloud
917
917
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
918
918
  end
919
919
 
920
+ # 查询云存服务详情
921
+
922
+ # @param request: Request instance for DescribeCloudStorageOrder.
923
+ # @type request: :class:`Tencentcloud::iotvideo::V20211125::DescribeCloudStorageOrderRequest`
924
+ # @rtype: :class:`Tencentcloud::iotvideo::V20211125::DescribeCloudStorageOrderResponse`
925
+ def DescribeCloudStorageOrder(request)
926
+ body = send_request('DescribeCloudStorageOrder', request.serialize)
927
+ response = JSON.parse(body)
928
+ if response['Response'].key?('Error') == false
929
+ model = DescribeCloudStorageOrderResponse.new
930
+ model.deserialize(response['Response'])
931
+ model
932
+ else
933
+ code = response['Response']['Error']['Code']
934
+ message = response['Response']['Error']['Message']
935
+ reqid = response['Response']['RequestId']
936
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
937
+ end
938
+ rescue TencentCloud::Common::TencentCloudSDKException => e
939
+ raise e
940
+ rescue StandardError => e
941
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
942
+ end
943
+
920
944
  # 获取云存套餐包消耗详细记录
921
945
 
922
946
  # @param request: Request instance for DescribeCloudStoragePackageConsumeDetails.
@@ -1013,15 +1013,18 @@ module TencentCloud
1013
1013
  # @type Override: Integer
1014
1014
  # @param PackageQueue: 套餐列表顺序:PackageQueue=front会立即使用新购买的套餐,新购套餐结束后,列表中下一个未过期的套餐继续生效;PackageQueue=end会等设备当前所有已购买套餐过期后才会生效新购套餐。与Override参数不能同时使用。
1015
1015
  # @type PackageQueue: String
1016
+ # @param OrderId: 订单id
1017
+ # @type OrderId: String
1016
1018
 
1017
- attr_accessor :ProductId, :DeviceName, :PackageId, :Override, :PackageQueue
1019
+ attr_accessor :ProductId, :DeviceName, :PackageId, :Override, :PackageQueue, :OrderId
1018
1020
 
1019
- def initialize(productid=nil, devicename=nil, packageid=nil, override=nil, packagequeue=nil)
1021
+ def initialize(productid=nil, devicename=nil, packageid=nil, override=nil, packagequeue=nil, orderid=nil)
1020
1022
  @ProductId = productid
1021
1023
  @DeviceName = devicename
1022
1024
  @PackageId = packageid
1023
1025
  @Override = override
1024
1026
  @PackageQueue = packagequeue
1027
+ @OrderId = orderid
1025
1028
  end
1026
1029
 
1027
1030
  def deserialize(params)
@@ -1030,6 +1033,7 @@ module TencentCloud
1030
1033
  @PackageId = params['PackageId']
1031
1034
  @Override = params['Override']
1032
1035
  @PackageQueue = params['PackageQueue']
1036
+ @OrderId = params['OrderId']
1033
1037
  end
1034
1038
  end
1035
1039
 
@@ -2283,6 +2287,60 @@ module TencentCloud
2283
2287
  end
2284
2288
  end
2285
2289
 
2290
+ # DescribeCloudStorageOrder请求参数结构体
2291
+ class DescribeCloudStorageOrderRequest < TencentCloud::Common::AbstractModel
2292
+ # @param OrderId: 订单id
2293
+ # @type OrderId: String
2294
+
2295
+ attr_accessor :OrderId
2296
+
2297
+ def initialize(orderid=nil)
2298
+ @OrderId = orderid
2299
+ end
2300
+
2301
+ def deserialize(params)
2302
+ @OrderId = params['OrderId']
2303
+ end
2304
+ end
2305
+
2306
+ # DescribeCloudStorageOrder返回参数结构体
2307
+ class DescribeCloudStorageOrderResponse < TencentCloud::Common::AbstractModel
2308
+ # @param StartTime: 云存套餐开始时间
2309
+ # 注意:此字段可能返回 null,表示取不到有效值。
2310
+ # @type StartTime: Integer
2311
+ # @param ExpireTime: 云存套餐过期时间
2312
+ # 注意:此字段可能返回 null,表示取不到有效值。
2313
+ # @type ExpireTime: Integer
2314
+ # @param PackageId: 套餐id
2315
+ # 注意:此字段可能返回 null,表示取不到有效值。
2316
+ # @type PackageId: String
2317
+ # @param Status: 套餐状态
2318
+ # 0:等待生效
2319
+ # 1: 已过期
2320
+ # 2:生效
2321
+ # @type Status: Integer
2322
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2323
+ # @type RequestId: String
2324
+
2325
+ attr_accessor :StartTime, :ExpireTime, :PackageId, :Status, :RequestId
2326
+
2327
+ def initialize(starttime=nil, expiretime=nil, packageid=nil, status=nil, requestid=nil)
2328
+ @StartTime = starttime
2329
+ @ExpireTime = expiretime
2330
+ @PackageId = packageid
2331
+ @Status = status
2332
+ @RequestId = requestid
2333
+ end
2334
+
2335
+ def deserialize(params)
2336
+ @StartTime = params['StartTime']
2337
+ @ExpireTime = params['ExpireTime']
2338
+ @PackageId = params['PackageId']
2339
+ @Status = params['Status']
2340
+ @RequestId = params['RequestId']
2341
+ end
2342
+ end
2343
+
2286
2344
  # DescribeCloudStoragePackageConsumeDetails请求参数结构体
2287
2345
  class DescribeCloudStoragePackageConsumeDetailsRequest < TencentCloud::Common::AbstractModel
2288
2346
  # @param StartDate: 开始日期
@@ -5558,16 +5616,24 @@ module TencentCloud
5558
5616
  # @param UpdatedAt: 云存套餐更新时间
5559
5617
  # 注意:此字段可能返回 null,表示取不到有效值。
5560
5618
  # @type UpdatedAt: Integer
5619
+ # @param PackageId: 套餐id
5620
+ # 注意:此字段可能返回 null,表示取不到有效值。
5621
+ # @type PackageId: String
5622
+ # @param OrderId: 订单id
5623
+ # 注意:此字段可能返回 null,表示取不到有效值。
5624
+ # @type OrderId: String
5561
5625
 
5562
- attr_accessor :Status, :CSType, :CSShiftDuration, :CSExpiredTime, :CreatedAt, :UpdatedAt
5626
+ attr_accessor :Status, :CSType, :CSShiftDuration, :CSExpiredTime, :CreatedAt, :UpdatedAt, :PackageId, :OrderId
5563
5627
 
5564
- def initialize(status=nil, cstype=nil, csshiftduration=nil, csexpiredtime=nil, createdat=nil, updatedat=nil)
5628
+ def initialize(status=nil, cstype=nil, csshiftduration=nil, csexpiredtime=nil, createdat=nil, updatedat=nil, packageid=nil, orderid=nil)
5565
5629
  @Status = status
5566
5630
  @CSType = cstype
5567
5631
  @CSShiftDuration = csshiftduration
5568
5632
  @CSExpiredTime = csexpiredtime
5569
5633
  @CreatedAt = createdat
5570
5634
  @UpdatedAt = updatedat
5635
+ @PackageId = packageid
5636
+ @OrderId = orderid
5571
5637
  end
5572
5638
 
5573
5639
  def deserialize(params)
@@ -5577,6 +5643,8 @@ module TencentCloud
5577
5643
  @CSExpiredTime = params['CSExpiredTime']
5578
5644
  @CreatedAt = params['CreatedAt']
5579
5645
  @UpdatedAt = params['UpdatedAt']
5646
+ @PackageId = params['PackageId']
5647
+ @OrderId = params['OrderId']
5580
5648
  end
5581
5649
  end
5582
5650
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-iotvideo
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.637
4
+ version: 3.0.639
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-16 00:00:00.000000000 Z
11
+ date: 2023-08-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common