Class: TencentCloud::Cdn::V20180606::DescribeHttpsPackagesResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeHttpsPackagesResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeHttpsPackages返回参数结构体
Instance Attribute Summary collapse
- #EnabledCount ⇒ Object
- #ExpiringCount ⇒ Object
- #HttpsPackages ⇒ Object
- #PaidCount ⇒ Object
- #RequestId ⇒ Object
- #TotalCount ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, httpspackages = nil, expiringcount = nil, enabledcount = nil, paidcount = nil, requestid = nil) ⇒ DescribeHttpsPackagesResponse
constructor
A new instance of DescribeHttpsPackagesResponse.
Constructor Details
#initialize(totalcount = nil, httpspackages = nil, expiringcount = nil, enabledcount = nil, paidcount = nil, requestid = nil) ⇒ DescribeHttpsPackagesResponse
Returns a new instance of DescribeHttpsPackagesResponse.
4648 4649 4650 4651 4652 4653 4654 4655 |
# File 'lib/v20180606/models.rb', line 4648 def initialize(totalcount=nil, httpspackages=nil, expiringcount=nil, enabledcount=nil, paidcount=nil, requestid=nil) @TotalCount = totalcount @HttpsPackages = httpspackages @ExpiringCount = expiringcount @EnabledCount = enabledcount @PaidCount = paidcount @RequestId = requestid end |
Instance Attribute Details
#EnabledCount ⇒ Object
4646 4647 4648 |
# File 'lib/v20180606/models.rb', line 4646 def EnabledCount @EnabledCount end |
#ExpiringCount ⇒ Object
4646 4647 4648 |
# File 'lib/v20180606/models.rb', line 4646 def ExpiringCount @ExpiringCount end |
#HttpsPackages ⇒ Object
4646 4647 4648 |
# File 'lib/v20180606/models.rb', line 4646 def HttpsPackages @HttpsPackages end |
#PaidCount ⇒ Object
4646 4647 4648 |
# File 'lib/v20180606/models.rb', line 4646 def PaidCount @PaidCount end |
#RequestId ⇒ Object
4646 4647 4648 |
# File 'lib/v20180606/models.rb', line 4646 def RequestId @RequestId end |
#TotalCount ⇒ Object
4646 4647 4648 |
# File 'lib/v20180606/models.rb', line 4646 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 |
# File 'lib/v20180606/models.rb', line 4657 def deserialize(params) @TotalCount = params['TotalCount'] unless params['HttpsPackages'].nil? @HttpsPackages = [] params['HttpsPackages'].each do |i| httpspackage_tmp = HttpsPackage.new httpspackage_tmp.deserialize(i) @HttpsPackages << httpspackage_tmp end end @ExpiringCount = params['ExpiringCount'] @EnabledCount = params['EnabledCount'] @PaidCount = params['PaidCount'] @RequestId = params['RequestId'] end |