Class: TencentCloud::Weilingwith::V20230427::ElementProfilePageRes
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Weilingwith::V20230427::ElementProfilePageRes
- Defined in:
- lib/v20230427/models.rb
Overview
构件分页查询响应体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, list = nil) ⇒ ElementProfilePageRes
constructor
A new instance of ElementProfilePageRes.
Constructor Details
#initialize(totalcount = nil, list = nil) ⇒ ElementProfilePageRes
Returns a new instance of ElementProfilePageRes.
5372 5373 5374 5375 |
# File 'lib/v20230427/models.rb', line 5372 def initialize(totalcount=nil, list=nil) @TotalCount = totalcount @List = list end |
Instance Attribute Details
#List ⇒ Object
5370 5371 5372 |
# File 'lib/v20230427/models.rb', line 5370 def List @List end |
#TotalCount ⇒ Object
5370 5371 5372 |
# File 'lib/v20230427/models.rb', line 5370 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 |
# File 'lib/v20230427/models.rb', line 5377 def deserialize(params) @TotalCount = params['TotalCount'] unless params['List'].nil? @List = [] params['List'].each do |i| elementprofile_tmp = ElementProfile.new elementprofile_tmp.deserialize(i) @List << elementprofile_tmp end end end |