Class: TencentCloud::Tic::V20201117::DescribeStackEventsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tic::V20201117::DescribeStackEventsResponse
- Defined in:
- lib/v20201117/models.rb
Overview
DescribeStackEvents返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, events = nil, requestid = nil) ⇒ DescribeStackEventsResponse
constructor
A new instance of DescribeStackEventsResponse.
Constructor Details
#initialize(totalcount = nil, events = nil, requestid = nil) ⇒ DescribeStackEventsResponse
Returns a new instance of DescribeStackEventsResponse.
348 349 350 351 352 |
# File 'lib/v20201117/models.rb', line 348 def initialize(totalcount=nil, events=nil, requestid=nil) @TotalCount = totalcount @Events = events @RequestId = requestid end |
Instance Attribute Details
#Events ⇒ Object
346 347 348 |
# File 'lib/v20201117/models.rb', line 346 def Events @Events end |
#RequestId ⇒ Object
346 347 348 |
# File 'lib/v20201117/models.rb', line 346 def RequestId @RequestId end |
#TotalCount ⇒ Object
346 347 348 |
# File 'lib/v20201117/models.rb', line 346 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
354 355 356 357 358 359 360 361 362 363 364 365 |
# File 'lib/v20201117/models.rb', line 354 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Events'].nil? @Events = [] params['Events'].each do |i| eventinfo_tmp = EventInfo.new eventinfo_tmp.deserialize(i) @Events << eventinfo_tmp end end @RequestId = params['RequestId'] end |