Browse Source

Generated 2017-08-23, 2018-05-09, 2016-12-22 for Green.

sdk-team 6 years ago
parent
commit
3dbaf06cc2

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2020-01-13 Version: v1.60.331
+- Generated 2017-08-23, 2018-05-09, 2016-12-22 for `Green`.
+- Fixed bugs for CreateKeywordResponse ValidKeywordList type.
+
 2020-01-13 Version: v1.60.330
 - Generated 2017-08-23, 2018-05-09, 2016-12-22 for `Green`.
 - Fixed bugs for CreateKeywordResponse ValidKeywordList type.

+ 4 - 4
services/green/create_keyword.go

@@ -85,10 +85,10 @@ type CreateKeywordRequest struct {
 // CreateKeywordResponse is the response struct for api CreateKeyword
 type CreateKeywordResponse struct {
 	*responses.BaseResponse
-	RequestId          string    `json:"RequestId" xml:"RequestId"`
-	SuccessCount       int       `json:"SuccessCount" xml:"SuccessCount"`
-	InvalidKeywordList []string  `json:"InvalidKeywordList" xml:"InvalidKeywordList"`
-	ValidKeywordList   []Keyword `json:"validKeywordList" xml:"validKeywordList"`
+	RequestId          string         `json:"RequestId" xml:"RequestId"`
+	SuccessCount       int            `json:"SuccessCount" xml:"SuccessCount"`
+	InvalidKeywordList []string       `json:"InvalidKeywordList" xml:"InvalidKeywordList"`
+	ValidKeywordList   []ValidKeyword `json:"validKeywordList" xml:"validKeywordList"`
 }
 
 // CreateCreateKeywordRequest creates a request to invoke CreateKeyword API

+ 1 - 3
services/green/struct_keyword.go

@@ -17,10 +17,8 @@ package green
 
 // Keyword is a nested struct in green response
 type Keyword struct {
-	Keyword    string `json:"keyword" xml:"keyword"`
 	Id         int    `json:"Id" xml:"Id"`
-	Keyword    string `json:"Keyword" xml:"Keyword"`
 	CreateTime string `json:"CreateTime" xml:"CreateTime"`
-	Id         int    `json:"id" xml:"id"`
+	Keyword    string `json:"Keyword" xml:"Keyword"`
 	HitCount   int    `json:"HitCount" xml:"HitCount"`
 }

+ 22 - 0
services/green/struct_valid_keyword.go

@@ -0,0 +1,22 @@
+package green
+
+//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.
+
+// ValidKeyword is a nested struct in green response
+type ValidKeyword struct {
+	Id      int    `json:"id" xml:"id"`
+	Keyword string `json:"keyword" xml:"keyword"`
+}

+ 1 - 1
services/green/struct_valid_keyword_list_in_create_keyword.go

@@ -17,5 +17,5 @@ package green
 
 // ValidKeywordListInCreateKeyword is a nested struct in green response
 type ValidKeywordListInCreateKeyword struct {
-	Keyword []Keyword `json:"Keyword" xml:"Keyword"`
+	ValidKeyword []ValidKeyword `json:"validKeyword" xml:"validKeyword"`
 }