diff --git a/CHANGELOG b/CHANGELOG index 3b772bee8..da006fff9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2019-07-14 Version 1.36.64 +- Modify DBS API DescribeBackupPlanList. + 2019-07-12 Version 1.36.63 - Public api AddLivePullStreamInfoConfig. diff --git a/VERSION b/VERSION index ba49a3e9f..8145f1cbf 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.63 \ No newline at end of file +1.36.64 \ No newline at end of file diff --git a/dbs/include/alibabacloud/dbs/model/DescribeBackupPlanListResult.h b/dbs/include/alibabacloud/dbs/model/DescribeBackupPlanListResult.h index 39dae7d22..ea95d2ab5 100644 --- a/dbs/include/alibabacloud/dbs/model/DescribeBackupPlanListResult.h +++ b/dbs/include/alibabacloud/dbs/model/DescribeBackupPlanListResult.h @@ -35,28 +35,30 @@ namespace AlibabaCloud struct BackupPlanDetail { std::string backupPlanName; - std::string backupMethod; long backupPlanCreateTime; - std::string backupPeriod; std::string backupObjects; std::string sourceEndpointInstanceID; - std::string instanceClass; std::string sourceEndpointDatabaseName; std::string oSSBucketRegion; + long beginTimestampForRestore; std::string sourceEndpointRegion; std::string sourceEndpointIpPort; + std::string backupPlanId; + std::string sourceEndpointInstanceType; + long backupGatewayId; + std::string sourceEndpointUserName; + int duplicationInfrequentAccessPeriod; + std::string backupMethod; + std::string backupPeriod; + std::string instanceClass; + long endTimestampForRestore; int duplicationArchivePeriod; std::string oSSBucketName; std::string backupPlanStatus; std::string backupStartTime; bool enableBackupLog; - std::string backupPlanId; std::string sourceEndpointOracleSID; int backupRetentionPeriod; - std::string sourceEndpointInstanceType; - long backupGatewayId; - std::string sourceEndpointUserName; - int duplicationInfrequentAccessPeriod; }; diff --git a/dbs/src/model/DescribeBackupPlanListResult.cc b/dbs/src/model/DescribeBackupPlanListResult.cc index 03809e781..abf146170 100644 --- a/dbs/src/model/DescribeBackupPlanListResult.cc +++ b/dbs/src/model/DescribeBackupPlanListResult.cc @@ -90,6 +90,10 @@ void DescribeBackupPlanListResult::parse(const std::string &payload) itemsObject.backupPlanCreateTime = std::stol(value["BackupPlanCreateTime"].asString()); if(!value["BackupPlanStatus"].isNull()) itemsObject.backupPlanStatus = value["BackupPlanStatus"].asString(); + if(!value["BeginTimestampForRestore"].isNull()) + itemsObject.beginTimestampForRestore = std::stol(value["BeginTimestampForRestore"].asString()); + if(!value["EndTimestampForRestore"].isNull()) + itemsObject.endTimestampForRestore = std::stol(value["EndTimestampForRestore"].asString()); items_.push_back(itemsObject); } if(!value["Success"].isNull())