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.
1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 |
# File 'lib/v20211206/models.rb', line 1425 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
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def AutoRenew @AutoRenew end |
#Count ⇒ Object
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def Count @Count end |
#DstDatabaseType ⇒ Object
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def DstDatabaseType @DstDatabaseType end |
#DstRegion ⇒ Object
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def DstRegion @DstRegion end |
#ExistedJobId ⇒ Object
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def ExistedJobId @ExistedJobId end |
#InstanceClass ⇒ Object
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def InstanceClass @InstanceClass end |
#JobName ⇒ Object
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def JobName @JobName end |
#PayMode ⇒ Object
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def PayMode @PayMode end |
#Specification ⇒ Object
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def Specification @Specification end |
#SrcDatabaseType ⇒ Object
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def SrcDatabaseType @SrcDatabaseType end |
#SrcRegion ⇒ Object
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def SrcRegion @SrcRegion end |
#Tags ⇒ Object
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def Tags @Tags end |
#TimeSpan ⇒ Object
1423 1424 1425 |
# File 'lib/v20211206/models.rb', line 1423 def TimeSpan @TimeSpan end |
Instance Method Details
#deserialize(params) ⇒ Object
1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 |
# File 'lib/v20211206/models.rb', line 1441 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 |