Browse Source

Generated 2018-09-19 for saf.

sdk-team 5 years ago
parent
commit
66c62e140a
3 changed files with 32 additions and 5 deletions
  1. 4 0
      ChangeLog.txt
  2. 5 5
      services/saf/execute_request.go
  3. 23 0
      services/saf/struct_data.go

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2020-03-06 Version: v1.61.34
+- Generated 2018-09-19 for `saf`.
+- Supported Saf for cn.
+
 2020-03-06 Version: v1.61.33
 - Generated 2019-05-21 for `saf`.
 - Supported Saf for oversea.

+ 5 - 5
services/saf/execute_request.go

@@ -83,10 +83,10 @@ type ExecuteRequestRequest struct {
 // ExecuteRequestResponse is the response struct for api ExecuteRequest
 type ExecuteRequestResponse struct {
 	*responses.BaseResponse
-	RequestId string                 `json:"RequestId" xml:"RequestId"`
-	Code      int                    `json:"Code" xml:"Code"`
-	Message   string                 `json:"Message" xml:"Message"`
-	Data      map[string]interface{} `json:"Data" xml:"Data"`
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Code      int    `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
 }
 
 // CreateExecuteRequestRequest creates a request to invoke ExecuteRequest API
@@ -94,7 +94,7 @@ func CreateExecuteRequestRequest() (request *ExecuteRequestRequest) {
 	request = &ExecuteRequestRequest{
 		RpcRequest: &requests.RpcRequest{},
 	}
-	request.InitWithApiInfo("saf", "2019-05-21", "ExecuteRequest", "saf", "openAPI")
+	request.InitWithApiInfo("saf", "2018-09-19", "ExecuteRequest", "saf", "openAPI")
 	return
 }
 

+ 23 - 0
services/saf/struct_data.go

@@ -0,0 +1,23 @@
+package saf
+
+//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.
+
+// Data is a nested struct in saf response
+type Data struct {
+	Tags   string `json:"Tags" xml:"Tags"`
+	Score  string `json:"Score" xml:"Score"`
+	Extend string `json:"Extend" xml:"Extend"`
+}