Class: TencentCloud::Yunjing::V20180228::DescribeComponentsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yunjing::V20180228::DescribeComponentsResponse
- Defined in:
- lib/v20180228/models.rb
Overview
DescribeComponents返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, components = nil, requestid = nil) ⇒ DescribeComponentsResponse
constructor
A new instance of DescribeComponentsResponse.
Constructor Details
#initialize(totalcount = nil, components = nil, requestid = nil) ⇒ DescribeComponentsResponse
Returns a new instance of DescribeComponentsResponse.
2105 2106 2107 2108 2109 |
# File 'lib/v20180228/models.rb', line 2105 def initialize(totalcount=nil, components=nil, requestid=nil) @TotalCount = totalcount @Components = components @RequestId = requestid end |
Instance Attribute Details
#Components ⇒ Object
2103 2104 2105 |
# File 'lib/v20180228/models.rb', line 2103 def Components @Components end |
#RequestId ⇒ Object
2103 2104 2105 |
# File 'lib/v20180228/models.rb', line 2103 def RequestId @RequestId end |
#TotalCount ⇒ Object
2103 2104 2105 |
# File 'lib/v20180228/models.rb', line 2103 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 |
# File 'lib/v20180228/models.rb', line 2111 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Components'].nil? @Components = [] params['Components'].each do |i| component_tmp = Component.new component_tmp.deserialize(i) @Components << component_tmp end end @RequestId = params['RequestId'] end |