Просмотр исходного кода

Merge pull request #265 from aliyun/dev_4.22

fix nas service
wenzuochao 6 лет назад
Родитель
Сommit
21eaa44f0d
1 измененных файлов с 7 добавлено и 3 удалено
  1. 7 3
      services/nas/describe_zones.go

+ 7 - 3
services/nas/describe_zones.go

@@ -90,9 +90,13 @@ type DescribeZonesZones0 struct {
 }
 
 type DescribeZonesZone1 struct {
-	ZoneId      string   `json:"ZoneId" xml:"ZoneId"`
-	Capacity    []string `json:"Capacity" xml:"Capacity"`
-	Performance []string `json:"Performance" xml:"Performance"`
+	ZoneId      string                `json:"ZoneId" xml:"ZoneId"`
+	Capacity    DescribeZonesProtocol `json:"Capacity" xml:"Capacity"`
+	Performance DescribeZonesProtocol `json:"Performance" xml:"Performance"`
+}
+
+type DescribeZonesProtocol struct {
+	Protocol []string `json:"Protocol" xml:"Protocol"`
 }
 
 // CreateDescribeZonesRequest creates a request to invoke DescribeZones API