Class: TencentCloud::Postgres::V20170312::DBBackup
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::DBBackup
- Defined in:
- lib/v20170312/models.rb
Overview
数据库备份信息
Instance Attribute Summary collapse
- #DbList ⇒ Object
- #EndTime ⇒ Object
- #ExternalAddr ⇒ Object
- #Id ⇒ Object
- #InternalAddr ⇒ Object
- #SetId ⇒ Object
- #Size ⇒ Object
- #StartTime ⇒ Object
- #Status ⇒ Object
- #Strategy ⇒ Object
- #Type ⇒ Object
- #Way ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#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
constructor
A new instance of DBBackup.
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
#DbList ⇒ Object
1517 1518 1519 |
# File 'lib/v20170312/models.rb', line 1517 def DbList @DbList end |
#EndTime ⇒ Object
1517 1518 1519 |
# File 'lib/v20170312/models.rb', line 1517 def EndTime @EndTime end |
#ExternalAddr ⇒ Object
1517 1518 1519 |
# File 'lib/v20170312/models.rb', line 1517 def ExternalAddr @ExternalAddr end |
#Id ⇒ Object
1517 1518 1519 |
# File 'lib/v20170312/models.rb', line 1517 def Id @Id end |
#InternalAddr ⇒ Object
1517 1518 1519 |
# File 'lib/v20170312/models.rb', line 1517 def InternalAddr @InternalAddr end |
#SetId ⇒ Object
1517 1518 1519 |
# File 'lib/v20170312/models.rb', line 1517 def SetId @SetId end |
#Size ⇒ Object
1517 1518 1519 |
# File 'lib/v20170312/models.rb', line 1517 def Size @Size end |
#StartTime ⇒ Object
1517 1518 1519 |
# File 'lib/v20170312/models.rb', line 1517 def StartTime @StartTime end |
#Status ⇒ Object
1517 1518 1519 |
# File 'lib/v20170312/models.rb', line 1517 def Status @Status end |
#Strategy ⇒ Object
1517 1518 1519 |
# File 'lib/v20170312/models.rb', line 1517 def Strategy @Strategy end |
#Type ⇒ Object
1517 1518 1519 |
# File 'lib/v20170312/models.rb', line 1517 def Type @Type end |
#Way ⇒ Object
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 |