Class: TencentCloud::Ssl::V20191205::DescribePackagesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ssl::V20191205::DescribePackagesResponse
- Defined in:
- lib/v20191205/models.rb
Overview
DescribePackages返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(packages = nil, totalcount = nil, totalbalance = nil, requestid = nil) ⇒ DescribePackagesResponse
constructor
A new instance of DescribePackagesResponse.
Constructor Details
#initialize(packages = nil, totalcount = nil, totalbalance = nil, requestid = nil) ⇒ DescribePackagesResponse
Returns a new instance of DescribePackagesResponse.
5653 5654 5655 5656 5657 5658 |
# File 'lib/v20191205/models.rb', line 5653 def initialize(packages=nil, totalcount=nil, totalbalance=nil, requestid=nil) @Packages = packages @TotalCount = totalcount @TotalBalance = totalbalance @RequestId = requestid end |
Instance Attribute Details
#Packages ⇒ Object
5651 5652 5653 |
# File 'lib/v20191205/models.rb', line 5651 def Packages @Packages end |
#RequestId ⇒ Object
5651 5652 5653 |
# File 'lib/v20191205/models.rb', line 5651 def RequestId @RequestId end |
#TotalBalance ⇒ Object
5651 5652 5653 |
# File 'lib/v20191205/models.rb', line 5651 def TotalBalance @TotalBalance end |
#TotalCount ⇒ Object
5651 5652 5653 |
# File 'lib/v20191205/models.rb', line 5651 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 |
# File 'lib/v20191205/models.rb', line 5660 def deserialize(params) unless params['Packages'].nil? @Packages = [] params['Packages'].each do |i| packageinfo_tmp = PackageInfo.new packageinfo_tmp.deserialize(i) @Packages << packageinfo_tmp end end @TotalCount = params['TotalCount'] @TotalBalance = params['TotalBalance'] @RequestId = params['RequestId'] end |