Class: TencentCloud::Tic::V20201117::DescribeStackEventsResponse

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201117/models.rb

Overview

DescribeStackEvents返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#EventsObject

Parameters:

  • TotalCount:

    符合条件的事件数量

  • Events:

    事件详细信息列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



346
347
348
# File 'lib/v20201117/models.rb', line 346

def Events
  @Events
end

#RequestIdObject

Parameters:

  • TotalCount:

    符合条件的事件数量

  • Events:

    事件详细信息列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



346
347
348
# File 'lib/v20201117/models.rb', line 346

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    符合条件的事件数量

  • Events:

    事件详细信息列表

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



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