Class: TencentCloud::Sqlserver::V20180328::Migration
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Sqlserver::V20180328::Migration
- Defined in:
- lib/v20180328/models.rb
Overview
冷备迁移导入
Instance Attribute Summary collapse
-
#Action ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#AppId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#BackupFiles ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#DBRename ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Detail ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#EndTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#IsRecovery ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Message ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#MigrationId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#MigrationName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RecoveryType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#StartTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#UploadType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(migrationid = nil, migrationname = nil, appid = nil, region = nil, instanceid = nil, recoverytype = nil, uploadtype = nil, backupfiles = nil, status = nil, createtime = nil, starttime = nil, endtime = nil, message = nil, detail = nil, action = nil, isrecovery = nil, dbrename = nil) ⇒ Migration
constructor
A new instance of Migration.
Constructor Details
#initialize(migrationid = nil, migrationname = nil, appid = nil, region = nil, instanceid = nil, recoverytype = nil, uploadtype = nil, backupfiles = nil, status = nil, createtime = nil, starttime = nil, endtime = nil, message = nil, detail = nil, action = nil, isrecovery = nil, dbrename = nil) ⇒ Migration
Returns a new instance of Migration.
8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 |
# File 'lib/v20180328/models.rb', line 8039 def initialize(migrationid=nil, migrationname=nil, appid=nil, region=nil, instanceid=nil, recoverytype=nil, uploadtype=nil, backupfiles=nil, status=nil, createtime=nil, starttime=nil, endtime=nil, =nil, detail=nil, action=nil, isrecovery=nil, dbrename=nil) @MigrationId = migrationid @MigrationName = migrationname @AppId = appid @Region = region @InstanceId = instanceid @RecoveryType = recoverytype @UploadType = uploadtype @BackupFiles = backupfiles @Status = status @CreateTime = createtime @StartTime = starttime @EndTime = endtime @Message = @Detail = detail @Action = action @IsRecovery = isrecovery @DBRename = dbrename end |
Instance Attribute Details
#Action ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def Action @Action end |
#AppId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def AppId @AppId end |
#BackupFiles ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def BackupFiles @BackupFiles end |
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def CreateTime @CreateTime end |
#DBRename ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def DBRename @DBRename end |
#Detail ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def Detail @Detail end |
#EndTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def EndTime @EndTime end |
#InstanceId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def InstanceId @InstanceId end |
#IsRecovery ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def IsRecovery @IsRecovery end |
#Message ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def Message @Message end |
#MigrationId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def MigrationId @MigrationId end |
#MigrationName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def MigrationName @MigrationName end |
#RecoveryType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def RecoveryType @RecoveryType end |
#Region ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def Region @Region end |
#StartTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def StartTime @StartTime end |
#Status ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def Status @Status end |
#UploadType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
8037 8038 8039 |
# File 'lib/v20180328/models.rb', line 8037 def UploadType @UploadType end |
Instance Method Details
#deserialize(params) ⇒ Object
8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 |
# File 'lib/v20180328/models.rb', line 8059 def deserialize(params) @MigrationId = params['MigrationId'] @MigrationName = params['MigrationName'] @AppId = params['AppId'] @Region = params['Region'] @InstanceId = params['InstanceId'] @RecoveryType = params['RecoveryType'] @UploadType = params['UploadType'] @BackupFiles = params['BackupFiles'] @Status = params['Status'] @CreateTime = params['CreateTime'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @Message = params['Message'] unless params['Detail'].nil? @Detail = MigrationDetail.new @Detail.deserialize(params['Detail']) end unless params['Action'].nil? @Action = MigrationAction.new @Action.deserialize(params['Action']) end @IsRecovery = params['IsRecovery'] unless params['DBRename'].nil? @DBRename = [] params['DBRename'].each do |i| dbrenameres_tmp = DBRenameRes.new dbrenameres_tmp.deserialize(i) @DBRename << dbrenameres_tmp end end end |