Class: TencentCloud::Sqlserver::V20180328::DescribeMigrationDetailResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::DescribeMigrationDetailResponse
- Defined in:
- lib/v20180328/models.rb
Overview
DescribeMigrationDetail返回参数结构体
Instance Attribute Summary collapse
- #AppId ⇒ Object
- #CreateTime ⇒ Object
- #EndTime ⇒ Object
- #MigrateDBSet ⇒ Object
- #MigrateId ⇒ Object
- #MigrateName ⇒ Object
- #MigrateType ⇒ Object
- #Progress ⇒ Object
- #Region ⇒ Object
- #RequestId ⇒ Object
- #Source ⇒ Object
- #SourceType ⇒ Object
- #StartTime ⇒ Object
- #Status ⇒ Object
- #Target ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(migrateid = nil, migratename = nil, appid = nil, region = nil, sourcetype = nil, createtime = nil, starttime = nil, endtime = nil, status = nil, progress = nil, migratetype = nil, source = nil, target = nil, migratedbset = nil, requestid = nil) ⇒ DescribeMigrationDetailResponse
constructor
A new instance of DescribeMigrationDetailResponse.
Constructor Details
#initialize(migrateid = nil, migratename = nil, appid = nil, region = nil, sourcetype = nil, createtime = nil, starttime = nil, endtime = nil, status = nil, progress = nil, migratetype = nil, source = nil, target = nil, migratedbset = nil, requestid = nil) ⇒ DescribeMigrationDetailResponse
Returns a new instance of DescribeMigrationDetailResponse.
5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 |
# File 'lib/v20180328/models.rb', line 5789 def initialize(migrateid=nil, migratename=nil, appid=nil, region=nil, sourcetype=nil, createtime=nil, starttime=nil, endtime=nil, status=nil, progress=nil, migratetype=nil, source=nil, target=nil, migratedbset=nil, requestid=nil) @MigrateId = migrateid @MigrateName = migratename @AppId = appid @Region = region @SourceType = sourcetype @CreateTime = createtime @StartTime = starttime @EndTime = endtime @Status = status @Progress = progress @MigrateType = migratetype @Source = source @Target = target @MigrateDBSet = migratedbset @RequestId = requestid end |
Instance Attribute Details
#AppId ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def AppId @AppId end |
#CreateTime ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def CreateTime @CreateTime end |
#EndTime ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def EndTime @EndTime end |
#MigrateDBSet ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def MigrateDBSet @MigrateDBSet end |
#MigrateId ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def MigrateId @MigrateId end |
#MigrateName ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def MigrateName @MigrateName end |
#MigrateType ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def MigrateType @MigrateType end |
#Progress ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def Progress @Progress end |
#Region ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def Region @Region end |
#RequestId ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def RequestId @RequestId end |
#Source ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def Source @Source end |
#SourceType ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def SourceType @SourceType end |
#StartTime ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def StartTime @StartTime end |
#Status ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def Status @Status end |
#Target ⇒ Object
5787 5788 5789 |
# File 'lib/v20180328/models.rb', line 5787 def Target @Target end |
Instance Method Details
#deserialize(params) ⇒ Object
5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 |
# File 'lib/v20180328/models.rb', line 5807 def deserialize(params) @MigrateId = params['MigrateId'] @MigrateName = params['MigrateName'] @AppId = params['AppId'] @Region = params['Region'] @SourceType = params['SourceType'] @CreateTime = params['CreateTime'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Status = params['Status'] @Progress = params['Progress'] @MigrateType = params['MigrateType'] unless params['Source'].nil? @Source = MigrateSource.new @Source.deserialize(params['Source']) end unless params['Target'].nil? @Target = MigrateTarget.new @Target.deserialize(params['Target']) end unless params['MigrateDBSet'].nil? @MigrateDBSet = [] params['MigrateDBSet'].each do |i| migratedb_tmp = MigrateDB.new migratedb_tmp.deserialize(i) @MigrateDBSet << migratedb_tmp end end @RequestId = params['RequestId'] end |