Class: TencentCloud::Postgres::V20170312::DBBackup

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20170312/models.rb

Overview

数据库备份信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, starttime = nil, endtime = nil, size = nil, strategy = nil, way = nil, type = nil, status = nil, dblist = nil, internaladdr = nil, externaladdr = nil, setid = nil) ⇒ DBBackup



1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
# File 'lib/v20170312/models.rb', line 1519

def initialize(id=nil, starttime=nil, endtime=nil, size=nil, strategy=nil, way=nil, type=nil, status=nil, dblist=nil, internaladdr=nil, externaladdr=nil, setid=nil)
  @Id = id
  @StartTime = starttime
  @EndTime = endtime
  @Size = size
  @Strategy = strategy
  @Way = way
  @Type = type
  @Status = status
  @DbList = dblist
  @InternalAddr = internaladdr
  @ExternalAddr = externaladdr
  @SetId = setid
end

Instance Attribute Details

#DbListObject



1517
1518
1519
# File 'lib/v20170312/models.rb', line 1517

def DbList
  @DbList
end

#EndTimeObject



1517
1518
1519
# File 'lib/v20170312/models.rb', line 1517

def EndTime
  @EndTime
end

#ExternalAddrObject



1517
1518
1519
# File 'lib/v20170312/models.rb', line 1517

def ExternalAddr
  @ExternalAddr
end

#IdObject



1517
1518
1519
# File 'lib/v20170312/models.rb', line 1517

def Id
  @Id
end

#InternalAddrObject



1517
1518
1519
# File 'lib/v20170312/models.rb', line 1517

def InternalAddr
  @InternalAddr
end

#SetIdObject



1517
1518
1519
# File 'lib/v20170312/models.rb', line 1517

def SetId
  @SetId
end

#SizeObject



1517
1518
1519
# File 'lib/v20170312/models.rb', line 1517

def Size
  @Size
end

#StartTimeObject



1517
1518
1519
# File 'lib/v20170312/models.rb', line 1517

def StartTime
  @StartTime
end

#StatusObject



1517
1518
1519
# File 'lib/v20170312/models.rb', line 1517

def Status
  @Status
end

#StrategyObject



1517
1518
1519
# File 'lib/v20170312/models.rb', line 1517

def Strategy
  @Strategy
end

#TypeObject



1517
1518
1519
# File 'lib/v20170312/models.rb', line 1517

def Type
  @Type
end

#WayObject



1517
1518
1519
# File 'lib/v20170312/models.rb', line 1517

def Way
  @Way
end

Instance Method Details

#deserialize(params) ⇒ Object



1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
# File 'lib/v20170312/models.rb', line 1534

def deserialize(params)
  @Id = params['Id']
  @StartTime = params['StartTime']
  @EndTime = params['EndTime']
  @Size = params['Size']
  @Strategy = params['Strategy']
  @Way = params['Way']
  @Type = params['Type']
  @Status = params['Status']
  @DbList = params['DbList']
  @InternalAddr = params['InternalAddr']
  @ExternalAddr = params['ExternalAddr']
  @SetId = params['SetId']
end