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
5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 |
# File 'lib/v20211206/models.rb', line 5209 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
5207 5208 5209 |
# File 'lib/v20211206/models.rb', line 5207 def AutoRetryTimeRangeMinutes @AutoRetryTimeRangeMinutes end |
#DstInfo ⇒ Object
5207 5208 5209 |
# File 'lib/v20211206/models.rb', line 5207 def DstInfo @DstInfo end |
#ExpectRunTime ⇒ Object
5207 5208 5209 |
# File 'lib/v20211206/models.rb', line 5207 def ExpectRunTime @ExpectRunTime end |
#JobId ⇒ Object
5207 5208 5209 |
# File 'lib/v20211206/models.rb', line 5207 def JobId @JobId end |
#JobName ⇒ Object
5207 5208 5209 |
# File 'lib/v20211206/models.rb', line 5207 def JobName @JobName end |
#MigrateOption ⇒ Object
5207 5208 5209 |
# File 'lib/v20211206/models.rb', line 5207 def MigrateOption @MigrateOption end |
#RunMode ⇒ Object
5207 5208 5209 |
# File 'lib/v20211206/models.rb', line 5207 def RunMode @RunMode end |
#SrcInfo ⇒ Object
5207 5208 5209 |
# File 'lib/v20211206/models.rb', line 5207 def SrcInfo @SrcInfo end |
#Tags ⇒ Object
5207 5208 5209 |
# File 'lib/v20211206/models.rb', line 5207 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 |
# File 'lib/v20211206/models.rb', line 5221 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 |