Class: TencentCloud::Iotexplorer::V20190423::SearchStudioProductResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::SearchStudioProductResponse
- Defined in:
- lib/v20190423/models.rb
Overview
SearchStudioProduct返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(products = nil, total = nil, requestid = nil) ⇒ SearchStudioProductResponse
constructor
A new instance of SearchStudioProductResponse.
Constructor Details
#initialize(products = nil, total = nil, requestid = nil) ⇒ SearchStudioProductResponse
Returns a new instance of SearchStudioProductResponse.
12999 13000 13001 13002 13003 |
# File 'lib/v20190423/models.rb', line 12999 def initialize(products=nil, total=nil, requestid=nil) @Products = products @Total = total @RequestId = requestid end |
Instance Attribute Details
#Products ⇒ Object
12997 12998 12999 |
# File 'lib/v20190423/models.rb', line 12997 def Products @Products end |
#RequestId ⇒ Object
12997 12998 12999 |
# File 'lib/v20190423/models.rb', line 12997 def RequestId @RequestId end |
#Total ⇒ Object
12997 12998 12999 |
# File 'lib/v20190423/models.rb', line 12997 def Total @Total end |
Instance Method Details
#deserialize(params) ⇒ Object
13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 |
# File 'lib/v20190423/models.rb', line 13005 def deserialize(params) unless params['Products'].nil? @Products = [] params['Products'].each do |i| productentry_tmp = ProductEntry.new productentry_tmp.deserialize(i) @Products << productentry_tmp end end @Total = params['Total'] @RequestId = params['RequestId'] end |