Class: TencentCloud::Dts::V20180330::DescribeMigrateJobsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20180330::DescribeMigrateJobsResponse
- Defined in:
- lib/v20180330/models.rb
Overview
DescribeMigrateJobs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, joblist = nil, requestid = nil) ⇒ DescribeMigrateJobsResponse
constructor
A new instance of DescribeMigrateJobsResponse.
Constructor Details
#initialize(totalcount = nil, joblist = nil, requestid = nil) ⇒ DescribeMigrateJobsResponse
Returns a new instance of DescribeMigrateJobsResponse.
527 528 529 530 531 |
# File 'lib/v20180330/models.rb', line 527 def initialize(totalcount=nil, joblist=nil, requestid=nil) @TotalCount = totalcount @JobList = joblist @RequestId = requestid end |
Instance Attribute Details
#JobList ⇒ Object
525 526 527 |
# File 'lib/v20180330/models.rb', line 525 def JobList @JobList end |
#RequestId ⇒ Object
525 526 527 |
# File 'lib/v20180330/models.rb', line 525 def RequestId @RequestId end |
#TotalCount ⇒ Object
525 526 527 |
# File 'lib/v20180330/models.rb', line 525 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
533 534 535 536 537 538 539 540 541 542 543 544 |
# File 'lib/v20180330/models.rb', line 533 def deserialize(params) @TotalCount = params['TotalCount'] unless params['JobList'].nil? @JobList = [] params['JobList'].each do |i| migratejobinfo_tmp = MigrateJobInfo.new migratejobinfo_tmp.deserialize(i) @JobList << migratejobinfo_tmp end end @RequestId = params['RequestId'] end |