Class: TencentCloud::Cdb::V20170320::BinlogInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdb::V20170320::BinlogInfo
- Defined in:
- lib/v20170320/models.rb
Overview
二进制日志信息
Instance Attribute Summary collapse
- #BinlogFinishTime ⇒ Object
- #BinlogStartTime ⇒ Object
- #CosStorageType ⇒ Object
- #Date ⇒ Object
- #InstanceId ⇒ Object
- #InternetUrl ⇒ Object
- #IntranetUrl ⇒ Object
- #Name ⇒ Object
- #Region ⇒ Object
- #RemoteInfo ⇒ Object
- #Size ⇒ Object
- #Status ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(name = nil, size = nil, date = nil, intraneturl = nil, interneturl = nil, type = nil, binlogstarttime = nil, binlogfinishtime = nil, region = nil, status = nil, remoteinfo = nil, cosstoragetype = nil, instanceid = nil) ⇒ BinlogInfo
constructor
A new instance of BinlogInfo.
Constructor Details
#initialize(name = nil, size = nil, date = nil, intraneturl = nil, interneturl = nil, type = nil, binlogstarttime = nil, binlogfinishtime = nil, region = nil, status = nil, remoteinfo = nil, cosstoragetype = nil, instanceid = nil) ⇒ BinlogInfo
Returns a new instance of BinlogInfo.
1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 |
# File 'lib/v20170320/models.rb', line 1417 def initialize(name=nil, size=nil, date=nil, intraneturl=nil, interneturl=nil, type=nil, binlogstarttime=nil, binlogfinishtime=nil, region=nil, status=nil, remoteinfo=nil, cosstoragetype=nil, instanceid=nil) @Name = name @Size = size @Date = date @IntranetUrl = intraneturl @InternetUrl = interneturl @Type = type @BinlogStartTime = binlogstarttime @BinlogFinishTime = binlogfinishtime @Region = region @Status = status @RemoteInfo = remoteinfo @CosStorageType = cosstoragetype @InstanceId = instanceid end |
Instance Attribute Details
#BinlogFinishTime ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def BinlogFinishTime @BinlogFinishTime end |
#BinlogStartTime ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def BinlogStartTime @BinlogStartTime end |
#CosStorageType ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def CosStorageType @CosStorageType end |
#Date ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def Date @Date end |
#InstanceId ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def InstanceId @InstanceId end |
#InternetUrl ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def InternetUrl @InternetUrl end |
#IntranetUrl ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def IntranetUrl @IntranetUrl end |
#Name ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def Name @Name end |
#Region ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def Region @Region end |
#RemoteInfo ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def RemoteInfo @RemoteInfo end |
#Size ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def Size @Size end |
#Status ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def Status @Status end |
#Type ⇒ Object
1415 1416 1417 |
# File 'lib/v20170320/models.rb', line 1415 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 |
# File 'lib/v20170320/models.rb', line 1433 def deserialize(params) @Name = params['Name'] @Size = params['Size'] @Date = params['Date'] @IntranetUrl = params['IntranetUrl'] @InternetUrl = params['InternetUrl'] @Type = params['Type'] @BinlogStartTime = params['BinlogStartTime'] @BinlogFinishTime = params['BinlogFinishTime'] @Region = params['Region'] @Status = params['Status'] 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'] end |