tencentcloud-sdk-iotvideo 3.0.638 → 3.0.640
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20211125/client.rb +24 -0
- data/lib/v20211125/models.rb +54 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b13ef9d791dfc2fb3f65cb8df286b2ee8bfc824
|
4
|
+
data.tar.gz: 3e107d12daa56e267ee108b392d0b2dfbb0b17b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc3848be5d37f2d084d9bf01009cb163eea9d8bbeb72776ac5358cf626e686f96d1040e9e1c28b110d7b5576c68e10a457ce0bd0d345a2c31e05136c47e46510
|
7
|
+
data.tar.gz: a11347e8fd84971f7e919ff9a8e9b7e8b03f8691bffd20795f39337cf0613d08868212a3c29047257f55128ebed02104bbffb177a079aa12e468e37544a413e6
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.640
|
data/lib/v20211125/client.rb
CHANGED
@@ -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.
|
data/lib/v20211125/models.rb
CHANGED
@@ -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.
|
4
|
+
version: 3.0.640
|
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-
|
11
|
+
date: 2023-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|