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.
1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 |
# File 'lib/v20170320/models.rb', line 1212 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
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def BackupId @BackupId end |
#CosStorageType ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def CosStorageType @CosStorageType end |
#Creator ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def Creator @Creator end |
#Date ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def Date @Date end |
#EncryptionFlag ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def EncryptionFlag @EncryptionFlag end |
#ExecutedGTIDSet ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def ExecutedGTIDSet @ExecutedGTIDSet end |
#FinishTime ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def FinishTime @FinishTime end |
#InstanceId ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def InstanceId @InstanceId end |
#InternetUrl ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def InternetUrl @InternetUrl end |
#IntranetUrl ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def IntranetUrl @IntranetUrl end |
#ManualBackupName ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def ManualBackupName @ManualBackupName end |
#MD5 ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def MD5 @MD5 end |
#Method ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def Method @Method end |
#Name ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def Name @Name end |
#Region ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def Region @Region end |
#RemoteInfo ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def RemoteInfo @RemoteInfo end |
#SaveMode ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def SaveMode @SaveMode end |
#Size ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def Size @Size end |
#StartTime ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def StartTime @StartTime end |
#Status ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def Status @Status end |
#Type ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def Type @Type end |
#Way ⇒ Object
1210 1211 1212 |
# File 'lib/v20170320/models.rb', line 1210 def Way @Way end |
Instance Method Details
#deserialize(params) ⇒ Object
1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 |
# File 'lib/v20170320/models.rb', line 1237 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 |