tencentcloud-sdk-iotvideo 3.0.638 → 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: 4ed158df6a7aac63cdf7b4cfbc793c44ec1c9726
4
- data.tar.gz: c26b9ceb091b46a71aabf62df5abdfd81ecc0499
3
+ metadata.gz: 586357d92adbc460e60318361f9796069d5ed63a
4
+ data.tar.gz: 0fb3db891ad1feb4abac8742622f183bd090b798
5
5
  SHA512:
6
- metadata.gz: 77057ad6f1301617449e6afc908ab23dde025fd05d8e6788adeeebf109d829f01cd29ff88c9956149e55e3d2eabe42de404136e097f2b642fb9a4f7bad74e6d2
7
- data.tar.gz: b00fc469b771312fcfcf5065f05aa20be3f1822aff41095184b275376178d64a33964c3b9341de0cde660c207d16f91e7108bf993ef5e5d77ce17557088bb249
6
+ metadata.gz: 007dd6e4136dba6b440ab92e98c0a1b7e4f84e03435ba9b8001897742f34f84cfbf2e89505d79d20bad8065299938853991f0315623f2d8065b5c97e1c590a51
7
+ data.tar.gz: c07795657626ce84f66f341084bd89d204c97eb2a26abd5800ba3c74b3085fd08e7abd9122b9001ecf947dff82a7595eb0cd3510a6f36719c1d1d4850540026a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.638
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.
@@ -2287,6 +2287,60 @@ module TencentCloud
2287
2287
  end
2288
2288
  end
2289
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
+
2290
2344
  # DescribeCloudStoragePackageConsumeDetails请求参数结构体
2291
2345
  class DescribeCloudStoragePackageConsumeDetailsRequest < TencentCloud::Common::AbstractModel
2292
2346
  # @param StartDate: 开始日期
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.638
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-17 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