tencentcloud-sdk-ssl 3.0.429 → 3.0.430
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/v20191205/client.rb +24 -0
- data/lib/v20191205/models.rb +195 -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: 527092961bf6de44f66a4ea5dd0b9c6cbbc01913
|
4
|
+
data.tar.gz: 8eee0ac73c055a2b9b834f19b3ab183137fa1f7a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e976742df69c40572e92f0e7b3bec9ba36c60cd5e598991f0f5fa11cab9b0e81596d865004d228f58a24d5ca9e141ec36b827add5687daa0759f3d0af178bb6d
|
7
|
+
data.tar.gz: b1665dd63d07918f07080a5e4c557a6f5d007317b05ec6c5ef911a2191cd9278c6c595dcfe90cdb0ef811b1c66dcc6aa9f459af34d6cb305c6e726d29d63bf97
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.430
|
data/lib/v20191205/client.rb
CHANGED
@@ -389,6 +389,30 @@ module TencentCloud
|
|
389
389
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
390
|
end
|
391
391
|
|
392
|
+
# 获得权益包列表
|
393
|
+
|
394
|
+
# @param request: Request instance for DescribePackages.
|
395
|
+
# @type request: :class:`Tencentcloud::ssl::V20191205::DescribePackagesRequest`
|
396
|
+
# @rtype: :class:`Tencentcloud::ssl::V20191205::DescribePackagesResponse`
|
397
|
+
def DescribePackages(request)
|
398
|
+
body = send_request('DescribePackages', request.serialize)
|
399
|
+
response = JSON.parse(body)
|
400
|
+
if response['Response'].key?('Error') == false
|
401
|
+
model = DescribePackagesResponse.new
|
402
|
+
model.deserialize(response['Response'])
|
403
|
+
model
|
404
|
+
else
|
405
|
+
code = response['Response']['Error']['Code']
|
406
|
+
message = response['Response']['Error']['Message']
|
407
|
+
reqid = response['Response']['RequestId']
|
408
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
409
|
+
end
|
410
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
411
|
+
raise e
|
412
|
+
rescue StandardError => e
|
413
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
414
|
+
end
|
415
|
+
|
392
416
|
# 本接口(DownloadCertificate)用于下载证书。
|
393
417
|
|
394
418
|
# @param request: Request instance for DownloadCertificate.
|
data/lib/v20191205/models.rb
CHANGED
@@ -1562,6 +1562,81 @@ module TencentCloud
|
|
1562
1562
|
end
|
1563
1563
|
end
|
1564
1564
|
|
1565
|
+
# DescribePackages请求参数结构体
|
1566
|
+
class DescribePackagesRequest < TencentCloud::Common::AbstractModel
|
1567
|
+
# @param Offset: 偏移量,默认0。
|
1568
|
+
# @type Offset: Integer
|
1569
|
+
# @param Limit: 限制数目,默认20。
|
1570
|
+
# @type Limit: Integer
|
1571
|
+
# @param Status: 按状态筛选。
|
1572
|
+
# @type Status: String
|
1573
|
+
# @param ExpireTime: 按过期时间升序或降序排列。
|
1574
|
+
# @type ExpireTime: String
|
1575
|
+
# @param PackageId: 按权益包ID搜索。
|
1576
|
+
# @type PackageId: String
|
1577
|
+
# @param Type: 按权益包类型搜索。
|
1578
|
+
# @type Type: String
|
1579
|
+
# @param Pid: 子产品编号
|
1580
|
+
# @type Pid: Integer
|
1581
|
+
|
1582
|
+
attr_accessor :Offset, :Limit, :Status, :ExpireTime, :PackageId, :Type, :Pid
|
1583
|
+
|
1584
|
+
def initialize(offset=nil, limit=nil, status=nil, expiretime=nil, packageid=nil, type=nil, pid=nil)
|
1585
|
+
@Offset = offset
|
1586
|
+
@Limit = limit
|
1587
|
+
@Status = status
|
1588
|
+
@ExpireTime = expiretime
|
1589
|
+
@PackageId = packageid
|
1590
|
+
@Type = type
|
1591
|
+
@Pid = pid
|
1592
|
+
end
|
1593
|
+
|
1594
|
+
def deserialize(params)
|
1595
|
+
@Offset = params['Offset']
|
1596
|
+
@Limit = params['Limit']
|
1597
|
+
@Status = params['Status']
|
1598
|
+
@ExpireTime = params['ExpireTime']
|
1599
|
+
@PackageId = params['PackageId']
|
1600
|
+
@Type = params['Type']
|
1601
|
+
@Pid = params['Pid']
|
1602
|
+
end
|
1603
|
+
end
|
1604
|
+
|
1605
|
+
# DescribePackages返回参数结构体
|
1606
|
+
class DescribePackagesResponse < TencentCloud::Common::AbstractModel
|
1607
|
+
# @param Packages: 权益包列表。
|
1608
|
+
# @type Packages: Array
|
1609
|
+
# @param TotalCount: 总条数。
|
1610
|
+
# @type TotalCount: Integer
|
1611
|
+
# @param TotalBalance: 权益点总余额。
|
1612
|
+
# @type TotalBalance: Integer
|
1613
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1614
|
+
# @type RequestId: String
|
1615
|
+
|
1616
|
+
attr_accessor :Packages, :TotalCount, :TotalBalance, :RequestId
|
1617
|
+
|
1618
|
+
def initialize(packages=nil, totalcount=nil, totalbalance=nil, requestid=nil)
|
1619
|
+
@Packages = packages
|
1620
|
+
@TotalCount = totalcount
|
1621
|
+
@TotalBalance = totalbalance
|
1622
|
+
@RequestId = requestid
|
1623
|
+
end
|
1624
|
+
|
1625
|
+
def deserialize(params)
|
1626
|
+
unless params['Packages'].nil?
|
1627
|
+
@Packages = []
|
1628
|
+
params['Packages'].each do |i|
|
1629
|
+
packageinfo_tmp = PackageInfo.new
|
1630
|
+
packageinfo_tmp.deserialize(i)
|
1631
|
+
@Packages << packageinfo_tmp
|
1632
|
+
end
|
1633
|
+
end
|
1634
|
+
@TotalCount = params['TotalCount']
|
1635
|
+
@TotalBalance = params['TotalBalance']
|
1636
|
+
@RequestId = params['RequestId']
|
1637
|
+
end
|
1638
|
+
end
|
1639
|
+
|
1565
1640
|
# DownloadCertificate请求参数结构体
|
1566
1641
|
class DownloadCertificateRequest < TencentCloud::Common::AbstractModel
|
1567
1642
|
# @param CertificateId: 证书 ID。
|
@@ -1939,6 +2014,126 @@ module TencentCloud
|
|
1939
2014
|
end
|
1940
2015
|
end
|
1941
2016
|
|
2017
|
+
# 权益包基本信息
|
2018
|
+
class PackageInfo < TencentCloud::Common::AbstractModel
|
2019
|
+
# @param PackageId: 权益包ID。
|
2020
|
+
# @type PackageId: String
|
2021
|
+
# @param Total: 权益包内权益点总量。
|
2022
|
+
# @type Total: Integer
|
2023
|
+
# @param Balance: 权益包内权益点余量。
|
2024
|
+
# @type Balance: Integer
|
2025
|
+
# @param Type: 权益包名称。
|
2026
|
+
# @type Type: String
|
2027
|
+
# @param SourceUin: 权益点是转入时,来源信息。
|
2028
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2029
|
+
# @type SourceUin: Integer
|
2030
|
+
# @param Status: 权益点状态。
|
2031
|
+
# @type Status: String
|
2032
|
+
# @param ExpireTime: 过期时间。
|
2033
|
+
# @type ExpireTime: String
|
2034
|
+
# @param UpdateTime: 更新时间。
|
2035
|
+
# @type UpdateTime: String
|
2036
|
+
# @param CreateTime: 生成时间。
|
2037
|
+
# @type CreateTime: String
|
2038
|
+
# @param SourceType: 来源类型。
|
2039
|
+
# @type SourceType: String
|
2040
|
+
# @param TransferOutInfos: 转移信息。
|
2041
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2042
|
+
# @type TransferOutInfos: Array
|
2043
|
+
|
2044
|
+
attr_accessor :PackageId, :Total, :Balance, :Type, :SourceUin, :Status, :ExpireTime, :UpdateTime, :CreateTime, :SourceType, :TransferOutInfos
|
2045
|
+
|
2046
|
+
def initialize(packageid=nil, total=nil, balance=nil, type=nil, sourceuin=nil, status=nil, expiretime=nil, updatetime=nil, createtime=nil, sourcetype=nil, transferoutinfos=nil)
|
2047
|
+
@PackageId = packageid
|
2048
|
+
@Total = total
|
2049
|
+
@Balance = balance
|
2050
|
+
@Type = type
|
2051
|
+
@SourceUin = sourceuin
|
2052
|
+
@Status = status
|
2053
|
+
@ExpireTime = expiretime
|
2054
|
+
@UpdateTime = updatetime
|
2055
|
+
@CreateTime = createtime
|
2056
|
+
@SourceType = sourcetype
|
2057
|
+
@TransferOutInfos = transferoutinfos
|
2058
|
+
end
|
2059
|
+
|
2060
|
+
def deserialize(params)
|
2061
|
+
@PackageId = params['PackageId']
|
2062
|
+
@Total = params['Total']
|
2063
|
+
@Balance = params['Balance']
|
2064
|
+
@Type = params['Type']
|
2065
|
+
@SourceUin = params['SourceUin']
|
2066
|
+
@Status = params['Status']
|
2067
|
+
@ExpireTime = params['ExpireTime']
|
2068
|
+
@UpdateTime = params['UpdateTime']
|
2069
|
+
@CreateTime = params['CreateTime']
|
2070
|
+
@SourceType = params['SourceType']
|
2071
|
+
unless params['TransferOutInfos'].nil?
|
2072
|
+
@TransferOutInfos = []
|
2073
|
+
params['TransferOutInfos'].each do |i|
|
2074
|
+
packagetransferoutinfo_tmp = PackageTransferOutInfo.new
|
2075
|
+
packagetransferoutinfo_tmp.deserialize(i)
|
2076
|
+
@TransferOutInfos << packagetransferoutinfo_tmp
|
2077
|
+
end
|
2078
|
+
end
|
2079
|
+
end
|
2080
|
+
end
|
2081
|
+
|
2082
|
+
# 权益包转出详情
|
2083
|
+
class PackageTransferOutInfo < TencentCloud::Common::AbstractModel
|
2084
|
+
# @param PackageId: 权益包ID。
|
2085
|
+
# @type PackageId: String
|
2086
|
+
# @param TransferCode: 转移码。
|
2087
|
+
# @type TransferCode: String
|
2088
|
+
# @param TransferCount: 本次转移点数。
|
2089
|
+
# @type TransferCount: Integer
|
2090
|
+
# @param ReceivePackageId: 转入的PackageID。
|
2091
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2092
|
+
# @type ReceivePackageId: String
|
2093
|
+
# @param ExpireTime: 本次转移过期时间。
|
2094
|
+
# @type ExpireTime: String
|
2095
|
+
# @param CreateTime: 本次转移生成时间。
|
2096
|
+
# @type CreateTime: String
|
2097
|
+
# @param UpdateTime: 本次转移更新时间。
|
2098
|
+
# @type UpdateTime: String
|
2099
|
+
# @param TransferStatus: 转移状态。
|
2100
|
+
# @type TransferStatus: String
|
2101
|
+
# @param ReceiverUin: 接收者uin。
|
2102
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2103
|
+
# @type ReceiverUin: Integer
|
2104
|
+
# @param ReceiveTime: 接收时间。
|
2105
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2106
|
+
# @type ReceiveTime: String
|
2107
|
+
|
2108
|
+
attr_accessor :PackageId, :TransferCode, :TransferCount, :ReceivePackageId, :ExpireTime, :CreateTime, :UpdateTime, :TransferStatus, :ReceiverUin, :ReceiveTime
|
2109
|
+
|
2110
|
+
def initialize(packageid=nil, transfercode=nil, transfercount=nil, receivepackageid=nil, expiretime=nil, createtime=nil, updatetime=nil, transferstatus=nil, receiveruin=nil, receivetime=nil)
|
2111
|
+
@PackageId = packageid
|
2112
|
+
@TransferCode = transfercode
|
2113
|
+
@TransferCount = transfercount
|
2114
|
+
@ReceivePackageId = receivepackageid
|
2115
|
+
@ExpireTime = expiretime
|
2116
|
+
@CreateTime = createtime
|
2117
|
+
@UpdateTime = updatetime
|
2118
|
+
@TransferStatus = transferstatus
|
2119
|
+
@ReceiverUin = receiveruin
|
2120
|
+
@ReceiveTime = receivetime
|
2121
|
+
end
|
2122
|
+
|
2123
|
+
def deserialize(params)
|
2124
|
+
@PackageId = params['PackageId']
|
2125
|
+
@TransferCode = params['TransferCode']
|
2126
|
+
@TransferCount = params['TransferCount']
|
2127
|
+
@ReceivePackageId = params['ReceivePackageId']
|
2128
|
+
@ExpireTime = params['ExpireTime']
|
2129
|
+
@CreateTime = params['CreateTime']
|
2130
|
+
@UpdateTime = params['UpdateTime']
|
2131
|
+
@TransferStatus = params['TransferStatus']
|
2132
|
+
@ReceiverUin = params['ReceiverUin']
|
2133
|
+
@ReceiveTime = params['ReceiveTime']
|
2134
|
+
end
|
2135
|
+
end
|
2136
|
+
|
1942
2137
|
# 获取证书列表(DescribeCertificates)返回参数键为 Certificates 下,key为 ProjectInfo 的内容。
|
1943
2138
|
class ProjectInfo < TencentCloud::Common::AbstractModel
|
1944
2139
|
# @param ProjectName: 项目名称。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-ssl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.430
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|