Class: TencentCloud::Dts::V20211206::CreateSyncJobRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::CreateSyncJobRequest
- Defined in:
- lib/v20211206/models.rb
Overview
CreateSyncJob请求参数结构体
Instance Attribute Summary collapse
- #AutoRenew ⇒ Object
- #Count ⇒ Object
- #DstDatabaseType ⇒ Object
- #DstRegion ⇒ Object
- #ExistedJobId ⇒ Object
- #InstanceClass ⇒ Object
- #JobName ⇒ Object
- #PayMode ⇒ Object
- #Specification ⇒ Object
- #SrcDatabaseType ⇒ Object
- #SrcRegion ⇒ Object
- #Tags ⇒ Object
- #TimeSpan ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(paymode = nil, srcdatabasetype = nil, srcregion = nil, dstdatabasetype = nil, dstregion = nil, specification = nil, timespan = nil, tags = nil, count = nil, autorenew = nil, instanceclass = nil, jobname = nil, existedjobid = nil) ⇒ CreateSyncJobRequest
constructor
A new instance of CreateSyncJobRequest.
Constructor Details
#initialize(paymode = nil, srcdatabasetype = nil, srcregion = nil, dstdatabasetype = nil, dstregion = nil, specification = nil, timespan = nil, tags = nil, count = nil, autorenew = nil, instanceclass = nil, jobname = nil, existedjobid = nil) ⇒ CreateSyncJobRequest
Returns a new instance of CreateSyncJobRequest.
1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 |
# File 'lib/v20211206/models.rb', line 1344 def initialize(paymode=nil, srcdatabasetype=nil, srcregion=nil, dstdatabasetype=nil, dstregion=nil, specification=nil, timespan=nil, =nil, count=nil, autorenew=nil, instanceclass=nil, jobname=nil, existedjobid=nil) @PayMode = paymode @SrcDatabaseType = srcdatabasetype @SrcRegion = srcregion @DstDatabaseType = dstdatabasetype @DstRegion = dstregion @Specification = specification @TimeSpan = timespan @Tags = @Count = count @AutoRenew = autorenew @InstanceClass = instanceclass @JobName = jobname @ExistedJobId = existedjobid end |
Instance Attribute Details
#AutoRenew ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def AutoRenew @AutoRenew end |
#Count ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def Count @Count end |
#DstDatabaseType ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def DstDatabaseType @DstDatabaseType end |
#DstRegion ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def DstRegion @DstRegion end |
#ExistedJobId ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def ExistedJobId @ExistedJobId end |
#InstanceClass ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def InstanceClass @InstanceClass end |
#JobName ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def JobName @JobName end |
#PayMode ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def PayMode @PayMode end |
#Specification ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def Specification @Specification end |
#SrcDatabaseType ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def SrcDatabaseType @SrcDatabaseType end |
#SrcRegion ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def SrcRegion @SrcRegion end |
#Tags ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def Tags @Tags end |
#TimeSpan ⇒ Object
1342 1343 1344 |
# File 'lib/v20211206/models.rb', line 1342 def TimeSpan @TimeSpan end |
Instance Method Details
#deserialize(params) ⇒ Object
1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 |
# File 'lib/v20211206/models.rb', line 1360 def deserialize(params) @PayMode = params['PayMode'] @SrcDatabaseType = params['SrcDatabaseType'] @SrcRegion = params['SrcRegion'] @DstDatabaseType = params['DstDatabaseType'] @DstRegion = params['DstRegion'] @Specification = params['Specification'] @TimeSpan = params['TimeSpan'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tagitem_tmp = TagItem.new tagitem_tmp.deserialize(i) @Tags << tagitem_tmp end end @Count = params['Count'] @AutoRenew = params['AutoRenew'] @InstanceClass = params['InstanceClass'] @JobName = params['JobName'] @ExistedJobId = params['ExistedJobId'] end |