Class: TencentCloud::Lighthouse::V20200324::DescribeBundlesResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Lighthouse::V20200324::DescribeBundlesResponse
- Defined in:
- lib/v20200324/models.rb
Overview
DescribeBundles返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(bundleset = nil, totalcount = nil, requestid = nil) ⇒ DescribeBundlesResponse
constructor
A new instance of DescribeBundlesResponse.
Constructor Details
#initialize(bundleset = nil, totalcount = nil, requestid = nil) ⇒ DescribeBundlesResponse
Returns a new instance of DescribeBundlesResponse.
1956 1957 1958 1959 1960 |
# File 'lib/v20200324/models.rb', line 1956 def initialize(bundleset=nil, totalcount=nil, requestid=nil) @BundleSet = bundleset @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#BundleSet ⇒ Object
1954 1955 1956 |
# File 'lib/v20200324/models.rb', line 1954 def BundleSet @BundleSet end |
#RequestId ⇒ Object
1954 1955 1956 |
# File 'lib/v20200324/models.rb', line 1954 def RequestId @RequestId end |
#TotalCount ⇒ Object
1954 1955 1956 |
# File 'lib/v20200324/models.rb', line 1954 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 |
# File 'lib/v20200324/models.rb', line 1962 def deserialize(params) unless params['BundleSet'].nil? @BundleSet = [] params['BundleSet'].each do |i| bundle_tmp = Bundle.new bundle_tmp.deserialize(i) @BundleSet << bundle_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |