Class: TencentCloud::Scf::V20180416::ListAsyncEventsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Scf::V20180416::ListAsyncEventsResponse
- Defined in:
- lib/v20180416/models.rb
Overview
ListAsyncEvents返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, eventlist = nil, requestid = nil) ⇒ ListAsyncEventsResponse
constructor
A new instance of ListAsyncEventsResponse.
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
3156 3157 3158 |
# File 'lib/v20180416/models.rb', line 3156 def EventList @EventList end |
#RequestId ⇒ Object
3156 3157 3158 |
# File 'lib/v20180416/models.rb', line 3156 def RequestId @RequestId end |
#TotalCount ⇒ Object
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 |