Class: TencentCloud::Scf::V20180416::ListAsyncEventsResponse

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

Overview

ListAsyncEvents返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, eventlist = nil, requestid = nil) ⇒ ListAsyncEventsResponse

Returns a new instance of ListAsyncEventsResponse.



3158
3159
3160
3161
3162
# File 'lib/v20180416/models.rb', line 3158

def initialize(totalcount=nil, eventlist=nil, requestid=nil)
  @TotalCount = totalcount
  @EventList = eventlist
  @RequestId = requestid
end

Instance Attribute Details

#EventList ⇒ Object

Parameters:

  • TotalCount: —

    满足过滤条件的事件总数

  • EventList: —

    异步事件列表

  • RequestId: —

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3156
3157
3158
# File 'lib/v20180416/models.rb', line 3156

def EventList
  @EventList
end

#RequestId ⇒ Object

Parameters:

  • TotalCount: —

    满足过滤条件的事件总数

  • EventList: —

    异步事件列表

  • RequestId: —

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3156
3157
3158
# File 'lib/v20180416/models.rb', line 3156

def RequestId
  @RequestId
end

#TotalCount ⇒ Object

Parameters:

  • TotalCount: —

    满足过滤条件的事件总数

  • EventList: —

    异步事件列表

  • RequestId: —

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3156
3157
3158
# File 'lib/v20180416/models.rb', line 3156

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
# File 'lib/v20180416/models.rb', line 3164

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['EventList'].nil?
    @EventList = []
    params['EventList'].each do |i|
      asyncevent_tmp = AsyncEvent.new
      asyncevent_tmp.deserialize(i)
      @EventList << asyncevent_tmp
    end
  end
  @RequestId = params['RequestId']
end