Class: TencentCloud::Dts::V20211206::ModifyMigrationJobRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::ModifyMigrationJobRequest
- Defined in:
- lib/v20211206/models.rb
Overview
ModifyMigrationJob请求参数结构体
Instance Attribute Summary collapse
- #AutoRetryTimeRangeMinutes ⇒ Object
- #DstInfo ⇒ Object
- #ExpectRunTime ⇒ Object
- #JobId ⇒ Object
- #JobName ⇒ Object
- #MigrateOption ⇒ Object
- #RunMode ⇒ Object
- #SrcInfo ⇒ Object
- #Tags ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(jobid = nil, runmode = nil, migrateoption = nil, srcinfo = nil, dstinfo = nil, jobname = nil, expectruntime = nil, tags = nil, autoretrytimerangeminutes = nil) ⇒ ModifyMigrationJobRequest
constructor
A new instance of ModifyMigrationJobRequest.
Constructor Details
#initialize(jobid = nil, runmode = nil, migrateoption = nil, srcinfo = nil, dstinfo = nil, jobname = nil, expectruntime = nil, tags = nil, autoretrytimerangeminutes = nil) ⇒ ModifyMigrationJobRequest
Returns a new instance of ModifyMigrationJobRequest.
5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 |
# File 'lib/v20211206/models.rb', line 5254 def initialize(jobid=nil, runmode=nil, migrateoption=nil, srcinfo=nil, dstinfo=nil, jobname=nil, expectruntime=nil, =nil, autoretrytimerangeminutes=nil) @JobId = jobid @RunMode = runmode @MigrateOption = migrateoption @SrcInfo = srcinfo @DstInfo = dstinfo @JobName = jobname @ExpectRunTime = expectruntime @Tags = @AutoRetryTimeRangeMinutes = autoretrytimerangeminutes end |
Instance Attribute Details
#AutoRetryTimeRangeMinutes ⇒ Object
5252 5253 5254 |
# File 'lib/v20211206/models.rb', line 5252 def AutoRetryTimeRangeMinutes @AutoRetryTimeRangeMinutes end |
#DstInfo ⇒ Object
5252 5253 5254 |
# File 'lib/v20211206/models.rb', line 5252 def DstInfo @DstInfo end |
#ExpectRunTime ⇒ Object
5252 5253 5254 |
# File 'lib/v20211206/models.rb', line 5252 def ExpectRunTime @ExpectRunTime end |
#JobId ⇒ Object
5252 5253 5254 |
# File 'lib/v20211206/models.rb', line 5252 def JobId @JobId end |
#JobName ⇒ Object
5252 5253 5254 |
# File 'lib/v20211206/models.rb', line 5252 def JobName @JobName end |
#MigrateOption ⇒ Object
5252 5253 5254 |
# File 'lib/v20211206/models.rb', line 5252 def MigrateOption @MigrateOption end |
#RunMode ⇒ Object
5252 5253 5254 |
# File 'lib/v20211206/models.rb', line 5252 def RunMode @RunMode end |
#SrcInfo ⇒ Object
5252 5253 5254 |
# File 'lib/v20211206/models.rb', line 5252 def SrcInfo @SrcInfo end |
#Tags ⇒ Object
5252 5253 5254 |
# File 'lib/v20211206/models.rb', line 5252 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 |
# File 'lib/v20211206/models.rb', line 5266 def deserialize(params) @JobId = params['JobId'] @RunMode = params['RunMode'] unless params['MigrateOption'].nil? @MigrateOption = MigrateOption.new @MigrateOption.deserialize(params['MigrateOption']) end unless params['SrcInfo'].nil? @SrcInfo = DBEndpointInfo.new @SrcInfo.deserialize(params['SrcInfo']) end unless params['DstInfo'].nil? @DstInfo = DBEndpointInfo.new @DstInfo.deserialize(params['DstInfo']) end @JobName = params['JobName'] @ExpectRunTime = params['ExpectRunTime'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tagitem_tmp = TagItem.new tagitem_tmp.deserialize(i) @Tags << tagitem_tmp end end @AutoRetryTimeRangeMinutes = params['AutoRetryTimeRangeMinutes'] end |