Browse Source

Modify DescribeRestoreRangeInfo.

sdk-team 6 years ago
parent
commit
174fdde996

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-11-15 Version: 1.60.242
+- Modify DescribeRestoreRangeInfo.
+
 2019-11-15 Version: 1.60.241
 - Add DescribeRestoreRangeInfo.
 

+ 2 - 2
services/dbs/struct_dbs_recover_range.go

@@ -19,8 +19,8 @@ package dbs
 type DBSRecoverRange struct {
 	SourceEndpointInstanceType string         `json:"SourceEndpointInstanceType" xml:"SourceEndpointInstanceType"`
 	SourceEndpointInstanceID   string         `json:"SourceEndpointInstanceID" xml:"SourceEndpointInstanceID"`
-	BeginTimestampForRestore   string         `json:"BeginTimestampForRestore" xml:"BeginTimestampForRestore"`
-	EndTimestampForRestore     string         `json:"EndTimestampForRestore" xml:"EndTimestampForRestore"`
+	BeginTimestampForRestore   int64          `json:"BeginTimestampForRestore" xml:"BeginTimestampForRestore"`
+	EndTimestampForRestore     int64          `json:"EndTimestampForRestore" xml:"EndTimestampForRestore"`
 	RangeType                  string         `json:"RangeType" xml:"RangeType"`
 	FullBackupList             FullBackupList `json:"FullBackupList" xml:"FullBackupList"`
 }

+ 2 - 2
services/dbs/struct_full_backup_detail.go

@@ -18,6 +18,6 @@ package dbs
 // FullBackupDetail is a nested struct in dbs response
 type FullBackupDetail struct {
 	BackupSetId string `json:"BackupSetId" xml:"BackupSetId"`
-	StartTime   string `json:"StartTime" xml:"StartTime"`
-	EndTime     string `json:"EndTime" xml:"EndTime"`
+	StartTime   int64  `json:"StartTime" xml:"StartTime"`
+	EndTime     int64  `json:"EndTime" xml:"EndTime"`
 }