Class: TencentCloud::Dts::V20211206::CreateMigrationServiceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dts::V20211206::CreateMigrationServiceRequest
- Defined in:
- lib/v20211206/models.rb
Overview
CreateMigrationService请求参数结构体
Instance Attribute Summary collapse
- #Count ⇒ Object
- #DstDatabaseType ⇒ Object
- #DstRegion ⇒ Object
- #InstanceClass ⇒ Object
- #JobName ⇒ Object
- #SrcDatabaseType ⇒ Object
- #SrcRegion ⇒ Object
- #Tags ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(srcdatabasetype = nil, dstdatabasetype = nil, srcregion = nil, dstregion = nil, instanceclass = nil, count = nil, jobname = nil, tags = nil) ⇒ CreateMigrationServiceRequest
constructor
A new instance of CreateMigrationServiceRequest.
Constructor Details
#initialize(srcdatabasetype = nil, dstdatabasetype = nil, srcregion = nil, dstregion = nil, instanceclass = nil, count = nil, jobname = nil, tags = nil) ⇒ CreateMigrationServiceRequest
Returns a new instance of CreateMigrationServiceRequest.
1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 |
# File 'lib/v20211206/models.rb', line 1127 def initialize(srcdatabasetype=nil, dstdatabasetype=nil, srcregion=nil, dstregion=nil, instanceclass=nil, count=nil, jobname=nil, =nil) @SrcDatabaseType = srcdatabasetype @DstDatabaseType = dstdatabasetype @SrcRegion = srcregion @DstRegion = dstregion @InstanceClass = instanceclass @Count = count @JobName = jobname @Tags = end |
Instance Attribute Details
#Count ⇒ Object
1125 1126 1127 |
# File 'lib/v20211206/models.rb', line 1125 def Count @Count end |
#DstDatabaseType ⇒ Object
1125 1126 1127 |
# File 'lib/v20211206/models.rb', line 1125 def DstDatabaseType @DstDatabaseType end |
#DstRegion ⇒ Object
1125 1126 1127 |
# File 'lib/v20211206/models.rb', line 1125 def DstRegion @DstRegion end |
#InstanceClass ⇒ Object
1125 1126 1127 |
# File 'lib/v20211206/models.rb', line 1125 def InstanceClass @InstanceClass end |
#JobName ⇒ Object
1125 1126 1127 |
# File 'lib/v20211206/models.rb', line 1125 def JobName @JobName end |
#SrcDatabaseType ⇒ Object
1125 1126 1127 |
# File 'lib/v20211206/models.rb', line 1125 def SrcDatabaseType @SrcDatabaseType end |
#SrcRegion ⇒ Object
1125 1126 1127 |
# File 'lib/v20211206/models.rb', line 1125 def SrcRegion @SrcRegion end |
#Tags ⇒ Object
1125 1126 1127 |
# File 'lib/v20211206/models.rb', line 1125 def Tags @Tags end |
Instance Method Details
#deserialize(params) ⇒ Object
1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 |
# File 'lib/v20211206/models.rb', line 1138 def deserialize(params) @SrcDatabaseType = params['SrcDatabaseType'] @DstDatabaseType = params['DstDatabaseType'] @SrcRegion = params['SrcRegion'] @DstRegion = params['DstRegion'] @InstanceClass = params['InstanceClass'] @Count = params['Count'] @JobName = params['JobName'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tagitem_tmp = TagItem.new tagitem_tmp.deserialize(i) @Tags << tagitem_tmp end end end |