Class: TencentCloud::Dts::V20211206::DescribeMigrationJobsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::DescribeMigrationJobsResponse
- Defined in:
- lib/v20211206/models.rb
Overview
DescribeMigrationJobs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, joblist = nil, requestid = nil) ⇒ DescribeMigrationJobsResponse
constructor
A new instance of DescribeMigrationJobsResponse.
Constructor Details
#initialize(totalcount = nil, joblist = nil, requestid = nil) ⇒ DescribeMigrationJobsResponse
Returns a new instance of DescribeMigrationJobsResponse.
2737 2738 2739 2740 2741 |
# File 'lib/v20211206/models.rb', line 2737 def initialize(totalcount=nil, joblist=nil, requestid=nil) @TotalCount = totalcount @JobList = joblist @RequestId = requestid end |
Instance Attribute Details
#JobList ⇒ Object
2735 2736 2737 |
# File 'lib/v20211206/models.rb', line 2735 def JobList @JobList end |
#RequestId ⇒ Object
2735 2736 2737 |
# File 'lib/v20211206/models.rb', line 2735 def RequestId @RequestId end |
#TotalCount ⇒ Object
2735 2736 2737 |
# File 'lib/v20211206/models.rb', line 2735 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 |
# File 'lib/v20211206/models.rb', line 2743 def deserialize(params) @TotalCount = params['TotalCount'] unless params['JobList'].nil? @JobList = [] params['JobList'].each do |i| jobitem_tmp = JobItem.new jobitem_tmp.deserialize(i) @JobList << jobitem_tmp end end @RequestId = params['RequestId'] end |