Przeglądaj źródła

CLOUDAUTH SDK Auto Released By zhongdong.pzd,Version:1.22.4

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 7 lat temu
rodzic
commit
619f0d1a12

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2018-07-11 Version: 1.22.4
+1, Add DetectFaceAttributesService.
+2, Add cloudauthPageUrl to GetVerifyTokenResponse.
+
 2018-07-10 Version: 1.22.3
 2018-07-10 Version: 1.22.3
 1, Add new API: EnableEventRule,DisableEventRule,DeleteEventTargets,DeleteEventRule,ListEventRules.
 1, Add new API: EnableEventRule,DisableEventRule,DeleteEventTargets,DeleteEventRule,ListEventRules.
 2, Modify the structured parameters for API: PutEventTargets,PutEventRule,DescribeEventRule.
 2, Modify the structured parameters for API: PutEventTargets,PutEventRule,DescribeEventRule.

+ 3 - 3
services/cloudauth/compare_faces.go

@@ -76,10 +76,10 @@ func (client *Client) CompareFacesWithCallback(request *CompareFacesRequest, cal
 // CompareFacesRequest is the request struct for api CompareFaces
 // CompareFacesRequest is the request struct for api CompareFaces
 type CompareFacesRequest struct {
 type CompareFacesRequest struct {
 	*requests.RpcRequest
 	*requests.RpcRequest
-	SourceIp         string           `position:"Query" name:"SourceIp"`
+	SourceImageType  string           `position:"Query" name:"SourceImageType"`
 	ResourceOwnerId  requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerId  requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourceIp         string           `position:"Query" name:"SourceIp"`
 	TargetImageType  string           `position:"Query" name:"TargetImageType"`
 	TargetImageType  string           `position:"Query" name:"TargetImageType"`
-	SourceImageType  string           `position:"Query" name:"SourceImageType"`
 	SourceImageValue string           `position:"Query" name:"SourceImageValue"`
 	SourceImageValue string           `position:"Query" name:"SourceImageValue"`
 	TargetImageValue string           `position:"Query" name:"TargetImageValue"`
 	TargetImageValue string           `position:"Query" name:"TargetImageValue"`
 }
 }
@@ -99,7 +99,7 @@ func CreateCompareFacesRequest() (request *CompareFacesRequest) {
 	request = &CompareFacesRequest{
 	request = &CompareFacesRequest{
 		RpcRequest: &requests.RpcRequest{},
 		RpcRequest: &requests.RpcRequest{},
 	}
 	}
-	request.InitWithApiInfo("Cloudauth", "2018-05-04", "CompareFaces", "cloudauth", "openAPI")
+	request.InitWithApiInfo("Cloudauth", "2018-07-03", "CompareFaces", "cloudauth", "openAPI")
 	return
 	return
 }
 }
 
 

+ 114 - 0
services/cloudauth/detect_face_attributes.go

