Class: TencentCloud::Tic::V20201117::DescribeStacksResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tic::V20201117::DescribeStacksResponse
- Defined in:
- lib/v20201117/models.rb
Overview
DescribeStacks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, stacks = nil, requestid = nil) ⇒ DescribeStacksResponse
constructor
A new instance of DescribeStacksResponse.
Constructor Details
#initialize(totalcount = nil, stacks = nil, requestid = nil) ⇒ DescribeStacksResponse
Returns a new instance of DescribeStacksResponse.
479 480 481 482 483 |
# File 'lib/v20201117/models.rb', line 479 def initialize(totalcount=nil, stacks=nil, requestid=nil) @TotalCount = totalcount @Stacks = stacks @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
477 478 479 |
# File 'lib/v20201117/models.rb', line 477 def RequestId @RequestId end |
#Stacks ⇒ Object
477 478 479 |
# File 'lib/v20201117/models.rb', line 477 def Stacks @Stacks end |
#TotalCount ⇒ Object
477 478 479 |
# File 'lib/v20201117/models.rb', line 477 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
485 486 487 488 489 490 491 492 493 494 495 496 |
# File 'lib/v20201117/models.rb', line 485 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Stacks'].nil? @Stacks = [] params['Stacks'].each do |i| stackinfo_tmp = StackInfo.new stackinfo_tmp.deserialize(i) @Stacks << stackinfo_tmp end end @RequestId = params['RequestId'] end |