Class: TencentCloud::Cdwch::V20200915::DescribeEventTasksResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdwch::V20200915::DescribeEventTasksResponse
- Defined in:
- lib/v20200915/models.rb
Overview
DescribeEventTasks返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(eventtasks = nil, totalcount = nil, requestid = nil) ⇒ DescribeEventTasksResponse
constructor
A new instance of DescribeEventTasksResponse.
Constructor Details
#initialize(eventtasks = nil, totalcount = nil, requestid = nil) ⇒ DescribeEventTasksResponse
Returns a new instance of DescribeEventTasksResponse.
1247 1248 1249 1250 1251 |
# File 'lib/v20200915/models.rb', line 1247 def initialize(eventtasks=nil, totalcount=nil, requestid=nil) @EventTasks = eventtasks @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#EventTasks ⇒ Object
1245 1246 1247 |
# File 'lib/v20200915/models.rb', line 1245 def EventTasks @EventTasks end |
#RequestId ⇒ Object
1245 1246 1247 |
# File 'lib/v20200915/models.rb', line 1245 def RequestId @RequestId end |
#TotalCount ⇒ Object
1245 1246 1247 |
# File 'lib/v20200915/models.rb', line 1245 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 |
# File 'lib/v20200915/models.rb', line 1253 def deserialize(params) unless params['EventTasks'].nil? @EventTasks = [] params['EventTasks'].each do |i| eventtask_tmp = EventTask.new eventtask_tmp.deserialize(i) @EventTasks << eventtask_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |