Class: TencentCloud::Dts::V20211206::DescribeSyncJobsResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::DescribeSyncJobsResponse
- Defined in:
- lib/v20211206/models.rb
Overview
DescribeSyncJobs返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(totalcount = nil, joblist = nil, requestid = nil) ⇒ DescribeSyncJobsResponse
constructor
A new instance of DescribeSyncJobsResponse.
Constructor Details
#initialize(totalcount = nil, joblist = nil, requestid = nil) ⇒ DescribeSyncJobsResponse
Returns a new instance of DescribeSyncJobsResponse.
3523 3524 3525 3526 3527 |
# File 'lib/v20211206/models.rb', line 3523 def initialize(totalcount=nil, joblist=nil, requestid=nil) @TotalCount = totalcount @JobList = joblist @RequestId = requestid end |
Instance Attribute Details
#JobList ⇒ Object
3521 3522 3523 |
# File 'lib/v20211206/models.rb', line 3521 def JobList @JobList end |
#RequestId ⇒ Object
3521 3522 3523 |
# File 'lib/v20211206/models.rb', line 3521 def RequestId @RequestId end |
#TotalCount ⇒ Object
3521 3522 3523 |
# File 'lib/v20211206/models.rb', line 3521 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 |
# File 'lib/v20211206/models.rb', line 3529 def deserialize(params) @TotalCount = params['TotalCount'] unless params['JobList'].nil? @JobList = [] params['JobList'].each do |i| syncjobinfo_tmp = SyncJobInfo.new syncjobinfo_tmp.deserialize(i) @JobList << syncjobinfo_tmp end end @RequestId = params['RequestId'] end |