Browse Source

ELASTICSEARCH SDK Auto Released By guangfan.qu,Version:1.60.20

Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
sdk-team 6 years ago
parent
commit
086628d0e0

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-05-23 Version: 1.60.20
+1, Fixed bug of the JSON list in GO sdk.
+
 2019-05-22 Version: 1.60.19
 1, Add EndTime parameter to api ModifyPrepayInstanceSpec
 2, Add RebootTime parameter to api ModifyPrepayInstanceSpec

+ 1 - 1
services/elasticsearch/struct_dict_list.go

@@ -18,7 +18,7 @@ package elasticsearch
 // DictList is a nested struct in elasticsearch response
 type DictList struct {
 	Type       string    `json:"type" xml:"type"`
-	FileSize   int64     `json:"fileSize" xml:"fileSize"`
+	FileSize   int       `json:"fileSize" xml:"fileSize"`
 	SourceType string    `json:"sourceType" xml:"sourceType"`
 	Name       string    `json:"name" xml:"name"`
 	OssObject  OssObject `json:"ossObject" xml:"ossObject"`

+ 1 - 1
services/elasticsearch/struct_dict_list_item.go

@@ -18,7 +18,7 @@ package elasticsearch
 // DictListItem is a nested struct in elasticsearch response
 type DictListItem struct {
 	Name       string `json:"name" xml:"name"`
-	FileSize   int64  `json:"fileSize" xml:"fileSize"`
+	FileSize   int    `json:"fileSize" xml:"fileSize"`
 	Type       string `json:"type" xml:"type"`
 	SourceType string `json:"sourceType" xml:"sourceType"`
 }

+ 2 - 2
services/elasticsearch/struct_result.go

@@ -52,6 +52,6 @@ type Result struct {
 	DataDiskList              []DataDiskListItem         `json:"dataDiskList" xml:"dataDiskList"`
 	EsVersionsLatestList      []EsVersionsLatestListItem `json:"esVersionsLatestList" xml:"esVersionsLatestList"`
 	NodeSpecList              []NodeSpecListItem         `json:"nodeSpecList" xml:"nodeSpecList"`
-	SynonymsDicts             []SynonymsDicts            `json:"synonymsDicts" xml:"synonymsDicts"`
-	DictList                  []DictList                 `json:"dictList" xml:"dictList"`
+	SynonymsDicts             []SynonymsDictsItem        `json:"synonymsDicts" xml:"synonymsDicts"`
+	DictList                  []DictListItem             `json:"dictList" xml:"dictList"`
 }

+ 1 - 1
services/elasticsearch/struct_result_item.go

@@ -20,7 +20,7 @@ type ResultItem struct {
 	Description string `json:"description" xml:"description"`
 	Content     string `json:"content" xml:"content"`
 	Port        int    `json:"port" xml:"port"`
-	Timestamp   int64  `json:"timestamp" xml:"timestamp"`
+	Timestamp   int    `json:"timestamp" xml:"timestamp"`
 	State       string `json:"state" xml:"state"`
 	Source      string `json:"source" xml:"source"`
 	Level       string `json:"level" xml:"level"`

+ 1 - 1
services/elasticsearch/struct_synonyms_dicts.go

@@ -18,7 +18,7 @@ package elasticsearch
 // SynonymsDicts is a nested struct in elasticsearch response
 type SynonymsDicts struct {
 	Type       string `json:"type" xml:"type"`
-	FileSize   int64  `json:"fileSize" xml:"fileSize"`
+	FileSize   int    `json:"fileSize" xml:"fileSize"`
 	SourceType string `json:"sourceType" xml:"sourceType"`
 	Name       string `json:"name" xml:"name"`
 }

+ 1 - 1
services/elasticsearch/struct_synonyms_dicts_item.go

@@ -18,7 +18,7 @@ package elasticsearch
 // SynonymsDictsItem is a nested struct in elasticsearch response
 type SynonymsDictsItem struct {
 	Name       string `json:"name" xml:"name"`
-	FileSize   int64  `json:"fileSize" xml:"fileSize"`
+	FileSize   int    `json:"fileSize" xml:"fileSize"`
 	Type       string `json:"type" xml:"type"`
 	SourceType string `json:"sourceType" xml:"sourceType"`
 }