Browse Source

ActionName change to OOSActionName from ListActions API param and response.

sdk-team 6 years ago
parent
commit
96a0f9c271
3 changed files with 7 additions and 4 deletions
  1. 3 0
      ChangeLog.txt
  2. 3 3
      services/oos/list_actions.go
  3. 1 1
      services/oos/struct_action.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-07-08 Version: 1.60.63
+- ActionName change to OOSActionName from ListActions API param and response.
+
 2019-07-05 Version: 1.60.62
 - Add TaskCancelStatus for QueryTaskList api.
 

+ 3 - 3
services/oos/list_actions.go

@@ -76,9 +76,9 @@ func (client *Client) ListActionsWithCallback(request *ListActionsRequest, callb
 // ListActionsRequest is the request struct for api ListActions
 type ListActionsRequest struct {
 	*requests.RpcRequest
-	NextToken  string           `position:"Query" name:"NextToken"`
-	MaxResults requests.Integer `position:"Query" name:"MaxResults"`
-	ActionName string           `position:"Query" name:"ActionName"`
+	NextToken     string           `position:"Query" name:"NextToken"`
+	MaxResults    requests.Integer `position:"Query" name:"MaxResults"`
+	OOSActionName string           `position:"Query" name:"OOSActionName"`
 }
 
 // ListActionsResponse is the response struct for api ListActions

+ 1 - 1
services/oos/struct_action.go

@@ -17,7 +17,7 @@ package oos
 
 // Action is a nested struct in oos response
 type Action struct {
-	ActionName      string `json:"ActionName" xml:"ActionName"`
+	OOSActionName   string `json:"OOSActionName" xml:"OOSActionName"`
 	Description     string `json:"Description" xml:"Description"`
 	ActionType      string `json:"ActionType" xml:"ActionType"`
 	CreatedDate     string `json:"CreatedDate" xml:"CreatedDate"`