wenzuochao пре 6 година
родитељ
комит
89f60c37c9

+ 5 - 5
services/retailcloud/list_app.go

@@ -83,11 +83,11 @@ type ListAppRequest struct {
 // ListAppResponse is the response struct for api ListApp
 type ListAppResponse struct {
 	*responses.BaseResponse
-	RequestId  string            `json:"RequestId" xml:"RequestId"`
-	Code       int               `json:"Code" xml:"Code"`
-	ErrorMsg   string            `json:"ErrorMsg" xml:"ErrorMsg"`
-	TotalCount int               `json:"TotalCount" xml:"TotalCount"`
-	Data       []ListAppResponse `json:"Data" xml:"Data"`
+	RequestId  string    `json:"RequestId" xml:"RequestId"`
+	Code       int       `json:"Code" xml:"Code"`
+	ErrorMsg   string    `json:"ErrorMsg" xml:"ErrorMsg"`
+	TotalCount int       `json:"TotalCount" xml:"TotalCount"`
+	Data       []ListApp `json:"Data" xml:"Data"`
 }
 
 // CreateListAppRequest creates a request to invoke ListApp API

+ 7 - 7
services/retailcloud/list_app_instance.go

@@ -85,13 +85,13 @@ type ListAppInstanceRequest struct {
 // ListAppInstanceResponse is the response struct for api ListAppInstance
 type ListAppInstanceResponse struct {
 	*responses.BaseResponse
-	RequestId  string                    `json:"RequestId" xml:"RequestId"`
-	Code       int                       `json:"Code" xml:"Code"`
-	PageSize   int                       `json:"PageSize" xml:"PageSize"`
-	PageNumber int                       `json:"PageNumber" xml:"PageNumber"`
-	TotalCount int64                     `json:"TotalCount" xml:"TotalCount"`
-	ErrMsg     string                    `json:"ErrMsg" xml:"ErrMsg"`
-	Data       []ListAppInstanceResponse `json:"Data" xml:"Data"`
+	RequestId  string            `json:"RequestId" xml:"RequestId"`
+	Code       int               `json:"Code" xml:"Code"`
+	PageSize   int               `json:"PageSize" xml:"PageSize"`
+	PageNumber int               `json:"PageNumber" xml:"PageNumber"`
+	TotalCount int64             `json:"TotalCount" xml:"TotalCount"`
+	ErrMsg     string            `json:"ErrMsg" xml:"ErrMsg"`
+	Data       []ListAppInstance `json:"Data" xml:"Data"`
 }
 
 // CreateListAppInstanceRequest creates a request to invoke ListAppInstance API

+ 7 - 7
services/retailcloud/list_persistent_volume.go

@@ -84,13 +84,13 @@ type ListPersistentVolumeRequest struct {
 // ListPersistentVolumeResponse is the response struct for api ListPersistentVolume
 type ListPersistentVolumeResponse struct {
 	*responses.BaseResponse
-	RequestId  string                         `json:"RequestId" xml:"RequestId"`
-	Code       int                            `json:"Code" xml:"Code"`
-	PageSize   int                            `json:"PageSize" xml:"PageSize"`
-	PageNumber int                            `json:"PageNumber" xml:"PageNumber"`
-	TotalCount int64                          `json:"TotalCount" xml:"TotalCount"`
-	ErrMsg     string                         `json:"ErrMsg" xml:"ErrMsg"`
-	Data       []ListPersistentVolumeResponse `json:"Data" xml:"Data"`
+	RequestId  string                 `json:"RequestId" xml:"RequestId"`
+	Code       int                    `json:"Code" xml:"Code"`
+	PageSize   int                    `json:"PageSize" xml:"PageSize"`
+	PageNumber int                    `json:"PageNumber" xml:"PageNumber"`
+	TotalCount int64                  `json:"TotalCount" xml:"TotalCount"`
+	ErrMsg     string                 `json:"ErrMsg" xml:"ErrMsg"`
+	Data       []ListPersistentVolume `json:"Data" xml:"Data"`
 }
 
 // CreateListPersistentVolumeRequest creates a request to invoke ListPersistentVolume API

+ 7 - 7
services/retailcloud/list_pods.go

@@ -86,13 +86,13 @@ type ListPodsRequest struct {
 // ListPodsResponse is the response struct for api ListPods
 type ListPodsResponse struct {
 	*responses.BaseResponse
-	Code       int                `json:"Code" xml:"Code"`
-	ErrorMsg   string             `json:"ErrorMsg" xml:"ErrorMsg"`
-	PageNumber int                `json:"PageNumber" xml:"PageNumber"`
-	PageSize   int                `json:"PageSize" xml:"PageSize"`
-	RequestId  string             `json:"RequestId" xml:"RequestId"`
-	TotalCount int64              `json:"TotalCount" xml:"TotalCount"`
-	Data       []ListPodsResponse `json:"Data" xml:"Data"`
+	Code       int        `json:"Code" xml:"Code"`
+	ErrorMsg   string     `json:"ErrorMsg" xml:"ErrorMsg"`
+	PageNumber int        `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int        `json:"PageSize" xml:"PageSize"`
+	RequestId  string     `json:"RequestId" xml:"RequestId"`
+	TotalCount int64      `json:"TotalCount" xml:"TotalCount"`
+	Data       []ListPods `json:"Data" xml:"Data"`
 }
 
 // CreateListPodsRequest creates a request to invoke ListPods API

+ 1 - 1
services/retailcloud/struct_list_app_instance_response.go

@@ -16,7 +16,7 @@ package retailcloud
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 // ListAppInstanceResponse is a nested struct in retailcloud response
-type ListAppInstanceResponse struct {
+type ListAppInstance struct {
 	AppInstanceId string `json:"AppInstanceId" xml:"AppInstanceId"`
 	CreateTime    string `json:"CreateTime" xml:"CreateTime"`
 	Spec          string `json:"Spec" xml:"Spec"`

+ 1 - 1
services/retailcloud/struct_list_app_response.go

@@ -16,7 +16,7 @@ package retailcloud
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 // ListAppResponse is a nested struct in retailcloud response
-type ListAppResponse struct {
+type ListApp struct {
 	AppId           int64  `json:"AppId" xml:"AppId"`
 	Title           string `json:"Title" xml:"Title"`
 	Description     string `json:"Description" xml:"Description"`

+ 1 - 1
services/retailcloud/struct_list_persistent_volume_response.go

@@ -16,7 +16,7 @@ package retailcloud
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 // ListPersistentVolumeResponse is a nested struct in retailcloud response
-type ListPersistentVolumeResponse struct {
+type ListPersistentVolume struct {
 	Name          string `json:"Name" xml:"Name"`
 	Capacity      string `json:"Capacity" xml:"Capacity"`
 	AccessModes   string `json:"AccessModes" xml:"AccessModes"`

+ 1 - 1
services/retailcloud/struct_list_pods_response.go

@@ -16,7 +16,7 @@ package retailcloud
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 // ListPodsResponse is a nested struct in retailcloud response
-type ListPodsResponse struct {
+type ListPods struct {
 	AppInstanceId      string       `json:"AppInstanceId" xml:"AppInstanceId"`
 	DeployOrderId      int64        `json:"DeployOrderId" xml:"DeployOrderId"`
 	DeployPartitionNum int          `json:"DeployPartitionNum" xml:"DeployPartitionNum"`