@@ -0,0 +1,114 @@
+package cloudauth
+
+//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.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// DetectFaceAttributes invokes the cloudauth.DetectFaceAttributes API synchronously
+// api document: https://help.aliyun.com/api/cloudauth/detectfaceattributes.html
+func (client *Client) DetectFaceAttributes(request *DetectFaceAttributesRequest) (response *DetectFaceAttributesResponse, err error) {
+	response = CreateDetectFaceAttributesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DetectFaceAttributesWithChan invokes the cloudauth.DetectFaceAttributes API asynchronously
+// api document: https://help.aliyun.com/api/cloudauth/detectfaceattributes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DetectFaceAttributesWithChan(request *DetectFaceAttributesRequest) (<-chan *DetectFaceAttributesResponse, <-chan error) {
+	responseChan := make(chan *DetectFaceAttributesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DetectFaceAttributes(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DetectFaceAttributesWithCallback invokes the cloudauth.DetectFaceAttributes API asynchronously
+// api document: https://help.aliyun.com/api/cloudauth/detectfaceattributes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DetectFaceAttributesWithCallback(request *DetectFaceAttributesRequest, callback func(response *DetectFaceAttributesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DetectFaceAttributesResponse
+		var err error
+		defer close(result)
+		response, err = client.DetectFaceAttributes(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DetectFaceAttributesRequest is the request struct for api DetectFaceAttributes
+type DetectFaceAttributesRequest struct {
+	*requests.RpcRequest
+	MaxNumPhotosPerCategory requests.Integer `position:"Query" name:"MaxNumPhotosPerCategory"`
+	MaxFaceNum              requests.Integer `position:"Query" name:"MaxFaceNum"`
+	ResourceOwnerId         requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	SourceIp                string           `position:"Query" name:"SourceIp"`
+	RetAttributes           string           `position:"Query" name:"RetAttributes"`
+	MaterialValue           string           `position:"Query" name:"MaterialValue"`
+	DontSaveDB              requests.Boolean `position:"Query" name:"DontSaveDB"`
+	ClientTag               string           `position:"Query" name:"ClientTag"`
+}
+
+// DetectFaceAttributesResponse is the response struct for api DetectFaceAttributes
+type DetectFaceAttributesResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	Success   bool   `json:"Success" xml:"Success"`
+	Code      string `json:"Code" xml:"Code"`
+	Message   string `json:"Message" xml:"Message"`
+	Data      Data   `json:"Data" xml:"Data"`
+}
+
+// CreateDetectFaceAttributesRequest creates a request to invoke DetectFaceAttributes API
+func CreateDetectFaceAttributesRequest() (request *DetectFaceAttributesRequest) {
+	request = &DetectFaceAttributesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("Cloudauth", "2018-07-03", "DetectFaceAttributes", "cloudauth", "openAPI")
+	return
+}
+
+// CreateDetectFaceAttributesResponse creates a response to parse from DetectFaceAttributes response
+func CreateDetectFaceAttributesResponse() (response *DetectFaceAttributesResponse) {
+	response = &DetectFaceAttributesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 2 - 2
services/cloudauth/get_materials.go

@@ -76,9 +76,9 @@ func (client *Client) GetMaterialsWithCallback(request *GetMaterialsRequest, cal
 // GetMaterialsRequest is the request struct for api GetMaterials
 // GetMaterialsRequest is the request struct for api GetMaterials
 type GetMaterialsRequest struct {
 type GetMaterialsRequest struct {
 	*requests.RpcRequest
 	*requests.RpcRequest
-	SourceIp        string           `position:"Query" name:"SourceIp"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	Biz             string           `position:"Query" name:"Biz"`
 	Biz             string           `position:"Query" name:"Biz"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
 	TicketId        string           `position:"Query" name:"TicketId"`
 	TicketId        string           `position:"Query" name:"TicketId"`
 }
 }
 
 
@@ -97,7 +97,7 @@ func CreateGetMaterialsRequest() (request *GetMaterialsRequest) {
 	request = &GetMaterialsRequest{
 	request = &GetMaterialsRequest{
 		RpcRequest: &requests.RpcRequest{},
 		RpcRequest: &requests.RpcRequest{},
 	}
 	}
-	request.InitWithApiInfo("Cloudauth", "2018-05-04", "GetMaterials", "cloudauth", "openAPI")
+	request.InitWithApiInfo("Cloudauth", "2018-07-03", "GetMaterials", "cloudauth", "openAPI")
 	return
 	return
 }
 }
 
 

+ 2 - 2
services/cloudauth/get_status.go

@@ -76,9 +76,9 @@ func (client *Client) GetStatusWithCallback(request *GetStatusRequest, callback
 // GetStatusRequest is the request struct for api GetStatus
 // GetStatusRequest is the request struct for api GetStatus
 type GetStatusRequest struct {
 type GetStatusRequest struct {
 	*requests.RpcRequest
 	*requests.RpcRequest
-	SourceIp        string           `position:"Query" name:"SourceIp"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	Biz             string           `position:"Query" name:"Biz"`
 	Biz             string           `position:"Query" name:"Biz"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
 	TicketId        string           `position:"Query" name:"TicketId"`
 	TicketId        string           `position:"Query" name:"TicketId"`
 }
 }
 
 
@@ -97,7 +97,7 @@ func CreateGetStatusRequest() (request *GetStatusRequest) {
 	request = &GetStatusRequest{
 	request = &GetStatusRequest{
 		RpcRequest: &requests.RpcRequest{},
 		RpcRequest: &requests.RpcRequest{},
 	}
 	}
-	request.InitWithApiInfo("Cloudauth", "2018-05-04", "GetStatus", "cloudauth", "openAPI")
+	request.InitWithApiInfo("Cloudauth", "2018-07-03", "GetStatus", "cloudauth", "openAPI")
 	return
 	return
 }
 }
 
 

+ 4 - 4
services/cloudauth/get_verify_token.go

@@ -76,12 +76,12 @@ func (client *Client) GetVerifyTokenWithCallback(request *GetVerifyTokenRequest,
 // GetVerifyTokenRequest is the request struct for api GetVerifyToken
 // GetVerifyTokenRequest is the request struct for api GetVerifyToken
 type GetVerifyTokenRequest struct {
 type GetVerifyTokenRequest struct {
 	*requests.RpcRequest
 	*requests.RpcRequest
-	SourceIp        string           `position:"Query" name:"SourceIp"`
+	UserData        string           `position:"Query" name:"UserData"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	Biz             string           `position:"Query" name:"Biz"`
 	Biz             string           `position:"Query" name:"Biz"`
-	TicketId        string           `position:"Query" name:"TicketId"`
+	SourceIp        string           `position:"Query" name:"SourceIp"`
 	Binding         string           `position:"Query" name:"Binding"`
 	Binding         string           `position:"Query" name:"Binding"`
-	UserData        string           `position:"Query" name:"UserData"`
+	TicketId        string           `position:"Query" name:"TicketId"`
 }
 }
 
 
 // GetVerifyTokenResponse is the response struct for api GetVerifyToken
 // GetVerifyTokenResponse is the response struct for api GetVerifyToken
@@ -99,7 +99,7 @@ func CreateGetVerifyTokenRequest() (request *GetVerifyTokenRequest) {
 	request = &GetVerifyTokenRequest{
 	request = &GetVerifyTokenRequest{
 		RpcRequest: &requests.RpcRequest{},
 		RpcRequest: &requests.RpcRequest{},
 	}
 	}
-	request.InitWithApiInfo("Cloudauth", "2018-05-04", "GetVerifyToken", "cloudauth", "openAPI")
+	request.InitWithApiInfo("Cloudauth", "2018-07-03", "GetVerifyToken", "cloudauth", "openAPI")
 	return
 	return
 }
 }
 
 

+ 4 - 2
services/cloudauth/struct_data.go

@@ -23,17 +23,19 @@ type Data struct {
 	FacePic              string       `json:"FacePic" xml:"FacePic"`
 	FacePic              string       `json:"FacePic" xml:"FacePic"`
 	IdCardExpiry         string       `json:"IdCardExpiry" xml:"IdCardExpiry"`
 	IdCardExpiry         string       `json:"IdCardExpiry" xml:"IdCardExpiry"`
 	AuditConclusions     string       `json:"AuditConclusions" xml:"AuditConclusions"`
 	AuditConclusions     string       `json:"AuditConclusions" xml:"AuditConclusions"`
-	IdCardStartDate      string       `json:"IdCardStartDate" xml:"IdCardStartDate"`
 	IdCardType           string       `json:"IdCardType" xml:"IdCardType"`
 	IdCardType           string       `json:"IdCardType" xml:"IdCardType"`
 	SimilarityScore      float64      `json:"SimilarityScore" xml:"SimilarityScore"`
 	SimilarityScore      float64      `json:"SimilarityScore" xml:"SimilarityScore"`
 	IdentificationNumber string       `json:"IdentificationNumber" xml:"IdentificationNumber"`
 	IdentificationNumber string       `json:"IdentificationNumber" xml:"IdentificationNumber"`
 	Address              string       `json:"Address" xml:"Address"`
 	Address              string       `json:"Address" xml:"Address"`
-	EthnicGroup          string       `json:"EthnicGroup" xml:"EthnicGroup"`
 	Sex                  string       `json:"Sex" xml:"Sex"`
 	Sex                  string       `json:"Sex" xml:"Sex"`
+	ImgWidth             int          `json:"ImgWidth" xml:"ImgWidth"`
 	IdCardBackPic        string       `json:"IdCardBackPic" xml:"IdCardBackPic"`
 	IdCardBackPic        string       `json:"IdCardBackPic" xml:"IdCardBackPic"`
+	CloudauthPageUrl     string       `json:"CloudauthPageUrl" xml:"CloudauthPageUrl"`
+	ImgHeight            int          `json:"ImgHeight" xml:"ImgHeight"`
 	StatusCode           int          `json:"StatusCode" xml:"StatusCode"`
 	StatusCode           int          `json:"StatusCode" xml:"StatusCode"`
 	ConfidenceThresholds string       `json:"ConfidenceThresholds" xml:"ConfidenceThresholds"`
 	ConfidenceThresholds string       `json:"ConfidenceThresholds" xml:"ConfidenceThresholds"`
 	StsToken             StsToken     `json:"StsToken" xml:"StsToken"`
 	StsToken             StsToken     `json:"StsToken" xml:"StsToken"`
 	VerifyToken          VerifyToken  `json:"VerifyToken" xml:"VerifyToken"`
 	VerifyToken          VerifyToken  `json:"VerifyToken" xml:"VerifyToken"`
 	VerifyStatus         VerifyStatus `json:"VerifyStatus" xml:"VerifyStatus"`
 	VerifyStatus         VerifyStatus `json:"VerifyStatus" xml:"VerifyStatus"`
+	FaceInfos            FaceInfos    `json:"FaceInfos" xml:"FaceInfos"`
 }
 }

+ 28 - 0
services/cloudauth/struct_face_attributes.go

@@ -0,0 +1,28 @@
+package cloudauth
+
+//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.
+
+// FaceAttributes is a nested struct in cloudauth response
+type FaceAttributes struct {
+	Age       int      `json:"Age" xml:"Age"`
+	Glasses   string   `json:"Glasses" xml:"Glasses"`
+	Facetype  string   `json:"Facetype" xml:"Facetype"`
+	Blur      float64  `json:"Blur" xml:"Blur"`
+	Ethnicity string   `json:"Ethnicity" xml:"Ethnicity"`
+	Gender    Gender   `json:"Gender" xml:"Gender"`
+	Smiling   Smiling  `json:"Smiling" xml:"Smiling"`
+	Headpose  Headpose `json:"Headpose" xml:"Headpose"`
+}

+ 22 - 0
services/cloudauth/struct_face_attributes_detect_info.go

@@ -0,0 +1,22 @@
+package cloudauth
+
+//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.
+
+// FaceAttributesDetectInfo is a nested struct in cloudauth response
+type FaceAttributesDetectInfo struct {
+	FaceRect       FaceRect       `json:"FaceRect" xml:"FaceRect"`
+	FaceAttributes FaceAttributes `json:"FaceAttributes" xml:"FaceAttributes"`
+}

+ 21 - 0
services/cloudauth/struct_face_infos.go

@@ -0,0 +1,21 @@
+package cloudauth
+
+//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.
+
+// FaceInfos is a nested struct in cloudauth response
+type FaceInfos struct {
+	FaceAttributesDetectInfo []FaceAttributesDetectInfo `json:"FaceAttributesDetectInfo" xml:"FaceAttributesDetectInfo"`
+}

+ 24 - 0
services/cloudauth/struct_face_rect.go

@@ -0,0 +1,24 @@
+package cloudauth
+
+//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.
+
+// FaceRect is a nested struct in cloudauth response
+type FaceRect struct {
+	Top    int `json:"Top" xml:"Top"`
+	Left   int `json:"Left" xml:"Left"`
+	Width  int `json:"Width" xml:"Width"`
+	Height int `json:"Height" xml:"Height"`
+}

+ 22 - 0
services/cloudauth/struct_gender.go

@@ -0,0 +1,22 @@
+package cloudauth
+
+//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.
+
+// Gender is a nested struct in cloudauth response
+type Gender struct {
+	Score float64 `json:"Score" xml:"Score"`
+	Value string  `json:"Value" xml:"Value"`
+}

+ 23 - 0
services/cloudauth/struct_headpose.go

@@ -0,0 +1,23 @@
+package cloudauth
+
+//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.
+
+// Headpose is a nested struct in cloudauth response
+type Headpose struct {
+	PitchAngle float64 `json:"PitchAngle" xml:"PitchAngle"`
+	RollAngle  float64 `json:"RollAngle" xml:"RollAngle"`
+	YawAngle   float64 `json:"YawAngle" xml:"YawAngle"`
+}

+ 22 - 0
services/cloudauth/struct_smiling.go

@@ -0,0 +1,22 @@
+package cloudauth
+
+//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.
+
+// Smiling is a nested struct in cloudauth response
+type Smiling struct {
+	Value     float64 `json:"Value" xml:"Value"`
+	Threshold float64 `json:"Threshold" xml:"Threshold"`
+}

+ 3 - 3
services/cloudauth/submit_materials.go

@@ -76,10 +76,10 @@ func (client *Client) SubmitMaterialsWithCallback(request *SubmitMaterialsReques
 // SubmitMaterialsRequest is the request struct for api SubmitMaterials
 // SubmitMaterialsRequest is the request struct for api SubmitMaterials
 type SubmitMaterialsRequest struct {
 type SubmitMaterialsRequest struct {
 	*requests.RpcRequest
 	*requests.RpcRequest
-	SourceIp        string                     `position:"Query" name:"SourceIp"`
 	ResourceOwnerId requests.Integer           `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerId requests.Integer           `position:"Query" name:"ResourceOwnerId"`
-	VerifyToken     string                     `position:"Query" name:"VerifyToken"`
+	SourceIp        string                     `position:"Query" name:"SourceIp"`
 	Material        *[]SubmitMaterialsMaterial `position:"Query" name:"Material"  type:"Repeated"`
 	Material        *[]SubmitMaterialsMaterial `position:"Query" name:"Material"  type:"Repeated"`
+	VerifyToken     string                     `position:"Query" name:"VerifyToken"`
 }
 }
 
 
 // SubmitMaterialsMaterial is a repeated param struct in SubmitMaterialsRequest
 // SubmitMaterialsMaterial is a repeated param struct in SubmitMaterialsRequest
@@ -103,7 +103,7 @@ func CreateSubmitMaterialsRequest() (request *SubmitMaterialsRequest) {
 	request = &SubmitMaterialsRequest{
 	request = &SubmitMaterialsRequest{
 		RpcRequest: &requests.RpcRequest{},
 		RpcRequest: &requests.RpcRequest{},
 	}
 	}
-	request.InitWithApiInfo("Cloudauth", "2018-05-04", "SubmitMaterials", "cloudauth", "openAPI")
+	request.InitWithApiInfo("Cloudauth", "2018-07-03", "SubmitMaterials", "cloudauth", "openAPI")
 	return
 	return
 }
 }