Class: TencentCloud::Cdb::V20170320::BackupInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::BackupInfo
- Defined in:
- lib/v20170320/models.rb
Overview
备份详细信息
Instance Attribute Summary collapse
- #BackupId ⇒ Object
- #CosStorageType ⇒ Object
- #Creator ⇒ Object
- #Date ⇒ Object
- #EncryptionFlag ⇒ Object
- #ExecutedGTIDSet ⇒ Object
- #FinishTime ⇒ Object
- #InstanceId ⇒ Object
- #InternetUrl ⇒ Object
- #IntranetUrl ⇒ Object
- #ManualBackupName ⇒ Object
- #MD5 ⇒ Object
- #Method ⇒ Object
- #Name ⇒ Object
- #Region ⇒ Object
- #RemoteInfo ⇒ Object
- #SaveMode ⇒ Object
- #Size ⇒ Object
- #StartTime ⇒ Object
- #Status ⇒ Object
- #Type ⇒ Object
- #Way ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, size = nil, date = nil, intraneturl = nil, interneturl = nil, type = nil, backupid = nil, status = nil, finishtime = nil, creator = nil, starttime = nil, method = nil, way = nil, manualbackupname = nil, savemode = nil, region = nil, remoteinfo = nil, cosstoragetype = nil, instanceid = nil, encryptionflag = nil, executedgtidset = nil, md5 = nil) ⇒ BackupInfo
constructor
A new instance of BackupInfo.
Constructor Details
#initialize(name = nil, size = nil, date = nil, intraneturl = nil, interneturl = nil, type = nil, backupid = nil, status = nil, finishtime = nil, creator = nil, starttime = nil, method = nil, way = nil, manualbackupname = nil, savemode = nil, region = nil, remoteinfo = nil, cosstoragetype = nil, instanceid = nil, encryptionflag = nil, executedgtidset = nil, md5 = nil) ⇒ BackupInfo
Returns a new instance of BackupInfo.
1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 |
# File 'lib/v20170320/models.rb', line 1204 def initialize(name=nil, size=nil, date=nil, intraneturl=nil, interneturl=nil, type=nil, backupid=nil, status=nil, finishtime=nil, creator=nil, starttime=nil, method=nil, way=nil, manualbackupname=nil, savemode=nil, region=nil, remoteinfo=nil, cosstoragetype=nil, instanceid=nil, encryptionflag=nil, executedgtidset=nil, md5=nil) @Name = name @Size = size @Date = date @IntranetUrl = intraneturl @InternetUrl = interneturl @Type = type @BackupId = backupid @Status = status @FinishTime = finishtime @Creator = creator @StartTime = starttime @Method = method @Way = way @ManualBackupName = manualbackupname @SaveMode = savemode @Region = region @RemoteInfo = remoteinfo @CosStorageType = cosstoragetype @InstanceId = instanceid @EncryptionFlag = encryptionflag @ExecutedGTIDSet = executedgtidset @MD5 = md5 end |
Instance Attribute Details
#BackupId ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def BackupId @BackupId end |
#CosStorageType ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def CosStorageType @CosStorageType end |
#Creator ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def Creator @Creator end |
#Date ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def Date @Date end |
#EncryptionFlag ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def EncryptionFlag @EncryptionFlag end |
#ExecutedGTIDSet ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def ExecutedGTIDSet @ExecutedGTIDSet end |
#FinishTime ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def FinishTime @FinishTime end |
#InstanceId ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def InstanceId @InstanceId end |
#InternetUrl ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def InternetUrl @InternetUrl end |
#IntranetUrl ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def IntranetUrl @IntranetUrl end |
#ManualBackupName ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def ManualBackupName @ManualBackupName end |
#MD5 ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def MD5 @MD5 end |
#Method ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def Method @Method end |
#Name ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def Name @Name end |
#Region ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def Region @Region end |
#RemoteInfo ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def RemoteInfo @RemoteInfo end |
#SaveMode ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def SaveMode @SaveMode end |
#Size ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def Size @Size end |
#StartTime ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def StartTime @StartTime end |
#Status ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def Status @Status end |
#Type ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def Type @Type end |
#Way ⇒ Object
1202 1203 1204 |
# File 'lib/v20170320/models.rb', line 1202 def Way @Way end |
Instance Method Details
#deserialize(params) ⇒ Object
1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 |
# File 'lib/v20170320/models.rb', line 1229 def deserialize(params) @Name = params['Name'] @Size = params['Size'] @Date = params['Date'] @IntranetUrl = params['IntranetUrl'] @InternetUrl = params['InternetUrl'] @Type = params['Type'] @BackupId = params['BackupId'] @Status = params['Status'] @FinishTime = params['FinishTime'] @Creator = params['Creator'] @StartTime = params['StartTime'] @Method = params['Method'] @Way = params['Way'] @ManualBackupName = params['ManualBackupName'] @SaveMode = params['SaveMode'] @Region = params['Region'] unless params['RemoteInfo'].nil? @RemoteInfo = [] params['RemoteInfo'].each do |i| remotebackupinfo_tmp = RemoteBackupInfo.new remotebackupinfo_tmp.deserialize(i) @RemoteInfo << remotebackupinfo_tmp end end @CosStorageType = params['CosStorageType'] @InstanceId = params['InstanceId'] @EncryptionFlag = params['EncryptionFlag'] @ExecutedGTIDSet = params['ExecutedGTIDSet'] @MD5 = params['MD5'] end |