Class: TencentCloud::Iecp::V20210914::GetMarketComponentListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iecp::V20210914::GetMarketComponentListResponse
- Defined in:
- lib/v20210914/models.rb
Overview
GetMarketComponentList返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(componentlist = nil, totalcount = nil, requestid = nil) ⇒ GetMarketComponentListResponse
constructor
A new instance of GetMarketComponentListResponse.
Constructor Details
#initialize(componentlist = nil, totalcount = nil, requestid = nil) ⇒ GetMarketComponentListResponse
Returns a new instance of GetMarketComponentListResponse.
4544 4545 4546 4547 4548 |
# File 'lib/v20210914/models.rb', line 4544 def initialize(componentlist=nil, totalcount=nil, requestid=nil) @ComponentList = componentlist @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#ComponentList ⇒ Object
4542 4543 4544 |
# File 'lib/v20210914/models.rb', line 4542 def ComponentList @ComponentList end |
#RequestId ⇒ Object
4542 4543 4544 |
# File 'lib/v20210914/models.rb', line 4542 def RequestId @RequestId end |
#TotalCount ⇒ Object
4542 4543 4544 |
# File 'lib/v20210914/models.rb', line 4542 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 |
# File 'lib/v20210914/models.rb', line 4550 def deserialize(params) unless params['ComponentList'].nil? @ComponentList = [] params['ComponentList'].each do |i| marketcomponentinfo_tmp = MarketComponentInfo.new marketcomponentinfo_tmp.deserialize(i) @ComponentList << marketcomponentinfo_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |