Class: TencentCloud::Msp::V20180319::ListMigrationTaskResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Msp::V20180319::ListMigrationTaskResponse
- Defined in:
- lib/v20180319/models.rb
Overview
ListMigrationTask返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ ListMigrationTaskResponse
constructor
A new instance of ListMigrationTaskResponse.
Constructor Details
#initialize(totalcount = nil, tasks = nil, requestid = nil) ⇒ ListMigrationTaskResponse
Returns a new instance of ListMigrationTaskResponse.
209 210 211 212 213 |
# File 'lib/v20180319/models.rb', line 209 def initialize(totalcount=nil, tasks=nil, requestid=nil) @TotalCount = totalcount @Tasks = tasks @RequestId = requestid end |
Instance Attribute Details
#RequestId ⇒ Object
207 208 209 |
# File 'lib/v20180319/models.rb', line 207 def RequestId @RequestId end |
#Tasks ⇒ Object
207 208 209 |
# File 'lib/v20180319/models.rb', line 207 def Tasks @Tasks end |
#TotalCount ⇒ Object
207 208 209 |
# File 'lib/v20180319/models.rb', line 207 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
215 216 217 218 219 220 221 222 223 224 225 226 |
# File 'lib/v20180319/models.rb', line 215 def deserialize(params) @TotalCount = params['TotalCount'] unless params['Tasks'].nil? @Tasks = [] params['Tasks'].each do |i| task_tmp = Task.new task_tmp.deserialize(i) @Tasks << task_tmp end end @RequestId = params['RequestId'] end |