Browse Source

Generated 2018-11-01 for dms-enterprise.

sdk-team 5 years ago
parent
commit
7366b21975

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2020-02-13 Version: v1.60.362
+- Generated 2018-11-01 for `dms-enterprise`.
+- Fix GetDataCorrectOrderDetail API return empty database information.
+
 2020-02-13 Version: v1.60.361
 - Init MQTT SDK .
 

+ 6 - 6
services/dms_enterprise/list_databases.go

@@ -85,12 +85,12 @@ type ListDatabasesRequest struct {
 // ListDatabasesResponse is the response struct for api ListDatabases
 type ListDatabasesResponse struct {
 	*responses.BaseResponse
-	RequestId    string       `json:"RequestId" xml:"RequestId"`
-	Success      bool         `json:"Success" xml:"Success"`
-	ErrorMessage string       `json:"ErrorMessage" xml:"ErrorMessage"`
-	ErrorCode    string       `json:"ErrorCode" xml:"ErrorCode"`
-	TotalCount   int64        `json:"TotalCount" xml:"TotalCount"`
-	DatabaseList DatabaseList `json:"DatabaseList" xml:"DatabaseList"`
+	RequestId    string                      `json:"RequestId" xml:"RequestId"`
+	Success      bool                        `json:"Success" xml:"Success"`
+	ErrorMessage string                      `json:"ErrorMessage" xml:"ErrorMessage"`
+	ErrorCode    string                      `json:"ErrorCode" xml:"ErrorCode"`
+	TotalCount   int64                       `json:"TotalCount" xml:"TotalCount"`
+	DatabaseList DatabaseListInListDatabases `json:"DatabaseList" xml:"DatabaseList"`
 }
 
 // CreateListDatabasesRequest creates a request to invoke ListDatabases API

+ 3 - 2
services/dms_enterprise/struct_data_correct_order_detail.go

@@ -17,6 +17,7 @@ package dms_enterprise
 
 // DataCorrectOrderDetail is a nested struct in dms_enterprise response
 type DataCorrectOrderDetail struct {
-	OrderDetail    OrderDetail    `json:"OrderDetail" xml:"OrderDetail"`
-	PreCheckDetail PreCheckDetail `json:"PreCheckDetail" xml:"PreCheckDetail"`
+	OrderDetail    OrderDetail                             `json:"OrderDetail" xml:"OrderDetail"`
+	PreCheckDetail PreCheckDetail                          `json:"PreCheckDetail" xml:"PreCheckDetail"`
+	DatabaseList   DatabaseListInGetDataCorrectOrderDetail `json:"DatabaseList" xml:"DatabaseList"`
 }

+ 2 - 0
services/dms_enterprise/struct_database.go

@@ -19,6 +19,7 @@ package dms_enterprise
 type Database struct {
 	Port          int                        `json:"Port" xml:"Port"`
 	DbaName       string                     `json:"DbaName" xml:"DbaName"`
+	Logic         bool                       `json:"Logic" xml:"Logic"`
 	SchemaName    string                     `json:"SchemaName" xml:"SchemaName"`
 	Sid           string                     `json:"Sid" xml:"Sid"`
 	DbType        string                     `json:"DbType" xml:"DbType"`
@@ -31,6 +32,7 @@ type Database struct {
 	Encoding      string                     `json:"Encoding" xml:"Encoding"`
 	SearchName    string                     `json:"SearchName" xml:"SearchName"`
 	InstanceId    string                     `json:"InstanceId" xml:"InstanceId"`
+	DbId          int                        `json:"DbId" xml:"DbId"`
 	OwnerNameList OwnerNameListInGetDatabase `json:"OwnerNameList" xml:"OwnerNameList"`
 	OwnerIdList   OwnerIdListInGetDatabase   `json:"OwnerIdList" xml:"OwnerIdList"`
 }

+ 21 - 0
services/dms_enterprise/struct_database_list_in_get_data_correct_order_detail.go

@@ -0,0 +1,21 @@
+package dms_enterprise
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// DatabaseListInGetDataCorrectOrderDetail is a nested struct in dms_enterprise response
+type DatabaseListInGetDataCorrectOrderDetail struct {
+	Database []Database `json:"Database" xml:"Database"`
+}

+ 2 - 2
services/dms_enterprise/struct_database_list.go → services/dms_enterprise/struct_database_list_in_list_databases.go

@@ -15,7 +15,7 @@ package dms_enterprise
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// DatabaseList is a nested struct in dms_enterprise response
-type DatabaseList struct {
+// DatabaseListInListDatabases is a nested struct in dms_enterprise response
+type DatabaseListInListDatabases struct {
 	Database []DatabaseInListDatabases `json:"Database" xml:"Database"`
 }